Tpo - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

TPO

Instruction
TIME-PROPORTIONAL
OUTPUT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Input word
C
First parameter word
R
Pulse output bit
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
specify 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 PID(190).)
Note If S is a manipulated variable, specify the word containing the manipulated variable output from a PID(190)
or 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
manipulated variable.)
The following diagram shows the locations of the parameter data. For details on the parameters, refer to
Parameter Settings in this section.
15
12 11
8
7
C
Input read timing
Output limit function
Note For details, see the description of each parameter.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
TPO
---
Block program areas
Step program areas
Not allowed
OK
Description
4
3
0
Manipulated variable range
Input type
Function
code
Inputs the duty ratio or manipulated variable from
the specified word, converts the duty ratio to a
685
time-proportional output based on the specified
parameters, and outputs the result from the speci-
fied output.
TPO
TPO
S: Input word
S
C: First parameter word
C
R: Pulse output bit
R
Subroutines
Interrupt tasks
OK
Data type
UINT
WORD
BOOL
15
Control period
C+1
Output lower limit
C+2
Output upper limit
C+3
C+4
C+5
(3 words, cannot be used by user)
C+6
3. Instructions
Function
SFC action or
transition programs
OK
OK
Size
1
7
---
0
Work area
663
3

Advertisement

Table of Contents
loading

Table of Contents