Appendices
Instruction
Mnemonic
TIME-PRO-
TPO
PORTIONAL
OUTPUT
SCALING
SCL
A-32
Variations
Symbol/Operand
---
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
Function
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.
C: First Parameter Word
Bits 04 to 07 of C specify the input type, i.e., whether the input
word contains an input duty ratio or manipulated variable. (Set
these bits to 0 hex to specify a input duty ratio or to 1 hex to
specify a manipulated variable.)
The following diagram shows the locations of the parameter
data.
15
12 11
8
7
4
C
Input type
Input read timing
Output limit function
15
Control period
C+1
Output lower limit
C+2
Output upper limit
C+3
C+4
Work area
C+5
(3 words, cannot be used by user)
C+6
R: Pulse Output Bit
Specifies the destination output bit for the pulse output.
Normally, specify an output bit allocated to a Transistor Output
Unit and connect a solid state relay to the Transistor Output
Unit.
Converts unsigned binary data into unsigned BCD data according
to the specified linear function.
Scaling is performed
R (unsigned BCD)
according to the linear
function defined by points
A and B.
Point B
P
P1 + 1
Point A
P1 + 2
P1 + 3
S (unsigned binary)
P1: First Parameter Word
15
P1
Scaled value for point A (Ar)
0000 to 9999 (4-digit BCD)
15
P1+1
Unscaled value for point A (As)
0000 to FFFF (binary)
15
P1+2
Scaled value for point B (Br)
0000 to 9999 (4-digit BCD)
15
P1+3
Unscaled value for point B (Bs)
0000 to FFFF (binary)
CP1E CPU Unit Software User's Manual(W480)
3
0
Manipulated variable
range
0
(BCD)
Converted
(BIN)
value
(BCD)
Converted
(BIN)
value
0
0
0
0
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers