Author Topic: Does Mach calculate accel/velocity rates for G53 any different than G00  (Read 2967 times)

0 Members and 1 Guest are viewing this topic.

Offline cheubach

  • Active Member
  • Posts: 5
    • View Profile
Does Mach calculate accel and velocity rates for a G53 Absolute machine coordinate move any differently than it does for G00 move in the programs?
I can set the velocity to 1600 in per min and the accel to 35 in per min on my EZ Router Scorpion table and it will run G00 moves smoothly all day long, but as soon as it runs a G53 move it will respond very jerky and usually faults one of the axis servo motors. I have had to compensate by reducing the velocity to 1000 and the accel to 20 in per min but it is still always jerky with a G53 and smooth with a G00. Does anyone have any ideas what I need to do to correct this?

Offline jimpinder

  • Active Member
  • Posts: 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: Does Mach calculate accel/velocity rates for G53 any different than G00
« Reply #1 on: January 09, 2009, 02:35:10 PM »
The machine keeps its position in Machine Co-ordinates. The 0.0.0 position is determined by the position of your "Home"switches - if any. If you do not have home switches connected then the machine will "Ref All Home" anywhere.- but for this explanation we must assume you have them fitted.

The "Home" position will probably not be relevant for machining, and certainly not relevant to your "program co-ordinates" position. To set the program co-ordinates position, you jog to the 0.0.0 position of your program and zero the DRO's for each axis. (NOT Ref All Home - but the zero x zeroy etc,) If you check the Program Co-ordinates position, this will now show 0.0.0, whereas the Machine Co-ordinates position will show the offset of the present position from the machines "Home" position.

A G0 move is relative to the Program Co-ordinates 0.0.0 position, whereas a G53 is relative to the Machine Co-ordinates position.

G53 is "Move in Absolute Co-ordinates" and is used where you want the machine to move to a particular position (relative to the machine co-ordinates) for a specific purpose e.g. tool changing, irrespective of any other offsets (Program or Tool offsets) that are being used. It should not, as far as I know, be used for general machining purposes.

Using G0 you can then take advantage of Constant velocity, where the next line commences moving before the present line is finished, and the program melds the two into a smooth change of directio i.e. constant velocity.

Using G53 - this cannot take place, because the overriding instruction is go to a specific point (and in constant velocity that point is never reached)

Without Constant Velocity, cutting arcs, which on most Cam programs are made up of many, many little straight lines, each line must complete and STOP, before the next line can start, giving a very jerky movement, and this is the effect you are seeing.

I suspect you have the 0.0.0 position of Machine and Program co-ordinates co-incidental, and therefore, although I don't know why, you are using a string of G53 commands for general machining. Being co-incidental doesn't matter - it is using the G53 that is making the difference. G53 should only be used for single movements to specific places.





Not me driving the engine - I'm better looking.

Offline cheubach

  • Active Member
  • Posts: 5
    • View Profile
Re: Does Mach calculate accel/velocity rates for G53 any different than G00
« Reply #2 on: January 09, 2009, 08:55:31 PM »
Thanks for the reply.
I do not use the g53 in any machining processes. I use BobCadcam and the g53 command is used at the end of each machine function, It is used only to go to the machine zero coordinates. The way it outputs now the Z axis is sent to zero and then on the next line the X and Y axis are both sent to zero simultaneously that is when it gets jerky. I am will try and modify the program file and see if I can get it to work if I separate each of the axis to a separate line and see if they will move one at a time to there zero.

Offline Graham Waterworth

  • Administrator
  • *
  • Posts: 1,845
  • West Yorkshire, England
    • View Profile
    • Autovalues Engineering
Re: Does Mach calculate accel/velocity rates for G53 any different than G00
« Reply #3 on: January 10, 2009, 12:09:29 PM »
Try changing the G53 lines to :-

G91 G28 Z0
G28 X0 Y0

and see if that is smooth.

Graham
G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England