Skip to content
Discussion options

You must be logged in to vote

I know you can read an array of an array

plc.read_by_name('GVL.sample_array[0][0]', pyads.PLCTYPE_INT)

you could try the following for multidimensional arrays:

plc.read_by_name('GVL.sample_array[0,0]', pyads.PLCTYPE_INT)

Let me know how you get on

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisbeardy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #351 on August 30, 2024 10:18.