Jump to content

pneumatic cylinder


Recommended Posts

Hi Lava's,
 
I have an application with pneumatic cylinders. I want used LVOOP, because in the future it will better for reuse code.
 
Each cylinder has 2 sensor and 1 pneumatic valve. Sometimes has 1 or 2< sensors but now i need solve standard construction.
Class cylinder has attributes:
- origin enum(byDef, bySen) specifies how to init (by default or by sensors)
- default (bool)                      default position cylinder 
- direction (bool)                   direction of movement
- actual (bool)                       actual position of cylinder
- timelimit (num I32)              time to carry out
- timeout (bool)                     time has elapsed
- retry (bool)                         allow retry if was timeout
 
and methods:
Create()
Destroy()
Init()
CheckPosition()
Move()
Retry()
 
I need help with implementation state machine in to class.

cylinder_state.pdf

class.ZIP

Link to comment

Hi James,

 

I want create universal class for control pneumatic cylinder. My app has 5 cylinder they are work in seqvence. For exaple: i tell in my app "closs gate" and i must chcek position, if is good - move the cylinder, if is not good then chceck time if is timeout and allow retry - execute RETRY and then chceck position. Position corect - move a cylinder to desired position.

 

Seqvence cylinder: Check position -> Move -> Check position then cylinder report task done and app go to the next STATE in state machine.

 

I have methods for this steps and i dont know how to implement in my app. My app has 2 controlls section ( pneumatic & hydraulic ) pneumatic cylinder manipul with part in machine and hydraulic testing this part. 

 

PS: so sorry for my english (:

HY72100.00_RVS pracovisko kpl..PDF

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.