6XD I/O >> Issue solved
-
@tecno For driver 5 not working:
I think you have swapped those around cables and drivers to show that driver 5 output on the 6XD isn't working correctly. Can you:
- check if you are using the enable signal. If you are, disconnect it (most external drivers are enabled by default) and check if it works. If not, check if there is any dip switches on the driver for default enable/disable, and/or set the dip switches the same as the other nozzle driver. Maybe post a picture of any dip switches.
- If you have a multimeter, check you are getting 5V on the driver 5 5V pin. Then check for continuity between 5V and the enable pin, and direction pin when a command is sent. Using a multimeter to check if step pulses are sent usually doesn't work, as the step pulses are too fat for a multimeter. If you have an oscilloscope, you can check them that way, though.
- If the above still doesn't work, check the soldering of the driver 5 connector on the 6XD, both sides. It may be a dry solder joint or something bridging or grounding the pins. Post photos if you're not sure.
How can I check ON/OFF on above outputs?
Sending 'M43 P0' or 'M280 P0' doesn't report the current PWM setting (@dc42 perhaps it should?) but you can check the current setting in the Object Model. Defined outputs are listed in the Object Model under state > gpOut[#], where # is the GPIO number defined by the M950 command. eg:
M950 P1 C"exp.heater5" ; tested on Duet 2 WiFi M42 P1 S1 echo state.gpOut[1].pwm 1.00 M42 P1 S0.5 echo state.gpOut[1].pwm 0.50 M42 P1 S0 echo state.gpOut[1].pwm 0.00
So that should let you query them. Or is it that you want to display their status in DWC?
Ian
-
@droftarts
Hi Ian,@droftarts said in 6XD I/O >> Faulty Driver 5:
Or is it that you want to display their status in DWC
No I just wanted to know if the outputs work, and OUT 2 is NOT ( 0 and 1 works)
Yet another output not working
Cheers
Bengt -
Top is P1 bottom is P2
-
@tecno Can you post your whole config.g as it currently is, please. Also run
M98 P"config.g"
from the console and post the response.Ian
-
-
@tecno You've set out2 as a fan!
M950 F2 C"out2" ; Q500 ;Drag PIN Actuator
Changle "F2" to "P2".
Ian
-
Corrected
;***Outputs
M950 P0 C"out0" ; Q500 ;#1 Nozzle Vacuum
M950 P1 C"out1" ; Q500 ;#2 Nozzle Vacuum
M950 P2 C"out2" ; Q500 ;Drag PIN Actuator
M950 P3 C"out3" ; Q500 ;ENA Nozzle 1/2 Up
M950 P4 C"out4" ; Q500 ;Xross cursor
M950 P5 C"out5" ; Q500 ;LED light
M950 P6 C"out6" ; Q500 ;Vacuum power -
@tecno Did you reset or run config.g before running the macro again?
Ian
-
Yes
-
@tecno Please post the macro.
Ian
-
M42 P2 S1
echo state.gpOut[1].pwmM42 P2 S0.5
echo state.gpOut[1].pwmM42 P2 S0
echo state.gpOut[1].pwm -
@tecno said in 6XD I/O >> Faulty Driver 5:
echo state.gpOut[1].pwm
Wrong pin. Use:
echo state.gpOut[2].pwm
Ian
-
-
-
Now suddenly the OUT2 works, so go figure what is going on. Cold soldering seems far away but could be.
Been take out plugs and inserted them testing.Whole day yesterday I did not see the LED light up but OUT1 and OUT0 was working.
So DRIVER5 is still an issue here.
-
-
@tecno Can you post a good picture of both sides of the board, please. There's so very little to go wrong with these ports, I feel like it's something obvious. Did you check it with a multimeter, like I asked you to?
out2 is still working correctly? Does the LED come on when active?
Also, please send M586 and post the response, to see what network protocols are enabled, because your config doesn't have any set.
Ian
-
@droftarts
Hi Ian,
Re multimeter = no as you can see it is not so accessible in the video. Later on today.
https://photos.app.goo.gl/L56Zn79kaww26Q4U6out2 is OK
2024-09-25 09:26:27 m586
CORS disabled
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Multicast Discovery is disabled
MQTT is disabledCheers
Bengt -
Pictures of 6XD board https://photos.app.goo.gl/6ME2iY7CesXBjeKPA
-
@tecno Were you able to do any tests with a multimeter? I can't see anything obvious from the pictures.
Ian