Communication Problems

Avatar

By Kuhly10 3 April 2017 22:02

Member · 15 comments

awhile ago i accidently hit the erase button and had to follow the procedure in getting the firmware back. I do believe now that i have it back installed because pronterface says that the printer is online when i hit connect but whenever i try and give the D300VS a command, it keeps giving me error messages like this:

Connecting...
Printer is now online.
Attempt to move the head of a delta printer before homing the towers
[ERROR] Traceback (most recent call last):
  File "printrun\printcore.pyc", line 241, in _readline
  File "printrun\pronterface.pyc", line 1713, in recvcb
  File "printrun\pronterface.pyc", line 1669, in update_pos
ValueError: could not convert string to float:

Any ideas or suggestions? Thanks!

Avatar

By dc42 3 April 2017 22:53

Administrator · 2,672 comments

What commands have you tried sending? Do you have the right files on the SD card?


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 4 April 2017 01:23

Member · 15 comments

I have tried G28, G92 and tried using the pronterface interface buttons.
This is my first time 3d printing and I am not sure if If i have the right files on the card or how to access it.

Avatar

By dc42 4 April 2017 07:19

Administrator · 2,672 comments

See https://duet3d.com/wiki/SD_card_folder_structure for what files you need on the card, and https://duet3d.com/wiki/Configuring_Rep … an_printer for what goes in the files.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 4 April 2017 22:05

Member · 15 comments

Since I pressed the erase button, does that mean that I erased everything on the SD card also? If so, how do I open and view the files on the SD card to make sure that they are there?

Avatar

By dc42 5 April 2017 06:53

Administrator · 2,672 comments

Pressing the Erase button does not erase the SD card.

You can take the SD card out of the Duet and use a USB adapter to put it in a PC to check the files.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 7 April 2017 00:25

Member · 15 comments

I keep getting the message from my printer saying this whenever i try and send a Gcode :
>>> G28
SENDING:G28
Attempt to move the head of a delta printer before homing the towers

or... when I hit the interface buttons in pronterface
[ERROR] Traceback (most recent call last):
  File "printrun\printcore.pyc", line 241, in _readline
  File "printrun\pronterface.pyc", line 1713, in recvcb
  File "printrun\pronterface.pyc", line 1669, in update_pos
ValueError: could not convert string to float:

would you happen to know what im missing or not doing right?

Avatar

By Jackal 7 April 2017 01:36

Member · 116 comments

what's in your homeall.g or homedelta.g?

Avatar

By Kuhly10 13 April 2017 22:02

Member · 15 comments

I'm still getting those same messages above from the printer whenever i tell it a command. everything on the SD is right and in place because i had it moving before I accidentally hit erase.
Would anyone know what exactly is causing the printer to send those errors or what the errors mean?
Any help would be appreciated!

Avatar

By dc42 13 April 2017 22:10

Administrator · 2,672 comments

This message:

>>> G28
SENDING:G28
Attempt to move the head of a delta printer before homing the towers

suggests that either something is seriously wrong with your homedelta.g file, or that the motors are not responding to movement commands - perhaps because the motor currents are not set. Try sending these commands:

G91
G1 S2 X10

and see whether it causes the X carriage to move up 10mm. If the X carriage doesn't move, run M906 to see what motor currents are set.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 13 April 2017 23:31

Member · 15 comments

I tried G91 and G1 S2 X10 but no response from either,
M906 gave me this:
SENDING:M906
Motor current (mA) - X:1000, Y:1000, Z:1000, E:800:800:800:800:800:800:800, idle factor 60%

Avatar

By dc42 14 April 2017 06:48

Administrator · 2,672 comments

Are you sure that your Duet is receiving 12V or 24V power - is the blue LED lit?


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 14 April 2017 14:03

Member · 15 comments

Yes, I have it plugged into a regular wall outlet and the blue led is lit on the board.

Avatar

By dc42 14 April 2017 14:07

Administrator · 2,672 comments

Please post the contents of your config.g and homedelta.g files.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 14 April 2017 14:36

Member · 15 comments

This is the gcode for homedelta.g

; Homing file for RepRapFirmware on Mini Kossel
G91                            ; use relative positioning
;******* Change F250 in the following line to F2500 when you are finished commissioning
;******* Change 320 in the following to a higher value if your Kossel has taller towers
G1 S1 X320 Y320 Z320 F2500    ; move all carriages up 320mm, stopping at the endstops
G1 S2 X-3 Y-3 Z-3            ; move all carriages down 3mm
G1 S1 X6 Y6 Z6 F250            ; move carriages slowly up 6mm, stopping at the endstops
G1 Z-5 F2000                ; down a few mm so that we can centre the head
G90                            ; back to absolute positioning
G1 X0 Y0 F2000                ; centre the head and set a reasonable feed rate

This is the Gcode for the config file

; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi

; Communication and general
M111 S0                                 ; Debug off
M550 PMiniKosselWiFiTest        ; Machine name and Netbios name (can be anything you like)
M551 Preprap                            ; Machine password (used for FTP)
;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED     ; MAC Address
;*** Wifi Networking
; M552 S1                ; Enable WiFi

M555 P2                               ; Set output to look like Marlin
M575 P1 B57600 S1            ; Comms parameters for PanelDue

G21                                     ; Work in millimetres
G90                                    ; Send absolute coordinates...
M83                                     ; ...but relative extruder moves

