A-51
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-17 Data Control Instructions
LIMIT CON-
TROL
LMT
@LMT
680 Output Required
DEAD BAND
CONTROL
BAND
@BAND
681 Output Required
DEAD ZONE
CONTROL
ZONE
@ZONE
682 Output Required
TIME-PRO-
PORTIONAL
OUTPUT
TPO 685 Inputs the duty ratio or manipulated variable from the specified
word, converts the duty ratio to a time-proportional output based
on the specified parameters, and outputs the result from the spec-
ified output.
Output Required
SCALING SCL
@SCL
194 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
LMT(680)
S
C
D
S: Input word
C: 1st limit word
D: Output word
Controls output data according to whether or not input data is
within upper and lower limits.
Upper limit
C+1
Lower limit
C
BAND(681)
S
C
D
S: Input word
C: 1st limit word
D: Output word
Upper limit (C+1)
Output
Input
Lower limit (C)
Controls output data according to whether or not input
data is within the dead band range.
ZONE(682)
S
C
D
S: Input word
C: 1st limit word
D: Output word
Output
Input
Positive bias (C+1)
Negative bias (C)
Adds the specified bias to input data and outputs the result.
TPO (685)
S
C
R
S: Input word
C: 1st parameter
word
R: Pulse Output
Bit
SCL(194)
S
P1
R
S: Source word
P1: 1st parameter
word
R: Result word
(BCD)
(BIN)
(BCD)
(BIN)
P
P1 + 1
P1 + 2
P1 + 3
R (unsigned BCD)
Converts unsigned binary data into unsigned BCD data
according to the specified linear function.
Point B
Point A
Scaling is performed
according to the linear
function defined by points
A and B.
Converted
value
Converted
value
S (unsigned binary)