Omron CQM1H-CLK21 Network Card User Manual


 
196
Using the Message Service Section 6-3
C200HX/HG/HE PLCs
DIFU(13) 31001
31000 25204
@XFER(70)
#0010
000
DM 0010
@MOV(21)
#000A
DM 0000
31000
R
S
KEEP(11)
31000
00000 25204
31002
31001
@MOV(21)
#9500
DM 0001
@MOV(21)
#0003
DM 0002
@SEND(90)
DM 0010
DM 0020
DM 0000
00200
31000 25203
Control Data Preparation
Turns ON to indicate transmission error.
DM 0000 0 0 0 A 10 send words*
DM 0001 9 5 0 0 Operating level 1**
DM 0002 0 0 0 3 Node 3, Unit 0 (a PLC)
Transfers the 10 words beginning at IR 000 to the 10
words beginning at DM 0010.
Transfers the 10 words beginning at DM 0010 of the
source node to the words beginning with DM 4000
(specified by DM 0020 and DM0021) at node address 3.
Creates reset input.
* No destination network address specified
** Response required, 5 retries, direct designa-
tion, monitoring time: default
IR 31000 remains ON while the SEND instruction is
being executed, and it turns OFF when instruction
execution has been completed.
Beginning Word for Indirect Receiving by
Destination Node
DM 0020 0 5 0 0
DM 0021 4 0 0 0
Beginning word for
receiving (by destina-
tion node) = DM4000
(05: DM designation)
Execution
condition
@MOV(21)
#0500
DM 0020
@MOV(21)
#4000
DM 0021
Network Instruction Error Flag
(Continued on the next page)
The transmission program will run when IR 00000
turns ON, provided that the Network Instruction En-
abled Flag is ON and the RECV instruction has not
been executed.