Hello Guest it is June 04, 2024, 05:05:19 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 - Cbyrdtopper

831
General Mach Discussion / Re: Measuring Down Time
« on: June 03, 2016, 07:34:09 PM »
Hey,
I've got an idea on how to do this.  Been working on it today for my own use.  I'm away for the weekend but will get back on it Monday and post my results. 
-Chad

832
General Mach Discussion / Re: Spindle S Command Not Working
« on: June 01, 2016, 02:46:31 PM »
Okay, problem is fixed.  I was running Mach3 R3.043.066 and switched it to R3.043.062 and everything is working just fine!! =)
-Chad

833
General Mach Discussion / Spindle S Command Not Working
« on: June 01, 2016, 09:49:47 AM »
Working on a VMC and my spindle won't change speed using the "S" command.  The only way I can get the spindle to change speed is to manually enter a speed into the spindle speed DRO.  I have even tried writing a G Code program that varies the spindle speed and it still has no effect.  My spindle works great M3, M4, and M5 all work correctly and the spindle is calibrated, the only issue is the S command in MDI or G Code.
Any thoughts?
-Chad

834
I have tried to use the OEMtrigger to Macro Call before with no real success, not sure what it was, anyways, what I was trying to do was change the feedrate depending on which direction I had a switch.  In the macro I started out with an "IF" statement, if input 1 then ---> Code --> end if        if input 2 then ---> Code ---> end if.  From your pictures you may have to add an led to the screen to compare the two options.  But that would be simple enough.  Just a thought.
-Chad

835
Mach4 General Discussion / Re: GetProperty LED
« on: March 21, 2016, 08:15:54 AM »
Thanks DazTheGas
I don't know how I missed that!! 
Here is the corrected and working code!

local FeedLeftLED = scr.GetProperty("FeedLeftLED", "Value")
    if (FeedLeftLED == "1") then
            scr.SetProperty("FeedLeftLED", "Value", "0")
        else
            scr.SetProperty("FeedLeftLED", "Value", "1")
    end

Thanks for the help!!

836
Mach4 General Discussion / GetProperty LED
« on: March 18, 2016, 04:23:03 PM »
Hello All,
I can't seem to figure out how to get the "value" of an LED and compare it.
I have a button that I'm setting up to toggle an LED on and off.  Here is the code I have written, when I hover over the Variable it says "ERROR".  Any thoughts??

local FeedLeftLED scr.GetProperty("FeedLeftLED", "Value")
    if (FeedLeftLED == 1) then
            scr.SetProperty("FeedLeftLED", "Value", "0")
        else
            scr.SetProperty("FeedLeftLED", "Value", "1")
    end

-Chad

837
Thank you Russ!  Didn't even think of looking in there. =)

838
It's probably right in front of my face but I cannot seem to find the input.  What is it called, I just cannot find it.  Using the ESS.

839
Is the door safety circuit a Pin or an OEM Button of some kind?  I'm quite curious to find it now.

840
General Mach Discussion / Re: Mach 3 vs Mach 4
« on: December 21, 2015, 01:42:06 PM »
I don't particularly like using the pokeys for input.  I had some serious noise issues with the pokey while retrofitting a Johnford VMC one time.  As far as output goes, the pokey works wonderful.  Just a littler cautious about the input.