adel abd el aziz
Member
I have FB104 (TON_FB)
Network1
L #PT_INT
L 0
==I
JCN Time
AN #R
A #IN
= #Q
JU Ende
Time: NOP 0
Network2
L 1000
A #PT_x_1sec
JC Fakt
L 100
A #PT_x_100ms
JC Fakt
L 10
A #PT_x_10ms
JC Fakt
L 1
Fakt: ITD
T #Faktor
Network3
L #PT_INT
ITD
L #Faktor
*D
T #Temp_PT
A #R
JCN Res
L 0
T #Temp_PT
Res: NOP 0
Network4
CALL #TON
IN:=#IN
PT:=#Temp_PT
Q :=#Q
ET:=#ET
Network5
L #ET
L #Faktor
/D
T #ET_INT
Ende: NOP 0
Im port FB50, in network 67 is a called a timer-function FB104.
In the variable there is a time of 5 sec. given, but the port is transporting the signal directly without waiting time, as programmed. In network 65 the same function is programmed and requested, working good, without problems.