I think you misunderstand how drill cycles works :
there is 3 key z position in the cycle :
1) the Z position when you call the cycle
2) the Z called during the Gxx command of the cycle, which...
Type: Posts; User: lucaswalker
I think you misunderstand how drill cycles works :
there is 3 key z position in the cycle :
1) the Z position when you call the cycle
2) the Z called during the Gxx command of the cycle, which...
Your position when the drill cycle is called is Z15.0 and the holes goes to Z0.0, if you call a retracion at R-6.00 its makes no sense cause this position is under your start position and even under...
Hi,
First of all, the way you write it is not that clean :
IF[#3901LT[#3902-1.]]GOTO65
M98P6464
N65
yadayada
Other possible issue;
Use a parameter to specify a 4- or 8-digit subprogram No. starting with O. (from online doc)
Your main program is 6 digit Number, (O112233); maybe the controller does not...
Hi,
You should try to use the standard way to declare and call subs :
subs :
O123 (declare sub n*123)
...
...
M99 (return)
Gcode seems ok in both cases.
There is a difference between pass depth between the two files, apart from that they are quite similar.
The only thing that might cause problem is that with a pass...
Most of controllers do not have local variables, all variables declaration are global.
If I am not wrong even G65 will set global variables, lets say G65 P1 A123 will set #1=123 before going in...
Hi, This is not the usual Gcode programming language (which is BMACRO)
!!! I am not familiar with this language, so I am not 100% sure of the following (but maybe it can help)
From what I can...
Maybe somehow the code do not reach M30 ...
Lets says if you have some conditions or if you are stuck in any part of the code before reaching M30 it will not be processed by the controller.
...
You can Write the commands with correct incremental positions in a sub and then call it where you need, it goes like that :
G0 X50 Y50 Z0.5 (PREPOSITIONING 1)
M98 P1234 (CALL SLOT SUBPGM)
G0...
I think its both what machinehop5 and rcs60 said
N46 should be ommited, looks like you dont want this move
N48 Error on arc description
I would also point that N43 looks like something you...
Hi,
I think MeshLab can do the job, and its free !
You have to create a valid .xyz file from your point cloud, then search for the following page : "How to Create an STL file from a XYZ file in...
Oops, it lost identation when I copy/paste the code I guess, sorry for that.
Im glad you have your solution !
Normally you just have to open your Gcode and then run the script :
With B macro language:
N1 #100=20 (HOLE DIAMETER)
N2 #110=-15 (HOLE DEPTH)
N3 #120=12 (TOOL DIAMETER)
N4 #130=3.5 (Z APPROACH)
N5 #140=-2 (Z PASS DEPTH)
N6 #150=50 (FEED RATE)
N7 #160=#130...
In my opinion one of the reply above are cleaner, but if you really need the job to be done, use Notepad++
Then :
1) Install Python Script plugin from the Plugin Manager or from the official...
One time I had a problem declaring subpgm like O00123 and calling them M98 P00123 instead of P123 ...
try a GOTO5 instead of GOTO05
Controllers are sometimes a bit picky on syntax ! :)
Add G92 Z-10 (Or Z-Whatever you need)
It should shift the Z coordinates and run all the nc accordingly
Make sure however that all your rapid moves are still above material, or at least inside the...
Hi,
Most probably one of the command in N3 (OPERATION #8) is not reset correctly so N4 gives error after N3 but N2 is ok.
I throw this like randomly and im not sure it will fix but in N3 you...
Are you sure you need the M29 before the G184 ?
If you go G184 Z-10. R0 F0.8 S200 it is not performing rigid tapping ? (without the M29 before)
Try switching to G01 before calling rigid taping command:
...
G01 M29 S200 (RIGID TAOOING ON)
...
Hi,
The NC is acceptable yet not perfect,
All the G3 are supposed to generate a complete 360° circular move, so the end point should be at the same coordinates that the start point, and IJ...
Hi,
IJK in the G68.2 are probably euler angle definition to rotate reference (with the +-90 inputs),
The one with +-1 inputs looks likes an axis selection followed by some reverse, but its not...
Well I have this is general question about how the controller will behave when an incorrect circular interpolation is present in the NC.
Lets say from the starting point to the end point, the arc...
If the whole file have the same structure as the sample you posted, you can do that with a "regular expression" search and replace in text editor (with notepad++ for example)
search for :...
Hi,
It is hard to understand your process but from what I understand an import/export of a dxf file is involved.
Dxf format may be reduced to 2D during importing or exporting, losing the Z axis...
Hi,
I am not an expert with this control but what if you store your positions or any other variables independently of the actual machine position during NC processing?
lets say something like this:...