
User Manual
Appendix E
GFK-1742F
Jan 2020
Local Logic Execution Time
452
=> 0.90 microseconds
Total Execution Time => 3.10 + 4.70 + 4.70 + 0.90 = 13.40 Microseconds
Table 91: Local Logic Math/Logical Operation execution times
Local Logic Math and Logical Operations
(Assignment, := )
Local Logic Execution Time
(Microseconds)
Add (+)
0.90*
Subtract (-)
0.90*
Multiply (*)
1.30
Divide (/)
2.90
Modulus (MOD)
2.90
Absolute (ABS)
1.70*
BWAND
0.20
BWOR
0.30
BWXOR
0.20
BWNOT
0.50
*
Execution times for Addition, Subtraction and Absolute value (ABS) assume there are no
computation overflows.
Table 92: Local Logic Conditional Operation Execution Times
Local Logic Conditional Operations
(IF…THEN)
Local Logic Execution Time
(Microseconds)
Greater Than (>)
2.50
Less Than (<)
2.50
Greater/Equal (>=)
2.50
Less/Equal (<=)
2.50
Equal (=)
2.30
Not Equal (<>)
2.30
BWAND
1.40
BWOR
1.40
BWXOR
1.40
BWNOT
1.60
Null operator (IF var THEN)
1.10
END_IF
0.00
Note:
The execution time for the conditionals is for the case where the
IF…THEN operation evaluates to
FALSE. This represents the worst-case execution time, since the execution time required to
evaluate a conditional that is TRUE is less. Note that the END_IF instruction does not require any
execution time.