795
Data Control Instructions Section 3-18
3-18-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
Operands The contents of the four words starting with the first parameter word (P1) are
shown in the following diagram.
000000
TPO
D00010
D00000
000100
S
C
R
D00000
D00001
D00002
D00003
D00004
D00005
D00006
:
:
D00010
0
4
0
0
0
6
D
4
1
0
7
F
1
0
0
1
Duty ratio
Parameters
Pulse output
Duty ratio input, read initial value, and enable output limit function.
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 D00010, converts
that duty ratio to a time-proportional output, and
outputs the pulse output to bit 00 of CIO 0001.
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