Mitsubishi Electric MELDAS C6 Programming Manual page 216

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Program example
(1) Program to store input X0 to XB data in D8.
M0
10
(ON)
(2) Program to store
X8
10
D8
0 0 0 0 0 0 0 0 1 0 0
(3) Program to store
XB
10
0 0 0 0 0 0 0 1 0 1 0
D93
(4) Program to store
X13
10
0 0 0 0 0 0 0 0 1 0 0
D894
8. Function Commands
MOV, MOVP
MOV
K3X0
"
"
155
in D8 as binary value when X8 turns ON.
MOV
K155
1 1
"
"
155
in D93 as BCD value in when XB turns ON.
MOV
H155
1 0
"
"
155
in D894 as hexadecimal (HEX) when X13 turns ON.
MOV
H9B
1 1
- 207 -
Get other manuals https://www.bkmanuals.com
Coding
No. of
Com-
steps
mand
D8
10
LD
11
MOV
14
Coding
No. of
Com-
steps
mand
D8
10
LD
11
MOV
14
0
1 1
Coding
No. of
Com-
steps
mand
D93
10
LD
11
MOV
14
1
0 1
Coding
No. of
Com-
steps
mand
D894
10
LD
11
MOV
14
0
1 1
Device
M0
K3X0
D8
Device
X8
K155
D8
Device
XB
H155
D93
Device
X13
H9B
D894

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents