Hello Guest it is April 23, 2024, 03:49:46 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - GBMaker

Pages: 1
1
G-Code, CAD, and CAM discussions / Serial data out by Gcode
« on: September 13, 2011, 06:30:57 PM »
Hi, All.
I need to program an external device using serial pulses generated from within Mach 3.
I can configure any pin I need on the parallel port to do this, but so far I have not found any G code command that will let me specify a number of on/off pulses to send to the specified pin.
The closest I can get is to configure a fake motor (in this case, Motor B) and tell Mach to toggle its Dir pin forward and back, which translates to on/off for the external device.
Is there a more streamlined way to use Gcode, or Mach, to toggle an I/O pin a specific number of times, quickly?
Thanks.

Pages: 1