2-269
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Data Control Instructions
2
TPO
TPO
Applicable Program Areas
Operands
S: Input Word
Specifies the input word containing the input duty ratio or manipulated variable.
• Input duty ratio: 0000 to 2710 hex (0.00% to 100.00%)
• Input manipulated variable (See note.): 0000 to FFFF hex (0 to 65,535 max.) (Bits 00 to 03 of C spec-
ify the manipulated variable range, i.e., the number of valid bits in the manipulated variable. Specify
the same number of bits as specified for the output range setting in PIDAT(191).)
Note If S is a manipulated variable, specify the word containing the manipulated variable output from a
PIDAT(191) instruction.
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 manip-
ulated variable.)
The following diagram shows the locations of the parameter data.
Note For details, see the description of each parameter.
Instruction Mnemonic Variations
Function
code
Function
TIME-PROPORTIONAL
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 speci-
fied output.
Symbol
TPO
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
S Input word UINT 1
C First parameter word WORD 7
R Pulse output bit BOOL ---
S: Input word
C: First parameter word
R: Pulse output bit
TPO
S
C
R
C+1
C+2
C+3
C+4
C+5
C+6
015
C
815 12 11 0347
Manipulated variable range
Input type
Input read timing
Output limit function
Control period
Output lower limit
Output upper limit
Work area
(3 words, cannot be used by user)