Hello Guest it is April 19, 2024, 08:07:45 AM

Author Topic: Galil to Mach extended I/O  (Read 2778 times)

0 Members and 1 Guest are viewing this topic.

Galil to Mach extended I/O
« on: March 18, 2011, 07:58:09 PM »
The plug in documentation shows how to enable Galil extended I/O but I can't find how to use it in Mach. Can anyone point me in the right direction? There was a "LED" box filled in with 123 default value. I have no idea what  that's for.
Re: Galil to Mach extended I/O
« Reply #1 on: March 19, 2011, 06:33:15 AM »
firstly you have to configure how many inputs and outputs and which balnks they are on in the galil. read about the CO command. set this number then bn command in galil smarterm.

in mach you have to use vb scripting to
 read inputs using :      getuserled(*********x)
set outputs using:     setuserled(*********x,1) or to turn off replace the 1 with a zero
save this script as a macro and its then called with an M code
inpts/outputs can also be read or set using brains.

where *********x is the number of the led you will be using (which is set in mach plugin)

ie for 8 outputs for example set that block at 3001 then your 8 outputs will be leds 3001 to 3008
if its not broken yet, fit more gadgets!