Siemens840D, PP help. (SUPA D0 Z0 - to SUPA D0 Z-0.1 and CYCLE800(2,"DMG",0,27,0,0,0,0,0,0,0,0,0,-1,,0) problem)

Siemens840D, PP help. (SUPA D0 Z0 - to SUPA D0 Z-0.1 and CYCLE800(2,"DMG",0,27,0,0,0,0,0,0,0,0,0,-1,,0) problem)

lazartamas94
Participant Participant
2,028 Views
2 Replies
Message 1 of 3

Siemens840D, PP help. (SUPA D0 Z0 - to SUPA D0 Z-0.1 and CYCLE800(2,"DMG",0,27,0,0,0,0,0,0,0,0,0,-1,,0) problem)

lazartamas94
Participant
Participant

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.

 

 

0 Likes
Accepted solutions (1)
2,029 Views
2 Replies
Replies (2)
Message 2 of 3

aju_augustine
Autodesk
Autodesk
Accepted 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:

 

_1.png

 

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:

 

1.png

 

Modified:

      var DIR = integerFormat.format(1); // direction

 

after modifying with the above lines, output should look like the screenshot below:

 

2.png

 

I hope this helps!

 



Aju Augustine
Technology Consultant
Message 3 of 3

lazartamas94
Participant
Participant

Thank you so much. It works! I have so many questions, but already it's enough for me. Thank you Mr.

0 Likes