Siemens SIMATIC S5-115U User Manual page 364

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Analog Value Processing
10.9
Analog Value Matching Blocks FB250 and FB251
These blocks match the nominal range of an analog module to a normalized range that you can
specify.
Reading and Scaling an Analog Value
Function block FB250 reads an analog value from an analog input module and outputs a value XA
in the scaled range specified. Define the desired range using the "upper limit" (OGR) and "lower
limit" (UGR) parameters.
Specify the type of analog value representation (channel type) in the KNKT parameter (see
Section 10). The BU parameter is set when the analog value exceeds the nominal range.
Call and Parameter Assignments
Parameter
Description
Module address
BG
KN= Channel
KNKT
number
KT= Channel type
Upper limit of the
OGR
output value
Lower limit of the
UGR
output value
EINZ
Selective sampling
XA
Output value
FB
Error bit
BU
Range violation
Activity bit of the
TBIT
function block
10-60
- FB250 -
Type
Data
Assignment
Type
D
KF
KY =x,y
D
KY
x =0 to 15
y =3 to 6
3: absolute value represen-
tation (4 to 20 mA)
4: unipolar representation
5: absolute value, bipolar
6: bipolar fixed-point number
(two's complement)
D
KF
- 32768 to +32767
D
KF
- 32768 to +32767
Selective sampling is triggered
I
BI
Standardized analog value is "0"
Q
W
on wirebreak.
"1" on wirebreak,
Q
BI
illegal channel or slot number,
or illegal channel type
"1" when nominal range is
Q
BI
The function block is in the
Q
BI
process of selective sampling
when the signal state is "1".
128 ... 224
NAME
BG
KNKT
OGR
UGR
EINZ
XA
FB
BU
TBIT
with "1".
exceeded
EWA 4NEB 811 6130-02b
S5-115U Manual
STL
: JU FB 250
: RLG:AE
:
:
:
:
:
:
:
:
:

Advertisement

Table of Contents
loading

Table of Contents