TIA sample project
You can download the TIA sample project ECDriveS_Positioning on the SEW-EURODRIVE website (www.sew-eurodrive.com).
This example presents a positioning application of ECR roller drives or ECG gearmotors via PROFINET IO.
To implement a positioning application in full, it is necessary to preselect the operating modes for jogging +/-, referencing, and positioning.
- Setpoints from the PLC:
- Release
- Target position
- Setpoint speed
- Ramp
- Actual values to the PLC:
- Operating state
- Error messages
- Actual position
- Actual speed
To use as large a functional scope as possible with the higher-level SIMATIC, select the "PLC mode" DAP from the "full PLC configuration" configuration type.
As double word widths are used for the positional setpoints and actual values, perform the reading and writing of the process data consistently.
To ensure convenient programming and reliable execution in all conventional CPU families, create the component in structured text.