Hello Guest it is October 31, 2024, 08:14:03 PM

Author Topic: Motion starts like in the picture  (Read 3946 times)

0 Members and 1 Guest are viewing this topic.

Motion starts like in the picture
« on: November 30, 2007, 01:37:03 AM »


Modals are G15 G1 G17 G40 G21 G90 G94 G54 G43 G99 G61 G97

also the program is like:
N10 G90
N11 G61
N12 G54
N16 T1 M6
N18 S40000 M3
N20 G0 X16. Y21.28
N22 G43 Z10. H1
N24 G0 Z15.
N26 M40
N28 G1 Z0. F800.
N30 G1 X44.75 F2500.
N32 G0 Z15.
N34 G0 X44.75 Y25.28
N36 G1 Z0. F800.
N38 G1 X16. F2500.
N40 G0 Z15.
N42 G0 X16. Y29.28
N44 G1 Z0. F800.
N46 G1 X44.75 F2500.
N48 G0 Z15.
N50 G0 X44.75 Y33.28
N52 G1 Z0. F800.
N54 G1 X16. F2500.
N56 G0 Z15.
N58 G0 X16. Y37.28
N60 G1 Z0. F800.
N62 G1 X44.75 F2500.
N64 G0 Z15.
N66 G0 X44.75 Y41.28
N68 G1 Z0. F800.
N70 G1 X16. F2500.
N72 G0 Z15.
N74 G0 X16. Y45.28
N76 G1 Z0. F800.
N78 G1 X44.75 F2500.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
Re: Motion starts like in the picture
« Reply #1 on: November 30, 2007, 11:04:22 PM »
Hi, lazimolur

Don't really now what your trying to do, Trying to cut slots and testing tool & fixture offset's or just cutting slot's ?

These post's really should be in "G-Code, CAD, and CAM discussions".

A word or two would help, The M40 in the code is used for probing in Mach, What are your tool & Fixture setting's ?

Is it that the G40 isn't canceling the tool cutter radius compensation ?

Let us now, Chip
Re: Motion starts like in the picture
« Reply #2 on: December 03, 2007, 09:45:21 AM »
Hi,

There must be a line but the motion is like in the picture. There is no tool offset (Diameter of tool is 0) and also I don't use G41 or G42.

m40 script is
DoOemButton(235)

Re: Motion starts like in the picture
« Reply #3 on: December 03, 2007, 12:28:36 PM »
The lines are 0.7mm
The drawing on the picture is for showing the actual motion. But the programmed motion is only a line.

Circles (on the drawing) are at the true positions. But after g1 z..., every motion g1 x... or g1 y... or g1 x..y..  motions are like 0.2mm to right w.r.t direction of the motion and line and  at the end 0.2mm left (back to the true position).

For example:
Initial position x=0,y=0,z=0
g1 z-15 => x=0,y=0,z-15
g1 x20 =>x=0,y=0.2,z-15  and x20,y=0.2,z-15 and x=20,y=0,z=-15
g1 y20 =>x=20.2,y=0,z-15 and x=20.2,y=20,z-15 and x=20,y=20,z=-15
g1 x0 y0 => x=19.9,y=20.1,z-15 and x=-0.1,y=0.1,z=-15 and x=0,y=0,z=-15

There is no tool offset, there is no G41,G42 command.