What's new
What's new

Mori NH4000 touch probe problem

timedilation

Plastic
Joined
Feb 20, 2020
so new job has a mori Seiki with an MXS-501 controller and i have never used 1 and the guy that was supposed to train me quit. i have the basics of running a fanuc controller but the tool touch off program is getting stuck in a loop and is set for no edits. just wondering if anyone can help

O9007(TOOL SETTING=400)
#3003=1;
#33=#4003;
M9;
G0 091 G28 Z0;
G0 G90 G53 X-12. Y-22.08;
G#33;
#3003=0;
M99;
%

this is the whole program
Thanks in advance
 
Comments in red.....

......

O9007(TOOL SETTING=400)
#3003=1; (DISABLES SINGLE BLOCK SWITCH)
#33=#4003; (MOVES VALUE OF CURRENT GROUP 3 G-CODE (90 OR 91) TO VARIABLE 33)
M9; (TURNS OFF COOLANT)
G0 091 G28 Z0; (MOVE Z TO MACHINE ZERO)
G0 G90 G53 X-12. Y-22.08; (MOVES X AND Y TO POSITIONS IN MACHINE COORDINATE SYSTEM)
G#33; (RESTORES GROUP 3 G-CODE TO PRIOR STATE)
#3003=0; (ENABLES SINGLE BLOCK SWITCH)
M99;
%
.....

There must be more to the tool measure function than this one program. Probably other 9000 series programs. This appears to just be a way to position the tool over the setter and another program would actually cause the Z motion to touch the setter with the tool.
 
This program is basically just homing the Z-axis and positioning the machine in X and Y. (assuming the "091" on line number 4 is a typo for "G91")

M99 on the last line will jump back to the program that called the macro, but if you run the program directly it will jump to the top, which I assume is what is happening here.

Call the program from MDI with M98 P9007 and it will run once.
 








 
Back
Top