EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1044
Network Instructions Section 3-25
Example 2: Automatic Allocation of Communications Port Number
3-25-3 NETWORK SEND: SEND(090)
Purpose Sends data to a node in the network.
Ladder Symbol
Variations
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 (application
communications port numbers 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" 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
SEND(090)
S
D
C
S: First source word (local node)
D: First destination word (remote node)
C: First control word
Variations Executed Each Cycle for ON Condition SEND(090)
Executed Once for Upward Differentiation @SEND(090)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported

Table of Contents

Related product manuals