theColonel26
Lifetime Supporting Member
I am getting data from a modbus device and I need to combine 2 16 bit N registers in to 1 32bit L register.
I have tried a CPW
N242:2 -> L245:0 Length of 2
I get 292,552,705 when I should get 70,000
N242:3 is the lower register, N242:2 is the higher register.
Edit:
ooooooh see Screen shot of Help file for CPW.
I assume so I assume a ML1400 is Little Endian, but the device is Big Endian.
Ok so can I handle this without creating a 3rd register location to be a temp register for swamping the words?
I have tried a CPW
N242:2 -> L245:0 Length of 2
I get 292,552,705 when I should get 70,000
N242:3 is the lower register, N242:2 is the higher register.
Edit:
ooooooh see Screen shot of Help file for CPW.
I assume so I assume a ML1400 is Little Endian, but the device is Big Endian.
Ok so can I handle this without creating a 3rd register location to be a temp register for swamping the words?
Last edited: