EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1010 background imageLoading...
Page #1010 background image
3. Instructions
972
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Operand Specifications
* 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 source is a CJ2 CPU Unit.
Flags
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 network instructions, refer to About Explicit Message
Instructions.
Function
Reads the specified number of words from the first read word (specified in S) in the remote CPU Unit
with the node address specified in C, and stores the data in the local CPU Unit memory words
beginning at D.
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK
OK
*
OK OK --- --- --- OK --- --- --- ---D
C
Name Label Operation
Error Flag P_ER • ON if the Communications Port Enabled Flag is OFF for the communications port number specified in C.
• OFF in all other cases.
Name Address Operation
Communications Port Enabled Flag 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.
Explicit Communications Error Flag 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.
Communications Port Error Flag 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.
Communications Port Completion
Codes
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals