Hello Guest it is March 28, 2024, 09:13:33 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 »
141
Mach4 General Discussion / Re: Adding field for value input
« on: November 27, 2020, 11:51:29 AM »
You are writing the value to one place "ToolSetHeigth","MachineBedOffset" and then reading it from somewhere else "Preferences", "ToolSetHeigth". Make these the same and it should work

142
Mach4 General Discussion / Re: macro for Home Axis
« on: November 04, 2020, 11:44:20 AM »
I don't think you can use the API to home an axis in a macro. If you want to home an axis via gcode try 'G28.1  C1' in the MDI

143
Mach4 General Discussion / Re: Screen script lua
« on: November 03, 2020, 07:54:43 AM »
To edit the screen load script are you going into Operator>Edit Screen or just trying to edit the ScreenScript.lua file in the installation folder?


144
Mach4 General Discussion / Re: New to Mach IV having software issues
« on: November 03, 2020, 07:52:26 AM »
This has happened because the profile you use has corrupted typically due to shutting down the PC without closing Mach4 properly.

Go into the Mach4Hobby installation folder, open Mach4GUI.exe, select the profile you use from the list and then select 'Restore Backup' button on the right. From the list select the profile that is the oldest as it is most likely to work and then restore.

 Hopefully this works for you

145
Mach4 General Discussion / Re: "update" to counts per unit calculator
« on: October 26, 2020, 04:54:52 AM »
You can use mcProfileFlush and mcProfileSave after setting the steps to save the values to the config.

146
Mach4 General Discussion / Re: Where did the Machine Diagnostic tab go?
« on: October 19, 2020, 07:15:27 AM »
If you open up the Mill profile go into the screen editor find the Machine Diagnostics tab in the tree. Right click it and select Export. Then open up your router profile, go into the screen editor, right click on MainTabs in the tree and select import, and then select the file you just exported it will add all the screen elements.

147
Mach4 General Discussion / Re: MACH4 with ESS G73 not working correctly
« on: October 17, 2020, 12:34:30 PM »
According to the manual you need to set parameter 5114 which is the retract distance for high speed peck. Have you done this? It can be done in the parameters.ini file in your profile.

148
Mach4 General Discussion / Re: set selected tool
« on: August 19, 2020, 09:02:32 AM »
Hi Bill,

The following works but I am not sure if it is the best/correct way to do this. Maybe someone else can advise.

Code: [Select]
rc = mc.mcCntlSetPoundVar(inst, mc.SV_CUR_SELECTED_TOOL, Tool)

149
Mach4 General Discussion / Re: set selected tool
« on: August 18, 2020, 02:51:12 AM »
Hi Bill,

Use this

Code: [Select]
rc = mc.mcToolSetCurrent(number mInst, number toolnum)

150
Mach4 General Discussion / Re: message box with yes or no
« on: August 11, 2020, 11:50:56 AM »
Hi Bill,

Try

Code: [Select]
rc = wx.wxMessageBox("Message", "Title of box", wx.wxYES_NO)
if (rc == wx.wxYES) then
--yes was pressed
elseif  (rc == wx.wxNO) then
--no was pressed
end

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