Hello Guest it is March 03, 2024, 09:45:12 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 - bbutcher

Pages: « 1 2 3 4 5 6 »
Galil / Re: Configure Plugins>>Galil.... then mach3 freezes
« on: September 08, 2018, 07:43:58 AM »
I have the same problem. I am using a DMC 1750, and have only three axes enabled. I can create a new profile and configure the Galil plugin one time, but trying to configure a second time locks up mach 3 due to a time out. I have to close the Mach3 screen to recover. I want to add a 4th axis plus a 5th to operate my spindle.

I have a DMC1750 with ICM1900 connected to three axes with servo motors and encoders. High and low limit switches on all axes. Windows 2000 OS, licensed Mach 3 Version R3.043.066, Galil-ST plugin ver 4.6. All connections to ICM1900 verified, and correctly mapped into Mach3 and tested using diagnostics screen.

I am adding a 4th axis and rewired my controller. The result of rewiring is I now have a servo motor reversed on the X axis, but this was worked out in Galil SmartTerm. When I click on the yellow config button in Config plugins, I get an error message "timed out waiting for a response" or something like that. Mach 3 screen locks up and must be closed. The only way I can change my motor configuration is to create a new profile, which I have done and have it configured and all 3 axes moving, limits working, and DROs working accurately while motors are being driven or jogged. The 4th axis is not enabled yet. However when I click Reset and move the stage manually the DRO does not change (same on all 3 axes). I also cannot config the Galil ST ver 4.6 plugin a second time without creating another new profile.

When I load my old profile, I can move the stages and the DROs follow the movement accurately, which they did for years before the changes. Of course I cannot Reset since my X-axis motor takes off, being reversed from what it was previously. I have checked every config screen I can find, and they are identical between the two profiles. Of course I cannot check my galil ST plugin configuration on the original profile. Since the old profile works as before regarding the DROs, I do not believe it to be a wiring issue.

Two questions, how do I get the new profile DRO to follow the motor encoders when manually moving with reset activated. Second question how do I fix the Galil config problem.

Galil / Re: Galil + G31+ Mach3
« on: September 17, 2016, 12:55:55 AM »
OK, I got it working, but I will add the other two axes tomorrow.

Galil / Re: Galil + G31+ Mach3
« on: September 16, 2016, 09:30:03 PM »
OK, Thank you. I did find the XLATCH, YLATCH, and ZLATCH pins on the ICM1900. I will try connecting to the ZLATCH input since for now I only need to zero the Z-axis.
I agree the Galil is a powerful controller, and I have been using it successfully for several years now with Mach3. I just recently decided to try the Auto Tool Zero button.
If I understand Mach3 takes care of the AL and RL commands to SmartTerm.


Galil / Re: Galil + G31+ Mach3
« on: September 16, 2016, 11:42:52 AM »
How have you wired the probe?  On the Galil, we use the latch inputs.  Input 1 = X, 2 = Y, 3 = Z, etc...  If your Z axis is Galil axis 3, then the probe needs to be wired to input 3.  Also, the DIGITIZE signal needs to be mapped to the input #3's pin number.  All this is fine if all you want to probe is Z moves.  But if you want to do X, Y, and Z, then the probe needs to be wired to inputs 1, 2, and 3.  Then you need a brain to set DIGITIZE signal based on if either input 1, 2, or 3 is high.


I am having the same problem. You say to use the "Latch inputs" . I am confused what you are calling Latch inputs, I do not find any Latch inputs in Mach3 Config either Ports & Pins or the Galil plugin. In another post you say to use Input 3 for the Z-axis. Is this Input 3 in Mach3 Config-Ports & Pins-Inputs or is it Input 3 on the Galil ICM1900, ?
Do I not use the probe input? Right now I am using Galil Input 6 and assigning Probe to pin 30, Active Low. When I use the Mach3 diagnostics window I see the Digitize LED is on and when I touch the touch pad to the tool, the Digitize LED goes off.
When I try to run G31 Z-1 F4 I get a message "Probe Ignore, activated at call for probe" and the Z-axis does not move down. If I touch the probe to ground, then run G31 Z-1 the Z-axis moves down to -1 but does not stop if I either touch or remove the ground from the probe pad.

Galil / Re: Trouble with RESET
« on: August 27, 2016, 04:29:27 PM »
I am having trouble with my reset also. I am running Mach 3 ver R3.043.066 with the Galil-st.m3p ver 4.6 under Windows 2000. I have servo motors on 3 axes of a Bridgeport mill, and had everything working using a DMC-1750 controller. I had a problem with a short from +15V to -15V on my ICM-1900 board that damaged the 100 pin connector and one trace on the circuit board. I replaced the ICM-1900 and now I only seem to have the X-axis working. The servo motors on Y & Z axis do not move.

I tried another PC using Windows XP and a DMC-1830 controller with the same ICM-1900 board and same motor amplifiers (Copeley) and same servo motors. It has the same version of Mach3 and Galil plugin. All three motors seem to move the correct direction and distance on command. However the reset is odd; on initial reset it responds "Galil Reset complete" and the motors are power on and locked in place. Further clicks of Reset appear OK in the Mach3 window, but the motors do not power down as before (maybe not sending MO on reset?) Also, the DRO's do not respond to the motor movement, either manual or G1 moves. They remain at zero.

Any ideas would be helpful. It is possible I did not set up the plugin correctly, but I see no way to reinstall the plugin without reinstalling Mach3 and starting over.
Bob Butcher

