One question on bitfields in variable declarations:
In order to aggregate BOOLs into INTs which could be saved along with other INT data, I declared variables of the form:
FlowBits INT %R1000
FlowBitX BOOL %R1000.1
FlowBitY BOOL %R1000.2
There was a curiosity in that the variable declarations were 1-based (1-16) while the
bitfield references in the code were 0-based (0-15)
What is the scoop here in PLCnext land on these matters ?
It seems to me that for code portability, which is ST’s greatest potential benefit - other than efficiency and compactness and clarity… the variable and operator paradigms should be aligned between platforms which purport to be 61131 compliant
Do I have to rework my entire paradigm ?