NUMBERED PARAMETERS REFERENCE

NUMBERED PARAMETERS REFERENCE

A numbered parameter is recognized by the pound symbol (#) followed by an integer between 1 and 5399. The parameter is referred to by this integer, and its value is whatever number is stored in the parameter. A value is stored in a parameter with the (=) operator.

Example: #3 = 15 (set parameter 3 to 15)

A parameter setting does not take effect until after all parameter values on the same line have been found. For example, if parameter 3 has been previously set to 15 and the line: #3=6 G01 X#3 is interpreted, a straight move to a point where X = 15 occurs before the value of parameter 3 is set to 6.

The # symbol takes precedence over other operations. For example, #1+2 means the number found by adding 2 to the value of parameter 1, not the value found in parameter 3. Of course, #[1+2] does mean the value found in parameter 3.

The # character may be repeated; for example ##2 means the value of parameter whose index is the (integer) value of parameter 2. PathPilot maintains a number of read-only parameters. Only parameters for the relevant axes are maintained: (X Y Z A) for mill and (X Z) for mill. The remaining parameters for unused axes are undefined.

READ-ONLY PARAMETERS

  • 1-30: Subroutine local parameters of call arguments. These parameters are local to the subroutine. For further information, see Programming with Subroutines later in this chapter
  • 31-5000: G-code operator parameters. These parameters are global in G-code file
  • 5061-5070: Result of G38.2 probe (X Y Z A B C U V W)
  • 5161-5169: G28 home for (X Y Z A B C U V W)
  • 5181-5189: G30 home for (X Y Z A B C U V W)
  • 5210: 1 if G92 offsets are active, 0 if not
  • 5211-5219: G92 offset (X Y Z A B C U V W)
  • 5220: Current coordinate system number 1-9 for G54 – G59.3
  • 5221-5230: Coordinate System 1, G54 (X Y Z A B C U V W R) – R denotes XY rotation angle around Z-axis
  • 5241-5250: Coordinate System 2, G55 (X Y Z A B C U V W R)
  • 5261-5270: Coordinate System 3, G56 (X Y Z A B C U V W R)
  • 5281-5290: Coordinate System 4, G57 (X Y Z A B C U V W R)
  • 5301-5310: Coordinate System 5, G58 (X Y Z A B C U V W R)
  • 5321-5330: Coordinate System 6, G59 (X Y Z A B C U V W R)
  • 5341-5350: Coordinate System 7, G59.1 (X Y Z A B C U V W R)
  • 5361-5370: Coordinate System 8, G59.2 (X Y Z A B C U V W R)
  • 5381-5390: Coordinate System 9, G59.3 (X Y Z A B C U V W R)
  • 5399: Result of M66 – check or wait for input
  • 5400: Current tool number
  • 5401-5409: Tool offset (X Y Z A B C U V W)
  • 5410: Current tool diameter
  • 5411: Current tool front angle
  • 5412: Current tool back angle
  • 5413: Current tool orientation
  • 5420-5428: Current position including offsets in current program units (X Y Z A B C U V W)
NUMBERED PARAMETERS REFERENCE