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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Network Instructions
Flags
Name
Label
Error Flag
ER
The corresponding Explicit Communications Error Flag will be OFF if the
instruction ended normally or ON if an error occurred.
If an error occurred (corresponding flag in A213 ON), the corresponding Com-
munications Port Error Flag can be used to determine whether the explicit
message itself was not sent (corresponding flag in A219 ON) or that the mes-
sage was sent but there was an error in the message (corresponding flag in
A219 OFF).
The corresponding Communications Port Completion Code (A203 to A210)
will be 0000 hex if the instruction ended normally, an explicit message error
code if an explicit messaging error occurred, or a FINS error code if a FINS
error occurred.
For details on the general operation of the explicit message instructions, refer
to 3-24-2 About Explicit Message Instructions (CP1H Only).
The following table shows relevant bits and flags in the Auxiliary Area.
Name
Address
Communications
A202.00 to
Port Enabled Flag
A202.07
Explicit Communica-
A213.00 to
tions Error Flag
A213.07
Operation
ON if the Communications Port Enabled Flag is OFF for
the communications port number specified in C.
OFF in all other cases.
These flags are turned ON to indicate that net-
work instructions, including PMCR(260) may be
executed for the corresponding ports (00 to 07).
A flag is turned OFF when a network instruction
is being executed for the corresponding port and
turned ON again when the instruction is com-
pleted.
These flags are turned ON to indicate that an
error has occurred at the corresponding ports (00
to 07) during execution of explicit message com-
munications.
The flags will be turned ON if the explicit mes-
sage was not sent or the message was sent but
an error response was returned.
The flag status is retained until the next explicit
message instruction is executed. The flag will be
turned OFF when the next instruction is executed
even if an error occurred previously.
Section 3-24
Operation
909

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents