plcman
Member
Hi
I am using a FX3u plc and as i want to create function blocks, I have to use labels.
I have to use an array in my program, I want to use a label to select the element in my array. For instance,
Array[10] works ok and gives me the value in the 11th element.
I want to use
Array[element] where 'element' is a var holding the number 10.
This syntax doesn't work, is there a way to achieve this?
I am using a FX3u plc and as i want to create function blocks, I have to use labels.
I have to use an array in my program, I want to use a label to select the element in my array. For instance,
Array[10] works ok and gives me the value in the 11th element.
I want to use
Array[element] where 'element' is a var holding the number 10.
This syntax doesn't work, is there a way to achieve this?