A-97
Appendices
CJ2 CPU Unit Software User’s Manual
A-2 Instruction Execution Times and Number of Steps
App
A-2-18 Subroutine Instructions
PID CONTROL WITH
AUTOTUNING
PIDAT 191 4 302 600 Initial Execution
237 428 Input ON and sam-
pling
73 118 Input ON and not
sampling
7.3 10.5 Input OFF
120 203 Initial execution of
autotuning
LIMIT CONTROL LMT 680 4 to 5 10.8 18.3 ---
DEAD BAND CON-
TROL
BAND 681 4 to 5 11.2 19.2 ---
DEAD ZONE CON-
TROL
ZONE 682 4 to 5 10.9 17.7 ---
TIME-PROPOR-
TIONAL OUTPUT
TPO 685 4 6.9 10.2 Input OFF
37 65 Input ON and duty
specified or output
limit disabled
SCALING SCL 194 4 7.6 9.3 ---
SCALING 2 SCL2 486 4 6.8 9.2 ---
SCALING 3 SCL3 487 4 7.8 9.9 ---
AVERAGE AVG 195 4 22 40 Average of an opera-
tion
212 351 Average of 64 opera-
tions
A-2-18 Subroutine Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
SUBROUTINE CALL SBS 091 2 0.90 2.8 ---
SUBROUTINE ENTRY SBN 092 2 2.8 4.1 ---
SUBROUTINE
RETURN
RET 093 1 0.43 2.0 ---
MACRO MCRO 099 4 16.8 21.7 ---
GLOBAL SUBROU-
TINE RETURN
GSBS 750 2 0.90 2.8 ---
GLOBAL SUBROU-
TINE CALL
GSBN 751 2 2.7 3.6 ---
GLOBAL SUBROU-
TINE ENTRY
GRET 752 1 0.43 2.0 ---
Instruction Mnemonic FUN No.
Length
(steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@