Speed Control

The RMC100 provides two modes of closed loop speed control:

 

Note: Speed Control with Velocity Loop is supported in RMC100 CPU firmware dated 20030515 or later.

Using Speed Control with Position Loop

Speed control with Position Loop is used in the same way as position control with the following exceptions:

Using Speed Control with Velocity Loop

Speed control with Velocity Loop is used in the same way as Speed Control with Position Loop with the following addition:

Speed Control Commands

There are three main commands to use in speed control:

  1. Go Command

When a Go command is issued with the Rotational bit in the Mode word set, a Speed Control with Position Loop move is initiated. The Command Value holds the requested direction. For further details, see Go Command.

When a Go command is issued with the Rotational bit and the Velocity loop bits in the Mode word set, a Speed Control with Position Loop move is initiated. The Command Value holds the requested direction. For further details, see Go Command.

Advantages:

This command can start a speed control move. All command fields can be set with a single command.

Disadvantages:

When used with a communication type that allows only a Command and Command Value each command cycle (PROFIBUS-DP in Compact Mode and Communication DI/O using Command Mode or Parallel Position Mode), the speeds and accelerations are limited to those in the Motion Profile Table.

  1. Set Speed (Signed) Command

This command takes a number between –32,768 and 32,767 as the Command Value and sets both the requested direction (positive indicates an extend or clockwise move, and negative indicates a retract or counter-clockwise move) and the requested speed. The Rotational bit in the Mode word must be set prior to issuing this command.

Advantages:

Both the speed and direction can be changed with a single command.

Disadvantages:

Only speeds between 0 and 32,767 can be set with this command. Also, this command cannot set the Rotational bit in the Mode word, so another command must do this.

  1. Set Speed (Unsigned) Command

This command works the same as the Set Speed (Signed) command except that only the requested speed is changed; the requested direction cannot be changed with this command. Therefore, the Command Value is an unsigned number between 0 and 65,535 and holds the requested speed. The Rotational bit in the Mode word must be set prior to issuing this command.

Advantages:

Allows the speed to be set to any valid value (0 to 65,535 position units/second).

Disadvantages:

The direction cannot be changed with this command. Also, this command cannot set the Rotational bit in the Mode word, so another command must do this.

Speed Control with Cyclic Operations

In speed control the positions will increment or decrement until the position wraps. However, position can be reset on the fly. This is desired if there is a machine cycle that is less than 65536 position units long. If a machine cycle is 30000 units long it would be nice to reset the position to 0 when the axis gets above 29999. This way the same positions will occur at the same place in the cycle. This can be accomplished using either a Home Input to reset the positions or an Offset Positions command. The Home Input must be used if the absolute positions must always be the same or if the cycle distance is not an integer number of position units. For other cases, the Offset Positions command provides a cheaper and easier to implement way of maintaining the relative distance between events. In either case the Event Step Table must be used to either re-arm the Home Input or to reset the positions.

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.