Hello Guest it is March 28, 2024, 09:13:48 PM

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 - lister6520

Pages: 1
1
General Mach Discussion / G28.1 resets program to first line
« on: February 24, 2017, 11:43:05 AM »
When I do, say,  G28.1 Z30 within the gcode it homes the Z-Axis, as it should, but oddly enough it also restarts the program from the first line, same as doing stop/rewind/start.

Any ideas why this could be happening? Is there an option somewhere that is actually telling it to do this?  I've tried to go through all the settings but couldn;t find anything to that effect.

I need to zero the z-axis within the code several times during the program because of another issue I encountered - I am using G31 to get a Z point cloud but I find that each probe causes the z-axis to mis-step. Although the mis-step is small it amounts to an unacceptable amount after several probes so I need to use the G28.1 to re-zero the Z-axis every dozen or so probed points to keep it accurate.



I don't know iof it is related but sometimes G28.1 goes past the home switch without stopping and only stops when it hits the emergency limit switch which is a couple of mm further on.

My machine is a Chinese 3040Z-DQ.  If I correctly understand the controller is XncPod V2.35.6, which I get from the 'Plugin control' menu.
The software is Mach3 V R3.043.066.
It had no limit or homing switches so I made my own. They are such that each axis first trips the homing switch and if for any reason it goes past it then it will hit a second switch which is wired in parallel to the Emergency-Stop switch to make absolutely sure it stops before hitting the mechanical end.

2
Hi, I'm new here. I recently got myself one of those cheap Chinese CNC machines.  I've been into 3D printing and laser cutting for the pst few years and now got myself this mill of sorts. It is probably meant for engraving but can still do some neat milling in brass with enough patience.

I have used it to make the odd part to repair stuff but I also intend to use it to make parts for quadcopters and other stuff. I also intend to use it for making PCBs by isolation milling.

I have some experience in gcode with the 3D printer as well as the laser cutter for which I wrote a primitive gcode interpreter/converter to convert to its proprietary file format.

However, despite my presumed knowledge and understanding of gcode I am getting somewhat baffled by this machine (which I am running under Mach3).  One of the reasons I came here is to figure out why at times it behaves so differently from what I expect, at times making it impossible for me to achieve what I intended. I usually end up assuming that it is due to bugs in the software but it is of course entirely possible that I am misunderstanding how it should work.

After looking through existing posts for answers I look forward to be asking some meaningful questions here.


Pages: 1