Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Create a 3D printing project

#1
hello.

im using robot motoman mh80 dx100 for 3d printing. the robot just can move and control on/off the torch via the I/O. here, i made simple project and generate the code. in this code, there is command call job:M_RUNCO,  call job:SETRPM,  call job:EXTRUDE in the code without any sub program about M_RUNCO, SETRPM, and EXTRUDE.
and for my project, I want to the robot just can control on and off the torch with these code : DOUT OT#(15) ON and   DOUT OT#(15) OFF. the code attached below. could this possible to apply in robodk?
some of thread in this forum said to modify the post processor for adjustment before generate the code, but I cant find the section of motoman processor that discussion about extrude or m_runco


Attached Files
.zip   TEST3D.zip (Size: 6.86 KB / Downloads: 111)
#2
Please take a look at the program events configuration tab:
https://robodk.com/doc/en/Robot-Machinin...ningEvents

This tab allows you to handle imported NC programs and trigger additional calls/commands, e.g. when starting/ending a program.
#3
hello sergei

i did what u said. so, the code is just for the robot moving during 3d print process. i want to control the ON/OFF torch by I/O of the robot motoman. i know to do that I can modify the code dan type it. but, is there any way from robodk that could generate it automatically? cause in this project I will do 3d printing for size that it could take around hours and generate much codes, so it help us if robodk could generate the command on and off automatically.


Attached Files
.zip   PRINT3D.zip (Size: 6.74 KB / Downloads: 102)
#4
Hello. 
for solving on and off the torch, I use python to modify the g code and the result is below. i want these program such as M107 and M106 is recognized by robodk as digital output. could robodk recognize these code and set it as digital output? i think, I need to customize the post processor to apply this

Code:
M106 ; Extruder ON
G1  F2400.00000
M107 ; Extruder OFF
G1 F1800
M106 ; Extruder ON
G1 X48.820 Y75.481
G1 X50.000 Y75.375
G1 X150.000 Y75.375
G1 X152.259 Y75.772
G1 X154.247 Y76.915
G1 X155.726 Y78.668


Attached Files
.zip   Test3d_modified.zip (Size: 2.64 KB / Downloads: 102)
#5
The default M codes when using G-code for 3D printing to manage digital outputs are M64 and M65.

You can also customize any triggers or program calls by using the CALL command or CODE command in your G-code. You can find more information and examples here:
https://robodk.com/forum/Thread-Program-...59#pid3959
  




Users browsing this thread:
1 Guest(s)