TwinCAT NC Axis components High/low speed motors See: High/low speed motors [ } 14] . SERCOS Output scaling (only significant in the speed control operating mode) determines the relationship between the internal representation of the speed and the weighting of the speed data that is set in the drive unit. Since the calculation depends on a number of parameters that are internal to the drive unit, there is a facility for allowing the correct value to be calculated (the "Calculate" button). To do this, the necessary parameters are read from the drive, and the correct value is calculated (it is assumed that the system is operating and that SERCOS is at least in Phase 2).
Download and Upload can be used to write or read the data to and from the running TwinCAT system. 5.3 Controller The purpose of the controller is to operate on the basis of the set velocity differences (following error) or other set magnitudes (acceleration) in such a way that the following error is kept as small as possible and that the axis does not undergo any overshoots in position or velocity. A wide variety of controller versions is supported. Servo position controllers and special controllers for particular types of axis are available. Controller types Two different types of controller can be chosen:
position controllers (controllers whose task is to control the actual position in such a way that it follows the set position as precisely as possible) and controllers for special axes (high/low speed axes, stepper motor, SERCOS). The way in which the controller operates is described under the position control loop [ } 13] topic. Positions controller types: position controller P; following error proportional controller. Position controller with two P-constants: following error proportional controller with different constants for the stationary state and for movement. Position controller PID: position PID-T1 controller with proportional acceleration feed forward.
Automatic DAC offset adjustment Any controller with no I component has automatic DAC offset adjustment as an option. This adjustment is only active when the velocity feed forward of the axis falls below a certain magnitude. This prevents it from being affected by the dynamic behaviour of the axis. If the axis is subject to position control (or is moving at a suitably low-velocity) an offset velocity is generated by integrating the control velocity. This is added to the output. The negative feedback of the position control loop results in a PT1 behaviour, which means that an exponential function is created.
Offset calibration parameters If necessary, it is possible to affect the behavior of the offset calibration at runtime. A range of "switches" is available for this: for instance, at runtime the PLC or another ADS device can modify the parameters for the time constants and the pre-control limit. If necessary, the offset calibration can be entirely switched off. In this case it will not always be possible to avoid a jump in the output voltage. Soft deactivation can be achieved with "fade out". This will reduce the adjustment to zero over time following its own curve. "Hold" mode can be activated if the adjustment is to be kept steady for a period of time.
This can, for instance, be used if the power section of the drive is to be stopped temporarily. If the adjustment were to remain active, it would be impossible for the offset not to run out of control. Numerical Control (NC) Basics 36 Version: 1.2 Parameter Data type Unit Description Offset filter time double s Time constant for the offset calibration Offset limit double Relative control, above which the offset is kept constant.