I have a CR800 as a ModBus slave that gives info to a PLC. To save registers and as i can send info on/off as a sequence of 0's and 1's im composing a message using the 32 bit message. But i stumbled in a problem: when i try to compose the message above the 24th bit all the message goes to 0 (just to the 23thr bit all is well!).
The PLC reads the registers as float numbers so im defining the register as a float.
Can it be this the problem?