Haas System Variables

NGC VariableLegacy VariableUsageRead/Write
Macro Arguments / General Purpose
#1-#33#1-#33Macro call argumentsr/w
#10000-#10149#100-#149General-purpose variables saved on power offr/w
#10150-#10199#150-#199Probe values (if installed)r/w
#10200-#10399N/AGeneral-purpose variables saved on power off
#10400-#10499N/AGeneral-purpose variables saved on power off
#10500-#10549#500-#549General-purpose variables saved on power offr/w
#10550-#10599#550-#599Probe calibration data (if installed)r/w
#10600-#10699#600-#699General-purpose variables saved on power offr/w
#10700-#10799N/AGeneral-purpose variables saved on power off
#700-#749#700-#749Hidden variables for internal use onlyr/w
#709#709Used for the Fixture Clamp Input. Do not use for general purpose.
#10800-#10999#800-#999General-purpose variables saved on power offr/w
#11000-#11063N/A64 discrete inputs (read only)
#1064-#1068#1064-#1068Maximum axis loads for X, Y, Z, A, and B Axes, respectively
#1080-#1087#1080-#1087Raw analog to digital inputs (read only)
#1090-#1098#1090-#1098Filtered analog to digital inputs (read only)
#1098#1098Spindle load with Haas vector drive (read only)
#1264-#1268#1264-#1268Maximum axis loads for C, U, V, W, and T-axes respectively
Tool Offsets
#1601-#1800#1601-#1800Number of flutes on tools #1 through 200
#1801-#2000#1801-#2000Maximum recorded vibrations of tools 1 through 200
#2001-#2200#2001-#2200Tool length offsetsr/w
#2201-#2400#2201-#2400Tool length wearr/w
#2401-#2600#2401-#2600Tool diameter/radius offsetsr/w
#2601-#2800#2601-#2800Tool diameter/radius wearr/w
System & Control
#3000#3000Programmable alarm #3000=1 (ALARM)
#3001#3001Millisecond timer
#3002#3002Hour timer
#3003#3003Single block suppression
#3004#3004Override [FEED HOLD] control
#3006#3006Programmable stop with message #3006=1 (STOP)
#3011#3011Year, month, day
#3012#3012Hour, minute, second
#3020#3020Power on timer (read only)
#3021#3021Cycle start timer
#3022#3022Feed timer
#3023#3023Present part timer (read only)
#3024#3024Last complete part timer (read only)
#3025#3025Previous part timer (read only)
#3026#3026Tool in spindle (read only)
#3027#3027Spindle RPM (read only)
#3028#3028Number of pallets loaded on receiver
#3030#3030Single block
#3032#3032Block delete
#3033#3033Opt stop
#3034N/ASafe Run (read only)
#3196#3196Cell safe timer
#3201-#3400#3201-#3400Actual diameter for tools 1 through 200
#3401-#3600#3401-#3600Programmable coolant positions for tools 1 through 200
#3901#3901M30 count 1
#3902#3902M30 count 2
Modal Information
#4001-#4021#4001-#4021Previous block G-code group codes
#4101-#4126#4101-#4126Previous block address codes. NOTE: Mapping of 4101 to 4126 is the same as the alphabetic addressing of Macro Arguments section; e.g., the statement X1.3 sets variable #4124 to 1.3.
Position & Coordinate Data
#5001-#5006#5001-#5006Previous block end position
#5021-#5026#5021-#5026Present machine coordinate position
#5041-#5046#5041-#5046Present work coordinate position
#5061-#5069#5061-#5069Present skip signal position -X, Y, Z, A, B, C, U, V, W
#5081-#5086#5081-#5086Present tool offset
#5201-#5206#5201-#5206G52 work offsetsr/w
#5221-#5226#5221-#5226G54 work offsetsr/w
#5241-#5246#5241-#5246G55 work offsetsr/w
#5261-#5266#5261-#5266G56 work offsetsr/w
#5281-#5286#5281-#5286G57 work offsetsr/w
#5301-#5306#5301-#5306G58 work offsetsr/w
#5321-#5326#5321-#5326G59 work offsetsr/w
#5401-#5500#5401-#5500Tool feed timers (seconds)
#5501-#5600#5501-#5600Total tool timers (seconds)
#5601-#5699#5601-#5699Tool life monitor limit
#5701-#5800#5701-#5800Tool life monitor counter
#5801-#5900#5801-#5900Tool load monitor maximum load sensed so far
#5901-#6000#5901-#6000Tool load monitor limit
#6001-#6999#6001-#6999Reserved. Do not use.
#6198#6198NGC/CF flag
Work Offsets / Additional Offsets
#7001-#7006#7001-#7006G110 (G154 P1) additional work offsets
#7021-#7026#7021-#7026G111 (G154 P2) additional work offsets
#7041-#7386#7041-#7386G112-G129 (G154 P3-P20) additional work offsets
#7501-#7506#7501-#7506Pallet priority
#7601-#7606#7601-#7606Pallet status
#7701-#7706#7701-#7706Part program numbers assigned to pallets
#7801-#7806#7801-#7806Pallet usage count
#8500#8500Advanced Tool Management (ATM) group ID
#8501#8501ATM percent of available tool life of all tools in the group
#8502#8502ATM total available tool usage count in the group
#8503#8503ATM total available tool hole count in the group
#8504#8504ATM total available tool feed time (in seconds) in the group
#8505#8505ATM total available tool total time (in seconds) in the group
#8510#8510ATM next tool number to be used
#8511#8511ATM percent of available tool life of the next tool
#8512#8512ATM available usage count of the next tool
#8513#8513ATM available hole count of the next tool
#8514#8514ATM available feed time of the next tool (in seconds)
#8515#8515ATM available total time of the next tool (in seconds)
#8550#8550Individual tool ID
#8551#8551Number of flutes of tools
#8552#8552Maximum recorded vibrations
#8553#8553Tool length offsets
#8554#8554Tool length wear
#8555#8555Tool diameter offsets
#8556#8556Tool diameter wear
#8557#8557Actual diameter
#8558#8558Programmable coolant position
#8559#8559Tool feed timer (seconds)
#8560#8560Total tool timers (seconds)
#8561#8561Tool life monitor limit
#8562#8562Tool life monitor counter
#8563#8563Tool load monitor maximum load sensed so far
#8564#8564Tool load monitor limit
#9000#9000Thermal comp accumulator
#9000-#9015#9000-#9015Reserved (duplicate of axis thermal accumulator)
#9016#9016Thermal spindle comp accumulator
#9016-#9031#9016-#9031Reserved (duplicate of axis thermal accumulator from spindle)
#10000-#10999N/AGeneral purpose variables
#11000-#11255N/ADiscrete inputs (read only)
#12000-#12255N/ADiscrete outputs
#13000-#13063N/AFiltered analog to digital inputs (read only)
#13013N/ACoolant level
#14001-#14006N/AG110 (G154 P1) additional work offsets
#14021-#14026N/AG110 (G154 P2) additional work offsets
#14041-#14386N/AG110 (G154 P3-G154 P20) additional work offsets
#14401-#14406N/AG110 (G154 P21) additional work offsets
#14421-#15966N/AG110 (G154 P22-G154 P99) additional work offsets
#20000-#29999N/ASettings
#30000-#39999N/AParameters
#32014N/AMachine Serial Number
#50001-#50200N/ATool Type
#50201-#50400N/ATool material
#50401-#50600N/ATool Offset Point
#50601-#50800N/AEstimated RPM
#50801-#51000N/AEstimated Feedrate
#51001-#51200N/AOffset Pitch
#51201-#51400N/AActually VPS Estimated RPM
#51401-#51600N/AWork Material
#51601-#51800N/AVPS Feedrate
#51801-#52000N/AApproximate length
#52001-#52200N/AApproximate diameter
#52201-#52400N/AEdge Measure height
#52401-#52600N/ATool Tolerance
#52601-#52800N/AProbe Type
#11000-#11255256 discrete inputs (read only)
#13000-#13063#1080-#1087 #1090-#1097Raw and Filtered analog to digital inputs (read only)

References

  • Haas, Operator’s Manual / NGC Programming Guide, Haas Automation, Inc.

Have a question or want to contribute?

Contact us with corrections, additions, or topics you'd like covered.

Get in Touch