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
Содержание SIMATIC S5-115U
Страница 6: ...EWA 4NEB 811 6130 02b ...
Страница 16: ...EWA 4NEB 811 6130 02b ...
Страница 18: ...EWA 4NEB 811 6130 02b ...
Страница 26: ......
Страница 62: ...EWA 4NEB 811 6130 02b ...
Страница 64: ...EWA 4NEB 811 6130 02b ...
Страница 67: ......
Страница 74: ......
Страница 79: ......
Страница 80: ......
Страница 81: ......
Страница 82: ......
Страница 83: ......
Страница 84: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 114: ...EWA 4NEB 811 6130 02b ...
Страница 280: ...EWA 4NEB 811 6130 02b ...
Страница 372: ...EWA 4NEB 811 6130 02b ...
Страница 432: ...EWA 4NEB 811 6130 02b ...
Страница 442: ......
Страница 528: ...EWA 4NEB 811 6130 02b ...
Страница 590: ......
Страница 591: ......
Страница 592: ......
Страница 593: ......
Страница 594: ......
Страница 600: ...EWA 4NEB 811 6130 02b ...
Страница 602: ...EWA 4NEB 811 6130 02b ...
Страница 604: ...EWA 4NEB 811 6130 02b ...
Страница 624: ...EWA 4NEB 811 6130 02b ...
Страница 632: ...EWA 4NEB 811 6130 02b ...
Страница 644: ...EWA 4NEB 811 6130 02b ...
Страница 646: ...EWA 4NEB 811 6130 02b ...
Страница 652: ...EWA 4NEB 811 6130 02b ...
Страница 654: ...EWA 4NEB 811 6130 02b ...
Страница 660: ...EWA 4NEB 811 6130 02b ...
Страница 662: ...EWA 4NEB 811 6130 02b ...
Страница 666: ...EWA 4NEB 811 6130 02b ...
Страница 668: ...EWA 4NEB 811 6130 02b ...
Страница 674: ...EWA 4NEB 811 6130 02b ...