Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1117

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Network Instructions
Flags
1078
• Storing Data from the Rightmost Byte
Set bits 12 to 15 of C+1 to 8 hex.
Frame (order of data in line)
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-25-2 About Explicit Message Instructions .
The following table shows relevant bits and flags in the Auxiliary Area.
Name
Address
Communications
A20200 to
Port Enabled Flag
A20207
Explicit Communica-
A21300 to
tions Error Flag
A21307
A
B
C
D
Stored from rightmost byte.
Data
area
15
08 07
D+1
B
A
D+2
D
C
Note: A, B, C, and D represent bytes of data.
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-25
00
Operation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents