Hello Guest it is April 25, 2024, 07:25:34 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 »
161
The API call mc.mcSpindleSetDirection probably turns on the output

162
Mach4 General Discussion / Re: Tool change Problem.
« on: May 11, 2020, 12:56:16 PM »
If you go into Configure>Control and go into the 'Tools' tab, what do you have selected in the 'Tool change type' box?

There are two options: 'T on M6 line is next tool' or 'T on M6 line is current tool'. It might be that you need to select 'T on M6 line is current tool' if the other option is selected

163
Try putting a 1 in the denominator and numerator column for each of the inputs

164
You should learn to use the debugging features inside ZeroBrane to help identify reasons why code doesn't work

If its code from a module or screen load script I will normally copy the code and paste it into a script of temporary button that I created. First hit F7 to compile the code, this will highlight any initial errors in the Output window at the bottom.

After compilation is successful use F5 to start debugging and then F11 to step through the code line by line. You can right click on variables and add them to the Watch list so that you can see the values update as you step through the code. Any errors will be shown in the Output window at the bottom along with the line number that the error occurred on.

165
Mach4 General Discussion / Re: Default MouseOver color
« on: April 28, 2020, 01:03:57 PM »
I don't think it is possible to change it. You can turn if off by putting scr.EnableButtonHover(0) in the screen load script

166
Mach4 General Discussion / Re: T## Oddities
« on: April 28, 2020, 01:01:03 PM »
Try replacing the parameters.ini file in your profile with a backup

167
If you are using build 4300 I believe there is a bug with ‘M0’ which causes Mach to lockup when loading g-code as you described. You can try a newer build from the ftp site

168
Should (axisID == ZAxis) be (axisID == mc.Z_AXIS) ?

169
I see in your first post you have the condition  'if rc == zAxis and state == 1'  has this been changed since my reply in your other post regarding return codes?  Check this first as I suspect its not being called. If this seems ok, check the return codes on the scr. call. These have their own set of return codes different to the 'mc.' ones. (attached)

170
Do you have different labels set for the Up and Down states? they're not both set to show "Spindle" are they?

FYI '0' is up and '1' is down

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