Instruction 28- division – Maple Systems MAPware-7000 User Manual
Page 58

MAPware-7000 Ladder Logic Guide
50
1010-1041 rev. 00
Instruction 28-
Divis
ion
Expression:
Space Requirement: 1 line x 6 column Location Requirement: Middle, Right rail
Function:
When the input is ON, the data of A is divided by the data of B, and the quotient is stored in C
and the remainder in C+1.
Execution Condition:
Input
Operation
Output
ERF
OFF
No execution
OFF
---
ON
Normal Execution (B ≠ 0)
ON
---
No execution ( B = 0)
OFF
---
Operand:
Coil or Bit
Register
Constant
Index
Name
X
Y B
S
T.
C.
M
X
W
Y
W
B
W
S
W
T C
D
I
J
K
M
W
A
Multiplicand
√
√
√
√
√ √
√
√
√
√
√
√
B
Multiplexer
√
√
√
√
√ √
√
√
√
√
√
√
C
Product
√
√
√
√ √
√
√
√
√
√
Example:
When B005 is ON, the data of BW22 is divided by the constant data 325, and the quotient is
stored in BW27 and the remainder is stored in BW28.
If the data of BW22 is 2894, the quotient 8 is stored in BW27 and the remainder 294 is stored in
BW28.
Note: