Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: leversole on January 01, 2016, 08:36:00 PM

Title: Test Inputs
Post by: leversole on January 01, 2016, 08:36:00 PM
Is there a way to put a button on a page you are building to simulate an input? For example, if I am playing around with homing or a touch probe, can I have a button to simulate the input pin that is set up for one of the external switches?
Title: Re: Test Inputs
Post by: ger21 on January 01, 2016, 08:48:10 PM
You can use a keyboard key to do it.
Go to Ports and Pins > Input pins, and check "Emulate" for the input. Then click Hotkey, and you'll be prompted for the key.
Title: Re: Test Inputs
Post by: leversole on January 01, 2016, 08:56:56 PM
Thanks!
Title: Re: Test Inputs
Post by: leversole on January 07, 2016, 10:46:34 PM
Have done all of the simulating so far with my laptop...got my parallel equipped desktop today...transferred all of the Mach 3 stuff over...somehow I broke the keyboard homing and limit switch emulation?!? When I go to the diagnostic screen, and press the key that emulates the switch, Z, for example, is the Z axis limit switch emulation, it shows green when I press the key, but if I try to home the z axis, the "z" key will not stop it?!? I have checked all of the settings, and I copied the xml file to the new install, so everything should be the same, don't know what I am missing?

Thanks
Title: Re: Test Inputs
Post by: ger21 on January 08, 2016, 07:22:28 AM
You need to have the parallel port driver installed, and the PC must have a 32 bit OS for emulation to work.
Title: Re: Test Inputs
Post by: leversole on January 08, 2016, 07:53:40 AM
Hmmmm....I did get a parallel port error when I installed...blew it off because I thought it was because there was nothing hooked to it...will check it out, maybe the address for the port is wrong...

Thanks...
Title: Re: Test Inputs
Post by: ger21 on January 08, 2016, 08:26:30 AM
The wrong port address won't give you any errors.
Title: Re: Test Inputs
Post by: leversole on January 08, 2016, 09:01:18 AM
Any thoughts on what to look for? Are there any utiliities I can run to diagnose?

Thanks for your help
Title: Re: Test Inputs
Post by: ger21 on January 08, 2016, 09:37:13 AM
What operating system is it?
If it's a 32 bit OS (Must be Windows 7 or older), run Drivertest.exe in the Mach3 folder. That should install the driver if it's not installed.
Title: Re: Test Inputs
Post by: leversole on January 08, 2016, 10:07:43 AM
Win 7 pro...will do

Thanks
Title: Re: Test Inputs
Post by: ger21 on January 08, 2016, 10:52:46 AM
Is it a 32 bit version?
Title: Re: Test Inputs
Post by: leversole on January 08, 2016, 01:16:08 PM
Yessum
Title: Re: Test Inputs
Post by: leversole on January 08, 2016, 07:05:20 PM
Dammit!!! Windows7 64Bit! Is the button emulation the only thing that is not gonna work? How about Mach3 itself...any issues with 64bit? Any workaround? The driver test failed!
Now I am worried!
Title: Re: Test Inputs
Post by: ger21 on January 08, 2016, 07:07:29 PM
Mach3 can not use the parallel port in a 64 bit OS. You need to use an exernal motion controller, or a 32 bit OS.