Omron CP1H-X40D Operation Manual page 380

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
Table of Contents

Advertisement

Serial Communications
Error Codes
Auxiliary Area Flags
and Bits
346
The following error codes are stored in an allocated DM Area word when an
error occurs in Modbus-RTU Easy Master function execution.
Code
Name
0x00
Normal end
0x01
Illegal address
0x02
Illegal function code
0x03
Data length overflow
0x04
Serial communica-
tions mode error
0x80
Response timeout
0x81
Parity error
0x82
Framing error
0x83
Overrun error
0x84
CRC error
0x85
Incorrect confirmation
address
0x86
Incorrect confirmation
function code
0x87
Response size over-
flow
0x88
Exception response
0x89
Service being exe-
cuted
0x8A
Execution canceled
0x8f
Other error
The Modbus-RTU command set in the DM fixed allocation words for the Mod-
bus-RTU Easy Master is automatically sent when the Modbus-RTU Master
Execution Bit is turned ON. The results (normal or error) will be given in corre-
sponding flags.
Word
Bit
Port
A640
00
Port 2
01
02
Not an error.
The slave address specified in the parameter
is illegal (248 or higher).
The function code specified in the parameter is
illegal.
There are more than 94 data bytes.
The Modbus-RTU Easy Master function was
executed when the serial communications
mode was not the Serial Gateway Mode.
A response was not received from the Servo.
A parity error occurred.
A framing error occurred.
An overrun error occurred.
A CRC error occurred.
The slave address in the response is differ-
ence from the one in the request.
The function code in the response is difference
from the one in the request.
The response frame is larger than the storage
area (92 bytes).
An exception response was received from the
slave.
A service is already being executed (reception
traffic congestion).
Executing the service has been canceled.
Other FINS response code was received.
Contents
Modbus-RTU Master Execution Bit
Turned ON: Execution started
ON: Execution in progress.
OFF: Not executed or execution completed.
Modbus-RTU Master Execution Normal Flag
ON: Execution normal.
OFF: Execution error or still in progress.
Modbus-RTU Master Execution Error Flag
ON: Execution error.
OFF: Execution normal or still in progress.
Section 6-1
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents