Hello Guest it is April 25, 2024, 04:55:55 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.


Topics - simonk

Pages: 1
1
G-Code, CAD, and CAM discussions / How to do something during G1 move
« on: March 07, 2011, 04:40:27 AM »
Hello!

I am wondering how to make CNC machine to do something during G1 move - like turning Spindle ON/OFF (M3/M5) or Coolant ON/OFF (M7/M9). I'm using these M codes (M3,M5,M7,M9) as general I/O pins (M3/M5 for adding/removing glue and M7/M9 for filling cylinder with glue).

I would like to move machine from coordinate Y800 to Y1000 with G1 move. But because of the reduced speed at the end and a slight delay in my system, i am getting too much glue on the surface on every change in direction. I cannot reduce or change the speed of adding glue digitally. So my idea is to switch off adding glue just before the end of the move - like at Y950. But is it possible without stopping in this coordinate?

The solution like this:

G1 Y800
G1 Y950
M5
G1 Y1000

is not working good, because CNC machine almost stops at Y950 and again i'm getting too much glue.

Thank for any advice!
best regards,
Simon



Pages: 1