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 #1006 background imageLoading...
Page #1006 background image
3. Instructions
968
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Operand Specifications
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 explicit message instructions, refer to About Explicit
Message Instructions.
Function
Sends the explicit message command with service code 10 hex (stored in the range of words beginning
at S+2) to the node address specified in S+1, via the Communications Unit with the FINS unit address
specified in bits 00 to 07 of C. When the response to the explicit message is received, it is stored in the
range of words beginning at D+2.
The setting in bits 12 to 15 of C (0 or 8 hex) determines the byte-order of the service data stored at S+5.
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 --- --- --- ---
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 Communications
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