Program example
• The following program adds the D3 BCD data and the Z1 BCD data when X20 goes ON, and outputs the result to Y8 to
Y17.
[Ladder Mode]
• The following program subtracts the BCD data at D20 from the BCD data at D10 when X20 goes ON, and stores the result
at R10.
[Ladder Mode]
[List Mode]
Step
Instruction
[List Mode]
Instruction
Step
6.2 Arithmetic Operation Instructions
Device
Device
6 BASIC INSTRUCTIONS
6
235