Mitsubishi Electric MELDAS 60 Series Programming Manual page 111

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

Program example
(1) Example of subtraction counter program
X7
10
X8
14
18
=
MOV
K100 D8
M38
DECP D8
K0
D8
Set D8 to 100 when X7 turns ON.
Execute D8-1 at X8 OFF to ON
when M38 turns OFF.
M38
M38 turns ON when D8 = 0.
Coding
No. of
steps
10
11
14
15
17
18
19
21
24
25
- 103 -
DEC
Com-
Device
mand
LD
X7
MOV
K100
D8
LD
X8
PLS
M5
LD
M5
ANI
M38
DEC
D8
LD=
K0
D8
OUT
M38

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents