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

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

Advertisement

Network Instructions
Description
Flags
1094
Area
Constants
Data Registers
Index Registers
Indirect addressing using
Index Registers
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.
Note ECHWR(724) sends an explicit message with the Service Code 1E hex (Byte
Data Write).
Name
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
Communications
Port Enabled Flag
Explicit Communica-
tions Error Flag
S
---
---
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Label
ON if the Communications Port Enabled Flag is OFF for
the communications port number specified in C.
OFF in all other cases.
Address
A20200 to
These flags are turned ON to indicate that net-
A20207
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.
A21300 to
These flags are turned ON to indicate that an
A21307
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
D
C
Operation
Operation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents