Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 992

Table of Contents

Advertisement

3. Instructions
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
D
OK
OK
OK
C
* The D bank of the EM Area can be specified only for CJ2 CPU Units. The D bank and higher cannot be specified in the pro-
gram in a CS/CJ-series CPU Unit even if the destination is a CJ2 CPU Unit.
Flags
Name
Error Flag
Related Auxiliary Area Words and Bits
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 Communications Port Error
Flag can be used to determine whether the explicit message itself was not sent (corresponding flag in
A219 ON) or that the message 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 About Explicit
Message Instructions.
Name
Communications Port Enabled Flag
Explicit Communications Error Flag
Communications Port Error Flag
Communications Port Completion
Codes
Function
Writes the specified number of words beginning at S from the local CPU Unit to the write destination
beginning at D in the remote CPU Unit with the node address specified in C.
956
AR
T
C
DM
EM
*
OK
OK
OK
OK
OK
Label
P_ER
• ON if the Communications Port Enabled Flag is OFF for the communications port number specified in C.
• OFF in all other cases.
Address
A202.00 to A202.07
These flags are turned ON to indicate that network 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 completed.
A213.00 to A213.07
These flags are turned ON to indicate that an error has occurred at the corresponding ports
(00 to 07) during execution of explicit message communications.
The flags will be turned ON if the explicit message 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.
A219.00 to A219.07
These flags are turned ON to indicate that the explicit message itself was not sent from the
corresponding ports (00 to 07) during execution of an explicit message instruction.
The flag status is retained until the next network instruction is executed. The flag will be
turned OFF when the next instruction is executed even if an error occurred previously.
A203 to A210
These words contain the completion codes for the corresponding ports (00 to 07) following
execution of a network instruction.
• The corresponding word will contain 0000 while the Explicit Communications Error Flag is
OFF.
• The corresponding word will contain a FINS error code when that port's Explicit Communi-
cations Error Flag and Communications Port Error Flag are both ON.
• The corresponding word will contain the appropriate explicit message error code when that
port's Explicit Communications Error Flag is ON and the Communications Port Error Flag
is OFF.
The corresponding word will contain 0000 while the network instruction is being executed
and the completion code will be written when the instruction is completed. These words are
cleared when program execution begins.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
Operation
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents