6/19/2023 0 Comments Program serial numbers .doc![]() *(Here we have the actual machining of the numbers 0 - 9 in these subprograms.) * more, then he resets #526 to 0 and adds 1 to #525, then tests it using the * if it is less than 9, he is done, go home and quit at N980. * (here he is adding to his counters, He adds 1 to #526 first, then tests it, * (FIND 3RD DIGIT) (we do it all over again for the third digit) * N20M98P4000 (call the same sub programs as before) * IFGOTO 20 (now we do the same thing as above, but use #525 instead) * absolute position of the second number in the sequence) * N925 G0G90G54X.7 Y.75 (<-POSITION HERE FOR 2ND NUMBER) This is the * alarm **99 with the error "SETTING ERROR" as text ) * #3000=99(SETTING ERROR) (If #524 doesn't equal any of the above, set * IFGOTO 14 (If #524 equals 3 then goto block 14) * IFGOTO 13 (If #524 equals 3 then goto block 13) * IFGOTO 12 (If #524 equals 2 then goto block 12) * IFGOTO 11 (If #524 equals 1 then goto block 11) ![]() * IFGOTO 10 (If #524 equals 0 then goto block 10) * (This section and the others like it, determine which numeral to machine) ![]() Tony if you could comment the code it would help so I can see whats happening.Here you are, this is a quickie as it's bedtime here in the eastern end of the state.
0 Comments
Leave a Reply. |