
- 56 -
(3) Example of programming
The example is programmed on the following condition.
Using channel ................................................ CH1
Instruction code .............................................. FI (4946H)
First writing address of code tag .................. 10
Number of writing word ............................... 10
Store area of writing data ............................ R2000
Store area of error code ................................ R0
External External
Signal
interlock signal
Start
SET
M1
SM400
Reading other data link condition
FROM
H0
H680
K4M100
K4
M1
M100
M331
M211
M212
M340
Setting instruction code
MOVP
H4946
D100
(Link) (RX7B)
(RX3)
(RX4) (RY4)
MOVP
K10
D101
10)
Setting first address of writing (K
MOVP
K10
D102
(K10)
Setting number of writing word
Sets D2000 as writing data
MOVP
D2000
D103
Writing of setting digit
TOP
H0
H1E0
D100
K3
Write writing data
TOP
H0
H1E3
D103
K1
Start executing instruction
SET
M340
M212
M340
(RY4)
Finish executing instruction
RST
M340
(RX4)
(RY4)
(RY4)
Finish
RST
M1
M213
M340
Reading error code
FROMP
H0
H2E1
R0
K1
(RX5)
(RY4)
Содержание BIS C-489-1 KBT02 Series
Страница 7: ... 4 2 3 Dimension ...