Program example
(1) Program to decrement the D0, 1 data by one when M0 turns ON.
M0
10
(pulse coding)
(2) Program to decrement X10 to X27 data by one when M0 turns ON, and to store the results in D3,
4.
M0
10
(pulse coding)
8. Function Commands
DDEC, DDECP
DDEC
D0
K6X10
D3
DMOV
DDEC
D3
- 193 -
Get other manuals https://www.bkmanuals.com
Coding
No. of
Com-
Device
steps
mand
10
LD
M0
11
DDEC
D0
13
Coding
No. of
Com-
Device
steps
mand
10
LD
M0
11
DMOV K6X10 D3
14
DDEC D3
16