Examples of Handling the TD 390
Instruction
Enter timer and counter values in DB56.
sequence in FB
FB12 (Name: TD390II)
:C
:
:
:L
:A
:SD
:A
:=
:
:
:A
:CD
:A
:L
:S
:A
:=
:BE
Instruction
Inputs you should make in OB1.
sequence in OB
OB1
:JU
Name
:TD390I
:JU
Name
:TD390II
:BE
Load generated
Load the blocks DB5, DB51, DB56, FB11, FB12 and OB1 into the
blocks in PLC
PLC.
Activate the
As soon as you have made the above preparations:
PLC
1. Disconnect the connection to the PG.
2. Connect the TD 390.
3. Switch the PLC to RUN.
3-6
DB56 with counter/timer messages
DB
56
Timer with switch–on delay
Load current default
DW
9
timer value (via I 32.2)
I
32.2
T
3
Display current timer T 3
T
3
via Q 32.2
Q
32.2
Set a counter
Decrement C 1 by 1 on every
I
32.3
0–1 edge of I 32.3
C
1
Read current counter value out
I
32.4
of DB 56, DW19 via I 32.4
DW
19
and load in counter C 1.
C
1
Display counter C 1 via the
C
1
output Q 32.4
Q
32.4
FB
11
FB
12
TD 390
C79000–K8576–C292–01