![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262494.webp)
Appendices
A-34
CP2E CPU Unit Software User’s Manual(W614)
TIME-PRO-
PORTIONAL
OUTPUT
TPO
---
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.
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.
SCALING
SCL
@
Converts unsigned binary data into unsigned BCD data according
to the specified linear function.
P1: First Parameter Word
Instruction
Mnemonic
Variations
Symbol/Operand
Function
TPO (6
8
5)
S
C
R
S
: Input
word
C
: 1st parameter word
R
: Pulse output bit
C
8
15
12 11
0
3
4
7
Manipulated variable
range
Input type
Input read timing
Output limit function
C+1
C+2
C+3
C+4
C+5
C+6
0
15
Control period
Output lower limit
Output upper limit
Work area
(3 words, cannot be used by user)
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)
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)
P1
P1+1
P1+2
P1+3
15
0
15
0
15
0
15
0
Scaled value for point A (Ar)
0000 to 9999 (4-digit BCD)
Unscaled value for point A (As)
0000 to FFFF (binary)
Scaled value for point B (Br)
0000 to 9999 (4-digit BCD)
Unscaled value for point B (Bs)
0000 to FFFF (binary)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......