Preparing Timer, Counter Or Process Values In The 5 Message Dbs - Siemens SIMATIC S5 TD 390 Manuel

Table des Matières

Publicité

Les langues disponibles
  • FR

Les langues disponibles

Creating a PLC Program for the TD 390
8.5
Preparing Timer, Counter or Process Values in the 5 Message
DBs
Values in
You can set up areas for entering timer, counter or process values which
messages
are modified dynamically by the program in messages stored in the five
text DBs.
Set up value
In order to display variables, you can set up one or several value ranges
range
in the text DB. This is explained in the figure below. The values
appearing on the display were taken from the DBxy.
DBxy
0:
3:
4:
5:
6:
7:
8:
14:
15:
16:
17:
Display on TD 390
O
I L – 0 .
C
T R L S
@
Data format identifier:
F
for 16 bits, fixed–point
D
for 32 bits, fixed–point
T
for timer values. Displayed in 4 digits without unit.
C
for counter values. Displayed in 3 digits.
(only for F and D)
000,
Format identifier.
000
Number of decimal places. For @F from 0 to 5,
for @D from 0 to 10.
8-8
KS ='OIL PRESS.';
1
S
='@D';
KY =000,010
KH =8000;
3
KH =0000;
KS =' bar';
S
='CTRL SETPOINT';
1
KS ='@F';
KY =000,000;
3
KF =+5678;
KS ='MM';
2
1
4 4 8 6 4
7
3
8
b a
r
E
T
P I N
O
T
5 7 8 M
6
M
2
2
TD 390
C79000–K8576–C292–01

Publicité

Table des Matières
loading

Table des Matières