How to change 2 register data under modbus protocol in citect v7.10

Hi
I am currently trying to read the edmi MK6N data with a floating data type in citect v7.0 SP4 before. I have tried reading the metring data via modpoll and citect, but the reading of kwh shows that it does not match the actual device.
after I looked at the modpoll where kwh data is on base 1 but in the citect read on base 0, I have tried changing the citect.ini parameter (Floatmode = 1 or 2) but the kwh value is still not appropriate.

can you tell me how to change the 2 registers and get the base 1 value through the cicode script?

Thank's

Irwin.s

Parents
  • Hi Irwin,
    Are you sure the register index is correct? E.g. is the starting address odd or even? 400001 or 400002. The above parameter should work with regards to swapping the words within the float around. You can confirm this by enabling debugging. If you still experience issues I'd recommend getting in contact with Citect Support.
    Kind regards
    Olivier
Reply
  • Hi Irwin,
    Are you sure the register index is correct? E.g. is the starting address odd or even? 400001 or 400002. The above parameter should work with regards to swapping the words within the float around. You can confirm this by enabling debugging. If you still experience issues I'd recommend getting in contact with Citect Support.
    Kind regards
    Olivier
Children
No Data