Timer problem..!!

Join Date
Feb 2013
Location
Ahmedabad
Posts
15
I want to turn a motor on when a count reaches 20. The motor is then to go
off when a count of 30 is reached.
Motor becomes on-- when count reaches to 20, But how will motor become off when it reaches 30..!! As the objects are not uniformly coming, timer can't be used.!!
 
The answer resides within your inquiry; you stated "when a count reaches..." thus you should be using a COUNTER and not a Timer.
I believe COUNTER instructions are available for pretty much any available PLC platform.
"Count UP" any event to be monitored; when the Counter Accumulator equals one of the benchmarks (20 in your case) make the "logic decision" (turn on the PLC Output controlling the motor starter); keep the "decision" true when the Accumulator is Equal OR Higher than the first benchmark but Lower than the second benchmark (30 in your case); when the Counter Accumulator is Equal OR Higher than the second benchmark, "cancel the logic decision"(turn off the PLC Output controlling the motor starter).
Don't forget to RESET the Counter Accumulator at the end of the cycle.
 
I think you can do very well with timer also...
Before starting something, think how to stop it!
Below example with timer:
Code:
      A     "ON"
      =     #Start_Cmd
      A     #Start_Cmd
      FR    T 227
      L     S5T#3S
      SS    T 227
      A     T 227
      =     #Motor_Start
      A     #Start_Cmd
      NOT   
      =     #Start_Cmd_Aux
      A     #Start_Cmd_Aux
      FR    T 228
      L     S5T#3S
      SD    T 228
      A     T 228
      =     #Motor_Stop
      A     #Start_Cmd_Aux
      A      T 228
      R      T 227
Regards.
 

Similar Topics

i been at this for 2 days. The code for the traffic light works great. The problem is the programming of the crosswalk button. Im so close or so...
Replies
1
Views
1,297
Dear All, I have a problem with the Simatic Timer. I'm writing a program to check the pulse signal input, if the input signal is keep changing...
Replies
12
Views
2,840
Hello everyone, I am newer on Siemens PLC 1200. From HMI, I set timer value and place in MW20(120) like 120 second How to input MW20 to timer PV...
Replies
17
Views
3,578
I did not create the program but I have a weird countdown timer problem. it is user input, say it is set for 5 minutes; it will countdown to...
Replies
9
Views
4,461
Greeatings . I have some problem whit my maschine for plastic bags . I buy maschine but i didint know is it correct. When I turn on maschine i...
Replies
2
Views
1,360
Back
Top Bottom