e
Electro Industries/Gauge Tech
Doc # E134-7-15 V1.01
3-3
3.3.2: Function Code 06
3.3.2: Function Code 06—
—Preset Single Register
Preset Single Register
n
This function allows a Master station to modify a single register in a Slave. The data registers are
16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
n
In the following example, a Master device stores the value 0001H at Register 57346 in a Slave at
address 01H.
3.3.3: Function Code 10
3.3.3: Function Code 10—
—Preset Multiple Registers
Preset Multiple Registers
n
This function allows a Master station to modify a group of consecutive registers in a Slave. Registers
are 16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
n
In the following example, a Master device stores the value 0001H at Register 57345, 0001H at
Register 57346 and 0001H at Register 57347 in a Slave at address 01H.
3.4: Data Starting Address
3.4: Data Starting Address
n
Range in Hex:
0000H - FFFFH
n
Range in Decimal: 00001 - 65536
The Address in the Modbus Register Map Excel Spreadsheet is in Decimal.
Example: For some Scada Softwares, to read Holding Registers (3.3.1), Address Format should be:
4(XXXXX) with the XXXXX being our Decimal Address.
Slave Address
Function Code
Data Starting Address-Hi
Data Starting Address-Lo
Data-Hi
Data-Lo
CRC-Lo
01H
06H
E0H
01H
00H
01H
2EH
Slave Address
Function Code
Data Starting Address-Hi
Data Starting Address-Lo
Data-Hi
Data-Lo
CRC-Lo
01H
06H
E0H
01H
00H
01H
2EH
Table 3.3: Function Code 6 Example
Master Packet
Slave Packet
0AH
CRC-Hi
CRC-Hi
0AH
Hex
Dec
1
6
224
1
0
1
46
10
Hex
Dec
1
6
224
1
0
1
46
10
Summary of Contents for I/O Module
Page 2: ......
Page 6: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 iv ...
Page 10: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 viii ...
Page 30: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 2 16 ...
Page 44: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 4 8 ...
Page 50: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 6 4 ...
Page 52: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 7 2 ...
Page 63: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 8 4 ...
Page 65: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 9 2 ...
Page 72: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 10 4 ...
Page 74: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 11 2 ...
Page 81: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 13 2 ...
Page 87: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 14 4 ...
Page 89: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 15 2 ...