08-11-2021, 09:43 AM
Hello,
We're trying to send GCode from Simplify3D to RoboDK, but we're having some issues with losing some of our code as we convert to Rapid for our ABB Robot.
Because we're 3D printing pottery, the motor controlling extrusion is set to a Digital I/O. At the end of each layer we want a retraction to stop clay oozing from the nozzle. Simplify3D inputs our script into the Gcode in the right places between layers, but when brought through to RoboDK we're losing the script entirely.
Heres the lines in the Gcode with a few linear movements for context
G1 X80.475 Y-9.516
G1 X90.135 Y-6.928 F6000
!--- Start of Retraction Script ---
SetDO DO0710_ENBL, 0; ! Motor OFF
SetDO DO0610_DIR, 0; ! Direction UP
SetDO DO0710_ENBL, 1; ! Motor ON
WaitTime 4; ! Wait 2 Seconds
SetDO DO0710_ENBL, 0; ! Motor OFF
!--- End of Retraction Script ---
; retract
; feature outer perimeter
G1 X94.674 Y-2.901 F4800
; prime
G1 X92.913 Y-0.718 F6000
And the same portion of code after generating the robot program
MoveL [[90.135,-6.928,3.000],[0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v100,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
ExtruderSpeed 8.000;
MoveL [(94.674, -2.901, 3.000), (0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v80,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
ExtruderSpeed 0.000;
MoveL [[92.913,-0.718,3.000],[0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v100,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
Where am I going wrong? Do I need to set the Digital I/O to something different in program events (currently on default), or do I need different gcode syntax?
Thanks for your help,
Sam
We're trying to send GCode from Simplify3D to RoboDK, but we're having some issues with losing some of our code as we convert to Rapid for our ABB Robot.
Because we're 3D printing pottery, the motor controlling extrusion is set to a Digital I/O. At the end of each layer we want a retraction to stop clay oozing from the nozzle. Simplify3D inputs our script into the Gcode in the right places between layers, but when brought through to RoboDK we're losing the script entirely.
Heres the lines in the Gcode with a few linear movements for context
G1 X80.475 Y-9.516
G1 X90.135 Y-6.928 F6000
!--- Start of Retraction Script ---
SetDO DO0710_ENBL, 0; ! Motor OFF
SetDO DO0610_DIR, 0; ! Direction UP
SetDO DO0710_ENBL, 1; ! Motor ON
WaitTime 4; ! Wait 2 Seconds
SetDO DO0710_ENBL, 0; ! Motor OFF
!--- End of Retraction Script ---
; retract
; feature outer perimeter
G1 X94.674 Y-2.901 F4800
; prime
G1 X92.913 Y-0.718 F6000
And the same portion of code after generating the robot program
MoveL [[90.135,-6.928,3.000],[0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v100,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
ExtruderSpeed 8.000;
MoveL [(94.674, -2.901, 3.000), (0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v80,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
ExtruderSpeed 0.000;
MoveL [[92.913,-0.718,3.000],[0.00000000,0.00000000,1.00000000,0.00000000],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v100,z1,CERAMICHEADFINAL2 \WObj:=FramePositioner;
Where am I going wrong? Do I need to set the Digital I/O to something different in program events (currently on default), or do I need different gcode syntax?
Thanks for your help,
Sam