Expt; Mod - ABB ACSM1 Firmware Manual

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

Advertisement

Operation
Inputs
Outputs

EXPT

(10003)
Illustration
Execution time
Operation
Inputs
Outputs

MOD

(10004)
Illustration
Execution time
Operation
Inputs
Outputs
The output (OUT) is input IN1 divided by input IN2.
OUT = IN1/IN2
The output value is limited to the maximum and minimum values defined by the selected
data type range.
If the divider (IN2) is 0, the output is 0.
The input data type is selected by the user.
Input (IN1, IN2): INT, DINT, REAL, REAL24
Output (OUT): INT, DINT, REAL, REAL24
(REAL)
TLA1 1 msec
IN1
IN2
81.90 µs
The output (OUT) is input IN1 raised to the power of the input IN2:
IN2
OUT = IN1
If input IN1 is 0, the output is 0.
The output value is limited to the maximum value defined by the selected data type
range.
Note: The execution of the EXPT function is slow.
The input data type is selected by the user.
Input (IN1): REAL, REAL24
Input (IN2): REAL
Output (OUT): REAL, REAL24
(DINT)
TLA1 1 msec
IN1
IN2
1.67 µs
The output (OUT) is the remainder of the division of the inputs IN1 and IN2.
OUT = remainder of IN1/IN2
If input IN2 is zero, the output is zero.
The input data type is selected by the user.
Input (IN1, IN2): INT, DINT
Output (OUT): INT, DINT
EXPT
49
(1)
OUT(49)
OUT
MOD
50
(1)
OUT(50)
OUT
289
Standard function blocks

Advertisement

Table of Contents
loading

Table of Contents