punching machine

More
2 years 10 months ago #289030 by tommylight
Replied by tommylight on topic punching machine
There is a member of this forum (with "atila" in the user name) that has a working punch press with LinuxCNC for several years now, but he will not help anyone ever, nor uplpad the configuration files.
There are several topic asking for help about this.
Yet, that same user is here asking for help all the time.
You can find a video of it on youtube, has the same user name there.

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

More
2 years 10 months ago #289080 by szatri
Replied by szatri on topic punching machine

BigJohnT post=16332 userid=405
Seems like you have a lot of fun ahead of you.

To connect a motion digital output to a parallel port pin you will have to modify a .hal file. If you use Stepconf Wizard to create your configuration then do the modifications in custom.hal. To "connect" motion digital output pin 0 to the parallel port pin 17 you could create a line like the following.

Code:
net digital-out-0 motion.digital-out-00 => parport.0.pin-17-out Now to use the digital out pin you need the following in your g code file [code]M64 P0 (turn on digital out pin 0) G4 P10 (pause for 10 seconds, just so you can see the pin turn on) M65 P0 (turn off digital out pin 0) Notice after reading the manual for digital I/O pins [url=http://linuxcnc.org/docview/2.5/html/gcode/m-code.html#_m62_to_m65_output_control_a_id_sec_m62_m65_a]here that the above code will not work for M62/M63. John[/url]
[/code]


I found a way to use the m64 code. My problem is to stop the z axis movement until it is canceled by m65. I would like m65 to be called automatically after applying the limit switch signal (upper position of the piston) and allowing the program to continue with g codes

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

More
2 years 9 months ago #291172 by andypugh
Replied by andypugh on topic punching machine
Did you get any further with this?
I think that the punch movement should probably not be interpreted as a Z move, as you want to avoid having the controller blend those moves.
Also look at "exact stop mode" as the G64 setting.

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

Time to create page: 0.050 seconds
Powered by Kunena Forum