87
96-8000 rev R June 2007
Macros
VARIABLES USAGE
#0 Not a number (read only)
#1-#33 Macro call arguments
#100-#199 General-purpose variables saved on power off
#500-#699 General-purpose variables saved on power off
#700-#749 Hidden variables for internal use only.
#800-#999 General-purpose variables saved on power off
#1000-#1063 64 discrete inputs (read only)
#1064-#1068 Maximum axis loads for X, Y, Z, A, and B-axes respectively
#1080-#1087 Raw analog to digital inputs (read only)
#1090-#1098 Filtered analog to digital inputs (read only)
#1094 Coolant Level
#1098 Spindle load with Haas vector drive (read only)
#1100-#1139 40 discrete outputs
#1140-#1155 16 extra relay outputs via multiplexed output
#1264-#1268 Maximum axis loads for C, U, V, W, and T-axes respectively
#1601-#1800 Number of Flutes of tools #1 through 200
#1801-#2000 Maximum recorded vibrations of tools 1 through 200
#2001-#2200 Tool length offsets
#2201-#2400 Tool length wear
#2401-#2600 Tool diameter/radius offsets
#2601-#2800 Tool diameter/radius wear
#3000 Programmable alarm
#3001 Millisecond timer
#3002 Hour timer
#3003 Single block suppression
#3004 Override control
#3006 Programmable stop with message
#3011 Year, month, day
#3012 Hour, minute, second
#3020 Power on timer (read only)
#3021 Cycle start timer
#3022 Feed timer
#3023 Present part timer
#3024 Last complete part timer
#3025 Previous part timer
#3026 Tool in spindle (read only)
#3027 Spindle RPM (read only)
#3028 Number of pallet loaded on receiver
#3030 Single Block
#3031 Dry Run
#3032 Block Delete
#3033 Opt Stop
#3201-#3400 Actual Diameter for tools 1 through 200
#3401-#3600 Programmable coolant positions for tools 1 through 200
#3901 M30 count 1
#3902 M30 count 2
#4000-#4021 Previous block G-Code group codes
#4101-#4126 Previous 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. The mapping of the axes are x=1, y=2, … b=5, for example, the Z
machine coordinate system variable would be #5023.