Hello Guest it is September 22, 2023, 03:10:12 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 - CCWood

Pages: 1 2 3
1
Mach4 General Discussion / Sound in Mach4
« on: September 25, 2022, 03:42:55 PM »
Can anyone point me in the right direction for adding sound (wav files) to Mach4, such as when a probe touches, or a limit is hit? I've seen DaztheGas's Quicky #1 video and have followed his example... the button works after adding the code and restarting mach, but then stops working after the next restart. If anyone has sound working in M4 could you share some code on how you have it set up? Had no problems adding sound to M3, but lua is kicking this old man's butt (beginning to believe the "You can't teach an old dog new tricks" thing).

Andy

2
Mach4 General Discussion / PCNC 1100, Mach4 /ESS, Spindle Speed Control
« on: December 19, 2019, 09:31:47 PM »
Hi All, I recently inherited a PCNC 1100. My brother had used the machine with Mach 3 and ESS. The PC he used to run the machine crashed, and we replaced it, but due to failing health he had not been able set up everything.
I have upgraded it to Mach4 with ESS and have everything working except the spindle speed control. I am using Step and Direction for spindle control... If anyone is using a similar set up, could you give me some tips on how to setup and adjust the spindle speed from mach?
Thanks in advance,
Andy

3
Mach4 General Discussion / TouchOff Module Error... need help
« on: January 15, 2019, 04:36:33 PM »
Trying to use the TOUCH Button on the Mach4Router profile to set my z to zero...everytime I run it I wind up with a Lua Error.  History shows the following:

Z axis is performing a touch move
Z Axis Offset set to -2.4219749779216
Retracting
Touch is finished. Z Axis set to -2.4219749779216
Lua: Error while running ChunkC:\Mach4Hoby/Modules/mcTouchOff.lua:1178:attempt to compare nil with numberstack traceback:C:\Mach4Hoby/Modules/mcTouchOff.lua:1178:in function 'frameMainOnUpdateUI' C:\Mach4Hoby/Modules/mcTouchOff.lua:912:in Function<C:\Mach4Hoby/Modules/mcTouchOff.lua:911>

I have set the fields in the Touch Module Screen but have not modified the TouchOff module code in any way.

Any help appreciated...
Thanks

4
Mach4 General Discussion / Re: ScreenScript error after updating
« on: September 02, 2018, 11:51:28 PM »
No custom modules... I think it's something to do with the wx4 screen set... I just updated back to 3804 and tried some of the screen sets that came with the update, no errors. Tried my screen set Andy_wx4 and got the error, then loaded a screen set from the update and everything worked again... decided to try the un-modified wx4 set that my screen is based on and the error occurred again. Got a couple of jobs to do tomorrow, so I'm gonna roll back to 3155 (I know that version works with my modifications) till I finish them... then I guess, I'll update and start modifying one of the screens that comes with 3804.

Thanks for taking time to reply
Andy

5
Mach4 General Discussion / Re: ScreenScript error after updating
« on: September 02, 2018, 11:06:48 PM »
Hi Joe, thanks for responding. I do have a named screen set... it's a modified wx4 screen and was working fine. I loaded it to the new install of mach and all of my modifications were there. I had just recently added a tool zero script (based on a DazTheGas script) and wonder if that may have something to do with the problem (I think the prb.LoadSettings is referring to probing). I have rolled back everything to 3155 before adding the tool zero and will try to update from there.

6
Mach4 General Discussion / ScreenScript error after updating
« on: September 02, 2018, 08:54:45 PM »
Just updated from 3155 to 3804, now when I start M4 I get a lua error in ScreenScript.lua (see attached pics) and the PLC gets disabled, the error says "attempt to index global 'prb' (a nil value)".
My knowledge of lua is VERY basic, I do a lot of cutting and pasting code from the forum post (and watch alot of DazTheGas videos) but need someone who understands lua to give me some guidance on fixing this.
Thanks in advance for any suggestions.

7
Mach4 General Discussion / Re: Loading toolpaths directly to Mach4
« on: December 01, 2016, 06:57:52 AM »
Thanks for replying... really wish the feature could be enabled, work flow is a lot easier when I can just load the code directly into mach after designing.

8
Mach4 General Discussion / Loading toolpaths directly to Mach4
« on: November 27, 2016, 10:38:03 AM »
I am trying to get my Aspire toolpaths to output direct to machine (Mach4) when saving, but I keep getting the "unable to find a running instance of Mach" error... does anyone know how to correct this?

With Mach3 we had to add some registry entries to fix this problem, but those registry entries don't work in Mach4.

I posted this question over a year ago in both the Vectric and Mach forums without success (Vectric responses-- "ask Mach", Mach responses-- "ask Vectric").

Has anyone figured it out?

9
Mach4 General Discussion / AXIS DRO movable window
« on: July 09, 2016, 02:26:22 PM »
Hi All,
I'm trying to create an axis DRO window that I can move to a second monitor to use while positioning my work piece & zeroing the axes.
Ya-Nvr-No posted a pic of a wizard that would do some of what I need (or at least point me in the right direction) on May 17, 2014 (see attached pic). Anyone have a similar wizard they could share or advise on how to write it. I've done some pop-up windows for warnings & notes, some macros, and some screen mods in M4 but never a wizard.
Thanks

With a lot of struggling, a little direction & help, I now have a Wizard that shows the axis DRO's in real time (set to 100ms scan) and that can be pinned to the screen's top. This uses iRegs0 to Write and Read the small floating popup. From this template, I can now create several other useful screen popups and also add to this as my Screen MPG

Took a whole lot of rocks, Terry  :P


10
Mach4 General Discussion / Re: Egg shaped holes
« on: June 08, 2016, 10:08:06 PM »
Had a simular problems once... recalibrated, calculated & compensated for backlash... still out of round. Problem turned out to be a blown fuse going to the gecko drive on my A motor (X axis slave). X was driving, A wasn't. Replaced the fuse and all was well.

Pages: 1 2 3