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

381
Mach4 General Discussion / Re: Mach4 Axis 0 Commanded While Disable Help
« on: November 30, 2018, 05:56:21 PM »
You can just enable motor 3 in the mach config, or edit the button script.

382
Mach4 General Discussion / Re: Test probing in simulation?
« on: November 25, 2018, 11:00:37 PM »
Okay,
So I just found out that I can test probing.  I forgot to put a feedrate in my probe move.  
However, it didn't register my simulated probe strike, it simply read the end of my probe move.  
Not exactly what I wanted, but it does allow me to test my code.

383
Mach4 General Discussion / Test probing in simulation?
« on: November 25, 2018, 10:52:01 PM »
I'm going to assume that we can't test probing functions using the simulator since probing is handled by the motion controllers.
But I'll ask anyway.  Can we test probing in the SIM?
I've mapped all 4 probe inputs to CNTL + P on my keyboard to test a tool setter probing cycle, that works just fine,
However, when I run the cycle, it doesn't run the G31.  Again, I assume this is because I'm running the simulator.

384
Mach4 General Discussion / Re: Mach4 Lock
« on: November 21, 2018, 11:07:26 AM »
Gotta give this a try.  Somehow one of our operators locked a lathe we have in the shop.  I have no idea if they did this on purpose or not, so I'm going to have to unlock it now.  Glad this thread was started.

385
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 03:16:59 PM »
Yes.   There is a thread on this forum with that information already.   But the searching isn't working right now.   I'll see if I can get some script I have on a machine on the is thread.

386
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 12:45:42 PM »
If all you want is for the reset button to shut the coolant off, then you're finished.  Just save that and test it. 
Turn your coolant on and press the reset button; it will turn the coolant off.

387
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 12:01:41 PM »
I had the Output handle wrong in the code I gave you.  I didn't think it was right, like I mentioned, needed to check that the signal call was all correct.
Put this code below the Set Last Error.

--Turn coolant off on Reset
local Coolant = mc.mcSignalGetHandle(inst, mc.OSIG_COOLANTON)
mc.mcSignalSetState(Coolant, 0)

388
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 11:09:26 AM »
What are your errors?

389
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: November 19, 2018, 09:43:57 AM »
You will put it inside the Reset Button.
Same as you enter in the PLC or Screen Load, it is in the second tab in the feature box.
There will be some script already in the button, just add this at the bottom of it.

Mach4, like anything new, requires patience and time to get an understanding of it.
I had no idea how to do anything in Mach4 when it first came out; I took time to learn it and understand what things did and how it all worked, there are still things I don't know how to do, but I will learn them.

390
Mach4 General Discussion / Re: Spindle Accel/Decel wait times scale??
« on: November 18, 2018, 03:06:32 PM »
As far as waiting for the spindle to stop for your ATC... does your VFD have an output for Spindle at Zero Speed?  If so, you can add an mc call (I don't remember exactly what it is, mc.mcSignalWait or similar) that waits for a signal before moving on in your m6.