Search the Community
Showing results for tags 'string select'.
-
I've come across an issue in a few of our posts that, while not really causing issues, is kind of annoying. Whenever using a highspeed project toolpath I'll get a post error saying "the value of the string selection variable is out of range: 15". I look up the line the error is referencing in the post and it takes me to this post block: pstock # Comment amount of stock to leave spaces$=0 if (opcode$=13 | opcode$=14), [ if opcode$ = 13 & hst_flg, n$, pspc, scomm_str, "TOOLPATH - ", *sopnotehst, scomm_end, e$ else, n$, pspc, scomm_str, "TOOLPATH - ", *stoper, scomm_end, e$ if tool_op$ = 132, [ n$, pspc, scomm_str, "STOCK LEFT ON WALLS = ", *stock_walls, scomm_end, e$ n$, pspc, scomm_str, "STOCK LEFT ON FLOORS = ", *stock_floors, scomm_end, e$ ] else, [ n$, pspc, scomm_str, "STOCK LEFT ON DRIVE SURFS = ", *stock, scomm_end, e$ if check<>0, n$, pspc, scomm_str, "STOCK LEFT ON CHECK SURFS = ", *check, scomm_end, e$ ] hst_flg = 0 ] if stockleft, [ if opcode$ = 1 | opcode$ = 2, [ pbld, n$, scomm_str, "Z STOCK TO LEAVE = ", *stock1, scomm_end, e$ pbld, n$, scomm_str, "XY STOCK TO LEAVE = ", *stock, scomm_end, e$ ] if opcode$ = 19, pbld, n$, scomm_str, "Z STOCK TO LEAVE = ", *stock2, scomm_end, e$ if opcode$ = 4, pbld, n$, scomm_str, "STOCK LEFT ON DRIVE SURFS = ", *stock, scomm_end, e$ ] spaces$=sav_spc It only has to do with posting out stock to leave, etc. so it's not really hurting anything, but it's annoying to get post errors and the other programmers might not know what it is and think something is seriously wrong. I've looked through the MP guide and found that the opcode for the Project path is 132 and it's saying it's out of range for this string select table: #Select operation note shst00 : "CORE ROUGHING...." # String definition shst01 : "AREA CLEARANCE..." # " " shst02 : "WATERLINE........" # " " shst03 : "CONSTANT STEPOVER" # " " shst04 : "HORIZONTAL......." # " " shst05 : "RASTER..........." # " " shst06 : "PENCIL..........." # " " shst07 : "FLOWLINE........." # " " shst08 : "BLEND............" # " " shst09 : "SPIRAL..........." # " " shst10 : "PROJECT.........." # " " shst11 : "ROUGH REST PASSES" # " " shst12 : "FLOWLINE........." # " " shst13 : "M.FINISH........." # " " shst14 : "M.ROUGH.........." # " " sopnotehst : "" # Target string fstrsel shst00 hststyle sopnotehst 15 -1 I'm just trying to figure out exactly how to get this all to work without error. Thanks in advance for your guys' help!
Join us!
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.