Chapter 7
134
UM10350_PCNC770_Manual_0916A
Programming
Read-only
Parameters
Purpose
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 le
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)
7.9.2.2 Subroutine Parameters
Subroune parameters are specically reserved for call arguments. By denion, these are
parameters #1-#30 and are local to the subroune.