---
title: Simple Method to Limit Motor Operation Range for Robotics Safety
description: Multi-axis robots, such as articulated robots, cartesian/gantry robots, SCARA robots, and Delta robots, can be attached with different end effectors to perform various tasks. Limiting the motion range for robotic axes is an easy way to prevent costly problems or safety issues later.
image: https://blog.orientalmotor.com/hubfs/Arm%20before%20limits.jpg
---

[![Oriental Motor U.S.A. Corp.](https://blog.orientalmotor.com/hs-fs/hubfs/OM-logo-200px.jpg?width=200&height=47&name=OM-logo-200px.jpg)](https://www.orientalmotor.com/index.html)

- <https://blog.orientalmotor.com>
- [Products](https://www.orientalmotor.com/products/index.html)
- [Motor Sizing](https://www.orientalmotor.com/motor-sizing/index.html)
- [Technology](https://www.orientalmotor.com/technology/index.html)
- [FAQ](https://faq.orientalmotor.com/)
- [Contact Us](https://www.orientalmotor.com/contact/index.html)

- [Stepper Motors](https://www.orientalmotor.com/stepper-motors/index.html)
- [Servo Motors](https://www.orientalmotor.com/servo-motors/index.html)
- [Industrial Robots](https://www.orientalmotor.com/industrial-robots/index.html)
- [AC Motors & Gear Motors](https://www.orientalmotor.com/ac-motors-gear-motors/index.html)
- [Brushless DC Motors](https://www.orientalmotor.com/brushless-dc-motors-gear-motors/index.html)
- [Linear Actuators](https://www.orientalmotor.com/linear-actuators/index.html)
- [Rotary Actuators](https://www.orientalmotor.com/rotary-actuators/index.html)
- [Network Products](https://www.orientalmotor.com/network-products/index.html)
- [Cooling Fans](https://www.orientalmotor.com/cooling-fans/index.html)
- [Encoders](https://www.orientalmotor.com/encoders-sensors/index.html)

Engineering Notes

## Engineering Notes by Oriental Motor

# [Simple Method to Limit Motor Operation Range for Robotics Safety](https://blog.orientalmotor.com/set-motor-travel-limits-to-control-operation-range-for-robotics)

 \[fa icon="calendar"\] Originally posted on Apr 1, 2019, 2:09:05 PM   
Last updated on July 15, 2022 / by [Johann Tang](https://blog.orientalmotor.com/author/johann-tang)

![Johann Tang](https://app.hubspot.com/settings/avatar/8cc777610596a2b2230de2963e906c0b)

- [Tweet](https://twitter.com/share)

In the world of industrial robotics, there are several types of robots typically offering multiple axes of motion for tasks such as parts assembly, material handling, or pick and place operations.  These include articulated robots, cartesian/gantry robots, SCARA robots, and Delta robots.  Variations of end effectors such as grippers, welders or part rotators can be mounted on the end of the arm to perform different tasks.  Depending on number of axes or load capacity, costs can easily add up.  Limiting the operation range for these robotic axes of motion is an easy way to prevent costly problems or safety issues later.

![Challenge](https://blog.orientalmotor.com/hs-fs/hubfs/Challenge.jpg?width=700&name=Challenge.jpg)

Avoiding contact between a robotic arm and its surroundings may help prevent expensive product damage or even human injury while maintaining production uptime.

| ![Problems with conventional equipment](https://blog.orientalmotor.com/hs-fs/hubfs/Problems%20with%20conventional%20equipment.jpg?width=350&name=Problems%20with%20conventional%20equipment.jpg) When dealing with range of motion within a confined space, it may be difficult to avoid hitting something with a robotic arm especially without complex algorithms and vision sensors.  Depending on factors such as force or speed, this could mean an injury to a human operator, or product damage, both of which increases production cost as well as decrease production efficiency. To counter this problem, exteranl limit sensors must be used in order to limit the operation range of motors.  These require additional space, expertise, inventory and wiring. | ![Arm before limits](https://blog.orientalmotor.com/hs-fs/hubfs/Arm%20before%20limits.jpg?width=384&name=Arm%20before%20limits.jpg) |
| --- | --- |

![Solution](https://blog.orientalmotor.com/hs-fs/hubfs/Solution.jpg?width=700&name=Solution.jpg)

Use the software limit parameters in a motor and drive system to prevent motor operation in restricted regions in the form of step count, degrees or mm.    You can also control how the motor stops.

![Keyword](https://blog.orientalmotor.com/hs-fs/hubfs/Keyword.jpg?width=700&name=Keyword.jpg)

| Many motor systems (servo, stepper) used for controlling these axes of motion typically offer software limits that can serve the same purpose of external limit sensors.  When software limits are set and stored within the driver or controller, the motor will only operate within a safe region where it won't be able to cause an injury or damage.  This parameter is typically included in the software of many motor and drive systems.  However, many machine designers still use a combination of limit sensors, encoders and/or software limits for multi-layered protection.  When an absolute encoder is used, external sensors can be eliminated, but additional hardware, such as a battery, is necessary to retain position information. | ![Arm after limits](https://blog.orientalmotor.com/hs-fs/hubfs/Arm%20after%20limits.jpg?width=392&name=Arm%20after%20limits.jpg) |
| --- | --- |

| When software limits are used with a , extra hardware such as batteries, encoders and external sensors for homing or limits can be eliminated.  This really helps to shorten design cycles as well as reduce inventory requirements.   In addition, operation can resume immediately after a unexpected interruption (such as a power outage) without first performing a homing operation, which eliminates delays in production. Related Post: To help explain the benefits of sensorless, absolute positioning, we've built a few robotic demos using AZ Series absolute stepper motors without external homing or limit sensors.  Please watch these videos below or keep an eye out for these demos at our upcoming .   |
| --- |

 ![Setup example](https://blog.orientalmotor.com/hs-fs/hubfs/Setup%20example.jpg?width=571&name=Setup%20example.jpg)

For Oriental Motor's [![AZ Series](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/2284573/ce3b989d-5108-4542-9aaf-3e6293902ab3.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/2284573/ce3b989d-5108-4542-9aaf-3e6293902ab3) motors and actuators, software limits parameters can be found in both the BASE SETTINGS and MOTOR & MECHANISM (COORDINATES/JOG/HOME OPERATION) tabbed windows within the [![MEXE02 support software](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/2284573/8c6547fc-da97-4126-b339-b10ff4b810c5.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/2284573/8c6547fc-da97-4126-b339-b10ff4b810c5). 

Please see the screenshot example below to locate these parameters in the MEXE02 support software.  The parameters below would allow a robotic arm (pictured above), which has a home position of 45 degrees from a horizontal position (0 position), to travel 45 degrees in either direction.  If the motor travels into the set limits outside of the +45 or -45 degree limits, then the motor will decelerate to a stop, and then an alarm will be generated by its driver. 

**Instructions:**

1. In the MEXE02 software window, click  on BASE SETTINGS under PARAMETER.  This is in the top left corner.  Refer to 1st image below.  Make sure that you units are set to "deg".
2. Enter "45.00" for POSITIVE SOFTWARE LIMIT on line 28.
3. Enter "-45.00" for NEGATIVE SOFTWARE LIMIT on line 29.
4. Click on MOTOR & MECHANISM right under BASE SETTINGS under PARAMETER.
5. Make sure that "PRIORITIZE ABZO SETTING" is selected in INITIAL COORDINATE GENERATION & WRAP COORDINATE SETTING on line 11.

![MEXE02 1](https://blog.orientalmotor.com/hs-fs/hubfs/MEXE02%201.jpg?width=700&name=MEXE02%201.jpg)

![Base settings](https://blog.orientalmotor.com/hs-fs/hubfs/Base%20settings.jpg?width=700&name=Base%20settings.jpg)

![Base settings 2-1](https://blog.orientalmotor.com/hs-fs/hubfs/Base%20settings%202-1.jpg?width=700&name=Base%20settings%202-1.jpg)

![Motor & Mechanism](https://blog.orientalmotor.com/hs-fs/hubfs/Motor%20%26%20Mechanism.jpg?width=700&name=Motor%20%26%20Mechanism.jpg)

 

![Motor & Mechanism 2-1](https://blog.orientalmotor.com/hs-fs/hubfs/Motor%20%26%20Mechanism%202-1.jpg?width=700&name=Motor%20%26%20Mechanism%202-1.jpg)

That's it.  Oh one more thing.  Remember to write the data into the driver in order to save these parameters.  This is pretty important unless you want to repeat this all over again.

[![Learn how to program different types of motion](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/2284573/ede5ca9d-324b-4db8-a871-8b1faceb5672.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/2284573/ede5ca9d-324b-4db8-a871-8b1faceb5672)

 Topics: [Stepper Motors](https://blog.orientalmotor.com/topic/stepper-motors), [Robotics](https://blog.orientalmotor.com/topic/robotics), [Absolute Positioning](https://blog.orientalmotor.com/topic/absolute-positioning), [Alphastep Hybrid Control](https://blog.orientalmotor.com/topic/alphastep-hybrid-control), [VIDEOS](https://blog.orientalmotor.com/topic/videos), [Software](https://blog.orientalmotor.com/topic/software), [Application Examples](https://blog.orientalmotor.com/topic/application-examples)

![Johann Tang](https://app.hubspot.com/settings/avatar/8cc777610596a2b2230de2963e906c0b)

#### Written by [Johann Tang](https://blog.orientalmotor.com/author/johann-tang)

Johann Tang is a Product Specialist at Oriental Motor USA Corp. Before joining the marketing team, he spent 14 years in sales and technical application support, and he also led product training on various types of fractional-horsepower electric motors, gear motors, actuators, drivers, and controllers. If you have any questions, please feel free to use the live chat window, 1-800-GO-VEXTA (1-800-468-3982), or techsupport@orientalmotor.com, to reach our product support team. Sorry, comments have been turned off.

[\[fa icon="linkedin-square"\]Linkedin](https://www.linkedin.com/in/johanntang/)

Search

### Subscribe Here!

- Recent
- Popular
- Categories

### Lists by Topic

- [Stepper Motors (62)](https://blog.orientalmotor.com/topic/stepper-motors)
- [VIDEOS (61)](https://blog.orientalmotor.com/topic/videos)
- [Application Examples (48)](https://blog.orientalmotor.com/topic/application-examples)
- [Speed Control (47)](https://blog.orientalmotor.com/topic/speed-control)
- [BLDC Motors (46)](https://blog.orientalmotor.com/topic/bldc-motors)
- [Alphastep Hybrid Control (40)](https://blog.orientalmotor.com/topic/alphastep-hybrid-control)
- [Absolute Positioning (36)](https://blog.orientalmotor.com/topic/absolute-positioning)
- [Linear Actuators (34)](https://blog.orientalmotor.com/topic/linear-actuators)
- [AC Motors (32)](https://blog.orientalmotor.com/topic/ac-motors)
- [Robotics (26)](https://blog.orientalmotor.com/topic/robotics)
- [Motion Control Basics (20)](https://blog.orientalmotor.com/topic/motion-control-basics)
- [Gearheads (17)](https://blog.orientalmotor.com/topic/gearheads)
- [Software (17)](https://blog.orientalmotor.com/topic/software)
- [Incremental Positioning (16)](https://blog.orientalmotor.com/topic/incremental-positioning)
- [Servo Motors (15)](https://blog.orientalmotor.com/topic/servo-motors)
- [Product Introductions (14)](https://blog.orientalmotor.com/topic/product-introductions)
- [Factory Automation (13)](https://blog.orientalmotor.com/topic/factory-automation)
- [Motor Sizing (13)](https://blog.orientalmotor.com/topic/motor-sizing)
- [Conveyors (12)](https://blog.orientalmotor.com/topic/conveyors)
- [Medical (11)](https://blog.orientalmotor.com/topic/medical)
- [Network (11)](https://blog.orientalmotor.com/topic/network)
- [Food & Packaging (10)](https://blog.orientalmotor.com/topic/food-packaging)
- [Technical Manual Series (9)](https://blog.orientalmotor.com/topic/technical-manual-series)
- [Stepper Drivers (8)](https://blog.orientalmotor.com/topic/stepper-drivers)
- [Rotary Actuators/Index Tables (7)](https://blog.orientalmotor.com/topic/rotary-actuators-index-tables)
- [Encoders (6)](https://blog.orientalmotor.com/topic/encoders)
- [Troubleshooting (6)](https://blog.orientalmotor.com/topic/troubleshooting)
- [Washdown (6)](https://blog.orientalmotor.com/topic/washdown)
- [Case Studies (5)](https://blog.orientalmotor.com/topic/case-studies)
- [Grip Conveyors (5)](https://blog.orientalmotor.com/topic/grip-conveyors)
- [Semiconductors (5)](https://blog.orientalmotor.com/topic/semiconductors)
- [Product Demos (4)](https://blog.orientalmotor.com/topic/product-demos)
- [Smooth Drive (4)](https://blog.orientalmotor.com/topic/smooth-drive)
- [Torque Limit (Push Motion, Tension Control) (4)](https://blog.orientalmotor.com/topic/torque-limit-push-motion-tension-control)
- [Vertical Lifts (4)](https://blog.orientalmotor.com/topic/vertical-lifts)
- [XYZ/Cartesian/Gantry (4)](https://blog.orientalmotor.com/topic/xyz-cartesian-gantry)
- [AGV/AMR (3)](https://blog.orientalmotor.com/topic/agv-amr)
- [Bottle Capping (3)](https://blog.orientalmotor.com/topic/bottle-capping)
- [Cooling Fans (3)](https://blog.orientalmotor.com/topic/cooling-fans)
- [Service Life (3)](https://blog.orientalmotor.com/topic/service-life)
- [Laboratory (2)](https://blog.orientalmotor.com/topic/laboratory)
- [Pumps (2)](https://blog.orientalmotor.com/topic/pumps)
- [Chemical Mechanical Polishing (1)](https://blog.orientalmotor.com/topic/chemical-mechanical-polishing)
- [Wafer Handling (1)](https://blog.orientalmotor.com/topic/wafer-handling)
- [Wafer Pin Lifters (1)](https://blog.orientalmotor.com/topic/wafer-pin-lifters)

see all

### Posts by Topic

- [Stepper Motors (62)](https://blog.orientalmotor.com/topic/stepper-motors)
- [VIDEOS (61)](https://blog.orientalmotor.com/topic/videos)
- [Application Examples (48)](https://blog.orientalmotor.com/topic/application-examples)
- [Speed Control (47)](https://blog.orientalmotor.com/topic/speed-control)
- [BLDC Motors (46)](https://blog.orientalmotor.com/topic/bldc-motors)
- [Alphastep Hybrid Control (40)](https://blog.orientalmotor.com/topic/alphastep-hybrid-control)
- [Absolute Positioning (36)](https://blog.orientalmotor.com/topic/absolute-positioning)
- [Linear Actuators (34)](https://blog.orientalmotor.com/topic/linear-actuators)
- [AC Motors (32)](https://blog.orientalmotor.com/topic/ac-motors)
- [Robotics (26)](https://blog.orientalmotor.com/topic/robotics)
- [Motion Control Basics (20)](https://blog.orientalmotor.com/topic/motion-control-basics)
- [Gearheads (17)](https://blog.orientalmotor.com/topic/gearheads)
- [Software (17)](https://blog.orientalmotor.com/topic/software)
- [Incremental Positioning (16)](https://blog.orientalmotor.com/topic/incremental-positioning)
- [Servo Motors (15)](https://blog.orientalmotor.com/topic/servo-motors)
- [Product Introductions (14)](https://blog.orientalmotor.com/topic/product-introductions)
- [Factory Automation (13)](https://blog.orientalmotor.com/topic/factory-automation)
- [Motor Sizing (13)](https://blog.orientalmotor.com/topic/motor-sizing)
- [Conveyors (12)](https://blog.orientalmotor.com/topic/conveyors)
- [Medical (11)](https://blog.orientalmotor.com/topic/medical)
- [Network (11)](https://blog.orientalmotor.com/topic/network)
- [Food & Packaging (10)](https://blog.orientalmotor.com/topic/food-packaging)
- [Technical Manual Series (9)](https://blog.orientalmotor.com/topic/technical-manual-series)
- [Stepper Drivers (8)](https://blog.orientalmotor.com/topic/stepper-drivers)
- [Rotary Actuators/Index Tables (7)](https://blog.orientalmotor.com/topic/rotary-actuators-index-tables)
- [Encoders (6)](https://blog.orientalmotor.com/topic/encoders)
- [Troubleshooting (6)](https://blog.orientalmotor.com/topic/troubleshooting)
- [Washdown (6)](https://blog.orientalmotor.com/topic/washdown)
- [Case Studies (5)](https://blog.orientalmotor.com/topic/case-studies)
- [Grip Conveyors (5)](https://blog.orientalmotor.com/topic/grip-conveyors)
- [Semiconductors (5)](https://blog.orientalmotor.com/topic/semiconductors)
- [Product Demos (4)](https://blog.orientalmotor.com/topic/product-demos)
- [Smooth Drive (4)](https://blog.orientalmotor.com/topic/smooth-drive)
- [Torque Limit (Push Motion, Tension Control) (4)](https://blog.orientalmotor.com/topic/torque-limit-push-motion-tension-control)
- [Vertical Lifts (4)](https://blog.orientalmotor.com/topic/vertical-lifts)
- [XYZ/Cartesian/Gantry (4)](https://blog.orientalmotor.com/topic/xyz-cartesian-gantry)
- [AGV/AMR (3)](https://blog.orientalmotor.com/topic/agv-amr)
- [Bottle Capping (3)](https://blog.orientalmotor.com/topic/bottle-capping)
- [Cooling Fans (3)](https://blog.orientalmotor.com/topic/cooling-fans)
- [Service Life (3)](https://blog.orientalmotor.com/topic/service-life)
- [Laboratory (2)](https://blog.orientalmotor.com/topic/laboratory)
- [Pumps (2)](https://blog.orientalmotor.com/topic/pumps)
- [Chemical Mechanical Polishing (1)](https://blog.orientalmotor.com/topic/chemical-mechanical-polishing)
- [Wafer Handling (1)](https://blog.orientalmotor.com/topic/wafer-handling)
- [Wafer Pin Lifters (1)](https://blog.orientalmotor.com/topic/wafer-pin-lifters)

see all

### Recent Posts

[![New call-to-action](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/2284573/f24cd0b7-792e-4246-a809-1f6331235405.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/2284573/f24cd0b7-792e-4246-a809-1f6331235405)

[![product-guide-gray-drop-shadow](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/2284573/interactive-194050460599.png)](https://blog.orientalmotor.com/hs/cta/wi/redirect?encryptedPayload=AVxigLKIjPMdVn2eYWcLc2RaV9zWRCGdFXlfJlbC5PFldTWoZw989g26lYCwjscsfasGT8UmxGu6ZjMaLKnXLFVVWMNDgtqg0Jwt838f9Lt457YsHolUCrP1UKtaK6m2yQ35Oxpj8Ewj3MV5YN0e1275zAzUjyNAOJgo3y9Mxu17stoIpEd3Dlb5sAhpQYVCk%2BmT%2FG2ZXlVZIEZ%2BYDM%3D&webInteractiveContentId=194050460599&portalId=2284573)

#### About Us

Oriental Motor offers an extensive product line-up of about 50,000 different products that provide the optimal motion system. For over a century we have concentrated on technological advancement and product design improvement. This emphasis is evident in the sophisticated devices that we market today. Oriental Motor's sales and service network is international, with offices throughout North America, Europe and Asia.

#### More Links

- [\[fa icon="caret-right"\] Home](http://www.orientalmotor.com)
- [\[fa icon="caret-right"\] About Us](http://www.orientalmotor.com/company/index.html)
- [\[fa icon="caret-right"\] Contact Us](http://www.orientalmotor.com/contact/index.html)

#### Contact Us

\[fa icon="phone"\]  1-800-GO-VEXTA (468-3982)

\[fa icon="envelope"\]  sales@orientalmotor.com

\[fa icon="home"\]  570 Alaska Avenue, Torrance CA 90503

\[fa icon="chevron-up"\]Back to top

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Johann Tang",
    "url" : "https://blog.orientalmotor.com/author/johann-tang"
  },
  "dateModified" : "2022-07-15T23:05:19.426Z",
  "datePublished" : "2019-04-01T18:09:05.000Z",
  "headline" : "Simple Method to Limit Motor Operation Range for Robotics Safety",
  "image" : [ "https://blog.orientalmotor.com/hubfs/Arm%20before%20limits.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.orientalmotor.com/set-motor-travel-limits-to-control-operation-range-for-robotics",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.orientalmotor.com/hubfs/OM-brand-logo-640x83.jpg"
    },
    "name" : "Oriental Motors"
  }
}
```