EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 96

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
94
3 CONFIGURATION OF INSTRUCTIONS
3.3 Indexing
A case where indexing has been performed, and the actual process device (Z0 =20, Z1 = -5)
Ladder example Actual process device
X0
MOV K20 Z0
MOV K 5 Z1
X1
MOV K2X50Z0 K1M38Z1
Description
Converts K20 into a hexadecimal number.
X1
MOV K2X64
K1M33
K2X50Z0
K1M38Z1
K1M(38 - 5) = K1M33
K2X(50 + 14) = K2X64
X0
MOV K20 Z0
MOV K Z1
X1
MOV D0Z0 K3Y12FZ1
5
Description
Hexadecimal number
X1
MOV D20
K3Y12A
D
0Z0
K3Y12FZ1
D (0 + 20) = D20
K3Y(12F - 5) = K3Y12A

Table of Contents

Related product manuals