Hello Guest it is April 20, 2024, 11:45:52 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 - DazTheGas

11
Mach4 General Discussion / Re: Overview of my Lathe Build video
« on: January 11, 2022, 02:26:11 PM »
Love the appropiately named estop button  ;)

DazTheGas

12
Have you used the Package Profile from the Help menu in mach4?
From your working mach4 go into the Help menu and locate Package Profile then exit. from your new installation run Mach4GUI.exe and then Import the profile that you packaged.

DazTheGas

13
Just create your m7 or m8 macro and within this just turn your signal on then back off, if its too quick then just add a wxSleep after the signal on.

DazTheGas

14
Mach4 General Discussion / Re: Merry Christmas
« on: December 23, 2021, 12:30:25 PM »
Merry Christmas Bill, have a good one.

DTG

15
Mach4 General Discussion / Re: Screen Script Error
« on: November 06, 2021, 12:57:25 PM »
It looks to me that its cant find a function called eStop()

DazTheGas

16
Mach4 General Discussion / Re: Spindle Range - Pulley
« on: November 04, 2021, 03:02:06 PM »
You only need to add a DRO and set it to spindle range, no programming req...

DazTheGas

17
You should only copy the .MCS files to the directory then mach4 will then recompile them.

DazTheGas

18
Mach4 General Discussion / Re: Coroutine question/problem
« on: September 16, 2021, 03:13:53 AM »
Have you remembered to resume the coroutine within the PLC IE:

Code: [Select]
if (SafeZ ~= nil)  then
    local state = coroutine.status(SafeZ)
    if state == 'suspended' then
        coroutine.resume(SafeZ)
    end
end

perhaps this might help https://www.youtube.com/watch?v=t2xQYvAXT8o

DazTheGas

19
Mach4 General Discussion / Re: activate script on button from script
« on: September 14, 2021, 11:50:26 AM »
You could use

Code: [Select]
scr.ButtonClick(ctrlName)
scr.ButtonDown(ctrlName)
scr.ButtonUp(ctrlName)

DazTheGas

20
Mach4 General Discussion / Re: External button scripts in Mach4
« on: September 14, 2021, 07:51:53 AM »
If you are just wanting the external button to do what the screen button does then all you need to do is add the script from the screen button to the siglib IE:

Code: [Select]
[mc.ISIG_INPUT5] = function (state)
if (state == 1) then   
wait = coroutine.create (RefAllHome)
    end

end,

But remember you must add some more code to check that the controller is in a state that will allow you to home too

DazTheGas