Part 4 Commands
MULT (Multiply)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional MULT
Variable
number
Data ZR
Multiply the content of the variable specified in operand 1 by the value specified in
operand 2, and assign the result to the variable specified in operand 1.
The output will turn ON when the operation result becomes 0.
Multiply the content of variable 1 (3) by 2.
6 (3x2=6) will be stored in variable 1.
Multiply the content of variable 1 (variable 2) by
the content of variable 3 (2).
6 (3x2=6) will be stored in variable 2.
DIV (Divide)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional DIV
Variable
number
Data ZR
Divide the content of the variable specified in operand 1 by the value specified in operand
2, and assign the result to the variable specified in operand 1.
The output will turn ON when the operation result becomes 0.
If the variable specified in operand 1 is an integer variable, any decimal places will be
rounded off.
Divide the content of variable 1 (6) by 2.
3 (6
÷
2=3) will be stored in variable 1.
Divide the content of variable 1 (variable 2) by the
content of variable 3 (2).
÷
2=3) will be stored in variable 2.
Commentaires sur ces manuels