919
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Network Instructions
3
Network Instructions
z Auxiliary Area Words and Bits
The CJ2 Network Communications Instructions use the communications information in operand I in
place of the Communications Port Enabled Flags in A202 used by previous instructions.
Applications Methods
About Explicit Message Instructions
z Methods for Using Explicit Message Communications
There are two methods that can be used to send explicit messages from a PLC.
• Use the CMND(490) or CMND2(493) to send a FINS command code of 2801 hex (EXPLICIT
MESSAGE SEND).
• Use the following Explicit Message Instructions. (See note.)
Note These instructions are supported only by CS/CJ-series CPU Unit with unit version 2.0 or later.
Auxiliary Area
Network Communications Instructions
for CJ1/CS1/CJ2
CJ2 Network Communications Instructions
A202.00 to A202.07 Communications Port Enabled Flag
(communications ports 0 to 7)
Instruction operand I
Bit 0
(Turns ON when execution is completed, not when execution is enabled.)
A202.08 Not used. CJ2 Instructions Enabled Flag (default: ON)
A203 to 210 Communications completion codes for
communications ports 0 to 7
Instruction operand I+1
A211 Not used. Number of ports available for CJ2 Network Communications Instruction
(A202.08 turns OFF when the value in A211 reaches 0.)
A213 Explicit Communications Error Flag
A214.00 to A214.07 First Cycle Flags after Network
Communications Finished
---
A215.00 to A215.07 First Cycle Flags after Network
Communications Error
---
A216 and A217 Communications Port Completion Code
Storage Address
---
A218 Used Communications Port Numbers ---
A219 Communications Port Error Flags Instruction operand I
Bit 1
Execution
condition
d (Execution completed)
d (Execution
completed)
a (Executing)
W10.01
W10.01
A202.08
a (Executing) W10.00
Normal
processing
Error
processing
KEEP
a (Executing)
SEND2
W10
a (Executing) is turned ON and held ON when the
execution condition and CJ2 Instructions Enabled Flag (A202.08) turn ON.
a (Executing) is turned OFF when d (Execution
completed) turns ON.
The Network Communications Instruction is executed
when a (Executing) turns ON.
The Network Communications Completed Flag (specified in an
instruction operand) turns ON when network communications have
been completed.
If a (Executing) and this flag are ON, network communications
have been completed.
If the Network Communications Error Flag (specified in an
instruction operand) is OFF when network communications have
been completed, normal processing is performed.
If the Network Communications Error Flag (specified in an
instruction operand) is ON when network communications have
been completed, error processing is performed.