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

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
129
Good morning! Let me start by saying, I am still learning about this type of HMI programming. I recently watched a video about recipes and how it...
Replies
0
Views
53
I have some logic that I have written within a 5380 series controller that tracks the time an event is started, while the event is running an RTO...
Replies
2
Views
81
I have an HMI 2711R - T4T Series B, and I want to know which PLCs, besides Micro 820, can communicate with it.
Replies
2
Views
80
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
71
Back
Top Bottom