weird timer

hello, i wanna explain to u one little problem.
I wanna make a program, that wait for sensor to be jam, cout the time jamming and if the time is between 8 to 11 sec, to send run signal.
If time exseed 11 sec to not send run signal. run signal must be only impuls.
so i try to do it, but my program constantly send signal between 8 to 11 sec
how to do it in TIA PORTAL with ladder, its possible?
 
Not sure, if I under stood your requirement correctly or not. See if this helps ?

IF SENSOR JAM = TRUE
Then START TIMER
IF [(TIMER >8) AND (TIMER < 11) ]
THEN PULSE ON.
 
Have you tried using a TON timer with a compare block to check if the jam time is within the 8–11s window, and then latch a pulse output just once? Also curious what’s the best way in TIA Portal to ensure an output is triggered only once when a condition is true within a time window?
 
Top