Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1134

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Network Instructions
Example
1094
Name
Address
Communications
A21900 to
Port Error Flag
A21907
Communications
A203 to
Port Completion
A210
Codes
In this example, ECHWR(724) is used to write data from the I/O memory of
the local CPU Unit to the I/O memory of a CJ-series CPU Unit on the
DeviceNet network.
000000
When CIO 000000 and A20206 (the Communications Port Enabled Flag for
port 06) are ON, ECHWR(724) reads D00000 to D00002 from the I/O mem-
ory of the local CPU Unit and stores the data in D00100 to D00102 of the CJ-
series CPU Unit with node address 07 on the DeviceNet Network
Operation
These flags are turned ON to indicate that the
explicit message itself was not sent from the cor-
responding 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.
These words contain the completion codes for the
corresponding ports (00 to 07) following execu-
tion 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 instruc-
tion is completed. These words are cleared when
program execution begins.
Communications
Port Enabled Flag (Port 6)
A20206
ECHWR
S
D
C
Section 3-25
D00000
D00100
D00200

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents