652
Data Control Instructions Section 3-17
Example 2: Using TPO(685) Alone
When CIO 0.00 is ON, TPO(685) takes the duty ratio in D10, converts the
duty ratio to a time-proportional output, and outputs the pulses to CIO 100.06.
In this case, the control period is 1 s and the output limit function is enabled
with a lower limit 20.00% and an upper limit of 80.00%.
3-17-7 SCALING: SCL(194)
Purpose Converts unsigned binary data into unsigned BCD data according to the
specified linear function.
Ladder Symbol
Variations
Applicable Program Areas
0.00
TPO
D10
D0
100.06
S
C
R
D0
D1
D2
D3
D4
D5
D6
:
:
D10
0
4
0
0
0
6
D
4
1
0
7
F
1
0
0
1
Duty ratio
Parameters
Pulse output
Duty ratio input, input read timing, and enable output limit control
Control period = 1.00 s
Output lower limit = 20.00%
Output upper limit = 80.00%
0 to 100.00%
Do not set.
Do not set.
Do not set.
0 to 2710 hex
TPO(685) takes the duty ratio in D10, converts that
duty ratio to a time-proportional output, and outputs
the pulse output to bit 00 of CIO 100.06.
SCL(194)
S
P1
R
S: Source word
P1: First parameter word
R: Result word
Variations Executed Each Cycle for ON Condition SCL(194)
Executed Once for Upward Differentiation @SCL(194)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK