R3-NMW1F
5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201 Fax: +81(6)6659-8510 E-mail: [email protected]
EM-8286 P. 7 / 10
MODBUS FUNCTION CODES & SUPPORTED CODES
■
Data and Control Functions
CODE NAME
01
Read Coil Status
X
Digital output from the slave (read/write)
02
Read Input Status
X
Status of digital inputs to the slave (read only)
03
Read Holding Registers
X
General purpose register within the slave (read/write)
04
Read Input Registers
X
Collected data from the field by the slave (read only)
05
Force Single Coil
X
Digital output from the slave (read/write)
06
Preset Single Register
X
General purpose register within the slave (read/write)
07
Read Exception Status
08
Diagnostics
09
Program 484
10
Poll 484
11
Fetch Comm. Event Counter
12
Fetch Comm. Event Log
13
Program Controller
14
Poll Controller
15
Force Multiple Coils
X
Digital output from the slave (read/write)
16
Preset Multiple Registers
X
General purpose register within the slave (read/write)
17
Report Slave ID
X
Slave type / ‘RUN’ status
18
Program 884/M84
19
Reset Comm. Link
20
Read General Reference
21
Write General Reference
22
Mask Write 4X Register
23
Read/Write 4X Register
24
Read FIFO Queue
■
Exception Codes
CODE NAME
01
Illegal Function
X
Function code is not allowable for the slave
02
Illegal Data Address
X
Address is not available within the slave
03
Illegal Data Value
X
Data is not valid for the function
04
Slave Device Failure
05
Acknowledge
06
Slave Device Busy
07
Negative Acknowledge
08
Memory Parity Error