Analog Value Processing
S5-95F
11.6.2 Output of Analog Value
- FB251 -
Analog values can be output to analog output modules using this function block. In doing so, values
from the range between the lower limit (UGR) and high limit (OGR) parameters are converted to the
nominal range of the module in question.
Table 11-9. Call and Parameter Assignments of FB251
: JU FB 251
NAME : RLG:AQ
XE :
BG :
KNKT :
OGR :
UGR :
FEH :
BU :
Parameter
Explanation
Type
Assignment
BG
Slot address
D KF
0 to 7
KNKT
Channel number
Channel type
D KY
KY = x,y
x = 0;1
y = 0;1
0: unipolar repre-
sentation
1: bipolar fixed-point
number
UGR
Lower limit of the output
value
D KF
-32767 to +32767
FEH
Error in limit value
setting
Q BI
“1” if UGR = OGR,
invalid channel or slot,
or invalid channel type
BU
Input value exceeds
UGR or OGR
Q BI
“1” if XE lies outside
limits (UGR; OGR).
XE assumes the limit
value
XE
Analog value to be
output
I W
Input value (two's
complement) in the
range UGR to OGR
OGR
Upper limit of the output
value
D KF
-32767 to +32767
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
Example:
Display of Tank Contents on an Analog Measuring Instrument
The make-up quantity of a 30 m
3
tank is stored in flag word 1 as a fixed-point number
(see example FB250). The ± 20 mA analog output module in slot 1, channel 0,
transfers the standardized value to the measuring instrument. The value is displayed
within the range 0 to 20 mA.
Figure 11-10.
Schematic for “Display of Tank Contents”
PS
AA
CPU
End-scale deflection
at 20 mA
11-14
EWA 4NEB 812 6210-02