Page 1 of 1
Modbus TCP INT64 bit variable
Posted: Fri Nov 25, 2022 3:25 pm
by manutenzioneinfra
Hi, i would like to know if there is a solution to read a variable integer 64 bit in modbus tcp protocol. I have this problem with Schneider Power Tag attached you can see the address table, in example the address is the 3203.
Thanks
Lorenzo Ricci
Re: Modbus TCP INT64 bit variable
Posted: Mon Nov 28, 2022 9:15 am
by admin
Hi,
for the float format there is the function to directly read the register to 4 words. For the int format instead you can read it as 2 int32 (2 x 2 register) and through the Winlog code insert the value in a DOUBLE gate.
Regards
Re: Modbus TCP INT64 bit variable
Posted: Tue Nov 29, 2022 10:24 am
by manutenzioneinfra
Hi,
thanks, there is something that for me it's not completely clear, which kind of function is to read a float in 4 word? i have to use the modbus function 38:? I have tried to read with the all the function 32 bit 33:/35:/37: the address 3203 but the variable are in errore, it works only with the codes for 64 bit.