586,071 active members*
4,344 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2022
    Posts
    5

    How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Hi,

    I'm trying PlanetCNC and I don't understand how create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Do you have an exemple for made that ?

    In changelog of 2022-01-28, I can read that : "New: G-Codes higher than G100 can be scripted like O macros." but I don't understand how made that.

    I succeeded to make custom M codes.

    Thanks you and good continuation

    Cordialy

  2. #2
    Join Date
    Mar 2017
    Posts
    1312

    Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Create file O854.gcode in scripts folder

  3. #3
    Join Date
    Sep 2022
    Posts
    5

    Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Thanks for your answer.

    I create O854.gcode in scripts folder :



    But in PlanetCNC, when I writte G854 there is an error :



    Custom Mcode works perfectly in same folder.

    Cordialy.

  4. #4
    Join Date
    Mar 2017
    Posts
    1312

    Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Should work. Please export your profile and send me .zip file.

  5. #5
    Join Date
    Sep 2022
    Posts
    5

    Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Attached the export of the profile.

    Cordialy
    Attached Files Attached Files

  6. #6
    Join Date
    Mar 2017
    Posts
    1312

    Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    In "Setting/Program Options" enable "Use E Word".

  7. #7
    Join Date
    Sep 2022
    Posts
    5

    Talking Re: How create a custom Gcode with parameters. For exemple : G854 A1 B2 C3

    Thanks, work perfectly !!!

Similar Threads

  1. how to create gcode for this kind of work?
    By delid in forum Rhinocam
    Replies: 3
    Last Post: 05-02-2021, 09:34 AM
  2. Create NEW gcode file in PathPilot
    By vmax549 in forum Tormach PathPilot™
    Replies: 4
    Last Post: 07-23-2019, 02:20 PM
  3. can i create a custom tool in mastercam?
    By shamblerone in forum Mastercam
    Replies: 10
    Last Post: 08-04-2013, 02:50 PM
  4. How to create custom appearances
    By hindocarina in forum Solidworks
    Replies: 0
    Last Post: 07-07-2010, 03:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •