Parameter assignment/Addressing
5.1 MODBUS RTU
PAC RS485
Manual, 02/2008, A5E02091800B-01
31
The Least Significant Bit (LSB) is sent at the start of the eight data bits, and the Most
Significant Bit (MSB) is sent at the end.
See also
Configuration of the PAC RS485 expansion module on the SENTRON PAC3200 Power
Monitoring Device (Page 58)
5.1.3 Function codes
Function codes control the data exchange. In doing so, a function code tells the slave which
action it is to take.
If an error occurs, the MSB bit is set in the response frame in the FC byte.
Supported MODBUS function codes
Table 5-2 Supported function codes
FC Function in accordance with
MODBUS specification
Data Type Access
02 Read Discrete Inputs Bit Input R
03 Read Holding Registers Register Output R
04 Read Input Registers Register Input R
06 Write Single Register Register Output RW
10 Write Multiple Registers Register - RW
2B Read Device Identification - - R
FC 02
This function code reads individual bits from the slave.
Corresponding exception codes: 01, 02, 03 or 04
Corresponding error code: 0x82
0 = OFF Status:
1 = ON
FC 03
You can read out device registers with this function code.
Number of requested registers: At least 1 to maximum 125
Corresponding exception codes: 01, 02, 03 or 04
Corresponding error code: 0x83