104 Application macrosTorque control macroThis macro is used in applications in which torque control of the motor is required.These are typically tension applications, where a particular tension needs to bemaintained in the mechanical system.Torque reference is given through analog input AI2, typically as a current signal in therange of 0…20 mA (corresponding to 0…100% of rated motor torque).The start/stop signal is connected to digital input DI1. The direction is determined byDI2. Through digital input DI3, it is possible to select speed control (EXT1) instead oftorque control (EXT2). As with the PID control macro, speed control can be used forcommissioning the system and checking the motor direction.It is also possible to change the control to local (control panel or PC tool) by pressingthe Loc/Rem key. By default, the local reference is speed; if a torque reference isrequired, the value of parameter 19.16 Local control mode should be changed toTorque.A constant speed (by default, 300 rpm) can be activated through DI4. DI5 switchesbetween acceleration/deceleration time sets 1 and 2. The acceleration anddeceleration times, as well as ramp shapes, are defined by parameters23.12…23.19. Default parameter settings for the Torque control macroBelow is a listing of default parameter values that differ from those listed for theFactory macro in Parameter listing (page 115).Parameter Torque control macrodefaultNo. Name19.11 Ext1/Ext2 selection DI319.14 Ext2 control mode Torque20.02 Ext1 start trigger type Level20.06 Ext2 commands In1 Start; In2 Dir20.07 Ext2 start trigger type Level20.08 Ext2 in1 source DI120.09 Ext2 in2 source DI220.12 Run enable 1 source DI622.22 Constant speed sel1 DI423.11 Ramp set selection DI526.11 Torque ref1 source AI2 scaled31.11 Fault reset selection Not selected