Blocks
Outputting an analog value
Use function block FB 251 to output analog values to analog output modules. Specify the type of
analog representation of the module (channel type) in the KNKT parameter. Values from the
range between the "lower limit" (UGR) and the "upper limit" (OGR) parameters are converted to
the nominal range of the module in question.
Call and Parameter Assignment
Parameter
Meaning
Analog value to
XE
be output
Module address
BG
Channel
KNKT
number
Channel type
Upper limit of
OGR
the output
value
Lower limit of
UGR
the output
value
Error when
FEH
setting the limit
value
Input value
BU
exceeds
UGR or OGR
6-8
-FB 251-
Type
Data
Type
Input value (fixed-point) in the
I
W
UGR to OGR range
D
KF
KY =
D
KY
x
=
y
=
0: unipolar representation
1: bipolar fixed-point number
D
KF
-32768 to+32767
D
KF
-32768 to+32767
"1" if UGR = OGR,
Q
BI
for illegal channel or slot
number, or illegal channel type
At "1,"XE is outside the range
Q
BI
XE accepts the limit value
Assignment
NAME
XE
128 to 240
BG
KNKT
x,y
OGR
0 to 7
UGR
0;1
FEH
BU
(UGR;OGR).
S5-115F Manual
STL
: JU FB 251
: AGF : ANAU
:
:
:
:
:
:
:
EWA 4NEB 811 6149-02