Hello Guest it is April 25, 2024, 10:51:34 PM

Author Topic: Mach3 M0 problem  (Read 1046 times)

0 Members and 1 Guest are viewing this topic.

Mach3 M0 problem
« on: May 25, 2022, 07:10:30 AM »
Hello. I made 1 CNC Wih Mach3 and I have a few problems.

I wrote program (A is rotating axis):
.
.
.
.
G0 A90
G4 P10
M0
G0 A180
.
.

M30

When I Press Start button in the middle of delay the program immediatelly jumps to G0 A180. Our wish is wait until delay is done and go further after press Start button (after the delay is ended).

This A axis is for welding. We need to weld 370deg stop welding and move the axis to 390deg in the middle of stopping welding. I made a variable (with value370deg) to compare the actual position of axis A with variable. When I want to turn axis to zero by Ang short rot on G0 the position of the axis became 360deg. Next cycle when we start to weld it 's only working for 10deg (360-370). Now I dont go back by zero Ang short rot. The axiss moves back for 390deg, and it works. What to do to work OK  by short root?

Thank you for all helpfull information.