Siemens SIMATIC S5-100U System Manual page 297

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents