Mode parameterisation according to SoE

Parametrization of the IDN S-0-0032

Bit

Operation mode

0

no mode of operation

1

torque control

2

velocity control

3

position control feedback 1

4

position control feedback 2

11 and 12

position ctrl feedback 1 + 2 lag less

32769

torque control using dynamic MDT

32770

velocity control using dynamic MDT

32771 and 32772

position control feedback 1 + 2 using dynamic MDT

32779 and 32780

position control feedback 1 + 2 lag less using dynamic MDT

Cascaded control structure

The diagram shows a typical control structure with higher-level position controller and subordinate speed and current controller.

Mode parameterisation according to SoE 1:

A cascaded controller structure consisting of current, speed and position controllers has proven to be necessary for achieving high dynamics and positioning accuracy. The diagram illustrates the time constants of the individual control loops, rising from inside to outside. Two operating modes are suitable for positioning: velocity set value specification or position set value specification.

For the position of operation, 2 modes are:

Profile generator

The profile generator generates curve profile of a positioning job of the PLC function block MC_MoveAbsolute. In each NC cycle, at a specified time (node T1 - Tn), the Setpoints this positioning task passed to the axis control. Thus, the servo amplifier optimally can proceed, the target values of the profile generator with the SAF task of the EtherCAT fieldbus must be triggered. The SAF task ensures that the support points (T1 - Tn) to the servo amplifier be transported.

Mode parameterisation according to SoE 2:

MC_MoveAbsolute is primarily used for linear axis systems. This PLC function block, let to axes with a speed v process of starting to target positions.

Mode parameterisation according to SoE 3:

For further informations, please look at the following link:

PLC ( Libs ( TwinCAT 3 PLC lib: Tc2_MC2 ( Motion-Function block ( Point to Point Motion

Position interface

The position calculated by the profile generator is transferred to the drive via the EtherCAT fieldbus. This gives the drive a new position setpoint in each SAF cycle. The position controller in the drive (see cascaded control structure) eliminates the EtherCAT dead time in the position control loop. By using the position controller in the drive, the position controller has no effect in the NC (parameterization in the TCDrivemanager). The "Control Kp factor" in the NC online window of the CD driver manager therefore has no effect.

The actual position of the feedback system is mapped to the NC. Here it makes sense to select the standard (default) lag distance, which is calculated by the drive (automatically when reading in a standard Sercos axis). This lag distance provides the real position differences. The following distance can also be calculated internally via the NC. However, this calculation includes the dead time of the fieldbus (EtherCAT) and is thereby falsified.

This operating mode is configured via parameter S-0-0032. In addition to the internal position controller, a speed pre-control can be activated. If no precontrol is used, the setpoint of the speed controller is composed exclusively of the product control difference and the amplification of the position controller.

As a rule, pilot control makes sense. Depending on the application, the weighting of this variable between 0 and 100% can be influenced.

Speed interface

If the servo amplifier does not have a position controller or if the setpoint speed must be influenced with additional components, the position controller can be transferred to the controller. The setpoint speed calculated by the profile generator is supplemented by the amount that the TwinCAT PTP position controller calculates due to a tracking error.

The interpolation points of the velocity setpoints have, as with the position specification, a temporal resolution which is determined by the interpolation clock (task time of the SAF task of the NC).

This operating mode is configured via parameter S-0-0032.

S-0-0032 (main operating mode)

0 0000 0010

0x02

speed control

Another operating mode is torque control. In this operating mode, the nominal torque is specified. The actual torque is transmitted as feedback signal. The torque control is performed by the drive. If an external measuring point is regarded as an actual value, a control (generation of setpoints) must be provided in the controller.

S-0-0032 (main operating mode)

0 0000 0001

0x01

torque control