490 Rockwell Automation Publication 750-PM001N-EN-P - February 2017
Appendix D Using DeviceLogix
Functional Block Programming
The Scale Block Operation example consists of 12 blocks that are shown in the
following figure.
DevLogix In 01
0.000000
DevLogix In 02
0.000000
DevLogix In 03
1800.000000
DevLogix In 04
0.000000
DevLogix In 05
0.000000
DevLogix In 0 1
0.000000
DevLogix In 01
0.000000
DevLogix In 02
0.000000
DevLogix In 02
0.000000
DevLogix In 0 3
1800.000000
DevLogix In 03
1800.000000
1GRT
Greater Than (A>B)
EnableIn
SourceA
SourceB
1
0
2SEL
Select
EnableIn
In1
In2
SelectorIn
1
0.000000
3LEQ
Less Than or Eql (A<=B)
EnableIn
SourceA
SourceB
1
1
4SEL
Select
EnableIn
In1
In2
SelectorIn
1
0.000000
6SUB
Subtract
EnableIn
SourceA
SourceB
1
0.000000
Scale Input Span
7SUB
Subtract
EnableIn
SourceA
SourceB
1
180 0.0 0000 0
Scale O utpu t Span
8SUB
Subtract
EnableIn
SourceA
SourceB
1
10.000000
9DIV
Divi de
EnableIn
SourceA
SourceB
1
0.000000
10 ABS
Absolute Value
EnableIn
Source
1
0.000000
Scale In Value
Scale In High
Scale I n Low
Check if input is out of range
Scale In High
Scale I n Low
Scale O ut Lo w
Scale Out High
5SEL
Select
EnableIn
In1
In2
SelectorIn
1
0.000000
Use Scale In Value unless out of range
(cla mp at either low or hi gh l imi t)
12 ADD
Add
EnableIn
SourceA
SourceB
0
0.000000
DevLogix Out 01
0.000000
Scale Out Value
11 MUL
Multiply
EnableIn
SourceA
SourceB
0
0.000000