Download Print this page

M-system R3-GM1 Instruction Manual page 4

Modbus interface module

Advertisement

MODBUS FUNCTION CODES & SUPPORTED CODES
■ Data and Control Functions
CODE
NAME
01
Read Coil Status
02
Read Input Status
03
Read Holding Registers
04
Read Input Registers
05
Force Single Coil
06
Preset Single Register
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
16
Preset Multiple Registers
17
Report Slave ID
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 Registers
24
Read FIFO Queue
■ Exception Codes
CODE
NAME
01
Illegal Function
02
Illegal Data Address
03
Illegal Data Value
04
Slave Device Failure
05
Acknowledge
06
Slave Device Busy
07
Negative Acknowledge
08
Memory Parity Error
■ Diagnostic Subfunctions
CODE
NAME
00
Return Query Data
01
Restart Comm. Option
02
Return Diagnostic Register
03
Change ASCII Input Delimiter
04
Force Listen Only Mode
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201 Fax: +81(6)6659-8510 E-mail: info@m-system.co.jp
Digital output from the slave
Status of digital inputs to the slave
General purpose register within the slave
Collected data from the field by the slave
Digital output from the slave
General purpose register within the slave
Fetch a status word and an event counter
A status word, an event counter, a message count and
a field of event bytes
Digital output from the slave
General purpose register within the slave
Slave type / 'RUN' status
Function code is not allowable for the slave
Address is not available within the slave
Data is not valid for the function
Loop back test
Reset the slave and clear all counters
Contents of the diagnostic data (2 bytes)
Delimiter character of ASCII message
Force the slave into Listen Only Mode
R3-GM1
EM-8463 Rev.5 P. 4 / 6

Advertisement

loading