
8–10
Application Examples
Publication
17466.8 - April 1997
Scale
w/Parameters
Input I:1.4
0<
Input Min.
3500
3500 <
Input Max.
20500
20500 <
Scaled Min.
6
6<
Scaled Max.
120
120 <
Output N7:4
0<
SCP
0007
To BCD
Source N7:4
0<
Dest O:4.0
0000h <
0008
TOD
Scale the data word from the level sensor.
Then convert the scaled data word to BCD
format and send the value to the LED display.
Less
Than (A<B)
Source A
N7:4
0<
Source B
12
12 <
0009
LES
( )
O:5.0
1
High Level
Warning Light
If the value of the level sensor is less than 12
inches, energize the High Level Warning Light.
Greater
Than (A>B)
Source A
N7:4
0<
Source B
110
110 <
0010
GRT
( )
O:5.0
0
Low Level
Warning Light
If the value of the level sensor is greater than 110
inches, energize the Low Level Warning Light.
END
0011
Data File
DATA
FILE N10
Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
N10:0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1
N10:1 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1
N10:2 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1
N10:3 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1
N10:4 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1
Komentarze do niniejszej Instrukcji