Galil / Re: odd problem with DRO's
« on: August 27, 2016, 03:52:56 PM »
I re-ran the test on the DMC-1830 and the DP counter is working correctly. I do have ver 4.6 of Galil-st.m3p installed. Do you know where I can find ver 4.4?

General Mach Discussion / Re: Confused about work offsets
« on: October 28, 2015, 09:56:48 AM »
OK, thank you. I did watch the video and it does explain it and I think I understand what I need to do. I am using BobCad CAM to generate most of my code, and the post processor typically adds a G54 command to all programs. I normally move my tool to the left rear corner of my part being held in a vice, lower the tool until touching the top, and then zero all axes. Normally the DROs will display the location of the tool as called out in the G-code, and all is well. However I have had the tool move off the part and start trying to cut in the wrong location, sometimes in air if I am lucky, but sometimes ruining the part by making a cut where it was not intended. When this happens the G-code is calling the correct location, but the DRO is reading a different number. I suspect somehow my G-code must have commanded a different offset (G55 maybe) in the middle of the program. I will watch my code now that I understand that when another offset is in effect, the DRO should read differently than what is being called.

From what I read in the G-code description if my code calls a G53 command, this only applies to one line of code, so I should avoid using G53.

General Mach Discussion / Confused about work offsets
« on: October 24, 2015, 07:22:38 PM »
I have Mach3 interfaced with a Galil plug-in running a 3 axis Bridgeport that I converted to CNC. For a year or two, everything was fine, but now I seem to have somehow assigned work offsets that I do not want. I cannot seem to set the offsets to zero since that just changes the DRO reading, and setting the DRO to zero changes the offset. For example my X offset is -3.6 inches and Y is 1.6 inches (G54). I have tried using other Fixtures (G55, etc) to no avail. I also tried using G53 in my G-Code to run in machine coordinates, which works sometimes, but then the offset will appear later in the program.

I want to set the corner of my vice to be X0 & Y0 and lower the tool until touching the part and set Z0 at this point. In fact I have added a tool change subroutine at the end of my G-code that is called whenever a tool change is required (no auto tool changer). The subroutine executes an M0 command where I can press Stop and use the button jog to lower the tool to the correct height. Then I click on Cycle Start to continue the program.

I am using BobCad CAM to generate the G-code, and I always select "Override Offsets" which seems to only apply to tool offsets. I have gone into the code and edited to replace all instances of G54 with G53, which seems to work sometimes.

One possible problem area is that my limit switches are wired directly to my motor amplifiers to stop motion by disabling the amplifier when a limit switch is reached. There is no connection for X Home, Y Home, or Z Home in Mach3.

Since I am interfacing with a Galil card, the parallel ports are disabled, and if I need to hardwire a home switch in I need to use the digital inputs on the Galil card instead and assign the pin to a higher number (pin45 is Galil digital Input 5 for example).

I am attaching a G-code that I am presently trying to run. This code is supposed to peck drill a series of holes using T1 (1/4 dia drill bit), which it does drill in the correct location. After the tool change called by line N31, tool T2 (1/4 dia end mill) is supposed to cut the drilled holes into slots. The slot cutting operation occurs several inches off my part, determined by the work offset G54. I also get an error in line N37 stating that the arc end and start have a different radius. This error is displayed when I load the code, but it seems to run OK up through line N33.

I have a copy of Mach3 on another computer that I use for testing my code, and the program runs fine with no error shown for line N37. Of course this computer is not connected to any machine, so I would not see an offset error.

I noticed it is possible to assign a Hot Key for the Home positions, but I am not sure just how to use that to simulate a home position. Any suggestions for how to fix this would be appreciated.

Bob Butcher

Galil / Re: Output Configuration
« on: February 22, 2015, 03:22:11 AM »
I am using Mach3 with a Galil 1850 (ISA) controller and it works fine. I also want to add mist coolant, flood coolant, and  spindle drive features. I purchased a parallel port Mach3 breakout board and cable, and have configured Mach3 to use pin1 for the spindle CCW, pin2 for the spindle CW, pin3 for M8, and pin4 for M7, and unchecked the disable spindle and flood/mist relays boxes. I also selected PWM control of the spindle, and intend to use the 0-10 volt output to drive my VFD on the spindle motor.  

I have the breakout board connected with a pin to pin DB25 cable to LPT1 (selected as the port in setup), and with a USB cable to provide 5 volt power to the breakout board as required. I also have an external 24V power supply connected to the breakout board 24V and Gnd pins.

Relays 1 and 2 are both on, and the 0-10V signal is at 9.986 volts. I have run driver test.exe and all is excellent up to and including 100 kHz. Sending M7, M8, M9, M2, M3, and M4 commands show the expected LED's on the diagnostic screen, but the relays never change. Changing speed (e.g. S2000) changes the speed in the speed window, but the 0-10V signal never changes. The relays only change very briefly when I use Explorer to navigate to a file, but soon return to the previous state. I checked Pin 4 of the cable and it remains at 5 volts regardless of sending M9 or M7 commands.

When I installed Mach3 I Selected Parallel Port Driver in the Select Program Components Screen, but I had to chose the Galil-st-Barker etc. option instead of printer port on the Select Control Device Screen. Does this disable the printer port? Is it feasible to use the break-out board with the Galil controller, or do I need to use the Galil output pins to control relays?

If I need to use Galil pins to control the spindle, is there a good way to create the 0-10 volt signal? I do have servo motors and amplifiers that use a -10 to +10 volt signal and a spare axis which might be of some use. If necessary I could also set up a micro-controller with PWM output and a 3 bit input to get a variable DC level, but that seems rather difficult.


Pages: « 1 2 3 4 5 6 »