S4000C
8.0 MODBUS Interface
8.1 Baud Rate
The Baud Rate is selectable via the MODBUS Communications Interface. The selectable baud
rates are 19200, 9600, 4800, or 2400 bits per second.
8.2 Data Format
The Data Format is selectable via the MODBUS Communications Interface. The selectable
data formats are as follows:
Data Bits
Parity
Stop Bit
Format
8 None
1 8-N-1
8
Even
1
8-E-1
8 Odd
1 8-O-1
8
None
2
8-N-2
Table 9: Data Format
8.3 MODBUS Read Status Protocol (Query/Response)
8.3.1 MODBUS Read Query Message
Byte
MODBUS
Range
Referenced to S4000C
1
st
Slave Address
1-247* (Decimal)
S4000C ID (Address)
2
nd
Function Code
03
Read Holding Registers
3
rd
Starting Address Hi**
00
Not Used by S4000C
4
th
Starting Address Lo**
00-FF (Hex)
S4000C Commands
5
th
No. of Registers Hi
00
Not Used by S4000C
6
th
No. of Registers Lo
01
No. of 16 Bit Registers
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.3.2 MODBUS Read Response Message
Byte
MODBUS
Range
Referenced to S4000C
1
st
Slave Address
1-247* (Decimal)
S4000C 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)
S4000C Hi Byte Status Data
5
th
Data Lo
00-FF (Hex)
S4000C Lo Byte Status Data
6
th
CRC Lo
00-FF (Hex)
CRC Lo Byte
7
th
CRC Hi
00-FF (Hex)
CRC Hi Byte
26