Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 897

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Network Instructions
Execution
condition
d (Execution completed)
a (Executing)
a (Executing)
c (Standby)
"c" turns OFF in the cycle after
communications instruction execution
is completed and communications
completion or errors are detected
from that cycle.
3-24-3 NETWORK SEND: SEND(090)
Purpose
Ladder Symbol
Variations
864
Example 2: Automatic Allocation of Communications Port Number
KEEP
a (Executing)
The explicit message instruction is executed when a (executing)
turns ON. The port number F is specified.
Explicit
message
instruction
Port: F
The automatically allocated port number stored in A218 (application
communications port numbers 0 to 7 is moved to a user-specified work
MOV
word b (port).
A218
Detects when the First Cycle Flag after Network Communications Finished
b (port)
for the automatically allocated communications port is ON in A214, i.e., the
bit corresponding to b (port).
c (Standby)
TST
A214
b (port)
TSTN
A213
b (port)
TST
A213
b (port)
Sends data to a node in the network.
SEND(090)
S
D
C
Variations
Immediate Refreshing Specification
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).
TSTN
A219
b (port)
TST
A219
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).
S: First source word (local node)
D: First destination word (remote node)
C: First control word
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Section 3-24
d (Execution completed)
Processing after network
communications
Network communications
error processing: Explicit
error processing
Network communications
error processing: FINS
error processing
SEND(090)
@SEND(090)
Not supported

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents