Hello Guest it is September 21, 2019, 10:47:49 AM

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.


Messages - smurph

961
Galil / Re: Need Help with Galil Setup on DMC-1842
« on: December 23, 2010, 03:02:44 PM »
All of what you need to do is done in Mach.  These questions apply to setting up any motion device for Mach whether it be Galil or the Printer port, etc...

ANSWER 1. 

You need to enable the motors in Config->Ports and Pins.  Click on the motor outputs tab and enable all of your axis motors (x, y, z and a for your slaved axis). 
Now you will be able to input the counts per unit in the motor tuning dialog.

ANSWER 2.

Config->Slave Axis.  Then for the X axis, choose the A radio button.  Restart Mach.

962
Galil / Re: Galil to Mach
« on: December 23, 2010, 02:52:39 PM »
Enable debug output in the plugin confguration and run a program.  Then take a look at the GalilDebug.txt file.  If there are a bunch of '?' characters in the file, then the firmware is probably the problem. 

You can download the firmware from the Galil website and then upload the new firmware from the Smart Term program.

Steve

963
Galil / Re: X,W home problems
« on: December 20, 2010, 06:13:12 PM »
Dave,

PM me your email address.  I send you a plugin to try out.

Steve

964
Galil / Re: Another gantry mode limit switch question
« on: December 16, 2010, 12:17:52 AM »
I would suspect that Mach treats the gantry axes as one axis.  Thus when the limit is tripped, Mach does the same for the slaved axis.

Homing...  It's supposed to home both gantry axes at the same time because they are geared together with GR (operating on the master axis switches).  Then, if axis squaring is checked in the config, it will decouple the axes and home the slaved axis to it's switches and then recouple the axes.  This second op should not move the axis very much.  Just enough to square the gantry.  In theory, that's how it should work.  But I have no way of testing it because I don't have a gantry machine.

Steve

965
Galil / Re: Multi-pull Galil controllers
« on: December 14, 2010, 01:15:08 AM »
Using two Galil controllers to gain axes is not possible.  :(

Also, you will need to use USB for the connection instead of Serial.

Steve

966
Mach is generating the tool path at this point, so it's not a true simulation.  MainPlanner->PathGenerate is set to true when the gcode file is loading.  Stick this in your update loop to keep your plugin quiet while loading a file:

Code: [Select]
if (MainPlanner->PathGenerate) {
return;
}

967
Mach SDK plugin questions and answers. / Re: Communicate RS232 port
« on: December 11, 2010, 12:42:28 AM »
I would use the Windows API to do the serial port duties.  Have a look at CreateFile(), WriteFile(), ReadFile(), and DeviceIoControl();

CreateFile uses the NT namespace to open a device.  "\\.\COM1" would operate on COM1, etc...  Remember that the backslash is an escape character in C/C++, so in the code, the device path would be "\\\\.\\COM1"

Steve

968
Contec / Re: Which Contec cards work with the plugin and which don't
« on: November 21, 2010, 11:59:23 PM »
Any of the PIO(PCI) series cards should work.  Oly the PIO-16/16T(PCI)H has been tested.

Basically, here are the list of likely candidates:

16 input / 16 output
PIO-16/16T(PCI)H - TTL (5v input/open collector output to 30v)
PIO-16/16L(PCI)H - Low voltage (12v - 24v input/output)
PIO-16/16H(PCI)H - High voltage (24v - 48v input/output)

32 input / 32 output
PIO-16/16T(PCI)H - TTL (5v input/open collector output to 30v)
PIO-16/16L(PCI)H - Low voltage (12v - 24v input/output)
PIO-16/16H(PCI)H - High voltage (24v - 48v input/output)

The "bi-directional" cards are not supported by the PIO plugin.

Steve

969
Galil / Re: Mach with galil reliability
« on: November 19, 2010, 02:12:28 AM »
I would say that the only reason you would ever see a run away axis with Mach/Galil is if you had an encoder failure.  And if you set OE (Off on Error), the Galil would stop even that in short order.

970
Galil / Re: Edit Galil Plugin
« on: November 19, 2010, 02:06:20 AM »
The problem with the 1341 and my OpenBSD hack is that I wrote the VME bus driver (I was "Mr. VME" at OpenBSD for many years) specifically for the Fanuc SBC.  It will run on no other hardware.  And the VME driver is not in the OpenBSD source tree.  So the 1341 will never really be possible to use with Mach.  :(

Steve