M
I am using bits for the status of a device and converting this to an integer for the HMI. I wish to check if the Bit is true then set the correct integer value (like a CASE statement). This will be done in a program block, hense I shall not be using Labels and it is not done at the end so I can't use BEU.
If all else fails I shall set/reset all the bits to create the integer but this is very confussing to read and wasteful.
Can you help.....
If all else fails I shall set/reset all the bits to create the integer but this is very confussing to read and wasteful.
Can you help.....