Programming 9
9-1
9.
Programming
9.1
Precautions in Programming
This section describes precautions in creating a program.
1) Word information of the remote device station is processed in FX
2N
-16CCL-M in one word
unit. Therefore, trying to transfer double word (32-bit data) between FX
2N
-16CCL-M and
PLC main unit may result in an error as upper word (16-bit data) and lower word (16-bit
data) may not be processed appropriately due to time lag in link-scanning.
2) Create a read program from the remote input RX (addresses E0
H
to FF
H
) after data link
startup.
Create a write program to the remote output RY (addresses 160
H
to 17F
H
) at the end of the
entire program.
3) Create such a program that read of received data and write of transmission data are
executed after the host station becomes the data link status (after the BFM#A
H
b1 turns
ON).
Parameter setting
Data link startup
Read from remote input (RX)
Write to remote output (RY)
··········
M
M
M
M0
N0
MC
Program for communication
N0
MCR
Input of
module error
(BFM#A
H
b0)
Input of module
ready
(BFM#A
H
b15)
Input of data link
status in host station
(BFM#A
H
b1)
FX2N-16CCL-M CC-Link System Master Block
Содержание FX2N-16CCL-M
Страница 4: ...FX2N 16CCL M CC Link System Master Block ii ...
Страница 6: ...FX2N 16CCL M CC Link System Master Block iv ...
Страница 34: ...FX2N 16CCL M CC Link System Master Block System Configuration 3 3 14 MEMO ...
Страница 66: ...FX2N 16CCL M CC Link System Master Block Specification 4 4 32 MEMO ...
Страница 144: ...FX2N 16CCL M CC Link System Master Block Programming 9 9 16 MEMO ...
Страница 172: ...FX2N 16CCL M CC Link System Master Block Communication in Compound System 12 12 10 MEMO ...
Страница 192: ...FX2N 16CCL M CC Link System Master Block Appendix 14 14 4 MEMO ...
Страница 193: ......