Home > Resources > Example Programs > Move on BCD

Move on BCD

Description

The following application will move the motor to a variety of positions based upon a binary input to I/O 1-4. One of the things this application shows is one of the new Microstep Resolution settings that give the ability to set motion to occur in 0.001˚ increments. The program does a calculation after each move to show motor position in degrees.

To run program, enter EX 1 into the terminal. You can index the motor by moving the switches to the center (OFF) position to represent a 4-bit binary number where switch 4 is the most significant bit.

The terminal will display the decimal equivalent, as well as the axis position in degrees.

This program illustrates the following functions:

  1. The ability to input BCD to the I/O group and control processes based on the value of the inputs.
  2. The ability to manipulate numeric position data to display it in familiar units of measure.

Requirements

  1. Compatible product
  2. DC power supply
  3. Communications/Network

Example program

 

When it comes to your form, fit and function requirements, don’t settle. Get precisely what you need working with us. We know motion.

Contact us with any questions about how we can help you with your motion application or for assistance with your SEM products.

Browse our resource section and find the most useful tools and documents for all our products.