Welcome! Log In Create A New Profile

Advanced

duet + reprap firmware - macros on sd card can't be read

Posted by Janosch2015 
duet + reprap firmware - macros on sd card can't be read
January 14, 2016 06:31AM
Firmware: RepRapFirmware-dev_1.09m-dc42
Board: Duet 0.8.5 + Duex 0.2a
Software: Repetier-Host V1.6.0


Hello,

I created my own macro and saved it in the sys folder on the SD-card.

Name of the macro: test1.g

Content of test1.g:
M18 E0 E1 E2 E3 E4 E5 ;disable all extruder motors

When I am trying to execute the macro by sending M98 Ptest1.g to the board, I receive the message " Can't open 0:/sys/0 to read, error code 4
Macro file 0 not found" and nothing happens.

Its the same when I try to execute one of the already exisiting macros like homedelta.g.

Is it not possible to use the M98 command like this?


kind regards!
Re: duet + reprap firmware - macros on sd card can't be read
January 14, 2016 10:39AM
Quote
Janosch2015
Firmware: RepRapFirmware-dev_1.09m-dc42
Board: Duet 0.8.5 + Duex 0.2a
Software: Repetier-Host V1.6.0


Hello,

I created my own macro and saved it in the sys folder on the SD-card.

Name of the macro: test1.g

Content of test1.g:
M18 E0 E1 E2 E3 E4 E5 ;disable all extruder motors

When I am trying to execute the macro by sending M98 Ptest1.g to the board, I receive the message " Can't open 0:/sys/0 to read, error code 4
Macro file 0 not found" and nothing happens.

Its the same when I try to execute one of the already exisiting macros like homedelta.g.

Is it not possible to use the M98 command like this?


kind regards!

Macros need to be in a folder called Macros and not the sys folder. HomeDelta.g is not a macro at all it is a predefined system file and has its own dedicated gcode (G28)

Make a folder in the root of the SD Card called Macro and put your macro files inside it and you will then be able to call them with M98.

HTH

Doug

Edited 1 time(s). Last edit at 01/14/2016 10:42AM by dougal1957.
Re: duet + reprap firmware - macros on sd card can't be read
January 14, 2016 11:08AM
Hey Doug,

if I put test1.g in the folder macros and send M98 Ptest1.g it doesn't work either. I also tried without ".g" (only M98 Ptest1) like the other example files in the folder... didn't work. Are you able to run macros like this?
Re: duet + reprap firmware - macros on sd card can't be read
January 14, 2016 11:14AM
Quote
Janosch2015
Hey Doug,

if I put test1.g in the folder macros and send M98 Ptest1.g it doesn't work either. I also tried without ".g" (only M98 Ptest1) like the other example files in the folder... didn't work. Are you able to run macros like this?

I normally run them either from the Web interface or the PanelDUE
Re: duet + reprap firmware - macros on sd card can't be read
January 15, 2016 07:45PM
Quote
Janosch2015
Firmware: RepRapFirmware-dev_1.09m-dc42
Board: Duet 0.8.5 + Duex 0.2a
Software: Repetier-Host V1.6.0


Hello,

I created my own macro and saved it in the sys folder on the SD-card.

Name of the macro: test1.g

Content of test1.g:
M18 E0 E1 E2 E3 E4 E5 ;disable all extruder motors

When I am trying to execute the macro by sending M98 Ptest1.g to the board, I receive the message " Can't open 0:/sys/0 to read, error code 4
Macro file 0 not found" and nothing happens.

Its the same when I try to execute one of the already exisiting macros like homedelta.g.

Is it not possible to use the M98 command like this?


kind regards!

Strange, it should work. I just ran "M98 Phomedelta.g" and it worked for me. Is it definitely my pre-built RepRapFirmware-1.09m-dc42.bin file that you flashed?



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: duet + reprap firmware - macros on sd card can't be read
January 18, 2016 06:11AM
Okay apparently was RepetierHost the Problem. I tried it with Pronterface (macro file in the sys folder on the sd card) and it worked! grinning smiley
Sorry, only registered users may post in this forum.

Click here to login