Hello Guest it is September 26, 2020, 02:14:04 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

Mach4 General Discussion / Re: Machine Position 0,0,0 reset???
« on: November 06, 2015, 08:31:26 PM »
When you home the machine, move the the axes to the part zero.  Zero out the DROs.  Now the G54 fixture offset is in place.  Click on the "machine coordinates".  This is how far you are from the home position.  Write down the X and Y values.  Say X machine pos is -12 and Y machine pos is -8.  (Just generalizing)

Then, modify your G code program.  Add

G10 L2 P1 X-12 X-8

after your program initialization lines and before any movement. 

Done.  Now all you have to do is home the machine and run the program.  This assumes that the vise or fixture is always in the same place on the table and the part zero never changes. 

That is how you set a fixture offset in a program.

Now...  one question I have is why is your G54 fixture offset getting cleared when you home your machine?  Mine doesn't.  I can home my machine, move to and set part zero, home my machine, and then press "goto zero" and I'm right back at part zero.  Try it with Sim.  Works every time with the default profile.  Nothing in Mach is clearing the G54 offset.  Maybe the motion plugin is not setting the home position to machine 0?


Mach4 General Discussion / Re: Machine Position 0,0,0 reset???
« on: November 06, 2015, 03:58:34 PM »
Have a look at G10.  But as Gerry says, it depends on accurate homing.

G10 L2 P1 X_ Y_ Z_

The L word/address specifies the type of offset.  L2 for fixture offsets.
The P word/address specifies the fixture offset to set.  P1 for G54, P2 for G55, etc..


Galil / Re: DMC-2143 time out
« on: November 05, 2015, 06:29:39 PM »
I don't have any of the older plugins.  :(  I can tel you that 4.5 fixed a lot of things, so running anything older than that is just not going to be a good idea.  But I do not understand why 4.6 loads the processor!  I'm running 4.6 against a 4080 controller (external amps) with Mach 3 on an ATOM processor and I never see about 20% CPU utilization.  So something on your hardware must be causing it.  Check your Ethernet device settings and see if there are some performance features that you can turn on. 

4.6 has been around a long time now.  So I had thought it was pretty reliable. 


Galil / Re: DMC-2143 time out
« on: November 05, 2015, 12:12:24 PM »
I tuned tuned the servos by hand on my machine and I don't think I even used an oscilloscope!  But I have tuned so many servo systems that I have developed a feel for it.  I don't have Galil tools with the scope, so I don't know that I can get what you want.  :(


Galil / Re: DMC-2143 time out
« on: November 04, 2015, 04:12:40 PM »
For some reason, I quit getting forum notifications.  Sorry about that.  :(

Most people that run the Galil are using it so they can drive servos.  So you are in a VERY small group.  :(


Galil / Re: Galil controller compatability (what works with the plugin)
« on: November 04, 2015, 04:05:36 PM »
I'm setting up a Bridgeport mill with a Galil 4080 connected to 30A20ac Advance Motion Control. I will use -10/+10 vdc control between the 4080 and the 30a20ac. The 30a20ac has inputs to inhibit direction that can be used to prevent going in the wrong direction when backing off a limit. Should I hook them up, or will the software take care of this? The drive motor has a CFW-08 Weg drive, I can control it with -10/+10 vdc also, or order a serial rs485 card. What option would work best with my setup? I'm leaning toward the -10/+10vdc to the 4080 because it has extra axis and I will be putting an encoder on the spindle at some point. (After Mach 4 gets rigid tapping) How difficult will it be to use the i/o on the 4080? I have the option to use i/o on pokeys 56E that my PoNET kbd48CNC keyboard is connected to, if the Galil plug-in doesn't support extended i/o. Could I get the Galil plug-in to try out, who would I speak with?

If you use the Galil limit inputs, the Galil will take care of it.  Otherwise, I would hook the drive signals up.  I use both on my machine.  Never hurts to be safe.

I would use +-10v.

IO, both general and extended, are easily used through the plugin.

The plugin for Mach 3 is available on the plugins download section of the website.  The M4 plugin has not been released yet.  :(


Galil / Re: Galil controller compatability (what works with the plugin)
« on: November 04, 2015, 04:01:41 PM »
Hi I am a little confused. I have a 2240 with Ethernet, the manual says it has contour mode. Will it work with the Mach 4 plugin when its released? Or should I just go with Mach 3 & the existing plugin, If so how well would it work?

Yes, it does indeed have contour mode.  However, it does not have a contour buffer large enough to run contour mode over the Ethernet.  It's only one slot deep!  This, in effect, makes it impossible to use Contour mode on these controllers.


Galil / Re: buy Mach4 yet? for a Galil DMC 2133?
« on: November 04, 2015, 03:56:04 PM »
Unfortunately, the M4 Galil plugin is still in Alpha stage.  Estimated time out now is the end of the year.  But that could change.


Galil / Re: Controlling a SuperPID w/ Galil 1842 and Mach3
« on: November 04, 2015, 03:53:56 PM »
Unfortunately, it is not possible to run a PWM spindle with the Galil plugin.


Mach4 General Discussion / Re: Showing selected axis
« on: November 03, 2015, 07:48:51 PM »
It works fine.  In 2788, the way MPGs are handled internally is different.  Now there is the concept of encoders that plugins can "export".  And there is a new tab on the Mach config labeled "MPG" of all things.  :)  In that tab, the user can associate a Mach MPG (12 to choose from) to an encoder from any device.  %max vel and %max accel are there as well as reversing the direction. 

For many of you, if you had script based setup of the MPGs, then that stuff will need to go away.

The shuttle plugin exports 1 encoder.  The center wheel.  Additional button functions were added to allow the MPG axis selection as well.  One thing to note is that MPGs are separate than regular jogs.  The MPG axis can be selected independently of the jog axis.  Currently, there is not a way to select both the MPG axis AND the jog axis with one button function.  Not sure how to handle that at the moment. 

My setup is as follows:

MPG#1 -> /Shuttle0/InnerWheelCount, 1 count per detent, accel% 25, velocity% 35, reversed.

The first 4 buttons in the top row of the shuttle pro are:
1.  MPG1 Select X
2.  MPG1 Select Y
3.  MPG1 Select Z
4.  MPG1 Select A

The MPG increment is the current jog increment by default. 

So all I do is press one of my 4 buttons to select the desired axis and start dialing away on the wheel.  And it works really well.  I wish the detents were a little more noticeable on the shuttle, but it is what it is...

MPG#0 is configured to another MPG, so that is why I used MPG#1 for the shuttle.