rikonen
07-09-2008, 11:12 AM
Does anyone know how to get the parts counter to keep track of the amount of parts being run? All the values are empty on the counter screen, I have tried a few things with no luck.
RI
RI
|
View Full Version : Meldas 520 rikonen 07-09-2008, 11:12 AM Does anyone know how to get the parts counter to keep track of the amount of parts being run? All the values are empty on the counter screen, I have tried a few things with no luck. RI mori_1 07-10-2008, 01:40 AM if your machine accepts macros you could add in something like this to count parts: O1000 #100= 1 (this sets the #100 value to 1, "your first part") N1 TI M6 (Or T0101 LATHE) ; ; MAIN PROGRAM ; ; (parts catcher out "M" code here) (part off tool code here) (parts catcher in "M" code here) #100=[#100+1] (increments your #100 value to 2 "your second part") M99 (normally here but instead of M99 use a GOTO 1-program will jump back up to the N1) This will keep incrementing the #100 macro value by 1 at each parts catcher in/out giving you a part count. If you want to run say only 30 parts: between the #100=[#100+1] and the GOTO 1, put in a IF [#100 LE 30] GOTO 1 followed by an M30. After running 30 parts the program will end at the M30. Pressing cycle start will reset your counter (#100 value) to 1 and continue to 30. Hope that helps Caprirs 07-10-2008, 10:15 AM There is an M code you place in your program to increment the parts counter on your machine. Normally, it is placed just after the parting tool cuts off the part and before the M99. The M code is typically selected by the builder, not necessarily by Mitsubishi. |