I think a best way will be make CCF\MCF from FANUC base.
Example from OSAI 10
G27 G40 G71 G90
G0 G79 Z0
G0 A0 C-90
(TCP,1) - exactly G43.4
(DIS,"VVEDITE DLINU INSTRUMENTA +212.540 I NAJMITE KNOPKU TCP ON")
G291 w1 r-1 S18000.000 - w1 r-1 IGNORE
M03 - ALL BELOW - PURE FANUC
N1 G01 G90 X-212.785 Y-.239 A17.496 D0.0 F6000.
N3 X-208.191 Z15.09
N4 X-207.315 Z12.312 F2000.
N5 X-207.278 Y-.151 Z12.193
N6 X-207.27 Y0.0 Z12.168
N7 X-207.283 Y-.057 Z12.212 A17.493 D-358.824
N8 X-207.297 Y-.114 Z12.257 A17.486 D-357.648
N9 X-207.31 Y-.17 Z12.304 A17.473 D-356.472
N10 X-207.323 Y-.227 Z12.351 A17.455 D-355.297
N11 X-207.335 Y-.284 Z12.399 A17.431 D-354.122
N12 X-207.347 Y-.34 Z12.447 A17.403 D-352.946
N13 X-207.357 Y-.397 Z12.492 A17.369 D-351.772
A lot of <CR> (Carrige Return) in your messages...
I think in your case will be useful CSE Method CSEPreprocessLine, this method is called for every NC Code line BEFORE the string is send to the parser, and you can substitute (TCP,1) to G43.4
replaceSubstr ("(TCP,1)", strLine, "G43.4")
Send me your e-mail, I will send you some explanation.
HI can you send me information about how to set up the CSE Method CSEPreprocessLine
I am having similar problem as Doug. I am trying to make Machine Configurator Controler for Osai 10.
I am folowing your advice to use Fanuc controller as pattern for OSAI controller.
Now is main problem replacing G43.4 by (TCP) command. Can you please send me some more explanation about it?