6XD I/O >> Issue solved
-
3.5.1
No homeing yet M564 H0
Edit config
;***Axis/Drives
M569 P0 S0 T5:5:10:10 ; X
M569 P1 S0 T5:5:10:10 ; Y
M569 P2 S0 T5:5:10:10 ; RECEIVE MATERIAL
M569 P3 S1 T5:5:10:10 ; NOZZLE 1 OR 2
M569 P4 S1 T5:5:10:10 ; ROTATE NOZZLE 2
M569 P5 S1 T5:5:10:10 ; ROTATE NOZZLE 1M584 X0 R0 ; X LIN
M584 Y1 R0 ; Y LIN
M584 C2 R0 ; RECEIVE MATERIAL
M584 Z3 R1 ; NOZZLE 1 OR 2
M584 A4 R1 ; ROTATE NOZZLE 2
M584 B5 R1 ; ROTATE NOZZLE 1 -
@tecno you changed the S0/S1 in M569, I said to add it to M584.
Please answer these questions:
You swapped the cable, external stepper driver and motor from 6XD driver 4, where it was working, to driver 5, where it didn't work?
When you send a move command, does the axis value in DWC change?
Is any error reported?
Are all the external stepper drivers the same?
What make and model are they?Ian
-
@droftarts
Hi Ian,
Will try to get my Swedinglish on track6DX Chinese driver Chinese motor
Driver 5 ---------------A-------------------------A NO GO
Driver 4 ---------------B-------------------------B WORKING OKCable from Driver 4 to Chinese driver A Working OK
Cable from Driver 5 to Chinese driver B NO GOSwitching cables same result
DWC = yes
No errors
External drivers are the same as are motors, rotating nozzles No model on these drivers.
There is a blue LED showing direction, goes on/off changing direction. But not from Driver 5
-
;***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 powerHow can I check ON/OFF on above outputs?
-
@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.
-