If you are using the parallel port, and have the driver installed, click the emulate button and assign the keystroke in ports and pins, input pins, probe input.
This only works with the parallel port driver.
I wish to test any macro that I have written on my [offline] office machine
Mach3 licenced but no physical machine attached
If I issue a G31 probe then the counters start to roll
I would like to press a key sequence or whatever to simulate the probe touch / hardware interrupt
Has anyone done this, how is it possible?
How do you test a G31 in a macro when it is offline
Thanks for any advice
Similar Threads:
If you are using the parallel port, and have the driver installed, click the emulate button and assign the keystroke in ports and pins, input pins, probe input.
This only works with the parallel port driver.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Thanks for comment
My office machine has neither parallel port nor driver but my workshop machine has both.
But then I can already test my scripts in the workshop using the real CNC
If I put the emulated key in the office pc ports/pins then I see that the digitize light shows when it is pressed
This behaviour ceases when I run the VBscript editor, shame
Is my only option to buy another breakout board and add printer parallel port to my office machine and reinstall Mach3?
If your office PC has a 32 bit version of Windows 7 or older, you just need to install the Mach3 parallel port driver.
If it's a 64 bit OS, then there's no way to make it work.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Thanks for that. Also I do have WIn7/64 but I do also have the inbuilt WinXP/32 virtual machine activated, so that seems a good route to follow. I will install Mach3+driver in the WinXP/32 VM and retest.
Following my previous comment
Installation of Mach3 on the WInXP virtual machine fails with critical error in kernel32.dll
I see that the VM dll is different to the genuine XP so I substitute that, still has critical failure
So Mach3 will not install on a VM it seems
A Mach3 install exists for WIn7 so I tried that and it works, and reports that it has installed the driver, and drivertest.exe reports "system excellent"
Starting this version reports "driver installed" but reset maintains that "limit switch triggered"
In posts+pins I change input-pins XYZ-home from X to 'tick' but did not solve problem (no idea what I was doing really, just a guess)
Are 'limit switches' and 'home' the same thing?
In diagnostics the pin1 lights are: off on on on on off on, also m1 limit m2 home and m3home are lit
If I put XYZ-home back to 'X' then in diagnostics m1-limit and m1-home are lit, others are off
The 'digitize' light comes on if I press the simulated key for probe touch
If you have any more comment I would like to hear because I have no plan B, thanks for your input so far