Function library
Function blocks
3.5.10 Arithmetic block (ARITPH)
3−113
l
EDSVS9332P−EXT DE 2.0
Function
l Selection of the arithmetic function with code ARITPH mode.
l The calculation is performed cyclically in the control program.
l The function block limits the results (see table)
Code Selection number Arithmetic function Limitation Note
ARITPH1: C1010
ARITPH2: C1020
ARITPH3: C1025
ARITPH4: C1550
ARITPH5: C1555
ARITPH6: C1560
0 OUT = IN1 Without limitation
1 OUT = IN1 + IN2 2
30
−1
2 OUT = IN1 − IN2 2
30
−1
3 OUT = (IN1 × IN2) ÷ 2
30
2
30
−1 Remainder not considered
13 OUT = IN1 × IN2 2
31
14 OUT = IN1 ÷ IN2 2
30
−1 Remainder not considered
15 OUT = IN1 % IN2 Remainder output (Modulo)
21 OUT = IN1 + IN2 No limit Without limitation
22 OUT = IN1 − IN2 No limit Without limitation