PyCNC icon indicating copy to clipboard operation
PyCNC copied to clipboard

E Motor

Open hmovahedim opened this issue 6 years ago • 5 comments

hello Nikolay How can i use extruder and it's motor in my G_Code ? Please give me a example of it.

hmovahedim avatar Mar 10 '18 16:03 hmovahedim

Hello. Yes, you can. You can heat up extruder with M104 or M109 command. M104 command exits immediately, M109 waits until extruder reach specified temperature. Temperature can be specified in S argument. It should be in Celsius degrees. Example: m109s200 this command will heat up extruder up to 200 C. During this time other commands wouldn't be allowed. To move extruder, you need to use G1 movement like for other axises. Position of extruder motor is absolute, so you need to increase value with each command. Example: g1e1 this command would melt 1mm of filament. To move on the next 1mm you need to do this command: g1e2 That is basically it. Hope this helps. But I don't understand - why do you need to write GCode manually? There are plenty of cool CAM programs which would prepare GCode for you automatically. Slic3r ( http://slic3r.org/ ) for example. There is a config for this program and PyCNC notation of gcode - https://github.com/Nikolay-Kha/PyCNC/blob/master/extra/sample-Slic3r-config.ini

Nikolay-Kha avatar Mar 12 '18 10:03 Nikolay-Kha

thanks sir. this is helpful. i want to learn more about pycnc.

hmovahedim avatar Mar 12 '18 16:03 hmovahedim

my extruder isn't working good because my extruder motor is working bad and grind my fillament . how can i config this ?

hmovahedim avatar Mar 13 '18 14:03 hmovahedim

What do you mean by "motor is working bad" and "grind filament"? Do you have issue with pulse generation for motor? Does motor work find on idle(without filament)? Have you properly calculated amount of filament to use with axises motors?

Nikolay-Kha avatar Mar 14 '18 13:03 Nikolay-Kha

thanks sir.

hmovahedim avatar Mar 15 '18 15:03 hmovahedim