Math instructions – Maple Systems MAPware-7000 User Manual
Page 12

MAPware-7000 Ladder Logic Guide
4
1010-1041 rev. 00
Math Instructions
These are instructions which can be used to initialize data or move data from one memory
location to another.
Instruction Name
Symbol
Description
Execution
Time (μSec)
Addition
Adds two signed registers and puts the
sum in a third register.
2.9 μsec to 3.2
μsec
Subtraction
Subtracts the value in Operand B from
the value in Operand A and puts the
result in a third register, Operand C.
1.6 μsec to 3.5
μsec
Multiplication
Multiplies the values in two registers and
puts the result in a third register.
2.0 μsec to 2.8
μsec
Division Word
Divides the value in Operand A by the
value in Operand B and puts the result in
a third register, Operand C. Note: the
quotient is stored in C and the remainder
is stored in C+1.
8.8 μsec to 9.5
μsec
Division Unsigned
DWord/Word
Divides the value in Operand A (32-bit
register) by the value in Operand B (16-
bit register) and puts the result in a 16-bit
register, Operand C. Note: the quotient is
stored in C and the remainder is stored in
C+1.
9.0 μsec
Addition with Carry
Adds two registers, along with the carry
bit (S0) and puts the sum in a third
register. If the carry bit was set during
this operation, the carry flag is turned
ON. Use this instruction when adding
two unsigned numbers or 32-bit
registers.
3.5 μsec
Subtraction with
Carry
Subtracts the value in Operand B, along
with the carry bit (S0) from the value in
Operand A and puts the result in
Operand C register. If the carry bit was
set during this operation, the carry flag is
turned ON. Use this instruction when
subtracting two unsigned numbers or 32-
bit registers.
3.5 μsec