EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 290

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...
288
6 BASIC INSTRUCTIONS
6.3 Data Conversion Instructions
Program example
The following program calculates a total for the data at D10 through D20 when XA goes ON, and seeks an absolute value if
the result is negative.
[Ladder Mode]
[List Mode]
M3 is turned ON if D10 < D20.
Executes "D10 - D20".
Calculates the absolute value
(complement of 2) when M3 is ON.
Step
Instruction
Device

Table of Contents

Related product manuals