
Model S4000T
30
8.3.2 Modbus Read Response Message
Byte Modbus
Range
Referenced to S4000T
1
st
Slave Address
1-247* (Decimal)
S4000T ID (Address)
2
nd
Function Code
03
Read Holding Registers
3
rd
Byte Count
02
No. Of Data Bytes
4
th
Data Hi
00-FF (Hex)
S4000T Hi Byte Status Data
5
th
Data Lo
00-FF (Hex)
S4000T Lo Byte Status Data
6
th
CRC Lo
00-FF (Hex)
CRC Lo Byte
7
th
CRC Hi
00-FF (Hex)
CRC Hi Byte
8.4 Modbus
Write
Command
Protocol (Query/Response)
8.4.1 Modbus Write Query Message
Byte Modbus
Range
Referenced to S4000T
1
st
Slave Address
1-247* (Decimal)
S4000T ID (Address)
2
nd
Function Code
06
Preset Single Register
3
rd
Register Address Hi
00
Not Used by S4000T
4
th
Register Address Lo 00-FF
(Hex)
S4000T
Commands
5
th
Preset Data Hi
00-FF (Hex)
S4000T Hi Byte Command Data
6
th
Preset Data Lo
00-FF (Hex)
S4000T Lo Byte Command Data
7
th
CRC Lo
00-FF (Hex)
CRC Lo Byte
8
th
CRC Hi
00-FF (Hex)
CRC Hi Byte
*NOTE -
Address 0 is reserved for broadcast mode and will not be supported at this
time.
**NOTE -
Start Address can be a maximum of 9999 Address Locations (0000-270E).
8.4.2 Modbus Write Response Message
Byte Modbus
Range
Referenced to S4000T
1
st
Slave Address
1-247* (Decimal)
S4000T ID (Address)
2
nd
Function Code
06
Preset Single Register
3
rd
Register Address Hi
00
Not Used by S4000T
4
th
Register Address Lo 00-FF
(Hex)
S4000T
Commands
5
th
Preset Data Hi
00-FF (Hex)
S4000T Hi Byte Command Data
6
th
Preset Data Lo
00-FF (Hex)
S4000T Lo Byte Command Data
7
th
CRC Lo
00-FF (Hex)
CRC Lo Byte
8
th
CRC Hi
00-FF (Hex)
CRC Hi Byte
8.5 Function Codes Supported
Function Code 03 (Read Holding Registers) will be used to read status from the slave
unit.
Function Code 06 (Preset Single Register) will be used to write a command to the
slave unit.