
Appendix
A.2 Modbus RTU
SENTRON PAC3100
Manual, 07/2009, A5E02385159B-01
127
A.2.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 A- 5
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
FC 04
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:
0x84
Содержание SENTRON PAC3100
Страница 10: ...Table of contents SENTRON PAC3100 10 Manual 07 2009 A5E02385159B 01 ...
Страница 38: ...Mounting 5 3 Deinstallation SENTRON PAC3100 38 Manual 07 2009 A5E02385159B 01 ...
Страница 100: ...Parameterizing 9 2 Parameterizing the operator interface SENTRON PAC3100 100 Manual 07 2009 A5E02385159B 01 ...
Страница 104: ...Service and maintenance 10 5 Disposal SENTRON PAC3100 104 Manual 07 2009 A5E02385159B 01 ...
Страница 118: ...Dimensional drawings SENTRON PAC3100 118 Manual 07 2009 A5E02385159B 01 ...
Страница 142: ...Appendix A 3 Correction sheet SENTRON PAC3100 142 Manual 07 2009 A5E02385159B 01 ...
Страница 146: ...List of abbreviations C 1 Abbreviations SENTRON PAC3100 146 Manual 07 2009 A5E02385159B 01 ...
Страница 148: ...Glossary SENTRON PAC3100 148 Manual 07 2009 A5E02385159B 01 ...
Страница 152: ...Index SENTRON PAC3100 Manual 07 2009 A5E02385159B 01 152 ...