Mitsubishi Electric MELDAS 60 Series Programming Manual page 59

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

Advertisement

Execution condition
This is executed per scan regardless of the operation results before the OUT command.
Program example
(1) Program to turn ON Y10 and Y14 ten seconds after X0 turns ON.
X0
10
T1
14
(2) Program to use X10 to 1F BCD data as timer setting value.
X0
10
X2
14
T2
18
T1 K100
Y10
Y14
BIN
K4X1
D10
The X10 to 1F data is BIN converted and stored in D10.
0
T2 D10
If X2 turns ON, the data stored in D10 will be counted
as the setting value.
Y15
When T2 counts up, Y15 will turn ON.
- 51 -
Coding
No. of
Com-
steps
mand
10
LD
X0
11
OUT
T1
14
LD
T1
15
OUT
Y10
16
OUT
Y14
17
Coding
No. of
Com-
steps
mand
10
LD
X0
11
BIN
K4X10 D10
14
LD
X2
15
OUT
T2
18
LD
T2
19
OUT
Y15
20
OUT T
Device
K100
Device
D10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents