Arithmetic; Abs; Add; Div - ABB ACSM1 Firmware Manual

Motion control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

288

Arithmetic

ABS

(10001)
Illustration
Execution time
Operation
Inputs
Outputs

ADD

(10000)
Illustration
Execution time
Operation
Inputs
Outputs

DIV

(10002)
Illustration
Execution time
Standard function blocks
(DINT)
TLA1 1 msec
IN
0.53 µs
The output (OUT) is the absolute value of the input (IN).
OUT = | IN |
The input data type is selected by the user.
Input (IN): DINT, INT, REAL or REAL24
Output (OUT): DINT, INT, REAL or REAL24
(DINT)
TLA1 1 msec
IN1
IN2
3.36 µs (when two inputs are used) + 0.52 µs (for every additional input). When all
inputs are used, the execution time is 18.87 µs.
The output (OUT) is the sum of the inputs (IN1...IN32).
OUT = IN1 + IN2 + ... + IN32
The output value is limited to the maximum and minimum values defined by the selected
data type range.
The input data type and the number of the inputs (2...23) are selected by the user.
Input (IN1...IN32): DINT, INT, REAL or REAL24
Output (OUT): DINT, INT, REAL or REAL24
(DINT)
TLA1 1 msec
IN1
IN2
2.55 µs
ABS
46
(1)
OUT(46)
OUT
ADD
47
(1)
OUT(47)
OUT
DIV
48
(1)
OUT(48)
OUT

Advertisement

Table of Contents
loading

Table of Contents