I simulate on 5 axis milling machine following iTNC530 NC code with CSE :
398 * - B-90_ZENTRIEREN
399 TOOL CALL S3000
CYCL DEF 247 BEZUGSPUNKT SETZEN ~
402 PLANE SPATIAL SPA+90. SPB0.0 SPC-90. TURN FMAX SEQ-
404 L X-50.807 Y-11.986 FMAX
405 L Z50. FMAX
408 * --- BOHRVORSCHUB ---
409 FN 0: Q7= 50 ; Bohrvorschub
410 CYCL DEF 200 Q200=3. Q201=-2.9024 Q206=Q7 Q202=2.9024 Q210=0 Q203=0. Q204=50. Q211=0.
411 L X-50.807 Y-11.986 FMAX M99
412 L Z50. FMAX
415 M140 MB MAX
What determines the correct zero offset with CYCLE DEF 247?
The "main zero offset" is at the spindle, the rotation to drill is at the workpiece.
I think it was already working with another machine...
Thank you for your help!
Solved! Go to Solution.
It depends on the setting in GV_bUseLoadOffset AND GV_bUseLoadOffset247. When both are set to TRUE in CSEInitializeChannel the CYCLE DEF 247 uses LoadOffset to get the coordinate information from the ONT and its parameter, the value of the system data Q339
CYCLE DEF 247 is readable for everyone... you´ll find this section:
<IfCommand> <Condition>GV_bUseLoadOffset AND GV_bUseLoadOffset247</Condition>
<Then> <Command> <Name>LoadOffset</Name> <Param>INTEGER(getVariable("Q339"))</Param> </Command> </Then> </IfCommand>
<Command> <Name>CallSubProg</Name> <Param>"247"</Param> </Command>
I have the same problem.
But I can not find CSEInitializeChannel. Where is it?
I found GV_bUseLoadOffset and GV_bUseLoadOffset247. But I can not fix them (see the picture "parameters").
I use a standard machine sim01_mill_3ax, Heidenhain TNC.
you need to select HeidenhainTNC.CCF in the field "source" in the method list.
Then you go with right-click on CSEInitializeChannel, copy to, current file.
And now you can edit it.
For me it looks like this (see picture). Moreover, I do not know unfortunately.
But you have a working licence?