Hello Guest it is March 29, 2024, 07:26:50 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 - RedBlob

Pages: « 1 2 3 »
11
General Mach Discussion / Path not correct
« on: June 11, 2008, 05:15:38 AM »
Dear Support,

I write this for the following problem on Mach 3 - Release 2.63 on Win XP.

We use our CNC for milling lots of equal pieces.
We fix the start panel on work table and go with the program on Mach 3 for the entire day ( we start the program every 30-32 minutes )
The software and the CNC work very well, with good precision and a good speed.

But after some pieces ( 1, 2, 3, 5, 10 .... ) the program has a strange behavior :
the path is wrong of a lot of millimeters ( sometimes 100, sometimes 30, sometimes 10 ) , the tool breakes and I must restart the machine.
But the path is not wrong when the program starts ... is wrong after 2000/3000 step of program !!!!

Some days, with the same program, the CNC work well for the entire day !!!!!!

I have checked the position of Mach 3 axes and it tell me that the position is OK but the axis is wrong of a lot of millimeters !!!

Is like sometimes Mach 3 think to have made 100 mm of travel but are made only 80 mm.
If I restart the program the machine work good.

How is possible ?

Bye
Maurizio










12
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 11:35:35 AM »
Dear Graham,

Thanks for your help and for your time !
Best Regards.

Maurizio

13
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 11:25:38 AM »
Hi Graham,

thank you for your help.
I have just tested that code and it work well.
If I use the G52 code all subroutines work well and the multiple object are OK.

