# Third party stepper motor integration

**URL:** <https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138>\
**Category:** General Application Help: How do I?\
**Created:** [July 8, 2024, 6:57pm UTC](https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138 "2024-07-08T18:57:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abalalimoghaddam](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@abalalimoghaddam](https://forum.universal-robots.com/u/abalalimoghaddam)\
**Post date:** [July 8, 2024, 6:57pm UTC](https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138/1 "2024-07-08T18:57:49Z")

</div>

Hello,  
I am a researcher working on building a paste 3D printer to enable research in nonplanar printing of paster materials in our lab. I have decided to use a UR10 robot in our lab that currently is under utilized. For this purpose I am retrofitting a [mechanical paste extruder which I previously built](https://klipper.discourse.group/t/ceramic-3d-printer-with-mechanical-paste-extruder/15594).  
I am new to the UR platform and currently very unclear about integration of external motors. For my paste extruder and auger system I need to control 3 stepper motors. Let’s just focus on the main motor that rams the material in the extruder. I was thinking of using this [NEMA23 closed loop stepper motor](https://www.amazon.ca/RATTMMOTOR-Stepper-2-Phase-Engrvaving-Milling/dp/B081YK6MJN/ref=sr_1_2_sspa?crid=3UY7CTV9NSL87&dib=eyJ2IjoiMSJ9.0rOtH8bTwdeXRvit20jvpCiWOC5-rDn09CGH3FhnYqFviJeNdLB1yucz-FgSH8oW7BDBDRYhhXECaAq2n7fPFwWSEr4exzSdaHHluq_Rm1xzPvvIFRBCXtFvwPS_hPnQxL7Icyco-87mW12fufNPHnLloH5l6qvU-XbGEbVkRbLi4am5IOtv-qpHFPB2X-f-tcE6FyXzQ4DPYkRKCLLdJdoNS1ZQzUt_rSdryZjME8vY1Itn5-xlZVQIXF6sP01oEXimUYzzvbuPfScXPIVHFr3p84okPxzeD73NMd2ffrM.AieCbNutwsbaFBdMkHE9wTbeWI5J-IRWNUnkFN1WZC8&dib_tag=se&keywords=nema+23+closed+loop+stepper+motor+with+driver&qid=1720464356&sprefix=nema+23+closed+loop+stepper+motor+with+drive%2Caps%2C142&sr=8-2-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1) which costs around $140CAD for the motor and stepper controller together.  
However, after reading a few forum posts here about stepper motor integration, it seems I was wrong thinking this would be easy, and I should probably look at other types of motors for my application. Just searching for Modbus tcp stepper motor I can’t seem to find something comparable to what I had in mind.

I was wondering if you had recommendations on reasonably priced motors that would integrate well with UR platform, or if there are any tutorials or guid that I may have missed for someone just starting out with UR robots and 3rd party motors. I would imagine this is a very common problem as I see people building rotary tables, linear guides, etc. I would appreciate any clarity on this topic.

---

<div class="post-metadata">

**Author:** ![chris.pocock](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@chris.pocock](https://forum.universal-robots.com/u/chris.pocock)\
**Post date:** [July 16, 2024, 8:20am UTC](https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138/2 "2024-07-16T08:20:43Z")

</div>

The only time I’ve used stepper motors was with a PLC. It was wired rather than communications.  
The controller required 5v rather than 24v, so I used opto-couplers with a 5v PSU to control the controller. The controller required pulses to be sent to it from the PLC to determine the speed / movement of the motor, it’s quite a fast pulse I used so the question would be, can the UR output pulses at a fast enough speed. I don’t know the answer to this unfortunately.

---

<div class="post-metadata">

**Author:** ![abalalimoghaddam](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@abalalimoghaddam](https://forum.universal-robots.com/u/abalalimoghaddam)\
**Post date:** [July 16, 2024, 7:02pm UTC](https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138/3 "2024-07-16T19:02:35Z")

</div>

Would you say you had a successful integration and would you recommend going down that route to connect a bunch of stepper motors?

Right now I am looking at using Modbus but I am running into some [problems with a basic Modbus test setup](https://forum.universal-robots.com/t/modbus-basic-connection-to-simulator/35259). Modbus looks attractive in my case because each unit is independent. I am hoping to use Arduino platform to control each stepper motor once I figure out basics of Modbus communication.

Honestly I was hoping there would be straightforward tutorials somewhere for basic integration of common things such as stepper motors. If anyone has information to help me make some progress on this I appreciate it!

---

<div class="post-metadata">

**Author:** ![chris.pocock](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@chris.pocock](https://forum.universal-robots.com/u/chris.pocock)\
**Post date:** [July 17, 2024, 8:19am UTC](https://forum.universal-robots.com/t/third-party-stepper-motor-integration/35138/4 "2024-07-17T08:19:07Z")

</div>

It worked well with the PLC (Siemens S7-1200), if you can find a signal conditioner to convert the analog output from the UR to pulses then you could control the stepper motor controller that way, but I don’t think I’ve ever seen one. Or you could use a S7-1200 to do it, but you would need the Siemens software (TIA Portal).

I’ve never used Modbus so can’t comment on it.
