Question

Keldog

Member
Join Date
Sep 2005
Location
Nova Scotia
Posts
160
Hey all. I was wondering at the sawmill where i do some PLC programming they have a bull edger.

There is an outfeed sensor, and what they want is when the outfeed sensor is clear the blades to go back to a certain position and a timer to start for 5 seconds.

When the outfeed sensor is tripped a timer starts for a different application, what i was wondering if there is a way so that when it clears that the blades go to a certain position and the timer to start.

Is there a way i can set a bit so it only reads after the sensor is cleared i was thinking a ONS but i can't seem to get it to run properly it just sticks on.

I was just wondering if there was a way.... thanks in advance


If there is any questions and you use msn you can add me at [email protected] it would be easier to explain to you.
 
Create a WAS bit. When the sensor comes ON use it to latch a bit i.e. SENSOR WAS ON then use the sensor input with it for you next action.

Sensor Sensor WAS OUT
|----|/|---------| |----------( )--|



Use OUT to reset the WAS bit.
 
There are a couple of ways to do this, the picture shows one example. In this picture the WAS bit is self sealing with a RESET bit to deactivate it. The RESET bit can be any bit that is TRUE after you have obtained the action you needed from knowing the sensor WAS ON and is NOW OFF.

WASBIT.jpg
 
Great description

I learn something new here every day.
I use latch bits all the time. Naming them a "was" bit is sometimes a much better descripyion.
Thanks Ron
 

Similar Topics

I recently uploaded an aplication from a Panel View, created a new screen and now that I've downloaded it to the Panel View, all the texts have...
Replies
9
Views
137
I have never had the pleasure of working with a "Thermistor" until now and have a question. The Thermistor is a 10KOhm 4-20mA 2-wire device and I...
Replies
4
Views
126
Hi All, So I have a main routine with an instruction that's executed by XIC "Run" I have a JSR located on a rung below it. In the logic for that...
Replies
6
Views
238
I have a 120V relay, 120V DI card and a analog input. I was wanting to know if i could put a 24V DI and well as a 120V DI card on the same plc...
Replies
1
Views
95
Hello again..trying something on an existing poorly written program and just wanted to double check something system is an A-B MicroLogix 1200 In...
Replies
5
Views
200
Back
Top Bottom