Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

need some help with lighting project with plc

Status
Not open for further replies.

controls2012

Electrical
Sep 10, 2008
17
I was asked to use a micro logic to control 5 lights/outputs, the only input is from a photo eye. I have the logic set up with the PE triggering the TOF and 5 outputs for the lights being triggered by 5 LIM. what i need this to do is once the PE is flagged the timer needs to time out regardless whether the PE is flagged during the count. What happens is during the count if the PE is flagged, the accumulation is reset to zero and begins to Accumulate again. any ideas on how to latch this timer
 
Replies continue below

Recommended for you

Run the PE into a self-resetable timer. (TM0)

Run the PE (NOT) into an accumulating timer (TM1) as an
Enable Bit

Use TM0 as the Reset bit for TM1

TM0 will act as a filter to prevent flashes from resetting everything else. i.e. The light on the PE must be ON some set period of time to be considered valid

Ed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor