3-9

3 Instruction Execution Times and Number of Steps
CP1E CPU Unit Instructions Reference Manual(W483)
3-1 CP1E CPU Unit Instruction
Execution Times and Number of
3
Floating-point Math Instructions
Instruction Mnemonic FUN
No.
Length
(steps)
ON execution
time (µs) Conditions
FLOATING TO 16-BIT FIX 450 3 15.9 ---
FLOATING TO 32-BIT FIXL 451 3 16.2 ---
16-BIT TO FLOATING FLT 452 3 16.2 ---
32-BIT TO FLOATING FLTL 453 3 17.1 ---
FLOATING-POINT ADD +F 454 4 24.1 ---
FLOATING-POINT SUBTRACT
-
F 455 4 25.2 ---
FLOATING-POINT DIVIDE /F 457 4 25.0 ---
FLOATING-POINT MULTIPLY F 456 4 24.4 ---
Floating Symbol Comparison LD,AND,OR+=F 329 3 11.6 ---
LD,AND,OR+<>F 330 ---
LD,AND,OR+<F 331 ---
LD,AND,OR+<=F 332 ---
LD,AND,OR+>F 333 ---
LD,AND,OR+>=F 334 ---
FLOATING- POINT TO ASCII FSTR 448 4 56.8 ---
ASCII TO FLOATING-POINT FVAL 449 3 42.9 ---
Table Data Processing Instructions
Instruction Mnemonic FUN
No.
Length
(steps)
ON execution
time (µs) Conditions
SWAP BYTES SWAP 637 3 16.8 Swapping 1 word
6250.0 Swapping 1,000 words
FRAME CHECKSUM FCS 180 4 24.1 For 1-word table length
2710.0 For 1,000-word table length
Data Control Instructions
Instruction Mnemonic FUN
No.
Length
(steps)
ON execution
time (µs) Conditions
PID CONTROL WITH AUTOTUN-
ING
PIDAT 191 4 316.0 Initial execution of PID processing
270.0 PID processing When sampling
228.0 PID processing When not sampling
275.5 Initial execution of autotuning
276.0 Autotuning when sampling
TIME-PROPORTIONAL OUTPUT TPO 685 4 5.8 OFF execution time
40.8 ON execution time with duty designation
or displayed output limit
43.4 ON execution time with manipulated vari-
able designation and output limit enabled
SCALING SCL 194 4 24.8 ---
SCALING 2 SCL2 486 4 20.2 ---
SCALING 3 SCL3 487 4 26.4 ---
AVERAGE AVG 195 4 24.2 Average of an operation
225.5 Average of 64 operations