Analog Value Processing
S5-115U Manual
Selective Sampling
FB 250 permits reading of an analog value with selective sampling. Setting the "EINZ" parameter
to "1" causes the analog input module to convert the analog value of the selected channel to a
digital value immediately. During conversion (approximately 60 msec.), no further sampling
operations involving this module may be initiated. Consequently, the function block that is pres-
ently active sets the TBIT to "1" until the converted value is read in. The TBIT is reset upon comple-
tion of selective sampling is terminated.
Note
The 466-3LA11 analog input module has no overrange! When the measured value
reaches the nominal range limit, the overflow bit is set.
If you use standard FB250 (NAME:RLG:AE) of CPUs 941 to 944 for reading in the analog
values in the case of the 466 module, you must take account of the following:
•
Bipolar measuring range:
If the measured value reaches the nominal range limit, the BU (range violation)
parameter is set. The analog value read in is then
invalid!
•
Unipolar measuring range:
If the measured value reaches the midpoint of the nominal range, the
BU parameter is set. The measured value read in is then
valid!
Outputting an Analog Value
-FB251-
Use function block FB251 to output analog values to analog output modules. Specify the module's
type of analog representation (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 relevant module using the following formula:
For channel type 0 (unipolar representation):
xa =
1024 ·(XE-UGR)
OGR-UGR
For channel type 1 (bipolar representation):
xa =
1024 ·(2 ·XE-OGR-UGR)
OGR-UGR
Where
XE
is the digital value specified in the function block and
xa
is the value output to the module.
10-62
EWA 4NEB 811 6130-02b
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...