Model S4000CH
38
6.4 Modbus Write Command Protocol (Query/Response)
6.4.1 Modbus Write Query Message
Byte
Modbus
Range
Referenced to S4000CH
1
st
Slave Address
1-247* (Decimal)
S4000CH ID (Address)
2
nd
Function Code
06
Preset Single Register
3
rd
Register Address Hi
00
Not Used by S4000CH
4
th
Register Address Lo
00-FF (Hex)
S4000CH Commands
5
th
Preset Data Hi
00-FF (Hex)
S4000CH Hi Byte Command Data
6
th
Preset Data Lo
00-FF (Hex)
S4000CH 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)
6.4.2 Modbus Write Response Message
Byte
Modbus
Range
Referenced to S4000CH
1
st
Slave Address
1-247* (Decimal)
S4000CH ID (Address)
2
nd
Function Code
06
Preset Single Register
3
rd
Register Address Hi
00
Not Used by S4000CH
4
th
Register Address Lo
00-FF (Hex)
S4000CH Commands
5
th
Preset Data Hi
00-FF (Hex)
S4000CH Hi Byte Command Data
6
th
Preset Data Lo
00-FF (Hex)
S4000CH Lo Byte Command Data
7
th
CRC Lo
00-FF (Hex
CRC Lo Byte
8
th
CRC Hi
00-FF (Hex)
CRC Hi Byte
6.5 Function Codes Supported
Function Code 03 (Read Holding Registers) is used to read status from the slave unit.
Function Code 04 allows multiple registers to be read. You can use 3 or 4 for multiple
reads.
Function Code 06 (Preset Single Register) is used to write a command to the slave unit.
6.6 Exception Responses and Exception Codes
6.6.1 Exception
Response
In a normal communications query and response, the master device sends a query to the
S4000CH and the S4000CH receives the query without a communications error and handles
the query normally within the master device’s allowable timeout. The S4000CH then returns
a normal response to the master. An abnormal communications query produces one of four
possible events:
If the S4000CH does not receive the query due to a communications error, then no
response is returned from the S4000CH and the master device will eventually process
a timeout condition for the query.
If the S4000CH receives the query, but detects a communication error (CRC, etc.),
then no response is returned from the S4000CH and the master device will eventually
process a timeout condition for the query.
Содержание S4000CH
Страница 2: ...Model S4000CH i This page intentionally left blank ...
Страница 10: ...Model S4000CH 2 Figure 3 Sensor Remote Installation in inches Figure 4 ARGC Remote Installation ...
Страница 22: ...Model S4000CH 14 Figure 12 S4000CH Terminal Block Locations Figure 13 Remote Junction Box Terminal Block ...