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

Table of Contents

Advertisement

Explicit Message Instructions
The following instructions, which are used specially for explicit messages, are called Explicit Message
Instructions.
Mnemonic
EXPLT (720)
EXPLICIT MESSAGE SEND
EGATR (721)
EXPLICIT GET ATTRIBUTE
ESATR (722)
EXPLICIT SET ATTRIBUTE
ECHRD (723)
EXPLICIT WORD READ
ECHWR (724)
EXPLICIT WORD WRITE
Features of Explicit Message Instructions
• This enables easily reading and writing data between CPU Units using explicit message
communications.
• With the EXPLICIT GET/SET ATTRIBUTE instructions, entering the service code is not required and
only information from the class ID onward needs to be entered.
• With the EXPLICIT WORD READ/WRITE instructions, the I/O memory address in the local and
remote CPU Units can be specified directly.
Code specifications for area types and hexadecimal word addresses are not required. (These are
required for CMND(490) or CMND2(493) instructions with service code 1E hex (word data read) or
1F hex (word data write).)
Operation
Explicit Communications Error Flag is used to determine if communications ended normally or in error.
For error completions (i.e., when the flag is ON), the Communications Port Error Flag for FINS
commands is used to determine if the explicit message was never sent (i.e., when the flag is ON) or if
there was an error in the explicit message that was sent (i.e., when the flag is OFF).
The Communications Port Completion Code will contain 0000 hex after a normal end, an explicit
message error code after an explicit communications error end, and a FINS message completion code
after a FINS error end.
Condition
1) Normal end
2) Error end
a) When the explicit message
could not be sent
b) When the explicit message was
sent but an explicit error response
was returned
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Instruction Name
Sends an explicit message with any service code.
Note Functionally, this instruction is the same as sending CMND(490) or CMND2(493)
with a FINS command code of 2801 hex.
Sends an explicit message with a service code of 0E hex (GET ATTRIBUTE SINGLE).
Sends an explicit message with a service code of 10 hex (SET ATTRIBUTE SINGLE).
Uses an explicit message to read data from a CPU Unit.
Uses an explicit message to write data to a CPU Unit.
Explicit Communications
Error Flag
(A213.00 to A213.07: Com-
munications ports 0 to 7)
OFF
ON
Outline
Communications Port
Communications Port
Error Flag
(A219.00 to A219.07: Com-
(A203 to A210: Communica-
munications ports 0 to 7)
OFF
0000 hex
ON
FINS messages completion
code
OFF
Explicit message error code
3. Instructions
3
Completion Code
tions ports 0 to 7)
901

Advertisement

Table of Contents
loading

Table of Contents