beautypg.com

Yaskawa Ladder Works Programming Manual User Manual

Page 22

background image

2.2 ADDITION Instruction (ADD)

2-5

[Program Example ]

Addition of integer type values

Addition of real number type values

Notes: In the case of double-length integer type values, an operation using addition and

subtraction instructions (+, –, ++, --) will be a 32-bit operation. However, when an
addition or subtraction instruction is used in a remainder correction operation (where a
multiplication instruction (×) is the immediately preceding instruction and a division
instruction (÷) is the immediately subsequent instruction), the operation will be a 64-bit
operation.