1-3
1.4.2:
Function
Code
06—Preset
Single
Register
QThis function allows a Master station to modify a single register in an EPM Slave. The data registers
are 16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
QIn the following example, a Master device stores the value 0001H at Register 57346 in an EPM
Slave at address 01H.
1.4.3:
Function
Code
10—Preset
Multiple
Registers
QThis function allows a Master station to modify a group of consecutive registers in an EPM Slave.
Registers are 16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
QIn the following example, a Master device stores the value 0001H at Register 57345, 0001H at
Register 57346 and 0001H at Register 57347 in an EPM Slave at address 01H.
1.4.4:
Data
Starting
Address
QRange in Hex: 0000H - FFFFH
QRange in Decimal: 00001 - 65536
The Address in Chapter 2 (EPM Modbus Register Map Excel Spreadsheet) is in Decimal.
Example: For some Scada Softwares, to read Holding Registers (1.4.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 1.3: Function Code 6 Example
Master Packet Slave Packet
0AHCRC-Hi CRC-Hi 0AH