Basic Programming of OMS controls

06/17/2025
2 minutes

Overview

Controlling the behavior of OMS Motion controllers is easily done through an extensive set of intuitive ASCII character commands. The commands are made up of 2 & 3 ASCII characters typically followed by a variable such as a numerical value or control character, such as a ‘?’. In the following command descriptions, a numerical argument is represented by a ‘#’ as a place holder. Each of the commands are terminated by a semicolon ‘;’. Most of the ASCII character commands are intuitive, such as Move Relative = MR#; and due to the vast set of commands some commands are defined with the closest available logical combination. In very basic terms the ASCII commands can be defined in a simple text files consisting of strings of characters sent to the controller. Most any simple application that can send ASCII characters can be used, and OMS Suite offers utilities to control OMS
products.


The Basics
A simple move of a single axis is shown below:


Certified Motion Control Professional Program

Strengthen Your Skills and Enhance Your Career

Become a Certified Motion Control Professional (CMCP) and join the elite group of system integrators, machine builders, manufacturers, end-users and others recognized in the industry for their professional knowledge and expertise.

Become Certified


 

  • AX; (Select the X-axis)
  • AC50000; (Set the acceleration)
  • VL2500; (Set the maximum velocity)
  • MR3000; (Define the Relative Move)
  • GO; (Execute the Relative Move)

In a multi-axis move, once the All-Axis mode is defined, the commands are typically the same, however the numerical variables are entered in the defined axis order (X,Y,Z,T,U,V,R,S). To skip an axis just leave the location of that axis blank. A simple multiaxis move where axes X, Y and T (no Z) are defined:

  • AA; (Select All Axes)
  • AC5000,4000,,6000; (Set accelerations)
  • VL800,1000,,4000; (Set velocities)
  • MA2222,4444,,5000; (Set Absolute move)
  • GO; (Execute Move)
MEET THE AUTHOR

OMS Motion Inc.

OMS Motion, located in Beaverton, Oregon, has been successfully producing motion controllers for more than 35 years. OMS Motion was founded as Oregon Micro Systems (OMS) and evolved from patented motion control technology that provide superior advantages in the industry. OMS built a strong reputation in the market for reliable and quality motion control products backed by superior customer service and technical support. These motion controllers can control 10 axes of motion on a single controller for servo and/or stepper motor control. OMS also produces integrated controller & drive in small compact sizes for deployment near or on the motor. Applications of OMS products include semiconductor and medical equipment, life sciences and factory automation markets, as well as research facilities around the world. In addition to creating multi-axis motion controllers, OMS offers motors, drives and accessories that are often tailor-made to support specific applications.

Discover how OMS Motion Inc. can support your automation journey with their complete range of solutions and expertise.

Visit Company Website
« Back To Motion Control & Motors Tech Papers
OMS Motion Inc. Logo

OMS Motion Inc. Motion Control & Motors Technology Provider

Member Since 2008

OMS Motion, located in Beaverton, Oregon, has been successfully producing motion controllers for more than 35 years. OMS Motion was founded as Oregon Micro Systems (OMS) and evolved from patented motion control technology that provide superior advantages in the industry. OMS built a strong reputation in the market for reliable and quality motion control products backed by superior customer service and technical support. These motion controllers can control 10 axes of motion on a single controller for servo and/or stepper motor control. OMS also produces integrated controller & drive in small compact sizes for deployment near or on the motor. Applications of OMS products include semiconductor and medical equipment, life sciences and factory automation markets, as well as research facilities around the world. In addition to creating multi-axis motion controllers, OMS offers motors, drives and accessories that are often tailor-made to support specific applications.