PLCmidlevel
Member
Hi Everyone,
I'm trying to get a hydraulic ram to move in a IF ELSE kind of a way using true false statement and RSLogix 500 Pro.
RAM:
------x========|
z-----0-----y
currently I'm using a greater than and limits statement, such that if x[position of ram]<y[position desired] move towards y. I'm able to get it to move to y where my problem lies is that when I want it to go to a new position z the rung telling it to go to y engages promptly after x goes back over y. Any ideas on how to get the rung that contains the y command to stop until the ram has reached z?
Thank you
EDIT: The rate at which the RAM extends and retracts are different, going to y it is a PID style function while extending towards z is full open using a proportional solenoid.
I'm trying to get a hydraulic ram to move in a IF ELSE kind of a way using true false statement and RSLogix 500 Pro.
RAM:
------x========|
z-----0-----y
currently I'm using a greater than and limits statement, such that if x[position of ram]<y[position desired] move towards y. I'm able to get it to move to y where my problem lies is that when I want it to go to a new position z the rung telling it to go to y engages promptly after x goes back over y. Any ideas on how to get the rung that contains the y command to stop until the ram has reached z?
Thank you
EDIT: The rate at which the RAM extends and retracts are different, going to y it is a PID style function while extending towards z is full open using a proportional solenoid.
Last edited: