Hi all, I have been using the okuma LB300 with osp-300control post processor for my LC-40 mill turn. When it is coding for the milling functions doesn't write x&y coordinates on every line(it leaves our repeat coordinates) and my machine alarms out because my machine needs a x/y coordinate on every line in G101 even if it is not moving in that axis. I can go through and add the repeat x/y coordinate but on long programs it is not practical, could someone show me what to change on the post or change it for me please? Example here
Code straight off the post unchanged
N215 G101 X-41. Y4.75
N216 Y14.144
N217 Y15.311
N218 X-40.563 Y16.392
N219 G102 X-32.129 Y29.694 L43.75
Code that works- (I just add the X-41. and it runs)
N215 G101 X-41. Y4.75
N216 X-41. Y14.144
N217 X-41. Y15.311
N218 X-40.563 Y16.392
N219 G102 X-32.129 Y29.694 L43.75
Thank your for your help
Solved! Go to Solution.
Solved by boopathi.sivakumar. Go to Solution.
Edit the post and find for this codes
var xOutput = createOutputVariable({prefix:"X"}, xFormat);
var yOutput = createOutputVariable({prefix:"Y"}, yFormat);
and change it to
var xOutput = createOutputVariable({prefix:"X", control:CONTROL_FORCE}, xFormat);
var yOutput = createOutputVariable({prefix:"Y", control:CONTROL_FORCE}, yFormat);
it should now force the x and y output

Thanks @boopathi.sivakumar this worked perfectly. Is there anyway I can get it to stop writing g17/g18 and g270 in each new operation the program these are all codes that also alarm out
Can't find what you're looking for? Ask the community or share your knowledge.