PDA

View Full Version : Aspire post mod for first/last z moves



pdauby
01-11-2018, 10:03 AM
Hello everyone, first time poster here. I want to mod the post for aspire so that my first and last z moves are at the max z height of the tool. I have a desktop with a z proxy switch. It looks to me like after touching the prox it writes the value to &my_XYzeroOffsetZ=
Is there a way to use this varible to to move to max z?

Here is the header

begin HEADER

"'[TP_FILENAME]"
"'File created: [DATE] - [TIME]"
"'SHOPBOT FILE IN INCHES"
"IF %(25)=1 THEN GOTO UNIT_ERROR 'check to see software is set to standard"
"C#,90 'Lookup offset values"
"'"
"JZ, THIS IS WHERE I WANT TO MOVE Z TO Z MAX
"'Turning router ON"
"SO,1,1"
"PAUSE 4"

Gary Campbell
01-11-2018, 10:41 AM
Assuming the offset was set and written after the Z was zeroed, your line in the post would be:

JZ,
&my_XYzeroOffsetZ

Simple as that

pdauby
01-11-2018, 07:43 PM
Thanks Gary. I think it's working the way I want it to now. The JZ, &my_XYzerooffsetZ need to be on the same line. Running just this line gave me the machine limit error so I changed it to JZ, &my_XYzerooffsetZ - .125 so it stays 1/8" below the switch. Also added a first rapid move sequence and took out the jog home moves between posted operations. End sequence also retracts z to max limit first and then moves x,y home.
:D