Hello
Guest
it is
January 14, 2025, 04:13:11 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
simulate switch inputs in mach3? How?
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: simulate switch inputs in mach3? How? (Read 4631 times)
0 Members and 1 Guest are viewing this topic.
moorea21
228
simulate switch inputs in mach3? How?
«
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
Logged
moorea21
228
Re: simulate switch inputs in mach3? How?
«
Reply #1 on:
May 23, 2015, 11:45:36 AM »
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.
Logged
ger21
6,295
Re: simulate switch inputs in mach3? How?
«
Reply #2 on:
May 23, 2015, 11:54:28 AM »
I believe that you need the parallel port driver installed for emulated keys to work.
Logged
Gerry
2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
moorea21
228
Re: simulate switch inputs in mach3? How?
«
Reply #3 on:
May 23, 2015, 12:00:54 PM »
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.
«
Last Edit: May 23, 2015, 12:06:31 PM by moorea21
»
Logged
moorea21
228
Re: simulate switch inputs in mach3? How?
«
Reply #4 on:
May 23, 2015, 12:15:34 PM »
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.
Logged
moorea21
228
Re: simulate switch inputs in mach3? How?
«
Reply #5 on:
May 23, 2015, 12:40:14 PM »
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.
Logged
Print
Pages:
1
Go Up
« previous
next »