could anyone help me how to solve this problem via rslogix? thank you

It actually does not say that. It specifically says that the latched light is unlatched "after the third time the timer has timed to 20 s"

No other mention of when the light goes off, so I say it should stay on indefinitely if the input is turned off to stop the timer timing.


Oh yeah, I read that wrong. Turning off the switch only stops the timer cycling and resetting. Hmm, maybe the timer should be retentive, so any timing is not lost if the switch goes off when .TT is 1.



Thanks!
 
Oh yeah, I read that wrong. Turning off the switch only stops the timer cycling and resetting. Hmm, maybe the timer should be retentive, so any timing is not lost if the switch goes off when .TT is 1.

When coding an assignment, or a real job, you should never try to guess what the specification should say, or not say.

If there are any doubts, ambiguities, missing information, etc., then go back to the author of the "specification" and get the position clarified.
 
Oh yeah, I read that wrong. Turning off the switch only stops the timer cycling and resetting. Hmm, maybe the timer should be retentive, so any timing is not lost if the switch goes off when .TT is 1.



Thanks!

I thought about a RTO as well, but the instructions are very basic.
"The timer will continue to cycle up to 20s and reset itself until the input switch is turned off."
 
Last edited:
Unfortunately, this is an exercise from a book, so the original author is not (easily) available.

Either way, I think it is apparent that the multi-timer solutions attempted by @ufomec and @oziken and me do not fit the specification.

So we are back to this: the driver of the program that meets the problem speicification will be:
Code:
  T4:0/DN
---]/[-------[TON  T4:0]---
             [Pre   20s]
An alternative approach could be this:
Code:
----[TON  T4:0]---
    [Pre   20s]

  T4:0/DN    T4:0
---] [-------<RES>---
But the behavior will be essentially the same.
There may be other contacts and/or logic on the rung feeding that TON, but that is the basic idea.

I suggest that @ufomec and @uziken (apparently only ~40km apart) code one of those examples and run it to see how it behaves, and then come back here to tell us what they think is happening and with any additional questions, although considering that the problem comes from a chapter about COUNTERS, perhaps that will be enough for them to finish on their own.
 
[/code]An alternative approach could be this:
Code:
----[TON  T4:0]---
    [Pre   20s]

  T4:0/DN    T4:0
---] [-------<RES>---

You would need to do the counting between those rungs, or the RES would clear the .DN bit.

This "alternative" is generally considered better than the first method, because it doesn't waste a program scan to get the timer timing again.
 

Similar Topics

The ProSim-II Silo Simulation From the Simulations Menu at the top of the screen, Select the Silo Simulation Exercise...
Replies
9
Views
5,893
I have an old PLC (circa 2007) consisting of Telemecanique/Modicon/Schneider Electric devices. The system has developed errors and unfortunately...
Replies
2
Views
230
Hello, I am trying to figure out how to create / write / delete a .csv file on the SD card of an Allen Bradley PLC. There is a sample project...
Replies
1
Views
1,429
I have attached a picture. I just need to know if the option I've chosen is the correct one and if possible an explanation too. thanks
Replies
14
Views
3,650
Dear sir. i have one Automation Direct hmi, if you have the CMORE Programming software,i will send you .eap file in email, can you please...
Replies
3
Views
2,440
Back
Top Bottom