Richards wrote: ↑Thu Jan 31, 2019 5:20 pm
Let's review the basics. Disconnect the motor from the Acorn board. Connect ONLY the power supply wires to the driver.
1. Do you have a green light on the driver when you connect power to the driver and no motor attached? (My DM542 drives give a green light when power is applied to the drive with no motor attached.)
Do not have a green light
2. Do you have a green light on the driver when you connect power to the driver with a motor attached?,
No green light
3. Use a fresh 9VDC battery. With only DC power connected to the driver's power connectors, connect the battery's GROUND terminal to Pulse (-) on the driver. Connect on end of a 1/4 watt or 1/2 watt 700 ohm to 1000 ohm resistor to the battery's PLUS terminal. Rapidly tap the other end of the resistor to the CW230 driver's Pulse (+) terminal. You should see the motor stepping . (The resistor should be used because the CW230 driver specs call for 7mA minimum to 17mA maximum current for the opto-couplers to work properly. The resistor limits the current from a 9V battery to be within those limits.)
Do not have any resistors.
If those steps work, then you know that the CW230 stepper driver is working, that the stepper motor is connected properly to the driver and that the pulse opto-coupler is working.
4. With power off, reconnect the driver's Pulse terminals to the Acorn. Do not connect the Direction terminals nor the Enable terminals. On the Acorn. click Setup, then Config (enter the default password - 137 unless you've changed it), then Parms. Push the Page Down key until you see the screen that shows P900 -P999. Use the arrow keys until Parameter 968's value is highlighted. Enter 30 to set parameter 968 to 40,000 steps per second. CLICK THE SAVE BUTTON OR PUSH F10 TO SAVE THE 968 PARAMETER.
Do not have any enable connections wired.
What will I be in to enter password ?
5. Repeatedly push the ESC key until you are at the main screen. Select x100 on the Axis Motion Controls screen. Push either the plus or minus key for the axis to which your driver is connected. Without the Direction leads connected, the motor will only turn in one direction.
6. If the motor turns properly, shut things down and connect the direction wires from the Acorn to the driver. DO NOt CONNECT the Enable wires. The spec sheet says that they can be left unconnected - which is how i have things with my DM542 drivers. Turn power back on and jog the motor. This time it should reverse direction depending on whether you push the (+) or the (-) key for the axis.
7. If everything works, then connect each axis, one at a time, and test that axis before connecting another axis.
I've often had problems bringing up various process control boxes that I've designed. Going through the process, step by step isolates any problem. If you discover a problem, fix it before continuing.