584,865 active members*
4,786 visitors online*
Register for free
Login

Search:

Type: Posts; User: lucaswalker

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    3,077

    Re: R Less Than Z in Cycle in XY Plane

    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...
  2. Replies
    12
    Views
    3,077

    Re: R Less Than Z in Cycle in XY Plane

    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...
  3. Replies
    3
    Views
    1,975

    Re: Citizen B12 GOTO Command Not Working

    Hi,

    First of all, the way you write it is not that clean :

    IF[#3901LT[#3902-1.]]GOTO65

    M98P6464

    N65
    yadayada
  4. Re: What is wrong with this embedded subprogram code (MITSUBISHI M70)

    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...
  5. Re: What is wrong with this embedded subprogram code (MITSUBISHI M70)

    Hi,

    You should try to use the standard way to declare and call subs :

    subs :
    O123 (declare sub n*123)
    ...
    ...
    M99 (return)
  6. Replies
    3
    Views
    696

    Re: Help with Vcarve GCODE Output Needed

    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...
  7. Re: From Siemens to NUM + Flexium cnc controls (Send parameters to subprograms)

    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...
  8. Replies
    1
    Views
    756

    Re: need help with Planet CNC scripting

    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...
  9. Replies
    2
    Views
    658

    Re: M30 stopped working!

    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.
    ...
  10. Re: Can someone help me write my first program?

    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...
  11. Replies
    3
    Views
    706

    Re: Gcode Error

    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...
  12. Replies
    14
    Views
    5,937

    Re: Milling macros

    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...
  13. Replies
    9
    Views
    1,120

    Re: position changes in G-code

    Oops, it lost identation when I copy/paste the code I guess, sorry for that.
    Im glad you have your solution !
  14. Replies
    9
    Views
    1,120

    Re: position changes in G-code

    Normally you just have to open your Gcode and then run the script :
  15. Re: 3 axis compensation with macro programing?

    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...
  16. Replies
    9
    Views
    1,120

    Re: position changes in G-code

    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...
  17. Re: Fanuc PS0128 Illegal Macro Sequence Number

    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 ! :)
  18. re: How to run engraving program at different depth

    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...
  19. Replies
    5
    Views
    1,390

    Re: C axis code in spindle mode

    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...
  20. Re: Fanuc 18i-tb problem g84/g184 programing.

    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)
  21. Re: Fanuc 18i-tb problem g84/g184 programing.

    Try switching to G01 before calling rigid taping command:

    ...
    G01 M29 S200 (RIGID TAOOING ON)
    ...
  22. Re: Fanuc 15-M ignoring circular lines of code

    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...
  23. Replies
    1
    Views
    741

    Re: 5 axis programming

    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...
  24. Incorrect Circular motion : What your controller do ?

    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...
  25. Replies
    5
    Views
    1,086

    Re: Need some Expertise You Gurus,

    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 :...
  26. Replies
    5
    Views
    1,086

    Re: Need some Expertise You Gurus,

    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...
  27. Replies
    1
    Views
    849

    Hi, I am not an expert with this control but...

    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:...
Results 1 to 27 of 27