Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 871

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Serial Communications Instructions
838
Auxiliary Area
Name
Address
Communications
A202.00
Port Enabled
to
Flags
A202.07
Communications
A203 to
Port Completion
A210
Codes
Communications
A219.00
Port Error Flags
to
A219.07
Completion Codes
Code
0205 hex
Response timeout (This error can occur when the communications
mode is set to host link mode.)
0401 hex
Undefined command (This error can occur when the communications
mode is set to protocol macro, NT Link, echoback test, or serial gate-
way mode.)
1001 hex
The command is too long.
1002 hex
The command is too short.
1004 hex
The command format is incorrect.
110C hex
Other parameter error
2201 hex
Operation could not be performed during operation. (Operation dis-
abled because Unit is busy sending.)
2202 hex
Operation could not be performed when stopped. (Operation dis-
abled because Unit is switching protocols.)
Description
ON when a communications instruction (including
RXDU(255)) can be executed with the corresponding
port number. Bits 00 to 07 correspond to communica-
tions ports 0 to 7.
The flag is OFF when a communications instruction is
being executed and ON when the execution is com-
pleted (normal end or error end).
These words contain the completion codes for the
corresponding port numbers when communications
instructions have been executed. Words A203 to
A210 correspond to communications ports 0 to 7.
The code is 00 while the instruction is being executed
and contains the relevant code when execution is
completed.
These words are cleared to 0000 when PLC opera-
tion starts.
ON when an error occurred during execution of a
communications instruction. When a flag is ON,
check the completion code in A203 to A210 to trou-
bleshoot the error.
OFF when execution has been finished normally. Bits
00 to 07 correspond to communications ports 0 to 7.
The flag status is retained until the next communica-
tions instruction is executed. Even if an error has
occurred, a flag will be reset to 0 the next time that a
communications instruction is executed for that port.
Meaning
Section 3-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents