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

Table of Contents

Advertisement

3. Instructions
Ladder Programming Examples
Specifying Communications Ports
Execution
condition
A202.00
d (Execution completed)
a (Executing)
a (Executing)
A202.00
A219.00
A219.00
Automatically Allocating Communications Port
Execution
condition
A202.15
d (Execution completed)
a (Executing)
a (Executing) c (Standby)
b (port)
892
KEEP
a
(Executing)
SEND
Port: 0
d (Execution
completed)
Processing after
completing network
communications
Normal
processing
Error
processing
a (Executing)
c (Standby)
d (Execution
completed)
TST
A214
Processing after
communications
TSTN
processing
A219
b (port))
TST
processing
A219
b (port)
c (Standby) turns OFF in the cycle after communications instruction execution
is completed and communications completion are detected from that cycle.
a (Executing) is turned ON and held ON when the
execution condition and Communications Port
Enabled Flag (A202.00) 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 port number 0 is specified.
The Communications Port Enabled Flag (A202.00) is OFF during
network communications and turns ON when they are completed
(for either normal or error completion).
d (Execution completed) is turned ON when a (Executing) turns
ON and the Communications Port Enabled Flag (A202.00) turns
ON.
If the Communications Port Error Flag (A219.00) is OFF when
network communications have been completed, normal
processing is performed.
If the Communications Port Error Flag (A219.00) is ON when
network communications have been completed, error processing
is performed.
a (Executing) is turned ON and held ON when the
execution condition and Communications Port Allocation
KEEP
Enabled Flag (A202.15) 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 port number F is specified.
SEND
Port: F
The automatically allocated port number stored in A218 (Used
Communications Port Numbers 0 to 7) is moved to a
MOV
user-specified work word b (port).
A218
b (port)
The Communications Port Enabled Flag (A202.00) is OFF during
network communications and turns ON when they are completed
(for either normal or error completion).
d (Execution completed) is turned ON when a (Executing) turns
ON and the Communications Port Enabled Flag (A202.00) turns
ON.
network
If the Communications Port Error Flag (A219.00) is OFF
Normal
when network communications have been completed, normal
processing is performed.
If the Communications Port Error Flag (A219.00) is ON when
Error
network communications have been completed, error
processing is performed.
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents