102BTechnology instructions
9.3 Basic motion control
9.2.5
Commissioning the PID controller
Use the commissioning editor to configure the PID controller for autotuning at startup
and for autotuning during operation. To open the commissioning editor, click the icon
on either the instruction or the project navigator.
Table 9- 20
Sample configuration screen (PID_3Step)
9.3
Basic motion control
The CPU provides motion control functionality for the operation of stepper motors and servo
motors with pulse interface. The motion control functionality takes over the control and
monitoring of the drives.
● The "Axis" technology object configures the mechanical drive data, drive interface,
● You configure the pulse and direction outputs of the CPU for controlling the drive.
● Your user program uses the motion control instructions to control the axis and to initiate
● Use the PROFINET interface to establish the online connection between the CPU and
340
dynamic parameters, and other drive properties.
motion tasks.
the programming device. In addition to the online functions of the CPU, additional
commissioning and diagnostic functions are available for motion control.
Measurement: To display the setpoint, the
process value (input value) and the output value in a
real-time trend, enter the sample time and click the
"Start" button.
Tuning mode: To tune the PID loop, select either
"Pretuning" or "Fine tuning" (manual) and click the
"Start" button. The PID controller runs through
multiple phases to calculate system response and
update times. The appropriate tuning parameters are
calculated from these values.
After the completion of the tuning process, you can
store the new parameters by clicking the "Upload PID
parameters" button in the "PID Parameters" section of
the commissioning editor.
If an error occurs during tuning, the output value of the
PID goes to 0. The PID mode then is set to "inactive"
mode. The status indicates the error.
System Manual, 11/2011, A5E02486680-05
S7-1200 Programmable controller