First of all i use Solicam (inside Solidworks) for my CNC jobs. The machine is a First MCV1000 with Fanuc 0i-mate controller.
Problem is that whenever a job has more than one different operations that require a toolchange, the machine stops with alarm 5010.
Alarm 5010 = END OF RECORD.
Seems like the program has no more lines but that's not true.
Let me give you an example of what Solidcam gives as a G-Code before and after the toolchange.
N138 G02 X155.4116 Y30. I0. J-0.5003
N140 G01 Y0.
N142 G02 X154.9113 Y-0.5003 I-0.5003 J0.
N144 G01 X77.4557
N146 G03 X71.4557 Y-6.5003 I0. J-6.
N148 G01 X77.4557
N150 G00 Z50.
N152 M05
N154 M01
N2 G90 G17 G40 G80 G00
N156 M06 T2 () <------
N158 (FM-facemill1)
N160 G00 G54 G90 X-48. Y26.6666 S3500 M03
N162 G43 H2 Z70.
N164 Z50.
N166 Z2.
N168 G01 Z-0.75 F300.
The toolchange is completed as normal (see the red arrow) and then immediately i get the alarm 5010.
This forces me to enter the program in parts which is time consuming and very frustrating.
It seems that the controller don't like something on the next line.... N160 G00 G54 G90 X-48. Y26.6666 S3500 M03
NOTE: Due to lack of system memory i recently erased ALL the saved programs which unfortunately let me unable to make a toolchange. The hidden program O9001 has been deleted. I loaded manually the program and now the toolchange is working.
Maybe there was another macro (hidden program) that is missing?
Any help will be greatly appreciated!!!