Hello Guest it is April 19, 2024, 10:09:31 PM

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 - KipKirol

Pages: 1 2
1
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 29, 2018, 02:21:49 PM »
I've been very busy lately but figured I would come over and update you all.

It turns out the machine seller supplied us with an illegitimate copy of Mach3.    It is also presumed that the XML machine profile supplied by the seller may not be working the way it is supposed to.     If the XML file is in fact "not right" then that would explain why the same issues persisted in the rolled back version I downloaded from the website.

We own a legitimate license now and my next move will be to build a new machine profile from scratch.    Realistically I wont get to this for the next week or two as both our machines are busy keeping up with production.

Thank you all for the help and suggestions thus far.

2
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 22, 2018, 03:17:11 PM »
i am talking about this Options:

No Homing:
Single Stage:
Dual Stage:
Home Switches

on page 34

I have not tried those options.   I could I suppose as I am willing to try anything at this point.

3
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 22, 2018, 11:12:44 AM »
sorry for the wrong Syntax.

so it Looks like you Controller is making a rewind of the code.

you have tryed two seperate methodes for homing (DoButton() and G28.1) with the same result.


i have seen in the Manual of your Motion Controller, that you can select different homing mode's.
have you "played" with this configurastion ?

I am not quite sure what you mean by first part - are you suggesting putting G28.1 in the Macro code?

I have not selected different homing modes, I didnt think that would affect this... but at this point, why not try everything?    BTW are you talking about the options listed on page 37?  http://www.cdxhctech.com/upload/201712/20171229133856963.pdf

4
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 21, 2018, 08:26:02 PM »
The code runs fine like this in MDI
If Not(IsLoading()) Then

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

End If





Code returns the error   Scripter Compile Error. In:M312.m1s     when written like this:

If NotIsLoading() Then

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

End If

5
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 21, 2018, 07:48:55 PM »
I rewrote the Macro with both Not(IsLoading()) and Not IsLoading(), Not IsLoading() returned the same error and Not(IsLoading()) ran the macro in MDI OK and caused the same loop when running as a part of my header

6
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 21, 2018, 07:03:09 PM »
I copied M12 and renamed to M312... same results

I modified the M312/M12 file, it now reads as:

If Not() IsLoading() Then

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

End If





When I type M312 into MDI, I get this error - Scripter Compile Error. In:M312.m1s

7
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 16, 2018, 05:50:10 PM »
Mach3 XHC MK4-IV  

8
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 16, 2018, 10:27:58 AM »
I see.

9
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 15, 2018, 01:27:28 PM »
Thanks for checking!!          What control card you using?       

10
G-Code, CAD, and CAM discussions / Re: Using a macro to "ref all home"
« on: August 15, 2018, 11:36:06 AM »
I just tried "Config -> General Config -> Ignore M calls while loading    enabled?"  and restarted my software and tried again.   Still get the same results, the machine gets to M12 and rewinds to the top of program.. over and over again.

G21                           
G90                           
G53         Z   0               
G0 G54   Y   -79                     
M12                  
G0   Y   -79                     
T1 M6                     S   3250   M3
G43 H1         Z   15               
G1                F   250         

Pages: 1 2