Hello Guest it is April 23, 2024, 11:40:44 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 - SwiftyJ

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
111
Mach4 General Discussion / Re: Macro or script for A axis
« on: September 09, 2021, 03:16:34 AM »
Could an OB axis be used for this? Just set it to jog and then run a gcode?

112
Mach4 General Discussion / Re: Turn Backlash OFF in a script?
« on: September 09, 2021, 03:12:16 AM »
Backlash compensation is handled by the motion controller so you will probably have to speak to the manufacturer of the one you use to see if there is a register or something that turns it on/off

113
If you go into Mach4Hobby>ZeroBraneStudio>api>lua and open scr.lua you will see a list of all the scr. calls. Some of them are applicable to only Industrial such as the Editor ones. The ones you will be most interested in will just be scr.GetProperty and scr.SetProperty. Whatever you see in the Properties window within the screen editor for each of the controls you can get/set the values. 

114
At the bottom of the screen it lists all the modal g-codes that are active. I have circled 'G1' in the image below. Check to see if 'G0' is active before resuming, this would mean the next move would be a rapid unless something other than G0 is on the next line of gcode.

Are there additional scripts that are run to move the machine to tool change position and zero the z?

115
I would check your modals and see which gcode is active after the toolchange. Maybe it's staying in G00?

116
Mach4 General Discussion / Re: Jog Rate lost each shutdown
« on: July 31, 2021, 04:41:28 AM »
I think it depends on how Avid have set this up.. When you update the ini file manually which parameter are you changing? If you can upload the screenset I could have a look at it. Which mach4 build are using also?

117
Mach4 General Discussion / Re: Mach3 to Mach4 migration "#"
« on: July 31, 2021, 04:37:59 AM »
It says 'Axis 1 commanded while disabled'. This means exactly that. You need to check your motor configuration and that you have the correct motors mapped to the axes you are using.

If you have not set up your motors and axes yet, usually the manufacture of your motion controller will have a guide on how to do this.

118
Mach4 General Discussion / Re: Mach3 to Mach4 migration "#"
« on: July 30, 2021, 05:03:03 AM »
Try removing the semi colon ; from every line

119
Mach4 General Discussion / Re: API For Axis Homed
« on: July 22, 2021, 04:49:41 AM »
It doesn't, but you can use the following. I've also attached a picture showing the deref on estop option

Code: [Select]
rc = mc.mcAxisDeref(
                    number mInst,
                    number axisId)

or

Code: [Select]
rc = mc.mcAxisDerefAll(
                       number mInst)


120
Mach4 General Discussion / Re: API For Axis Homed
« on: July 21, 2021, 03:56:56 PM »
There is an option in the config to de-reference axes when e-stop is pressed

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »