Examples of Handling the TD 390
Load generated
Load the blocks DB51, FB11 and OB1 into the PLC.
blocks in PLC
Display
As soon as you have made the above preparations:
messages
1. Disconnect the connection to the PG.
2. Connect the TD 390.
3. Switch the PLC to RUN.
4. Set the inputs I32.0 to 1 and I32.1 to 0.
Messages 1 and 2 are then displayed on the TD 390.
O
I L P R
O
I L P R
5. Set the input I32.0 to 0. The message "TD 390 no message!" is
displayed.
3.3
Creating the Parametric DB
Parametric DB
To perform further examples, the TD 390 requires a parametric DB.
DB5
0:
KS ='MASKTD';
3:
KY = 002,020;
4:
KY = 000,051;
5:
KY = 003,052;
6:
KY = 006,053;
7:
KY = 009,054;
8:
KY = 012,055;
9:
KY = 015,056;
10:
KY = 018,057;
11:
KY = 024,000;
12:
KY = 000,000;
13:
KH = EEEE;
3-4
.
P M P
U
f
a u l
t
S
1 2 5
6
b a
r
E
S
.
.
TD 390 identifier
Scan time in s, no. of TD chars. 20
Text DB 1 with FY 0,1,2
Text DB 2 with FY 3,4,5
Text DB 3 with FY 6,7,8
Text DB 4 with FY 9,10,11
Text DB 5 with FY 12,13,14
Text DB for timer/counter values
Text DB for process values
Enable functions: (timer/counter/
process values)
Time DB (unassigned DB=0)
End identifier
TD 390
C79000–K8576–C292–01