; Axis and motor configuration
M569 P0 S1                ; Drive 0 goes forwards
M569 P1 S1                ; Drive 1 goes forwards
M569 P2 S1                ; Drive 2 goes forwards
M569 P3 S1                ; Drive 3 goes forwards
M569 P4 S1                ; Drive 4 goes forwards
M574 X2 Y2 Z2 S1            ; set endstop configuration (all endstops at high end, active high)
;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
M665 R105.6 L215.0 B85 H240        ; set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0                ; put your endstop adjustments here, or let auto calibration find them
M350 X16 Y16 E16 I1                ; Set 16x microstepping with interpolation
M92 X80 Y80 Z80                ; Set axis steps/mm
M906 X1000 Y1000 Z1000 E800 I60        ; Set motor currents (mA) and increase idle current to 60%
M201 X1000 Y1000 Z1000 E1000        ; Accelerations (mm/s^2)
M203 X20000 Y20000 Z20000 E3600        ; Maximum speeds (mm/min)
M566 X1200 Y1200 Z1200 E1200        ; Maximum instant speed changes mm/minute

; Thermistors
M305 P0 T100000 B3950 R4700 H30 L0    ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B3974 R4700 H30 L0    ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 T100000 B3974 R4700 H30 L0    ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M570 S180                ; Hot end may be a little slow to heat up so allow it 180 seconds

; Fans
M106 P1 H-1                 ; disable thermostatic mode for fan 1

; Tool definitions
M563 P0 D0 H1                           ; Define tool 0
G10 P0 S0 R0                            ; Set tool 0 operating and standby temperatures
;*** If you have a single-nozzle build, comment the next 2 lines
M563 P1 D1 H2                          ; Define tool 1
G10 P1 S0 R0                           ; Set tool 1 operating and standby temperatures
M92 E663:663                           ; Set extruder steps per mm

; Z probe and compensation definition
;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
M558 P1 X0 Y0 Z0            ; Z probe is an IR probe and is not used for homing any axes
G31 X0 Y0 Z4.80 P500            ; Set the zprobe height and threshold (put your own values here)

;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0                       ; Axis compensation here

M208 S1 Z-0.2                ; set minimum Z
;
T0                    ; select first hot end

Avatar

By dc42 14 April 2017 17:14

Administrator · 2,672 comments

I didn't spot any obvious problems with those files. So something is stopping the motors moving. Please run M122 and see what supply voltage it reports, If the supply voltage doesn't reach 10.0V initially, or subsequently falls below 9.5V, then the motors won't run.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 14 April 2017 19:12

Member · 15 comments

SENDING:M122
=== Diagnostics ===
Used output buffers: 1 of 32 (1 max)
=== Platform ===
Memory usage:
Program static ram used: 20304
Dynamic ram used: 74064
Recycled dynamic ram: 3936
Current stack ram used: 3288
Maximum stack ram used: 4120
Never used ram: 28648
Last reset 00:00:20 ago, cause: power up
Last software reset code not available
Error status: 0
[ERROR] Error status: 0

Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms
MCU temperature: min 17.5, current 20.9, max 22.5
Supply voltage: min 0.0, current 1.1, max 1.1, under voltage events: 0, over voltage events: 0
Driver 0: ok
Driver 1: ok
Driver 2: ok
Driver 3: ok
Driver 4: ok
Current date and time: 1970-01-01 00:00:00
Slowest main loop (seconds): 0.000668; fastest: 0.000032
=== Move ===
MaxReps: 0, StepErrors: 0, MaxWait: 0ms, Underruns: 0, 0
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
Probe change coordinates:
=== Heat ===
Bed heater = 0, chamber heater = -1
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
Movement lock held by null
http is idle
telnet is idle
file is idle
serial is ready with "M122"
aux is idle
daemon is idle
=== Network ===
WiFiServer is disabled
SPI underruns 0, overruns 0
=== Webserver ===
HTTP sessions: 0 of 8

Avatar

By dc42 14 April 2017 19:27

Administrator · 2,672 comments

This is wrong:

Supply voltage: min 0.0, current 1.1, max 1.1, under voltage events: 0, over voltage events: 0

It should be around 12V or whatever your VIN voltage is.

Please check with a multimeter that you really are getting 12V or 24v (depending on your power supply at the VIN terminal block.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 19 April 2017 01:38

Member · 15 comments

I tested my power cord that plugged into a regular wall socket at 110V and the multimeter read 113V. I then plugged the cord into the power supply for the printer and tested the wires that hook up to the board and they read about 21V.
Does that seem like a normal reading?

Avatar

By dc42 19 April 2017 09:08

Administrator · 2,672 comments

Was that 21V reading with the board connected to the power supply?

What power supply are you using?


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 19 April 2017 21:49

Member · 15 comments

No that reading was from the leads from the power supply which was plugged into a wall socket.
I am using the power supply that came with the D300VS printer. The number on it is DA16082403420. It has a built in fan that automatically turns on and off and has the option of changing the input voltage that it receives from the outlet (115/230V)

Also if this helps at all, when the power supply is hooked up to the board and I turn it on the printers LED lights do come on along with the hot end fan,

Last edited by Kuhly10 (21 April 2017 22:26)

Avatar

By Kuhly10 23 April 2017 23:01

Member · 15 comments

Does anybody have any suggestions?

Avatar

By dc42 23 April 2017 23:35

Administrator · 2,672 comments

When you mean M122 and got the voltage reading of 1.1V in the report, did you definitely have VIN power applied, and was the blue LED definitely lit? Please run that test again to make sure.


Duet WiFi hardware designer and firmware engineer
http://www.escher3d.com
https://miscsolutions.wordpress.com

Avatar

By Kuhly10 24 April 2017 22:10

Member · 15 comments

What do you mean by VIN power?

Avatar

By elmoret 24 April 2017 23:54

Member · 180 comments

He means external power connected to the screw terminals, something between 12v and 24v.