Welcome! Log In Create A New Profile

Advanced

USB printing

Posted by Ormerod187 
djb
Re: USB printing
January 11, 2014 11:59AM
Thx smiling smiley
Daryl


RS Ormerod #299
Re: USB printing
January 11, 2014 03:34PM
The old version of pronterface I run with non-Ormerod printers waits for "OK" before sending a new gcode line. The printer controller sends OK until it's move buffer is full, if it gets a command when the move buffer is full, it blocks there.
This is how the flow control works with the USB-FTDI converters, and CTS/RTS is not used on the serial interface.

With native USB on the printer controller, if the controller does not read the USB pipe it blocks, and the PC won't send more data. That is why the "copy .. COM" works. So you could set pronterface to not block waiting for OK, but block on a write() to the com port, but that won't work with most existing printers.

The optimum scheme for native USB controllers may well be different to the "old" method (still in widespread use of course), so it seems like a good idea to have a configurable option. There is a way for the host to interrogate the printer controller to see what features are available, I'm not sure anyone uses that though. It think it would be better way to have it configured automatically without the user having to set it, or have special versions of host software for different printers.

Edited 1 time(s). Last edit at 01/11/2014 03:35PM by bobc.


What is Open Source?
What is Open Source Hardware?
Open Source in a nutshell: the Four Freedoms
CC BY-NC is not an Open Source license
Re: USB printing
January 11, 2014 03:47PM
Hi bobc, I've sorted this now, and started a new thread here. You are right, Pronterface was waiting for the OK response, and I had to patch it.



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: USB printing
January 11, 2014 05:57PM
Hi
I am using a USB hub, leaving the micro USB in the Duet.
I have 2 cards and both are under warranty ...
Today I watched with macro lens and they seem ok.

I do not want to bandage my head before breaking it.

Just a question ...
Is not Pronterface that requires 250000?

Dario
Re: USB printing
January 11, 2014 06:12PM
It works for me equally well at 115000 and 250000, with the changes I describe in this thread.



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: USB printing
January 11, 2014 06:16PM
hot smileysmileys with beer
I try it now!
Re: USB printing
January 11, 2014 07:54PM
Great .... Thanks dc42!
Homing brilliant!
thumbs upsmileys with beer
Re: USB printing
May 28, 2014 09:26AM
Hello guys,

I'm having the same problem printing from USB. In my case would be fine to print from the SD card. However, when I load the same file on the SD card the printer gets stuck after the first movement.
I'm using the default Pronterface settings provided with my firmware version (FIRMWARE_VERSION:0.65b ELECTRONICSgrinning smileyuet DATE:2014-05-07
)

Do you guys have any idea which can be the problem?

Thanks!
Re: USB printing
May 28, 2014 09:42AM
Hi abelrodriguez,

The first thing I suggest you try is to update your firmware, either to the latest RRP official release (which was 0.65e last time I looked), or to the latest version of my fork, currently 0.59c-dc42 and described in another thread.



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: USB printing
May 28, 2014 10:07AM
Thanks a lot DC42,

I will update the firmware and post the result back.

Thanks again.
Abel.
Re: USB printing
May 28, 2014 10:49AM
From other posts it appears that the latest RRP firmware has a bug that stops it processing after an E movement that is faster than a certain amount.

Dave
(#106)
Sorry, only registered users may post in this forum.

Click here to login