Hello,
I want to copy my group digital inputs to an integer. Can anyone please suggest me any code for the same?
I tried doing this in config.dat...
DECL SIGNAL WIDTH $IN[49] TO $IN[56]
Then I want to copy the data in WIDTH to an integer DIMENSION
DIMENSION = WIDTH (I have written this in sps) so in background itself the data will be transferred.
when i receive signals from PLC, the value of WIDTH and DIMENSION is still 0. Although the particular inputs are in ON state
Is there any other way to convert the group input signals to an integer?