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

371
General Mach Discussion / Re: Inputiing my Mach 3 License number
« on: July 12, 2011, 11:07:32 PM »
Drop your license file into the mach install directory.

372
General Mach Discussion / Re: Wandering Machine
« on: July 10, 2011, 11:11:30 AM »
I did a router a few years ago that did that.  A few minutes in, it started acting up.  I was using unshielded cable.  Switching to shielded cable salved the problem.

373
General Mach Discussion / Re: THC controls in Mach
« on: July 05, 2011, 09:47:43 AM »
Don't forget about Modbus scan times.  The speed of a system using the THC commands in Mach is marginal using the PP, which will give you the fastest response time.  Looping the signals like that will at least double the response time.

374
General Mach Discussion / Re: THC controls in Mach
« on: July 04, 2011, 06:00:44 PM »
I think the problem is that the THC commands are inputs, not outputs.  You can monitor them in a brain and do something when they are activated, but because Mach sees them as inputs, you can't manipulate them like you can an output.  IE: Turn them on and off.

375
General Mach Discussion / Re: THC controls in Mach
« on: July 04, 2011, 04:02:51 PM »
I tried a while back to do a THC brain and couldn't get it working.  The brain wouldn't trigger THC UP/DOWN.  I don't know why.  I just went a different route rather than put too much effort into it.

376
If you're not using flood or mist, put the spindle on one of those outputs, then turn it on with an M7/8 and off with an M9.  Not sure if you can do that with a VFD spindle, but it works fine with a spindle, or any other device, that just needs a simple on/off.

377
General Mach Discussion / Re: THC controls in Mach
« on: July 03, 2011, 10:22:01 AM »
Look at "THC Up" and "THC Down" as inputs.  Like any input, they can be set as active high or low.  When THC Up is activated Mach moves the Z up at the feedrate defined by THC Feedrate.  In your brain, just activate the appropriate input and Mach will move the Z.  THC Up and Down are already mapped to the Z axis.  I don't think you can actually change that.

378
VB and the development of wizards / Re: Compiling Macro Script
« on: July 02, 2011, 12:02:32 AM »
I want the user to be able to add buttons and code of their own, just not mess with mine.  Dave's suggestion of using RunScript() worked great.  Button code is now compiled and lives in it's own directory.

379
VB and the development of wizards / Re: Compiling Macro Script
« on: June 29, 2011, 09:44:54 AM »
I'll second tony's comment.  I can save a button script as a compiled file (.mcc), but when I go back to "Edit Button Script" and click on the button, the original .m1s opens. What I'm trying to do is make it so that button code can not be messed with or even in human readable form...in other words, compiled code.

Edit...

Messing with this more, it appears that I can only save a script as an mcc file if I rename it.  A button script always has the name HiddenScript, so when I try to save it as an mcc file, it just tells me that HiddenScript.m1s already exists and asks to overwrite.  If I rename it to something like HiddenScript1.mcc, it saves as compiled code, but is not attached to the button.

380
VB and the development of wizards / Compiling Macro Script
« on: June 28, 2011, 11:38:58 PM »
Can you compile a VB script?  It is actually a button script.  If yes, could someone point me in the right direction?

Thanks very much.