Mitsubishi Electric M800VW Series Programming Manual page 226

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

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.2 Arithmetic Operation Instructions
 Program example
 The following is a down counter program.
X7
MOVP
0
X8
M38
4
= K0 D8
8
12
[List mode]
Steps
Inst.
Device
0
LD
X7
1
MOVP
K100
D8
4
LD
X8
5
ANI
M38
6
DECP
D8
8
LD=
K0
D8
11
OUT
M38
12
END
[Ladder mode]
K100 D8
DECP D8
M38
END
Transfers the value of 100 to D8 when X7 is
ON
When M38 is OFF, X8 goes from OFF to ON,
and 1 is decremented from D8.
At D8=0, M38 goes ON.
205
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents