FX
2N
-32CCL CC-Link Interface Block
Programming Examples 6
6-5
6.3
Program in master PC
When the PC CPU starts to run, data linking is automatically started by the program shown below.
During debugging
D0
X0000
X000F
M300
Unit error Unit ready
M301
K2
MOV
D1
K7
MOV
D2
K1
MOV
K3
D0
H0001
H0000
TO
D3
K0
MOV
K1
D3
H0006
H0000
TO
D4
H1401
MOV
D5
H1205
MOV
K2
D4
H0020
H0000
TO
M301
RST
M301
M300
PLS
M301
SET
Parameter
setting
Number of connected units
Number of retries
Number of automatic double row
units
Write from D2 to D0 to H0001
Specification of operation at CPU down (stop)
Write from D3 to H0006
Station information A side
(remote device, 4 stations occupied, station No. 1)
Station information B side
(remote device, 2 stations occupied, station No. 5)
Write from D5 and D4 to H0020
Содержание FX2N-32CCL
Страница 1: ...USER S MANUAL CC Link INTERFACE BLOCK FX2N 32CCL ...
Страница 8: ...FX2N 32CCL CC Link Interface Block Contents vi 6 3 Program in master PC 6 5 6 4 Program in FX PC 6 11 ...
Страница 18: ...FX2N 32CCL CC Link Interface Block Specifications 2 2 6 Memo ...
Страница 26: ...FX2N 32CCL CC Link Interface Block Setting of Remote Device Stations 4 4 4 Memo ...
Страница 39: ...FX2N 32CCL CC Link Interface Block Assignment of Buffer Memory BFM 5 5 13 ...
Страница 54: ...FX2N 32CCL CC Link Interface Block Programming Examples 6 6 14 Memo ...
Страница 55: ...FX2N 32CCL CC Link Interface Block ...