*G code

Hi,
Is there anyone here familiar with G code?

I have 3 axis robots; I control it with EMC2 by writing G code. I have a simple question.
I want to move all 3 axes (links, X , Y, Z) of my robot at the same time with different velocity. I don’t know how can write a g code for it. I try G1, but this code is just for single velocity (feed).for example : I want to put different destination for each axsi

x 2 F 100 y 3 F 200 z 5 F 400( It means goes to x=2 bye velocity of 100 and goes to Y=3 … but the important thing is I want to start to move at the same time )

Is it possible (by g code) to give just start and end position and the controller is adjusting the velocity for this group movement to move and stop at the same time?

Thank in advance
edris

Yes!

I generate Gcode with Vector CAD/CAM program, or write it by hand all the time.

Just pick your feed rate ‘F’ one time, then code your 3 axis moves.

F100 x2 y3 z5

You can’t have multiple “words” of the same time in a single block (line).

This is called a “coordinated move”, and that’s where CNC shines. You specify your end points in a single block (line of text), and the Gcode interpreter calculates the three rates that the axis have to move in order to get the cutter (or end effector!) to the end points all at the same time! We do that similarly with the SSC-32 and R/C servos.

Have you checked out the CAD_CAM_EDM_DRO list? Or the SherlineCNC list? Good information for EMC2 and CNC there!

Maybe tell us a little more about your robot and how you’re controlling it with Gcode? Certainly should do the job!

Alan KM6VV