Configure the driver unit: Based on the actual hardware, sequentially configure the power module (SLM or ALM), motor module, encoder, and motor. For servo motors (such as 1FK7 series), the motor model needs to be selected from the list; For vector motors (such as 1PH7 or 1LA7 series), manual input of nameplate parameters (rated voltage, current, power, frequency, speed, etc.) is required. After the configuration is completed, the system generates a project summary for users to review.
Download and Storage: Connect the target device online and execute "Load project to target device" to download the project to the RAM of S120. To prevent data loss, it is necessary to perform "Copy RAM to ROM" to save the parameters to the CF card. Finally, execute 'Load to PG' to upload the project to the programmer and save it.
2.2 Online Project Configuration
Online configuration is suitable for Siemens motors with DRIVE CLiQ interface. The system automatically recognizes and reads data from each module and motor through DRIVE CLiQ, without the need for manual input. The process is as follows:
Create a project and set up DP communication port: the same as the first two steps of offline configuration.
Insert driver: Select the device type (such as SINAMICS S120 CU320) and device version, and set the bus address consistent with the hardware.
Online connection and factory restoration settings: Click on "connect to target system" to establish a connection, and then execute "Restore factory settings" to restore the device to its factory state.
Automatic configuration: Double click "Automatic configuration", and the system will automatically recognize all components with DRIVE CLiQ interface. For components without DRIVE CLiQ interface (such as encoders connected through SMC modules), the system will prompt the user to perform offline manual configuration.
Manual supplementary configuration: Disconnect the online connection, find the unrecognized component in the project navigation bar, and manually complete the configuration (refer to the offline configuration steps).
Download and Storage: Connect online again, perform download, Copy RAM to ROM, and save operations to complete project creation.

Basic debugging methods and tools
After completing the project configuration, S120 can be debugged in various ways.
3.1 Control panel controls motor
The Control Panel function in SCOUT software is the most direct debugging tool. When operating, first select the axis to be controlled, click "Assume control priority" to obtain control, then enable the driver, set the speed, and finally click the green button to start the motor. Users can adjust the motor operating speed between 0% and 200% by sliding the "Scaling" slider.
3.2 Operation box control motor
The operation box is connected to the control unit and option board (such as TB30) through digital and analog inputs. The user needs to perform BICO interconnection between the DI/DO of the control unit and the AI/O of TB30 with the control logic of the driver. For example, associate ON/OFF 1 with the digital input r722.0 of CU320, and associate the speed setting value with the analog input r4055 [0] of TB30. After the configuration is completed, the start stop, enable, reset, and speed control of the motor can be achieved through the switches and potentiometers on the operation box.
3.3 Basic Operation Panel Control Motor
BOP20 is an operation panel with backlight and six buttons, which can be directly installed on CU310 or CU320 control units. Through BOP20, users can switch driver objects, modify and display parameters, view fault information, and reset. When setting parameters, use the "P" key to enter parameter mode, and use the "Arrow" key to select parameter numbers and modify parameter values. For connector parameters (such as setting P840.0 to r0019.0), it is necessary to switch to BICO parameter display mode through the "Fn" key for setting.
3.4 Motor dynamic characteristic debugging
SCOUT software provides advanced debugging tools such as Trace, function generator, and measurement function (Bode plot).
Trace function: used to measure time-domain curves. Users can set the physical quantities to be observed (such as speed setting value, actual speed value, actual current value), set the sampling period and triggering method (such as bit triggering), and record the waveform during motor start-up or operation. By analyzing indicators such as overshoot and response time, dynamic response performance can be evaluated.
Function generator: used to generate periodic speed given signals (such as sine waves, square waves), combined with Trace function, can systematically test the dynamic response of the motor at different frequencies and amplitudes.
Measurement function (Bode diagram): Only applicable to servo control mode. This function is used to analyze the frequency response of the speed loop. Users can inject signals into the speed given channel, and the system automatically generates amplitude frequency and phase frequency Bode plots. By analyzing the cutoff frequency, phase margin, and amplitude margin, the stability and dynamic performance of the system can be accurately evaluated, and the proportional gain (P gain) and reset time of the speed loop can be adjusted accordingly.