Siemens SIMATIC S5-95F Manual page 333

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents