Hello Guest it is April 26, 2024, 08:42:05 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 - SwiftyJ

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
151
You have to select the motor from the list on the right hand side (i.e. click on the text that says 'Motor0', not the checkbox) and then the boxes will populate with settings for that motor.

152
Mach4 General Discussion / Re: load g code
« on: August 10, 2020, 11:03:39 AM »
Change wx.wxFD_SAVE to wx.wxFD_OPEN, it will change the button on the dialog from Save to Open

153
Mach4 General Discussion / Re: Stack lights LED Signal Tower
« on: August 07, 2020, 09:35:39 AM »
This can be done by just mapping Mach4 outputs (Feed hold, G-Code Running, Machine Idle etc.) to the outputs of your controller to which the light is connected

To get a light to flash it would have to be done in the signal library using a wxTimer.

154
The standard Mach4 Plasma profile has a touch off routine as part of the M3 macro. Are you using this or your own profile and screenset? Do you have ohmic sense or floating head for initial height sense?

155
Mach4 General Discussion / Re: Lua and SQL
« on: July 08, 2020, 02:52:22 AM »

156
You can always check the return values when you are having problems, in this case it would have been -3 which is 'SERROR_PROPERTY_NOT_FOUND' which gives a clue as to what is wrong

157
Hi, there are a couple of errors: Button is spelled wrong and '0' and '1' should be used rather than 'Up' and 'Down'

Try this

Code: [Select]
local setter = mc.mcProfileGetString(inst, "Tool Setter", "Probe", "setter")
setter = tonumber(setter)
if setter == 1 then
scr.SetProperty('tog_setter','Button State', '0') --up
else
scr.SetProperty('tog_setter','Button State', '1') --down
end

158
You could try the following. M64 P1 will turn on output 1. It might reduce the delay a bit
Code: [Select]
mc.mcCntlGcodeExecuteWait(inst, "G00 G91 X2\nM64 P1\nG00 G91 Z.5")

159
Mach4 General Discussion / Re: reference all problem
« on: June 21, 2020, 04:30:59 AM »
Set the axis direction so that it is correct when running g-code, and then in the 'Homing/Soft Limits' settings you can reverse the direction of the axis when homing

160
Mach4 General Discussion / Re: adding delay to signal script
« on: June 08, 2020, 10:23:29 AM »
You should avoid using wxMilliSleep as you will freeze the whole GUI especially for delays that long. Instead you should use wxTimer or the PMC

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