Timer ?!?.?!?.

My Name

Member
Join Date
Apr 2004
Location
Drenthe
Posts
19
Hello to all,

I’ve go an interesting problem. It’s is about an timer.
We’ve have programmed a “on delay” timer witch waits for an input and after the input (logical 1), the input shows a negative flank (logic 0) the timer starts to run for a period of 1 minute. If the input is a 1 the output of the timer becomes a 1 to until the time has elapsed.
The problem is that after the minute the output signal of the timer still is a 1 and the time starts to count again.
You’ve got something like a endless loop.

The input of the timer is (the SET condition) a valve is open and we’ve got no RESET because the output will be a logical 0 if the time has elapsed. Well normally spoken.

Does anyone have any idea how this is possible and if there is some solution for this (except “use an other timer”)?
 
Which PLC ?
And please post your code !

I have tried to picturize how you want the timer to work according to your text (but I must say that your text is a little confusing):
Input:   _______--____------------____________

Timer: *----------> *---------->

Output: _____________--------________________


The timer starts at the "*" where you have the negative flank of the input.
The output is ON as long as the input is ON and the timer is running.
Is this way you want it to work ? If not, try to make diagram on how you want it.
 
Last edited:
We've got the right timer programed.

input:.. _____----____________

output: _____------------____


It's not that important.
The real problem is that if there is a signal at the input the timer doesn't stop after his time has elasped. Even if the input signal becomes a 0 again.
The output of the timer stays an 1 and doen't change after the time has elasped.

We;ve got an IBHSoftec S7-314 für Windows SoftSPS
 
Timer code:

U A16.0
L S5T#1M
SA "T4"
NOP 0
NOP 0
NOP 0
NOP 0

Written in FBD. The timer is only used as an condition by the set of an bit.
 
If this was a normal S5 PLC then I would think it impossible that the timer would be "defective". But as it is a soft PLC from IBH softech, maybe there is problem (but it is still unlikely).

You have to post the entire code, so we can see how A16.0 is programmed and how that particular code section is scanned.

Maybe A16.0 is reset when T4 is finished and then immediately set again before you can see it.
Maybe A16.0 or T4 is referenced elsewhere in the program.
 
use a trigger input just before the timer so it will only react when input changes from 0 to 1.
or disable input as long as timer is running.
 

Similar Topics

Hi all, I have a simple question that I have overcomplicated and gotten stuck on. I have a variable, we can call it "light" that I need to stay...
Replies
4
Views
214
Question to anyone with ideas about my thoughts on upgrading a very vintage timer, which is being used to switch between 2 5hp domestic water...
Replies
14
Views
364
why my timer only executes once here? After first time i use it, ET stays at 0ms all the time. It is in FB
Replies
5
Views
288
Good morning guys, I'm searching for a Timer relay which accomplishes the "flasher" condition in the photo attached, however, I need the ability...
Replies
2
Views
532
Hello all, I am trying to improve my skills, so I decided instead of moving a value into every single .PRE of an array of timers, I thought I...
Replies
6
Views
313
Back
Top Bottom