Machsupport Forum
Mach Discussion => Mach Screens => Topic started 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?
-
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.
-
Thanks!
-
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
-
You need to have the parallel port driver installed, and the PC must have a 32 bit OS for emulation to work.
-
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...
-
The wrong port address won't give you any errors.
-
Any thoughts on what to look for? Are there any utiliities I can run to diagnose?
Thanks for your help
-
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.
-
Win 7 pro...will do
Thanks
-
Is it a 32 bit version?
-
Yessum
-
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!
-
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.