Hold the TIMER

Join Date
May 2009
Location
egypt
Posts
43
Dear all,

If I want to make hold for current value of timer by switch and when I make switch on the program will read the end value of current value and start from this value
I use Siemens S7-300
 
S7 Pauseable timer

Please find attached my implementation of a pauseable S7 timer.
It consists of three parts:

  1. A front end FC212 (the interface to your program)
  2. An interrupt driven (OB35) data handler
  3. A DB with data structures
  4. An example is given in OB1
Some rules:

  1. Timer is in 0.1s increments
  2. Timer value cannot be larger than preset
  3. Preset range is from 0..65535 (over 6500s)
  4. Output is active if preset is larger than value
  5. Reset input has priority over run input
  6. Run input must be active for timer to increment
Maybe it has useability for someone.

Best regards,
tonus.

P.S.
The source is available in a zip but is just too large for this forum to accept.
 

Similar Topics

Hi all! Plcs are new to me, pls help. Is it possible to hold a timer value in stl programming. I need to stop a countdown timer without loosing...
Replies
8
Views
2,998
Hello I am trying to make a program work with a sqo instruction .The process has 5 steps ,and a starting step of zero.There should be 8 sec...
Replies
17
Views
1,052
Howdy Everyone, We have an old HMI that is a UniOp Model eTOP310U201. It is the only one in the plant, and i didn't even know it was here until a...
Replies
15
Views
2,107
Hi everyone: Is there a way to stop a PowerFlex 755 in a fast ramp and then hold the motor for a few seconds? I need this to avoid the load to...
Replies
6
Views
1,267
Greetings to all ... I've never owned or needed a household generator – but current conditions have convinced me that now's the time to buy one...
Replies
23
Views
6,879
Back
Top Bottom