04-20-2023, 12:44 PM
Hello, asking for help with NC files to use with RoboDK
Goal is to make machinings with robot, NC files are from customer, and they are built for certain CNC machines. With much little editing as possible I should get those files to function with RoboDK. I can build some python formatter that formats the code, but biggest issue is using variables in NC code with RoboDK. Is this possible and how I should format them? I don't know original machines code prosessing before executing.
Example code:
Goal is to make machinings with robot, NC files are from customer, and they are built for certain CNC machines. With much little editing as possible I should get those files to function with RoboDK. I can build some python formatter that formats the code, but biggest issue is using variables in NC code with RoboDK. Is this possible and how I should format them? I don't know original machines code prosessing before executing.
Example code:
Code:
R7=100 (Width of the piece)
R6=2000 (Length of the piece)
R4=100 (Thickness of the piece)
R30=R7-59.5
R2=R6/2
R31=0
N170 G2 X=R2-222-R31 Y=R30-14 B11