S7 1200 down counter help!!!

npalavras

Member
Join Date
Mar 2013
Location
Greece
Posts
7
Hi to all, i am newbie on plc.
I would like to make a down counter with preset value 3.
Counter from 3 must goes to 2 after 2min, from 2 to 1 after 1min, finaly from 1 to 0 after 40 min.
i also would like to have the choice to pause the time from 1 to zero.
Is easy to make it with s7 1200? Please help!!!
 
You sholud use timers instead of counters.
Define 3 timers, input preset values.
Timer 3 is enabled when process is started.
Timer 2 is enabled if timer 3 has elapsed.
Timer 1 is enabled if timer 2 has elapsed.
Process is finished if timer 1 has elapsed.
On external input timer 1 is bypassed.

 
Last edited:
Hi to all, i am newbie on plc.
i also would like to have the choice to pause the time from 1 to zero.

for this Timer 1 in example should be retentive (TONR) with input buton for pause something like in att:

please bear in mind this is a sketch in paint...:D

EDIT:

YAY, please DO NOT FORGET TO RESET TONR after (conncet the R input to TIM1.Q) !!!

yweb.jpg
 
Last edited:
Thank you very much for your quick replies, was very helpfull. But now with timers i face two problems:


  1. what about if i wish to skip a timer with a button???
  2. if i would like to represent the timer which is active on hmi. For example i will be on timer 3, τηε number 3 should appear on hmi, then the number 2 and finaly the 1????
 
In my example you can see how to skip a timer with a button pressed.
To display status at HMI screen, do like this:
Make M3.0 active when ProcesIsON and TIM3.Q in NOT active. Then use M3.0 as VISIBILITY property of TIM3 symbol.
Make M3.1 active when procesIsOn and TIM3.Q is active and TIM2.Q is NOT active. Then use M3.1 as VISIBILITY property of TIM2 symbol etc.
 

Similar Topics

I need to down load our panel view 1200+ and have never done it before. What soft ware do I need? We have panel builder 32 but I have never used...
Replies
6
Views
1,874
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
55
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
32
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
271
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
97
Back
Top Bottom