Set Current To

Motion Block

Description

Set Current To sets the maximum phase current for internal stepper motor drives. Instrumentation monitoring the current of an internal drive set to 2 amps during very slow rotation of the motor would measure the current going up to 2 amps, diminishing down to -2 amps, and then increasing back to 2 amps sinusoidally. Note the current specifications on the motor data sheet. If the current specification is RMS then command parameter should be the RMS specification * 1.4. Excessive current can overheat a motor and not produce any torque improvement if the magnetics saturate. Insufficient current may not provide sufficient torque. Current management policies such as current cutback and current ramping can be implemented as tasks.

Escapes

Set Current To does not generate any escapes. If the requested current is above available current the maximum available current will be used.

Examples

This Autostart block establishes a default current setting:

There is often a need to have full current during motion but reduce the current once a destination has been achieved to reduce motor heating. This can be accomplished with a block list such as this:

This approach can manage the motor current for Axis_1 even if Axis_1 is being directed as a component axis of a multiaxis group. The Move Is Finished status for a component axis is reflected up to the group. If the group including Axis_1 is moving, then the move is not finished for Axis_1 and this current management policy would work as expected. It would be better if the current diminished slowly rather than suddenly. This alternative block list has this additional feature:

Related Topics

Set Motor
Move Is Finished