×
Forum Header
Stepper Motor Configuration problem
- noqui
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
12 Mar 2024 14:20 #295744
by noqui
Stepper Motor Configuration problem was created by noqui
I tried with 2 stepper motors NEMA 17 and 2 DM420A Controller driver and have the same problem where the stepper motor trembles and can move in.any direction in an alternate way.
My wirings are A+ A- B+ B- to blue, red, green, black of the stepper motor and DC+ to the 12 volts power and DC- to GND of the same power. The signals PUL to the PIN 2 of the BOB DB25-1205 and DIR to the PIN.3 of the BOB. And +5V to the 5 volts power and ENBL to the grownd of the same.power. Setting 1,2. 4,5,6,7 ON, 4, OFF
My wirings are A+ A- B+ B- to blue, red, green, black of the stepper motor and DC+ to the 12 volts power and DC- to GND of the same power. The signals PUL to the PIN 2 of the BOB DB25-1205 and DIR to the PIN.3 of the BOB. And +5V to the 5 volts power and ENBL to the grownd of the same.power. Setting 1,2. 4,5,6,7 ON, 4, OFF
Attachments:
Please Log in or Create an account to join the conversation.
- noqui
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
12 Mar 2024 14:23 #295745
by noqui
Replied by noqui on topic Stepper Motor Configuration problem
Attachments:
Please Log in or Create an account to join the conversation.
- Mecanix
- Offline
- Platinum Member
Less
More
- Posts: 446
- Thank you received: 216
12 Mar 2024 14:35 - 12 Mar 2024 14:37 #295746
by Mecanix
Replied by Mecanix on topic Stepper Motor Configuration problem
You forgot the visual of your driver step setting (SW1~7). (edit: ah. just noticed the "Setting 1,2. 4,5,6,7 ON, 4, OFF" part.)
When you say "tremble", you mean as in resonance or the motor direction is eratic? I.e. resonance, low cost steppers/drivers are notorious for that, particularly in their 50~150Hz range (natural freq). Before upgrading for half- decent motion I had my mill enclosure sheet metal rattling and screaming for help each and every accel/decel, I swear it sounded like a freight train...
When you say "tremble", you mean as in resonance or the motor direction is eratic? I.e. resonance, low cost steppers/drivers are notorious for that, particularly in their 50~150Hz range (natural freq). Before upgrading for half- decent motion I had my mill enclosure sheet metal rattling and screaming for help each and every accel/decel, I swear it sounded like a freight train...
Last edit: 12 Mar 2024 14:37 by Mecanix.
Please Log in or Create an account to join the conversation.
- Mecanix
- Offline
- Platinum Member
Less
More
- Posts: 446
- Thank you received: 216
12 Mar 2024 14:45 - 12 Mar 2024 14:45 #295748
by Mecanix
Replied by Mecanix on topic Stepper Motor Configuration problem
Last edit: 12 Mar 2024 14:45 by Mecanix.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19408
- Thank you received: 6507
12 Mar 2024 15:24 #295755
by tommylight
Replied by tommylight on topic Stepper Motor Configuration problem
Nothing on that BOB should be wired to 12V, so remove that first.
Do not test or power, just remove the 12V supply !!!! The drives clearly state 5V on the inputs.
If you do need isolation, use two 5V power supplies or use USB power for the side towards parallel port and a power supply for VDD.
Then, change the step time and space to 10000, dir stuff to 20000, and base period to at least 100000.
Those BOB's have really slow optocouplers, so anything under those values will not work at all or work very badly.
Do not test or power, just remove the 12V supply !!!! The drives clearly state 5V on the inputs.
If you do need isolation, use two 5V power supplies or use USB power for the side towards parallel port and a power supply for VDD.
Then, change the step time and space to 10000, dir stuff to 20000, and base period to at least 100000.
Those BOB's have really slow optocouplers, so anything under those values will not work at all or work very badly.
Please Log in or Create an account to join the conversation.
- noqui
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
12 Mar 2024 15:58 #295759
by noqui
Replied by noqui on topic Stepper Motor Configuration problem
Thanks you both.
The problem was with the step time and dir stuff and the base period.
Now it doesn't trembles anymore and the movement is continous. I have to adjust it to the best numbers but you were right.
Great Job
Thanks you both
The problem was with the step time and dir stuff and the base period.
Now it doesn't trembles anymore and the movement is continous. I have to adjust it to the best numbers but you were right.
Great Job
Thanks you both
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds