Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: moorea21 on May 23, 2015, 11:13:00 AM
-
I was hoping to run my code as a simulation on my other pc (no parallel port drivers installed) but I can't, because I don't know how to simulate switch inputs in simulation mode.
The code I've been running has some odd behaviour during homing; I was hoping to see if it behaved the same on another machine.
Can I simulate switch inputs in Mach3?
Thanks,
M21
-
I've tried 'emulating' (searched the wrong term) Z home switch as the 's' key on my keyboard; does nothing, regardless of whether its set as active low or not.
-
I believe that you need the parallel port driver installed for emulated keys to work.
-
Ok, but in that case, why does it also not work on the pc attached to my machine, with the cnc machine switched off... It just tells me 'requested home switch is active... etc' as I press return after the home command. This is regardless of whether I set the switch in question as active high or low. This is with the G28.1 command inputted via MDI line.
-
I've reinstalled mach on the NON CNC PC... including installing the parallel port drivers.
Zeroing all axes, typing 'g92 a0.4' rtn (sets A to 0.4, no problem there,) then 'g28.1 a0.4' rtn, but the g28.1 command does nothing. Thoroughly confused now.
-
Apologies, I had set the wrong axis with hotkey 's' on my CNC PC. It deos now simulate/emulate on that one, although the comment in my previous post still applies.