Siemens CE-X7 application example shows how to control a servo drive with a pulse/direction interface using an S7-1200 CPU 1214C, SINAMICS V60 and STEP 7…
This Siemens application example describes controlled positioning of a servo drive using the pulse/direction interface of an S7-1200 CPU 1214C and a SINAMICS V60 servo drive, programmed with STEP 7 V11 SP2. The S7-1200 CPU and the servo drive each include an internal pulse counter whose count represents the current position, and the CPU counter must be synchronized with the physical axis position before an absolute position can be approached.
The example covers the automation task, components list, connection diagram, control signals between the S7-1200 CPU and the servo drive, moving the motor with the pulse interface, position management, calculation of configuration parameters, the "Axis" technology object with PLCopen Motion Control function blocks, program structure, and configuration and commissioning of the SINAMICS V60 and S7-1200 CPU.
| Controller | S7-1200 CPU1214C, order number 6ES7214-1AE30-0XB0, DC, from Firmware V2.2 or higher |
|---|---|
| Servo drive | SINAMICS V60 power module (CPM60.1), order number 6SL3210-5CC14-0UA0, 4A |
| Servo motor | 1FL5 servo motor, order number 1FL5060-0AC21-0AG0, 4Nm without brake |
| Power supply unit | PM1207 power supply unit, order number 6EP1332-1SH71 |
| Connection cable | SIMATIC/SINAMICS V60 connection cable supporting 5V and 24V PNP signals incl. resistor for signals, order number 6ES7298-2DS23-0XA0, 3m |
| Signal cable | Preassembled signal cable for 1FL5 with TTL-encoder, order number 6FX6002-2LE00-1AF0, 5 meter |
| Power cable | Preassembled power cable for 1FL5 to 10 NM, order number 6FX6002-5LE00-1AF0, 5 meter 3m |
| Programming package | STEP 7 Basic V11 SP2, order number 6ES7822-0AA01-0YA0, WinCC Basic included |
| Basic panel (optional) | KTP1500 color, order number 6AV6647-0AG11-3AX0 or KTP600 color, order number 6AV6647-0AD11-3AX0 |
| Filter | Filter, order number 6SN1111-0AA01-1BA1, optional |
| Isolating transformer (accessory) | 400V/230V 3AC isolating transformer, 1.0 kVA for 4Nm motor, order number Y/Y-12 |
The example uses an S7-1200 CPU1214C and a SINAMICS V60 servo drive, with the CPU's pulse/direction interface used to move the servo motor.
Both the servo drive and the S7-1200 CPU have an internal pulse counter whose count represents the current position, so the CPU counter must be synchronized with the physical position of the axis before an absolute position can be approached.
The required functions are provided by the S7-1200 technology object "Axis" together with the associated PLCopen Motion Control function blocks, such as MC_Power, MC_Reset, MC_MoveJog, MC_Velocity, MC_Home, MC_Halt, MC_MoveAbsolute, MC_MoveRelative and MC_CommandTable.
No. The example project includes a KTP1500 and a KTP600 basic panel, but these panels are not an obligatory requirement; simulation of the user interface can also be done with PC-Runtime of STEP 7 Basic.