Tpo - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

TPO

Instruction
TIME-PROPORTIONAL
OUTPUT
Symbol
Applicable Program Areas
Area
Usage
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 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.
15
12 11
8
C
Input read timing
Output limit function
Note For details, see the description of each parameter.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
TPO
---
Step program areas
OK
Description
7
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
OK
Data type
UINT
WORD
BOOL
15
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
2 Instructions
Function
Interrupt tasks
OK
Size
1
7
---
0
Control period
Work area
2-269
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents