Category: Driver Boards
Back on the 5i23 with this firmware, trying to get two stepper motors working. Using a config I adapted from sim vismach xyzbc trt, combined with the hal files from my mill which works well as a 3 axis (XYZW, W on the knee).
I have step output but no direction control for B axis, neither step nor direction for C axis. Wiring from the 7i52 is:
SSerial on COM 0
Step0 on COM 1
Dir0 on COM 2
Step1 on COM 3
Dir1 on COM 4
and an as yet unused PWM on COM 5.
One single-ended encoder for each stepper motor wired in to ENC 0 & ENC 1.
Does this look like the right wiring for getting step/dir out of the 7i52?
Brown = step0 gnd
Red = step0 +
Yellow = dir0 gnd
Orange = dir0 +
Green = step1 gnd
Blue = step1 +
Grey = dir1 gnd
Purple = dir1 +
Oscilloscope shows a nice pulse stream on the Step0 connection but nothing on the rest - there's 0v and +5v where expected (i.e. pins 0/1 and 6/7 of each block of 8) but nothing from what I think are the relevant TX pins.
The red alarm LEDs on the driver don't seem to mean anything; if I change things round so that the step0 pulsestream is sent to the C motor, that turns.