MODE SP        Set trapezoidal speed profile mode

Syntax                        

MODE SP

MODE Speed Profile

Operands

PlaceTMLOnline

Binary code

DescriptionSets the drive/motor to operate in trapezoidal speed profile mode. In this mode, the drive/motor performs a speed control. The built-in reference generator computes a speed profile with a trapezoidal shape, due to a limited acceleration

 

The new motion mode becomes effective at the next update command UPD.

 

Example:

// Position feedback: 500 lines incremental

// encoder (2000 counts/rev)

CACC = 0.3183;        //acceleration rate = 1000[rad/s^2]

CSPD = 6.6667;        //jog speed = 200[rpm]

MODE SP;                // set speed profile mode

UPD;                        //execute immediate