No Step/Dir Signal from Duet 3 Expansion 1XD
-
I also tried the command G91 G1 H2 X10 to move X but nothing happened.
-
My drivers show a solid green led. No errors on the drivers and they are holding position.
-
Also, I noticed that in the results for the M122 only the drives that are on the main controller are listed. Is this normal? Seems like I should see all the drives. I also have a 3HC connected and it is not showing the drives for that either.
-
@jered CAN address 125 is not permitted because it is reserved for use by our test equipment. I suggest you use CAN address 40. 41 and so on for the 1XD boards.
CAN addresses 120 upwards are best avoided, except that if you have just one expansion board of a particular type in your system, then you can leave that board set to its default address.
You can get the driver status of a CAN-connected board by running a M122 command for that board, for example: M122 B121
-
You've got Direction+ and - swapped so you likely won't be able to change directions, but that shouldn't stop movement.
Was the board you were testing with the oscilloscope the one with the illegal address?
-
@alankilian No, I only tested the ones that are working. I will change the addresses tomorrow. The board with the address 125 has only the 5v led lit (solid). The other boards have the 5v led solid and the status blinking in sync. Status light never comes on, on the bad (125) board. I tried to reset it with the jumper many times now, and it will not reset, so I can not access it to change it's address. I think I will have to order a new board. That shouldn't stop me from getting the x and y to move.
-
@dc42
I do not see that the wires are swapped I double checked. Blue wire is on the DO_DIR + pin which is 5th pin down when looking a the schematic online. Green in PUL+ which is 3rd pin down on 1xd.Here are the new files for the address changes I made. I can not access the 125 board, so I could not change it.
I think I made the changes correctly to the config file.
-
Also, I did try to move the machine using
G91 G1 H2 X10, nothing happened. -
@jered regarding the board with address 125, if you fit the reset jumper and leave it powered up for a while, it may eventually start up at its default address (122). When that happens, you can use M122 B122 to check the bootloader version, and if necessary update the bootloader. If it fails to start up even after a long time then please submit a warranty claim for that board to warranty@duet3d.com.
Regarding the other boards, please run command M122 for each board. For example, if your X driver board is now at CAN address 40, run M122 B40.
Also please post the contents of your config.g file now that you have changed the board addresses.
-
@dc42 I have already run the M122 for every board and posted it. Here it is again. I will also try to reset the bad board. console (1).txt
-
@jered thanks, I didn't see that.
You are running firmware 3.3 on the main board but 3.2.2 on the 1XD boards. Please update all boards to firmware 3.4.0.
-
@jered said in No Step/Dir Signal from Duet 3 Expansion 1XD:
I do not see that the wires are swapped I double checked.
You are right, sorry about that.
-
@dc42
Ok, I will try and do that. I am not familiar with updating, so it may take me a while. When I click on the link for the latest update for the 1xd board, it brings me to the latest update for the main board. So I am not sure where to get it.I am connected to an SBC, so, is there an easy way to do it from there?
-
@alankilian
Ok, updated everything. It was a lot easier that I thought.
However, I did try and move the machine and it moved!!Looks like updating the firmware worked! Thanks so much!
Now I will have to get the steps/units correct and keep going.
Does this forum allow me to post a link to a vid on youtube? I wanted to make a short vid for you guys so you can see what I am doing. It is very different from everyone else.
Thanks Again!!
-
Whelp,
That celebration was short lived. The movement of the machine is that of a non corexy. It moves only the X axis motor when commanded to move and the Y axis motor when moved in Y. It should be using both motors to move in X and Y. It is using the correct 1xd board for moving the motors, its just not moving both to get a movement in the X or Y direction. Instead, it move in a diagonal motion due to only one of the motors moving.In the config,
M584 X40.0 Y41.0 Z42.0:43.0:125.0 E0.0:0.1:0.2:0.3:0.4:0.5:1.1 ; set drive mappingX and Y are designated only one address, but in core xy it uses both, so is the line above correct? The Z has 3 motors and is addressed as such. Should x and y be similar?
-
So, I have been testing this with the home x and home y buttons on the dash board (then quickly triggering the home switches) and the axis move like they should, except the y is backwards. When ever the H2 command is given, only the motor designated x or y moves. What is the H2 command? How do I invert the y home position? I can change the homey.g file and it moves correctly. Not sure if this is the correct way.
-
Post your homing files.
The homing direction is controlled in the homing files to be either positive or negative. Which direction that actually ends up being depends on the direction of rotation defined in M569 setting up the motor. The endstop position is defined in M574 to be either on the high (positive end) or low (negative end). And all of that is subject to creating a right hand coordinate system with 0,0 in the front left, +x moves right, -x moves left, +y moves back, -y moves to the front.
-
@jered your config.g file is set up for a Cartesian machine because it has no M669 command to select CoreXY mode.
-
It does have M669 command and is set up for core xy. See line 11.
I would still like to know what H2 is. It seems to take the machine out of core xy mode. In the homing files there is also an H2 command which makes the machine move funny when it backs off the home sensor. See below.
M201 X500.00 Y500.00 ; Reduce acceleration for homing moves
G91 ; Relative positioning
G1 H2 Z5 F6000 ; Lift Z relative to current positionG1 H1 Y-605 F3600 ; Move quickly to Y endstop and stop there (first pass)
G1 H2 Y5 F600 ; Go back a few mm
G1 H1 Y-605 F360 ; Move slowly to Y endstop once more (second pass)M201 X3000 Y3000 ; Return to full acceleration
G1 H2 Z-5 F6000 ; Lower Z relative to current position
G90 ; Absolute positioningThis H2 is in all the homing files. The one above is for the Y. When this H2 is in the command line only the designated motor moves, not both. To be clear, only the motor with the address Y will move in this example, G1 H2 Y5 F600.
I was hoping to have my machine home to the back left. Will this be a problem? Should I move my sensors or change the files mentioned? If I can change the homing definitions, that would be fine and a bit easier.
-
@jered I'm sorry, I was using a smartphone last time I replied and I missed that line.
G1 H2 moves are always raw motor moves, so will move only one of the motors. To move a few mm in the -Y direction you can use:
G1 H2 X-5 Y5 F600
To move a few mm in the -X direction, use:
G1 H2 X-5 Y-5 F600