567,673 active members*
2,969 visitors online*
Register for free
Login
Results 1 to 15 of 15
  1. #1
    Registered
    Join Date
    Apr 2017
    Posts
    152

    built-in named parameters

    Is there a maintained list of PathPilot's built-in named parameters, more inclusive than the one at G Code Overview?

    I had been maintaining two different warm-up routines for my 770, one to use when it was in the High spindle-speed configuration, and one to use when it was in the Low spindle-speed configuration. Just recently, I discovered the #<_spindle_rpm_min> and #<_spindle_rpm_max> parameters, and I can use them to produce a single warm-up routine that adapts to its environment.

    I suspect that there are more such Tormach-specific parameters.

  2. #2
    Member
    Join Date
    Oct 2005
    Posts
    1142

    Re: built-in named parameters

    There are LinuxCNC named paramters and then there are PathPilot named parameters and THEN you can also access the Hal side parameters/pin values.

    Just a thought, (;-) TP

  3. #3
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    Where is a list of the PathPilot named parameters?

  4. #4
    Member
    Join Date
    Oct 2005
    Posts
    1142

    Re: built-in named parameters

    Probably no such list other than the few mentioned in the PathPilot Manual. Tormach is not big on giving out details of PathPilot.

    (;-) TP

  5. #5
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    Can we use this thread to build such a list? The only ones (not in the PP manual or in the G Code Overview) I know about are
    • the spindle-speed limits (#<_spindle_rpm_min> and #<_spindle_rpm_max>)
    • the absolute coordinates (#<_x_machine>, #<_y_machine>, and #<_z_machine>).

    What have other people discovered?

  6. #6
    Registered
    Join Date
    Nov 2007
    Posts
    2151

    Re: built-in named parameters

    Does the Linux cnc website not detail named parameters?

  7. #7
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    @Mountaindew said
    Does the Linux cnc website not detail named parameters?
    It does, but there are some not in the lists in Sections 3.4 & 3.5 of G Code Overview

    I've assumed that those additional parameters are specific to Path Pilot, but it could be that they are active in all versions of LinuxCNC, just not listed with the others. In any event, there are usable built-in named parameters that are not in the above-cited lists.

  8. #8
    Member
    Join Date
    Oct 2005
    Posts
    1142

    Re: built-in named parameters

    You would need to search through all the PathPilot code to see if you could find where they created the Named paramaters and THAT is a lot of searching (;-). When I get time I will take a peek to see what I can find.

    (;-) TP

  9. #9
    Member
    Join Date
    Oct 2005
    Posts
    1142

    Re: built-in named parameters

    I just did a fast sweep of the PathPilot codebase and the ONLY place I found "#<_spindle_rpm_min> " was inside of NGC programs. That would indicate that that Parameter was unique to LinuxCNC not PathPilot.

    Just a thought< (;-) TP

  10. #10
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    I wasn't hoping for a complete list. I thought that members of the forum could contribute whatever parameters they'd happened upon, and that the list could grow here over time.

  11. #11
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    Quote Originally Posted by vmax549 View Post
    I just did a fast sweep of the PathPilot codebase and the ONLY place I found "#<_spindle_rpm_min> " was inside of NGC programs. That would indicate that that Parameter was unique to LinuxCNC not PathPilot.

    I discovered #<_spindle_rpm_min> and #<_spindle_rpm_min> inside a .NGC program that appeared on my 770 after a PathPilot upgrade, but I don't know how that bears on whether those parameters are unique to PP or part of any LinuxCNC engine. For what it's worth, when I write gCode subroutines (for PathPilot, since I have no other LinuxCNC engine), I create them as .NGC programs.

  12. #12
    Member
    Join Date
    Oct 2005
    Posts
    1142

    Re: built-in named parameters

    Indeed you do have a linuxcnc engine PathPilot runs on it . Yes that parameter use is in 2 Gcode programs written for spindle warmup. IF Tormach had created it it would have shown up in the Code somewhere beside those 2 progam files. In those 2 file Tormach just used the parameter it was not created there.

    (;-) TP

  13. #13
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    Quote Originally Posted by vmax549 View Post
    Indeed you do have a linuxcnc engine PathPilot runs on it .
    Right. What I said was that I have no other LinuxCNC engine.

  14. #14
    Registered
    Join Date
    Aug 2016
    Posts
    131

    Re: built-in named parameters

    _spindle_rpm_max and _spindle_rpm_min were specifically created to be used in the spindle warmup program of Pathpilot, they're not standard from LinuxCNC. There's never been a list of Pathpilot specific parameters made, the only two I remember off the top of my head are _pi and _epoch_time.

  15. #15
    Registered
    Join Date
    Apr 2017
    Posts
    152

    Re: built-in named parameters

    Quote Originally Posted by footpetaljones View Post
    There's never been a list of Pathpilot specific parameters made, the only two I remember off the top of my head are _pi and _epoch_time.
    Thanks. _pi will be useful.

Similar Threads

  1. Replies: 2
    Last Post: 03-30-2020, 11:06 PM
  2. Asius Technologies Named 2013 Autodesk Inventor of Year
    By CNCadmin in forum News Announcements
    Replies: 0
    Last Post: 02-26-2014, 08:20 PM
  3. Editing a named spline using a macro?
    By spacely in forum UG NX
    Replies: 0
    Last Post: 04-26-2010, 10:06 PM
  4. PBC Linear Named Leader in Engineering by Design World
    By Pacific Bearing in forum News Announcements
    Replies: 0
    Last Post: 12-22-2009, 10:04 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
  •