Colin158
Guest
C
Does anyone know how I can indirectly address data in a datablock in step 7?
EG. I have a DB containing multiple 'records'. I would like to write a function that would take an integer as an input, I would then like to use this input as an index to the dataword. I don't know the exact syntax but the pseudocode is:
L DBW[#index]
T MW300
I plan to do this in ladder but illustrating a move in STL is easier
Thanks
EG. I have a DB containing multiple 'records'. I would like to write a function that would take an integer as an input, I would then like to use this input as an index to the dataword. I don't know the exact syntax but the pseudocode is:
L DBW[#index]
T MW300
I plan to do this in ladder but illustrating a move in STL is easier
Thanks