
- 61 -
(3) Example of programming
The example is programmed on the following condition.
Using channel ................................................ CH1
Instruction code .............................................. CL (4C43H)
First address of code tag to clear ................. 10
Number of processing words ........................ 10
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
M340
M211
M212
M340
Setting instruction code
MOVP
H4C43
D100
(Link) (RX7B)
(RX3)
(RX4) (RY4)
Specify the first address to clear (K10)
MOVP
K10
D101
Specify the number of processing words (K10)
MOVP
K10
D102
Writing of setting digit
TOP
H0
H1E0
D100
K3
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 ...