Hello Guest it is April 26, 2024, 12:44:14 PM

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 - rrc1962

461
VB and the development of wizards / One Shot Trigger
« on: February 16, 2011, 10:35:01 PM »
Does anyone know of a way to create one shot trigger.  I want to execute some VB code but only once as an input goes high. 

Thanks

462
General Mach Discussion / Re: THC not working properly
« on: February 14, 2011, 09:51:00 AM »
I think it will be on par with the PP.  Of course, the best option is a stand alone THC with PID control of the Z axis drive.

463
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 06:21:18 PM »
Problem solved..and everything works through the modbus.  More testing will tell whether the modbus is fast enough to keep up with the height changes, but for now it works.

In the M3 macro you have...

DoSpinCW()

I replaced that with...

SetModOutput( 2, 1 )

Evidently Mach3 does something in regards to enabling THC commands when it executes, DoSpinCW() because after changing it to this...

DoSpinCW()
SetModOutput( 2, 1 )

Everything works.  DoSpinCW() does whatever it does to enable THC and the torch is fired via the modbus.


464
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 05:53:38 PM »
I wrote this little bit of code in a button to determine if the THC mode was actually on...

If isActive(THCON) Then
   MsgBox("THC is ON")
Else
   MsgBox("THC is OFF")
End If

When I press this button, even with the THC LED on, it tells me that the THC is off.  I'm at a loss.  There has to be something telling Mach to ignore THC commands even though THC is on.

465
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 05:03:56 PM »
I've got it switched back over to PP control but I've still got nothing.  THC in Mach is definitely on.  I've got PP2 enabled and pin 15 mapped to Arc OK.  When the arc is good, the ArcOK LED lights so I know the mapping is good.

If I ground pin 15, the ArcOK LED lights.  If I then turn on the THC function in Mach, Mach should wait for an ArcOK signal before moving.  Forget about even having a THC connected.  If the THC function is on, Mach should wait for the ArcOK signal before moving, correct?   I should be able to put pin 15 on a button and Mach should wait until the button is pressed before moving.

The only difference between the profile I'm using for testing this and the profile I used with a Sound Logic THC is that in my mew profile I have modbus enabled, but as I said, I'm now controlling the THC through PP2.

What else is there that could cause Mach to ignore the THC commands? 

466
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 03:06:09 PM »
Are the THC functions hard coded to the second PP or could an unused input on the primary PP be used?  The reason I ask is that if you use a stand alone THC that handles it's own motion control, the only input to Mach you would need is Arc OK, and it would be a shame to have to add a second PP just for that one input.  Any other communication, like the trigger to initiate torch reference, could be done through the modbus.

467
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 02:35:48 PM »
So there is no other way to drive THC functions other than a second PP?  And here I thought Art and Brian could walk on water. :(

468
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 01:56:30 PM »
But I can control virtually every aspect of Mach over the Modbus.  Why would the THC function be coded differently than everything else?  You can even select THC inputs in a brain...but unfortunately, those don't seem to work either.  Can't even get the LED's to light that way.

Just doesn't make sense that when I map a jog input or trigger some event with a modbus input it works, but when I map a modbus input to any of the 3 THC functions, I get nothing...Well, nothing but the LED's.

469
General Mach Discussion / Re: THC not working properly
« on: February 13, 2011, 11:05:45 AM »
Licensed.  The THC function has been working fine.  I just switched over to a different THC that uses the modbus instead of a second PP.

470
General Mach Discussion / THC not working properly
« on: February 12, 2011, 07:54:02 PM »
basically, Mach3 is acting like the THC function is turned off, but it's not.  All of the THC related LED's light as they should, such at ArcOK, THC Up and THC down, but Mach does not respond.  ArcOK is completely ignored and THC Up and Down is not working even though the LED's indicate that these functions are working.  The system operates as if it's running a router.

The only thing different is that the ArcOK, THC Up and THC Down pins are mapped to modbus inputs.  I know they are mapped correctly because the LED's light.

Has anyone had issues with the Mach3 THC mode not working at all even though it is on and LED's function properly?

Thanks