52
Reg (dec) 1079 1080 1081 1082 1083 1084 1085 1086
Reg (hex) 04 37 04 38 04 39 04 3A 04 3B 04 3C 04 3D 04 3E
Value (Chr) '1' '9' '2' '_' '1' '6' '8' '_' '9' NUL NUL
NUL
NUL
NUL
NUL
NUL
Value (hex) 31 39 32 28 31 36 38 2E 32 2E 39 00 00 00 00 00
START STOP
ID FC ADDR DATA CRC
01 06 04 37 31 39 EC B6
01 06 04 38 32 2E 9C 4B
01 06 04 39 31 36 CD 71
01 06 04 3A 38 2E 3B 2B
01 06 04 3B 32 2E 6C 4B
01 06 04 3C 39 00 5A A6
01 06 04 3D 00 00 19 36
01 06 04 3E 00 00 E9 36
ID FC ADDR #REGS LN DATA0 DATA1 DATA2 DATA3 DATA4
01 10 04 37 00 08 10 31 39 32 2E 31 36 38 2E 32 2E
DATA5 DATA6 DATA7 CRC
39 00 00 00 00 00 9B 99
String example 1: Change a Static IP Address
Change the IP address of a meter from 192.168.2.8 to 192.168.2.9.
Note: Update the entire IP address, not just the “8” to “9.”
Internally, the meter uses a single string buffer for all string register operations
and unspecied entries continue to contain the previous buffer contents unless
specically written. Write every register from the beginning of the block to the end.
Specic Implementation Examples – Element A Set to ID 1
Note that in Modbus, the CRC communicated is LSB then MSB.
VIA MODBUS RTU (SERIAL), USING FUNCTION
CODE 6/WRITE SINGLE REGISTER.
VIA MODBUS RTU (SERIAL), USING FUNCTION
CODE 16/WRITE MULTIPLE REGISTER.
7 RTU PROGRAMMING AND SCRIPTING