3. Instructions
924
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Automatically Allocating Communications Ports (i.e., Internal Logical Ports)
Execution
condition
d (Execution completed)
a (Executing)
c (Standby)
d (Execution completed)
c (Standby)
The explicit message instruction is executed when a (Executing)
turns ON. The port number F is specified.
a (Executing)
MOV
A218
b (Port)
The automatically allocated port number stored in A218 (Used
Communications Port Number 0 to 7) is moved to a user-specified work
word b (port).
Detects when the First Cycle Flag after Network Communications Finished
for the automatically allocated communications port is ON in A214, i.e., the
bit corresponding to b (port).
Detects when the Explicit Communications Error Flag for the
automatically allocated communications port is OFF in A213,
i.e., the bit corresponding to b (port).
Detects when the Explicit Communications Error Flag for the
automatically allocated communications port is ON in A213,
i.e., the bit corresponding to b (port).
c (Standby) turns OFF in the cycle after
communications instruction execution
is completed and communications
completion or errors are detected
from that cycle.
KEEP
a (Executing)
TST
A214
b (Port)
TSTN
A213
b (Port)
TST
A213
b (Port)
TSTN
A219
b (port)
TST
A219
b (port)
Explicit
message
instruction
Port: F
Processing after network
communications
Network communications
error processing: Explicit
error processing
Network communications
error processing: FINS
error processing