Omron C200HW-CLK21 Operation Manual page 221

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Using the Message Service
CVM1 and CV-series PLCs
I0000
A502
1200
00
07
02H
1200
01H
1200
00H
1200
A502
00
07
1200
A502
00
15
I0000
A502
1200
01
07
00H
1200
03H
1200
02H
1200
A502
02H
07
1200
A502
02H
15
1200
1200
A502
02H
03H
15
198
(011)
KEEP 120000H
(030)
MOV
#000A
(030)
MOV
#0002
(030)
MOV
#0400
(030)
MOV
#0705
(030)
MOV
#0064
(040)
XFER
#0010
I0000
(192)
SEND D00010
D00020 D00000
(013)
DIFU
(011)
KEEP 120002H
(030)
MOV
#0010
(030)
MOV
#0003
(030)
MOV
#2000
(030)
MOV
#0705
(030)
MOV
#0000
(193)
RECV
A100
2000
(013)
DIFU 120003H
(040)
XFER
#0016
2000
Note When using the sample program, make sure that the bits and words used in
the sample program are not the same as those in the user program or Special
I/O Units.
The transmission program will run when I000000 is ON,
provided that the Network Instruction Enabled Flag for
port 7 is ON and the RECV instruction has not been
executed.
CIO 120000H remains ON while the SEND instruction
is being executed, and it turns OFF when the execution
of the instruction has been completed.
Word
Content
D00000 00
D00000
D00001 00
D00001
D00002 04
D00002
D00003 07
D00003
D00004
D00004 00
D00010
The 10-word data starting from I0000 is stored in
D00010 and following words.
Transfers 10 words of data from the source node (D00010)
to the PLC (from D00020 onwards) at network address 2,
node no. 4, unit address 0.
120001H
Creates reset input.
1210
00H
Transmission error display
The reception program will run when I000001 is ON,
provided that the Network Instruction Enabled Flag for
port 7 is ON and the SEND instruction has not been
executed.
CIO 120002H remains ON while the RECV instruction
is being executed, and it turns OFF when the execution
of the instruction has been completed.
Word
Content
D00005 00
D00005
D00006 00
D00006
D00007 20
D00007
D00008 07
D00008
D00009
D00009 00
D00005
Transfers 16 words of data (from A100 onwards) from
the PLC at network address 3, node no. 32, unit address
0, to words 2000 onwards.
Creates reset input.
1210
01H
Reception error display
Reception data processing
When the data is received without an error, the 16-word
data received at CIO 2000 and following words is
stored in D00040 and following words on the same PLC.
D00040
Section 6-3
Meaning
0A
No. of send words: 10H
02
Destination network address: 2
00
Destination node address: 4
Destination unit address: 0
05
Response required
Communications port no.: 7
Number of retries: 5
64
Response monitor time: 10 s
Meaning
10
Number of receive words: 16H
03
Destination network address: 3
00
Destination node address: 32
Destination Unit address: 0
05
Response required
Communications port no.: 7
Number of retries: 5
00
Response monitor time: Default

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents