Hello Guest it is April 24, 2024, 01:57:01 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 - peter81

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »
11
Mach4 General Discussion / Re: Dust hood
« on: May 09, 2019, 01:08:38 AM »
Hi Tweakie,

this problem is there from beginning but I didn't realy have time to solve it till now  ::). Yesterday I've updated mach4 to build 4.2.0.4162 and ESS to 234 build. I will post in warp9 forum, but before I will do another test in friday when I'll be back in my workshop. Also I will do complete uninstall of mach4 and fresh install. Thanks.

Peter

Just note that MACH4 ALSO disables the "CHARGE PUMP" output of the Darwin Parallel port plug-in, exactly the same way as it disables your Custom MACRO output.

That's why I had earlier suggested that you try using m7 and m9 to test.

Ok will try that too. Thanks.

Peter

12
Mach4 General Discussion / Re: Dust hood
« on: May 08, 2019, 07:43:34 AM »
Hi Tweakie,

this problem is there from beginning but I didn't realy have time to solve it till now  ::). Yesterday I've updated mach4 to build 4.2.0.4162 and ESS to 234 build. I will post in warp9 forum, but before I will do another test in friday when I'll be back in my workshop. Also I will do complete uninstall of mach4 and fresh install. Thanks.

Peter

13
Mach4 General Discussion / Re: Dust hood
« on: May 08, 2019, 03:10:57 AM »
Hi,

yesterday I did some more testing on the machine. I've deleted the button on my screen so there was nothing else connected to the output only both M codes m101 and m102 which are activated from the G code run. The problem still remains - after few minutes the output is turned off. Also I've tried the same program with mach3 and after a long run there was nothing wrong with the dust hood and output5. So I think there is nothing wrong with the wiring or noise. I suspect it could be in the ESS plugin maybe like KatzYaakov mentioned.

Peter

14
Mach4 General Discussion / Re: Dust hood
« on: May 04, 2019, 04:34:32 AM »
Hi Craig,

on my ESS 3rd port I have C31 bob (which is 24V) and output 5 is connected to ess port3-Pin2. I dont think it's the noise issue. Like I said this settup is excatly the same for 8 years now and if I run the machine with mach3 it's working with no problem.
I'm on vacation now and when I'll return to my workshop will go again through all of the codes to see If I missed something that could be messing with the output. Will report shortly. Thanks for all advices for now.

Peter

15
Mach4 General Discussion / Re: Dust hood
« on: May 03, 2019, 09:18:18 AM »
Hi,

I am using 24V. This setup has been working whithout any problem for 8 years with mach3. If I run my cnc with mach3 the dust hood is working as it should. When run by mach4 I have this problem when output is suddenly turned off.

Peter

16
Mach4 General Discussion / Re: Dust hood
« on: May 02, 2019, 02:44:15 PM »
Hi,

today i've tried a wxMessageBox line in my button script and It didnt trigger the output. The message box didn't appeared on the screen. So the next thing I will try is the debounce filtering the next time I'll be in my work shop. Thanks.

Peter

17
Mach4 General Discussion / Re: Dust hood
« on: May 02, 2019, 04:27:52 AM »
Hi,

I'm using ESS (plugin version v233) with C32 board. Mach4 build 4124.

Peter

18
Mach4 General Discussion / Dust hood
« on: April 29, 2019, 12:41:31 PM »
Hello all,

on my router I have a pneumatic dust hood. I have two M codes to activate and deactivate it in G code. Also in screen I've made a button so I can raise and lower it in the middle of the program if I want to. But there is a problem. When I start the program (any program that I have) dust hood is activated but then suddenly the output is deactivated in the middle of the program. Sometimes this happens after a minute, sometimes after 10 minutes. Then I have to push the button to activate it again. Any help would be appreciated.
Here is the codes:

function m101()
   
   inst = mc.mcGetInstance()

   local hSig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OUTPUT5)
   mc.mcSignalSetState(hSig, 1)
   
end

if (mc.mcInEditor() == 1) then
   m101()
end

----------------------------------------------------


function m102()
   
   inst = mc.mcGetInstance()

   local hSig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OUTPUT5)
   mc.mcSignalSetState(hSig, 0)
   
end

if (mc.mcInEditor() == 1) then
   m102()
end

-------------------------------------------------------


-- Dust hood button script


inst = mc.mcGetInstance()

local hSig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OUTPUT5)
local state, rc = mc.mcSignalGetState(hSig)

if state == 1 then
    mc.mcSignalSetState(hSig, 0)
else
    mc.mcSignalSetState(hSig, 1)
end


Regards,
Peter

19
Mach4 General Discussion / Re: Spindle warm
« on: March 25, 2019, 02:59:41 PM »
Hi Craig,

Today I’ve tried again new update build and It worked! I’ve changed the numbers from 30000 to 30000.0. All the codes now work. Thanks again for you help.

Regards,
Peter

20
Mach4 General Discussion / Re: Spindle warm
« on: March 23, 2019, 07:43:18 AM »
Hi,

thanks Craig and Chad for reply. Yes I can make spindle warm up program in G code. That solves this problem. But I have the similar code in plc for turn on/off my grease pump and It also don't recognize the value of 30000 for turning on the pump. This code was working in build 3804. The dro counts only when machine is moving. Any idea how to make this code to wokr in another way? Here is the code:

local inst = mc.mcGetInstance()
local MotionLED = scr.GetProperty("MotionLED", "Value")
local droPumpCounter = scr.GetProperty("droPumpCounter", "Value")
local zero = 0
local hsig,rc = mc.mcSignalGetHandle(inst, mc.OSIG_OUTPUT7)
local Feed = mc.mcCntlFeedHoldState (inst)
local machEnbld = mc.mcSignalGetState (mc.mcSignalGetHandle (inst, mc.OSIG_MACHINE_ENABLED))
--------------------------
if (MotionLED == "1") then   
     local droPumpCounterVar =(droPumpCounter + 1)
     droPumpCounter = tostring(droPumpCounterVar)
     scr.SetProperty("droPumpCounter", "Value",droPumpCounter)
end

if (droPumpCounter == "30000") then
      mc.mcSignalSetState(hsig,1)
     end
     
             if (droPumpCounter == "30010") then
             scr.SetProperty('droPumpCounter', 'Value', tostring(zero))
             mc.mcSignalSetState(hsig,0)
             end
--------------------------
if (machState == 0) then
     scr.SetProperty("MotionLED", "Value", "0")
     else
         scr.SetProperty("MotionLED", "Value", "1")

             if (Feed == 1) then
             scr.SetProperty("MotionLED", "Value", "0")
             end
end


Thanks,
Peter

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »