EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 270

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...
268
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Program example
The following program adds 1 to the data at D0 and D1 when X0 is ON.
The following program adds 1 to the data set at X10 to X27 when X0 goes ON, and stores the result at D3 and D4.
The following program subtracts 1 from the data at D0 and D1 when X0 goes ON.
The following program subtracts 1 from the data set at X10 to X27 when X0 goes ON, and stores the result at D3 and D4.
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device

Table of Contents

Related product manuals