127
Using the Message Service
Section 6-3
CVM1 and CV-series PLCs
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.
(011)
KEEP 120000H
I0000
00
A502
07
1200
02H
1200
01H
1200
00H
(030)
↑
MOV #000A D00000
(030)
↑
MOV #0002 D00001
(030)
↑
MOV #0400 D00002
(030)
↑
MOV #0705 D00003
(030)
↑
MOV #0064 D00004
(040)
↑
XFER #0010 I0000 D00010
(192)
↑
SEND D00010 D00020 D00000
(013)
DIFU 120001H
1200
00
A502
15
(011)
KEEP 120002H
I0000
01
A502
07
1200
00H
1200
03H
(030)
↑
MOV #0010 D00005
1200
02H
(030)
↑
MOV #0003 D00006
(030)
↑
MOV #2000 D00007
(030)
↑
MOV #0705 D00008
(030)
↑
MOV #0000 D00009
(193)
↑
RECV A100 2000 D00005
A502
07
1200
00
(013)
DIFU 120003H
1210
01H
1200
02H
A502
07
1200
02H
A502
15
(040)
↑
XFER #0016 2000 D00040
1200
02H
03H
1200
A502
15
1200
00H
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
Meaning
D00000 00 0A No. of send words: 10H
D00001 00 02 Remote network address: 2
D00002 04 00 Remote node address: 4
Remote unit address: 0
D00003 07 05 Response required
Communications port no.: 7
Number of retries: 5
D00004 00 64 Response monitor time: 10 s
The 10-word data starting from I0000 is stored in
D00010 and following words.
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
Meaning
D00005 00 10 Number of receive words: 16H
D00006 00 03 Remote network address: 3
D00007 20 00 Remote node address: 32
Destination Unit address: 0
D00008 07 05 Response required
Communications port no.: 7
Number of retries: 5
D00009 00 00 Response monitor time: Default
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.
Transfers 10 words of data from the local node to the
PLC (from D00020 onwards) at network address 2, node
no. 4, unit address 0.
Creates reset input.
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.
Summary of Contents for CS1W-CLK12-V1
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 11: ...xii ...
Page 59: ...42 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 62: ...45 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 91: ...74 CVM1 and CV series Optical Ring Controller Link Units Section 4 2 ...
Page 108: ...91 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 125: ...108 Checking Data Link Status Section 5 4 ...
Page 181: ...164 Setting Routing Tables Section 7 4 ...
Page 199: ...182 Memory Areas Related to Duplex Operation Section 8 6 ...
Page 275: ...258 Handling Precautions Section 10 7 ...
Page 298: ...281 CS series Optical Bus Controller Link Units Appendix C Dimensions Unit mm 101 35 130 ...
Page 299: ...282 CS series Optical Bus Controller Link Units Appendix C ...