Hi everyone!
Sorry for my poor English language knowledge, but i have 2 problem with my generated cnc program.
"...G54
G17 G710 G90 G94
WORKPIECE(,"",,"BOX",112,0.5,-99.5,,25,40,-25,-40)
G64
G0 SUPA Z0 D0 It has to be that : G0 SUPA Z-0.1 , how to do that?
CYCLE800()
MSG ("Adaptive1")
N1 T="D16R1"
M6
D1
T="D10KPF"
S1680 M3
G17 G90 G94
G54
CYCLE800(2,"DMG",0,27,0,0,0,0,0,0,0,0,0,-1,,0) and this is the second problem, with this (-1) number the table always working in "negative direction" so if i have the table in 0 degree , it will milling in C-180 if the post generating -1 in cycle800 .
G0 X43.595 Y-39.24894
G0 Z15.5
..."
Thanks for the help.
Solved! Go to Solution.
Solved by aju_augustine. Go to Solution.
Hi @lazartamas94 ,
For changing the home position of Z, search for line ('// define home positions') , and modify the Z home reference from 0 to -0.1, original and modified codes shown below:
Modified:
var _zHome = machineConfiguration.getRetractPlane() != 0 && !useZeroValues ? machineConfiguration.getRetractPlane() : toPreciseUnit(-0.1, MM);
For setting the direction of Rotation in CYCLE800(), you can search for ('var DIR') and change the value from -1 to 1 as shown in the screenshot below:
Modified:
var DIR = integerFormat.format(1); // direction
after modifying with the above lines, output should look like the screenshot below:
I hope this helps!
Thank you so much. It works! I have so many questions, but already it's enough for me. Thank you Mr.
Can't find what you're looking for? Ask the community or share your knowledge.