
- 35 -
6.5 Basic Format of Program
The followings are basic format of program.
Programs are created as following order.
Refer to 6.3 on program condition.
(1) Initial setting of master unit
(Parameter setting, standing data link)
(2) Checking data link condition of BIS C-489,
reading remote input (RX)
(3) Initial setting of BIS C-489
)
(Refer to 6.6
(4) Communication instruction 1
(Refer to 6.7 ...6.13 )
(4) Communication instruction n
(Refer to 6.7 ...6.13 )
(5) Writing to remote output (RY)
(1) Initial setting of master unit
Creates program to stand data link with CC-Link refresh command after setting of parameter.
[ex.] Number of connecting station : 1
Connecting station : BIS C-489 (station number 1, occupies 4 stations)
X0
X0F
PLS
M0
M0
MOV
K1
D20
(a)Setting number of connecting station
TO
H0
H1
D20
K1
M0
MOV
H1401
D30
(b)Setting station information
TO
H0
H20
D30
K1
M0
Specifying refresh
SET
Y0
Data link standing by buffer memory
SET
Y6
X6
Reset requiring standing signal in normal condition
RST
Y6
X7
Reading parameter condition in error condition
FROM
H0
H668
D40
K1
Reset requiring standing signal
RST
Y6
<Attention>
Program (a), (b) is not needed when CC-Link parameter is set with GX Developer in using
QCPU (Q mode) or QnACPU.
Содержание BIS C-489-1 KBT02 Series
Страница 7: ... 4 2 3 Dimension ...