Stopping at an analog height value

markymark31

Member
Join Date
Mar 2004
Location
Corby, Northants
Posts
60
Hi All,

I'm struggling with a bit of logic and am wondering whether you excellent bunch can help or point me in the right direction ......

Basically i'm using push buttons to manually raise & lower part of a machine. I get an analog value back giving me something I can use for height feedback.

I need to stop the machine at a particular height value (which i can do) but then if i press the button again, i need to allow the machine to continue moving in that same direction.

I don't want to just use an "if height = 3000" (for example) to stop as the feedback from the sensor might miss that particular value and not stop, so instead I am using an "if height > 3000" which guarantees it will stop but this gives me the problem of how to ignore this when the push button is pressed again after the machine stops.

I hope i've explained that okay, all help will be greatly received, thank you :)

Mark
 
Pressing the button should energize a one shot which latches a bit indicating travel. The bit will allow the rungs which control movement. Unlatch the bit when the target is reached. If the button is held for the entire movement then releasing it could unlatch the bit if it is released before the target is reached. Otherwise make sure to have a stop button.
 
Last edited:

Similar Topics

Hi all, New here and new all round to PLC`s. We have a servo drive that runs a cross travel beam backwards and forwards. I am having trouble with...
Replies
3
Views
198
Hi , Looking for some help. We have a 343-1 PN Lean Card & 315-2DP connected to an external system collecting data. After a recent shutdown...
Replies
0
Views
65
I have this 525 that i am controlling it via ethernet. I needed to jog the drive using a start PB. when the button is pressed, the drive moves and...
Replies
6
Views
676
We have several Powerflex 4M (22F-D013N114) VFD’s controlled by compactlogix PLC’s. Control is simple, a run and direction signal with the speed...
Replies
6
Views
1,529
I am having an issue with Factorytalk View SE. I am trying to add new alarms which is requiring me to use the "AlarmOff" command in the command...
Replies
0
Views
628
Back
Top Bottom