Quantcast
Channel: Reprap Forum - Stepper Motors, Servo Motors, DC Motors
Viewing all 2228 articles
Browse latest View live

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
ser = serial.Serial('/dev/ttyUSB0', 19200)

Does your firmware really ask for just 19200 baud? More typical are 115200 or even 250000 baud. 250000 baud don't work so well on Linux, though.

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
Traumflug Wrote:
-------------------------------------------------------
> > ser = serial.Serial('/dev/ttyUSB0', 19200)
>
>
> Does your firmware really ask for just 19200 baud?
> More typical are 115200 or even 250000 baud.
> 250000 baud don't work so well on Linux, though.


Good day...the data sheet for the motor lists several rates, as I recall 19200 is the highest. I also tried 4800.

Re: Controlling MDrive 23 ( schneider elect ) with Python....

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
Whatever the baud rate is...I still don't know how to communicate with this motor ... BR is the least of my worries....

Bits/ byte I don't know and stop bits 1 or 2...? Parity...?

I 'll start guessing....was hoping that someone here would have some educated insight...

I'll post how it turns out when next I'm in the lab.

Cheers

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
The data sheets for MDrive23 are rather quiet on the subject of comm settings, which is a surprising deficiency, but from the SE Knowledge base :

Quote

What are the Serial Communication Default Properties

Baud: 9600
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None


See IMS Terminal > Preferences > Comm Settings for recommended Character Delay and Line Delay settings.
Timing will vary with our different products.

The baud rate is configurable in the motor, so you may need to try non-default settings if you didn't get the motor new in box.

Dare I ask how much these motors cost?

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
Quote

BR is the least of my worries

That's your mistake. No baud rate match -> no communications.

Quote

Bits/ byte I don't know and stop bits 1 or 2...? Parity...?

99% of all serial communications use 1 stop bit, no parity and 8 bits per byte, also known as "8N1".

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
you guys ROCK !

Thanks for clarifying my ignorance....can't wait to try.

I tried 19200 and 4800 for baud rates and figured that they should work since those two values are
mentioned on the MDrive data sheet....

I will experiment with the values suggested and report back tomorrow....

Cheers,
wbg

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
bobc Wrote:
-------------------------------------------------------
>
>
> Dare I ask how much these motors cost?


I didn't do the spending on this myself...I'll ask the guy in charge though...the experiment calls for 200 micron steps.

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
There are a few on ebay, retail price maybe $200, used ones around $150.

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
hi all..

Got some commands to work using the suggested communication parameters....!

I've been able to move the motor but haven't been able to have it print back it's location.
For instance, in a terminal with puTTY I can ask the motor it's name, or position.
P = 0 # position = zero
MR 100000 # move relative x num rev
PR P # print the current position away from 0

I tried opening a connection:
ser = serial.Serial(port='/dev/ttyUSB0', baudrate=9600,timeout=3, stopbits=1,xonxoff=False, rtscts=False, dsrdtr=False)

ser.write('P = 0\r\n')
ser.wrtie('MR 10000\r\n')
ser.write('PR P\r\n')
ser.read()

but haven't gotten any output...any ideas are super helpful and thanks again...
wbg

Re: Controlling MDrive 23 ( schneider elect ) with Python....

$
0
0
OK...figured out part of it...I had the timeout=3...read the pyserial doc and used timeout = 0;

Now I get something that kinda makes sense...

Problem with dual Z stepper motor - One is getting harder to rotate

$
0
0
It is a very wierd problem which I don't understand.

I'm currently calibrating my printer and I have problem with Z axis.
I currently have a MixG1 printer with RAMPS and pololu drivers. My two Z axis motor are connected to two 4-pins under Z axis stepper driver. They are connected in parallel.
I' played with the trimpot a little bit, but this problem seems to be back after some movements (less than 100mm)

The same motor is always blocking after a while, it gets very hard to rotate, even by hand. The other one is quite fine and easy to rotate. When I manually turn the «hard» one, the other one tend to rotate too, like if it was receiving pulses. Both motors runs very cold, nothing to worry about temperatures.

What is wrong?

Re: Problem with dual Z stepper motor - One is getting harder to rotate

$
0
0
Have you tried switching the motor connectors to see if the problem transfers to the other motor?

Re: Problem with dual Z stepper motor - One is getting harder to rotate

$
0
0
waitaki Wrote:
-------------------------------------------------------
> Have you tried switching the motor connectors to
> see if the problem transfers to the other motor?

I haven't tried to switch the motors on the RAMPS. I first tried to remove the coupling by hand and compare the feel.
The problematic side is obviously harder to turn. I'm sure this is where the problem is.

I'll lube it and try a different nut, but I'll also give a try to your suggestion. Thank you!

Are these motors good?

$
0
0
Hello! I have bought these motors without much knowledge. I am new to reprap project and i have noticed that some problems my rise sooner or later from a bad stepper motor choice. The ones i ordered are these: [www.ebay.com]
Are they ok?

Thanks in advance.
Santiago

Re: Are these motors good?

$
0
0
You already have them, so try them! The technical specifications look reasonable.

How to identify specs of working motor

$
0
0
Hi all.

I have an Epson flatbed scanner I'm about to trash. The stepper in it is still working, so before I get rid of the circuit board that drives it, I'm wondering how to capture the specs for it. I have a digital multimeter. The motor is a four-conductor design that plugs into a modular plug; when I power up the scanner, it moves the motor briefly. Not sure what measurements to take in order to determine the motor specs. Thanks for any insight.

Re: How to identify specs of working motor

$
0
0
... the main value is the coil resistance - it defines the needed/possible current ...

Re: Are these motors good?

$
0
0
Thanks Traumflug! I guess i am just anxious!

Re: How to identify specs of working motor

$
0
0
So there's no information I should gather while the motor is connected and working?
Viewing all 2228 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>