Omron C200HW-CLK21 Network Card User Manual


 
194
Using the Message Service Section 6-3
PLC Programming Examples
CS/CJ-series PLCs
DIFU(13) 120001
120000 A20207
@MOV(21)
#000A
D00000
120000
R
S
KEEP
120000
000000 A20207 120002
120001
@MOV(21)
#0002
D00001
@MOV(21)
#0400
D00002
121000
120000 A21907
Control Data Preparation
Turns ON to indicate transmission error.
Word Content Meaning
D00000 0 0 0 A 10 send words
D00001 0 0 0 2 Destination network
address= 2
D00002 0 4 0 0 Destination node
address = 4
Destination Unit
address = 0
D00003 0 7 0 5 Response required
Port No. 7 used
No. of resends = 5
D00004 0 0 6 4 Response monitoring
time = 10 s
Transfers the 10 words beginning at CIO 0000 to the
10 words beginning at DM 00010.
Transfers the 10 words beginning at DM 00010 of
the source node to the words beginning with DM
00020 at network address 2, node address 4, and
Unit address 0 (PLC).
Creates reset input.
CIO 120000 remains ON while the SEND instruction is
being executed, and it turns OFF when instruction
execution has been completed.
(See note 1.)
Execution
condition
(See note 1.)
@MOV(21)
#0705
D00003
@MOV(21)
#0064
D00004
@XFER(70)
#000A
0000
D00010
@SEND(90)
D00010
D00020
D00000
(
Continued on the next
p
a
g
e
)
Network Instruction Error Flag
The transmission program will run when CIO 000000
turns ON, provided that the Network Instruction Ena-
bled Flag is ON and the RECV instruction has not
been executed.