Hello Guest it is January 21, 2022, 10:23:36 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KTM

Pages: « 1 2 3 4 5 6 7 8 9 10
91
General Mach Discussion / Custom M-code for punching
« on: June 07, 2007, 03:02:27 AM »
Hi

I am currently working on a Mach3 project for a punching machine. I am a PLC programmer
so it is no problem to connect to the PLC (Delta) via modbus ,but I need to create a custom m-code
for the punching function and I have no knowledge of vb script.
The M-code works as follows. M25 - stop axes ,punch (bit Register 2048 in PLC), when punch is in the return position
( register 2050 in plc) restart axis. This will punch one hole at co-ordinates X481.48 Y49.89 (start position for punching).
The H/14 defines 14 additional holes spaced evenly between the start position (X481.48)  and the end position (X273.08)
 
N170 G01 X481.48 Y49.89 M25
N175 X273.08 H/14

Regards

KTM

92
Competitions / Re: ******Guess and win a G100 Grex******
« on: May 26, 2007, 12:50:53 PM »
2 395 752

Pages: « 1 2 3 4 5 6 7 8 9 10