Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:29:27 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  Galil (Moderators: smurph, kcrouch)
| | |-+  Galil to Mach extended I/O
Pages: 1   Go Down
Print
Author Topic: Galil to Mach extended I/O  (Read 480 times)
0 Members and 2 Guests are viewing this topic.
accutool
Holding

Offline Offline

Posts: 1


View Profile
« on: March 18, 2011, 06: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.
Logged
battwell
Active Member

Offline Offline

Posts: 121


View Profile WWW
« Reply #1 on: March 19, 2011, 05: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
Logged

if its not broken yet, fit more gadgets!
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!