Command for Open and Close a pneumatic Chuck

More
25 Aug 2021 21:24 #218735 by WEMO-EZFW
Hello all.

I am relatively new to LinuxCNC, my lathe works with it. Since I want to automate this, now comes a spindle of a WEILER UD24 with pneumatic air cylinder and a tie rod installed.
The air cylinder from Röhm has two air connections, with this the piston in the cylinder is either tightened (chuck close) or pushed (chuck open).
What I am missing is what the command is for this. I can't find anything under the M commands, not even a G command.
Does anyone know how this can be realized in the program?

Regards, Dietmar

 

Please Log in or Create an account to join the conversation.

More
25 Aug 2021 21:56 - 25 Aug 2021 21:59 #218737 by robertspark
you can do it from an m code....
linuxcnc.org/docs/devel/html/gcode/m-code.html#mcode:m62-m65

BUT for safety you probably want to write a macro that verifies the machine is stopped first before releasing the chuck.... and maybe an air pressure switch as a safety interlock....

I'd suggest probably working out what inputs outputs and interlocks you need and want and then build something from there..... 

m66 would probably do it too... waiting on input.... (not used that one yet)
Last edit: 25 Aug 2021 21:59 by robertspark. Reason: learnt something new
The following user(s) said Thank You: WEMO-EZFW

Please Log in or Create an account to join the conversation.

More
25 Aug 2021 22:10 #218738 by andypugh
There is a specific example for this in the user-M-codes section:

linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m100-m199
The following user(s) said Thank You: WEMO-EZFW

Please Log in or Create an account to join the conversation.

More
05 Sep 2021 07:21 #219653 by WEMO-EZFW
Thanks at all, with this File i can work.

Regards, Dietmar

Please Log in or Create an account to join the conversation.

Moderators: piasdom
Time to create page: 0.073 seconds
Powered by Kunena Forum