Siemens SIMATIC S5-115U User Manual page 370

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
470 Analog Output Module:
Connect the indicating instrument directly via the module's front connector
(pins: QV0, S + 0, S - 0, M
The analog output modules outputs a voltage between 0 and 10 V to the indicating instru-
ment, thus making it possible to read the liquid level as an analog value (Figure 10-34).
From the
application
program
CPU
Value
between
0 and 1024
Figure 10-34. Function of the 470 Analog Output Module
Program Structure
Call and initialize "Read analog value" function block FB250 (for conversion to a range of from
0 to 1000 cm [XA parameter]).
Generate the limiting value (PB9).
A flag (F 12.6) is set when the liquid level exceeds 900 cm.
Call and initialize "Output analog value" function block FB251 (for conversion of a value in the
range from 0 to 1000 cm [XE parameter] into a value between 0 and 1024 units for the AO 470).
Integral function blocks FB250 and FB251 are discussed in detail in Section 10-9 under the heading
"Integral Function Blocks".
PB1 STL
:JU
FB 250
NAME :RLG:AE
BG
:KF
+128
KNKT :KY
0,4
OGR
:KF
+1000
UGR
:KF
+0
EINZ :F
12.0
XA
:FW
10
FB
:F
12.1
BU
:F
12.2
TBIT :F
12.3
10-66
).
ANA
QV0
AO 470
S
0
+
D
S - 0
A
M
ANA
MODULE STARTING ADDR: 128 (WHEN SLOT ADDRESSING
IS FIXED: SLOT 0)
CHANNEL NO.: 0; UNIPOLAR REPRESENTATION: 4
PHYSICAL MEASURING RANGE:
0<XA<1000CM
RELEVANT ONLY FOR SELECTIVE SAMPLING
(SET IN EXAMPLE FOR: CYCLIC SAMPLING)
IN FW 10: XA VALUE 0<XA<1000CM
RELEVANT ONLY WHEN SET FOR WIREBREAK SIGNAL
IF LEVEL > 1000CM, BU = 1.
RELEVANT ONLY FOR SELECTIVE SAMPLING.
0 to 10
Analog
volts
display
Description
EWA 4NEB 811 6130-02b
S5-115U Manual

Advertisement

Table of Contents
loading

Table of Contents