But if I use the programming with expression ( like [#9001+2.35]) the software work not good.

I prefer to use the expression because the position of objecs are calculated with a numeric procedure ( the code I posted is only a part of a complex program).

Do you know why my code with expression don't work well ?
There is a reason ?
I have also seen that in the preview window the tool path is not correct ..... there are a lot of white lines that are not included in my theorical path of tool.
Do you Know bugs about programming with expression ?

Thanks.
Maurizio



14
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 10:17:11 AM »
Dear Lakeside,

I haven't programmed offset or G55 function.

I use the subroutine to repeat the same object in different position ( the object can be repeated 50-60 times on the same program ).

Regards
Maurizio

15
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 09:42:24 AM »
I have tried it but have the same behavior of my program.

The first object is OK.
After the CNC goes to the second object, make the first G01 code and now go to the coordinates of first object.
The result is a jump from the second to the first object for 3 times when he work on the same object.

If I load your Gcode on Mach3 l see the jump from a object to other.

Maurizio


16
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 08:33:38 AM »
Hi Graham,

If you load the code on Mach 3 you will see that the first object is OK.
The second object ( called the second time from the same subroutine ) has some jump form the second toolpath to the first toolpath.
You can see this problem also from the toolpath window.

I have also tried to work on CNC but the tool has been broken from this strange return to the first object.

If I write the same program without subroutines but with only one program the second object is OK.

The same problem will occour if I repeat 3-4-5 times the same subroutine.

I think that is a problem on program but I have not understand where !!!!



17
General Mach Discussion / Strange toolpath
« on: October 15, 2007, 07:40:51 AM »
Hi,

I have written the following code but I don't understand why the first subroutine work good and the second make a strange toolpath ( the tool goes on a wrong path ).

If I add the thirth subroutine the path is still wrong.

Can you help me ?

Where is my error ?

Thanks.
Maurizio




(#9001 = QUOTA OFFSET ASSE X )
(#9002 = QUOTA OFFSET ASSE Y )

(--------------------------------------------------------------------------)
(                 INIZIALIZZAZIONE MACCHINA                )
(--------------------------------------------------------------------------)

(- SELEZIONE PIANO XY INTERPOLAZIONE -)
G17

(- EXACT STOP MODE -)
G61

(- ABSOLUTE DISTANCE MODE -)
G90

(- NESSUNA CORREZIONE UTENSILE -)
G40

(- MANDRINO FERMO -)
M5

(- RESET OFFSET -)
G92.1


(--------------------------------------------------------------------------)
(                 POSIZIONAMENTO IN SICUREZZA          )
(--------------------------------------------------------------------------)

G01 Z200 F3000
G01 X0 Y0 F3000
 
M3
G04 P3


(--------------------------------------------------------------------------)
(         REALIZZAZIONE CONNETTORE DB9                )
(--------------------------------------------------------------------------)


(*** CONNETTORE DB9 IN ALTO SX *** )

G01 Z10 F3000

#9001=37.25
#9002=125.50

M98 P1001 L1


(*** CONNETTORE DB9 IN ALTO DX *** )

G01 Z10 F3000

#9001=100.75
#9002=125.50

M98 P1001 L1



(--------------------------------------------------------------------------)
(                 POSIZIONAMENTO IN SICUREZZA           )
(--------------------------------------------------------------------------)

G01 Z200 F3000
G01 X0 Y0 F3000


M5

M30




(**************************************************************************)
(**************************************************************************)
(                              SUBROUTINES                                 )
(**************************************************************************)
(**************************************************************************)



(**************************************************************************)
(* CONNETTORE DB9 SU PANNELLO 2 MM                                        *)
(**************************************************************************)

O1001

G01 Z10 F3000

G01 X[#9001] Y[#9002] F3000

G01 Z2 F3000

G01 Z-1 F120

G41
G01 X[#9001+0.00] Y[#9002+5.15] F120
G01 X[#9001-6.95] Y[#9002+5.15] F120
G03 X[#9001-9.45] Y[#9002+2.65] J-2.50 F120
G01 X[#9001-8.44] Y[#9002-2.65] F120              (QUOTA CORRETTA PER ESTETICA)
G03 X[#9001-5.98] Y[#9002-5.15] I2.5 F120
G01 X[#9001+5.98] Y[#9002-5.15] F120
G03 X[#9001+8.44] Y[#9002-3.08] J2.5 F120
G01 X[#9001+9.45] Y[#9002+2.65] F120
G03 X[#9001+6.95] Y[#9002+5.15] I-2.5 F120
G01 X[#9001+0.00] Y[#9002+5.15] F120
G01 X[#9001+0.00] Y[#9002+0.00] F120
G40

G01 Z2 F3000
G01 X[#9001-12.5] Y[#9002+0.00] F3000
G01 Z-1 F120

G41
G01 X[#9001-12.5] Y[#9002+1.6] F120
G03 X[#9001-12.5] Y[#9002-1.6] J-1.6 F120
G03 X[#9001-12.5] Y[#9002+1.6] J1.6 F120
G40

G01 Z2 F3000

G01 X[#9001+12.5] Y[#9002+0.00] F3000

G01 Z-1 F120

G41
G01 X[#9001+12.50] Y[#9002+1.6] F120
G03 X[#9001+12.50] Y[#9002-1.6] J-1.6 F120
G03 X[#9001+12.50] Y[#9002+1.6] J1.6 F120
G40

G01 Z10 F3000


M99

(**************************************************************************)



18
General Mach Discussion / Re: Lost Step on complex program
« on: September 03, 2007, 12:41:11 PM »
Hi jimpinder,

I have tried also this test.
If I make only 10-15 circle the start position and the stop position are the same.

If I make 1000 circle the start position and the stop position are different.... after 100 circle error is 0.02 .... after 200 circle error is 0.08... after 500 circle error is 0.3 mm after 1000 circle error is 0.7 mm.

So if I make 1000 pieces with the same hole in the same position the last piece will have a center of hole different of 0.7 mm from the first piece.
This problem is not visible if I work with other software .... this is the reason that I presume the problem is the Mach3.

19
General Mach Discussion / Re: Lost Step on complex program
« on: September 03, 2007, 10:49:43 AM »
I have tried at low, medium and high speed.
The result is always the same.
If I work at low speed sometimes is a little worst situation .... the time of cycle is higher and the number of step lost are higher.

If I work at maximum speed sometimes I haven't an error !!!!!!

Maurizio

20
General Mach Discussion / Lost Step on complex program
« on: September 03, 2007, 09:36:01 AM »
Good afternoon,

I have a big problem on my CNC with Mach3.
My CNC is equipped with 3 precision screw ( zero backlash ) and 3 industrial servocontroller for stepper motor.
The power supply is controlled by a continuity group.
The PC is a P4, 2.6 GHz, Win XP Pro with all services shut down.
The PC is not connected to Internet ans is not connected on local Ethernet.
All functions on Windows are programmed to have the maximum performance of program ( no stand-by, no screeen-saver, minimum color on graphic controller, no other program installed ).
I have enabled the "enhanced pulsing" and the "sherline mode" on Mach3.
The motor has 800 step/rev , the screw is 5 mm , the maximum speed programmed is 1000 mm/m, the acceleration is 100.

There are not problem if I load a simple program : I can go to a whichever position and a whichever feed rate and the position is ok ( I have used a digital probe to test the position and the machine have no errors ).
I have also tried to make 100 cycle of go-return from 0 to 1000 mm and the final position is OK.

When I load a program with subroutine, circular interpolation, and number of lines higher than 200-300 I have a big problem:
After a complete cycle ( 40 minute of work) the position of 3 axis is not correct !!!!
Each axis have a error from 0.01 to 0.8 mm and depend on how many "step are lost".
I have noticed that every some minute a little "tic" there is on one axis ... the axis lost some steps and the correct position is lost.
I have tested the machine for 3 days and I have not found the cause.

I have also installed an other CNC software but the problem with the other software there isn't.

Another strange thing ......
If I make 3 times the same cycle the error is not the same .... sometimes is bigger, sometimes is lower.

I have tried to test the machine with driver test of Mach3 and is all OK.
The Kernel is set to 25000 Hz.
The Diagnostic window tell me that all is OK.


Have you some idea to solve the problem ?

Thanks
Maurizio


Pages: « 1 2 3 »