
8–9
Application Examples
Publication
17466.8 - April 1997
Scale
w/Parameters
Input I:1.3
0<
Input Min.
3500
3500 <
Input Max.
20500
20500 <
Scaled Min.
0
0<
Scaled Max.
200
200 <
Output N7:3
0<
SCP
To BCD
Source N7:0
0<
Dest O:2.0
0000h <
0
0002
If the selector switch is in the L1 position, convert the scaled
data word to BCD format and send the value to the LED display.
] [
I:6.0
TOD
Scale the data word from the pressure transducer.
Then convert the scaled data word to BCD format
and send the value to the LED display.
0005
1
I:6.0
]/[
2
I:6.0
]/[
To
BCD
Source N7:1
0<
Dest O:2.0
0000h <
0
0003
If the selector switch is in the L2 position, convert the scaled
data word to BCD format and send the value to the LED display.
] [
I:6.0
TOD
1
I:6.0
]/[
2
I:6.0
]/[
To
BCD
Source N7:2
0<
Dest O:2.0
0000h <
0
0004
If the selector switch is in the L3 position, convert the scaled
data word to BCD format and send the value to the LED display.
] [
I:6.0
TOD
1
I:6.0
]/[
2
I:6.0
]/[
To
BCD
Source N7:3
0<
Dest O:3.0
0000h <
0006
TOD
Kommentare zu diesen Handbüchern