FX
2N
-32CCL CC-Link Interface Block
Programming Examples 6
6-13
Example of communication program in station No. 2
The contents equivalent to those in the station No. 1 described above are to be programmed as a communi-
cation status read program.
FNC78
FROM
K4
K0
K0
K4M300
M7
Read of remote output
BFM #3 to #0 (RY3F to RY00)
→
M363 to M300
Utilization of read result
M300
Link being
executed
FNC78
FROM
K8
K8
K0
D50
M363
FNC12
MOV
D
K50
FNC12
MOV
D
D57
(RY00)
(RY3F)
FNC12
MOV
D10
K30
FNC12
MOV
D17
D100
M100
M163
(RX00)
(RX3F)
FNC79
TO
K4
K0
K0
K4M100
FNC79
TO
K8
K8
K0
D10
M7
Read of remote output
and register
Write of remote input
and register
Read of remote register
BFM #15 to #8 (RWw7 to RWw0)
→
D57 to D50
Program determining the ON/OFF status of remote
input and the remote register value to be written
Write of remote input
M163 to M100
→
BFM #3 to #0 (RX3F to RX00)
Write of remote register
D17 to D10
→
BFM #15 to #8 (RWr7 to RWr0)
Summary of Contents for FX2N-32CCL
Page 1: ...USER S MANUAL CC Link INTERFACE BLOCK FX2N 32CCL ...
Page 18: ...FX2N 32CCL CC Link Interface Block Specifications 2 2 6 Memo ...
Page 26: ...FX2N 32CCL CC Link Interface Block Setting of Remote Device Stations 4 4 4 Memo ...
Page 39: ...FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 5 13 ...
Page 54: ...FX2N 32CCL CC Link Interface Block Programming Examples 6 6 14 Memo ...