Hello Guest it is April 23, 2024, 02:33:37 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

761
Mach4 General Discussion / Re: Back lash comp while jogging
« on: April 24, 2017, 08:35:29 AM »
Hey Sparky3,
Just finished a mill with the Hicon Integra.  Backlash is working as expected for us.  We have about .002 backlash in our Y and utilizing the backlash compensation it doesn't have any now. 
You can post this question on the 3rd party hardware support forum, the guys at vital system get back pretty quick.  This is the link to the Hicon Motion Controller Forum.
http://www.machsupport.com/forum/index.php/board,89.0.html

762
Mach4 General Discussion / Re: multiple probe use
« on: April 20, 2017, 11:16:08 AM »
You can refer to the Mill GCode Programming Manual page 19. G31, G31.1, G31.2, and G31.3.  
You use the same command only instead of G31 you will use G31.# depending on which input you mapped it to, Probe1, Probe2, or Probe3.

763
Mach4 General Discussion / Re: Lua script command
« on: April 10, 2017, 01:53:48 PM »
Hyojung,
You should put your solution on this thread so others can see what works.

765
Mach4 General Discussion / Re: Lua code for coolant buttons?
« on: April 10, 2017, 10:31:38 AM »
Wallerawang,
I have momentary buttons to toggle on and off my coolant and spindle.  Is this what you're looking for?

766
Mach4 General Discussion / Re: Signal before spindle turns on.
« on: April 05, 2017, 12:56:47 PM »
Okay,
I've got something that works great!
I put this code in the PLC Script.  All it does is check for the Orient Signal, if its true it turns off the spindle, CW and CCW.  And for the operator, it has a message saying the spindle is disabled.

--Inhibit spindle if Orient signal is true.
local hSig = mc.mcSignalGetHandle (inst, mc.ISIG_INPUT17) --Orient Signal
local OrientInhibit = mc.mcSignalGetState (hSig)
if (OrientInhibit == 1) then
     local SpinCW = mc.mcSignalGetHandle (inst, mc.OSIG_SPINDLEFWD)
     local SpinCCW = mc.mcSignalGetHandle (inst, mc.OSIG_SPINDLEREV)
     mc.mcSignalSetState (SpinCW,0)
     mc.mcSignalSetState (SpinCCW,0)
     mc.mcCntlSetLastError (inst, "Spindle Disabled")
end

767
HiCON Motion Controller / Probing Problem
« on: April 04, 2017, 08:23:16 AM »
Okay, I had written a probe macro that checks for a broken tool.  Here are the basics of the macro.

Move down above the probe
Probe at 50 IPM   Here is that Probing Line of code. "G31 G91 Z -2.00 F50"
If probe strike, then "Tool OK"
else "Tool Broken"
Move to safe Z
End

It was working great last week and yesterday it stop after the probe signal was activated.  The macro was still running, doing nothing.  Now, I slowed the Feed down to 25 and it seemed to take care of the problem. 
Any ideas what happened?

768
Mach4 General Discussion / Re: Signal before spindle turns on.
« on: April 03, 2017, 03:34:44 PM »
I have that waiting infinitely.  The tool change is being run by a PLC.  I send an output to the PLC and the last move by the PLC is releasing the orient.  The m6 macro waits until the Orient release before setting the tool numbers and pocket information and finally ending the macro.   

769
Mach4 General Discussion / Re: Signal before spindle turns on.
« on: April 03, 2017, 02:21:43 PM »
DTG,
What timeout are you referring to?  The plugin?

770
Mach4 General Discussion / Signal before spindle turns on.
« on: April 03, 2017, 12:52:15 PM »
We have had 2 instances of the spindle coming on while the orient was still engaged.  Our tool change macro doesn't finish until it gets the Orient Release signal,  I'm using the SignalWait command, so I don't know why it continues the macro with the Orient still in engaged.  That is my issue, any ideas why it finishes the macro? 
Now, to prevent this from happening again, I was wondering if there was a way to inhibit the spindle unless the orient release signal was active.  I looked in the Screen Load script and found the SpinCW and SpinCCW functions, I was going to put an "if" statement in there looking for the Orient Release Signal.  Is this where I need to put such code, or is there something else that needs to be done?
-Chad