Siemens application example showing how to integrate CANopen devices into SIMATIC S7-300 and S7-1200 systems using ET 200S 1SI and CM CANopen modules.
This Siemens application example explains how to integrate CANopen devices into the SIMATIC S7 automation world. It uses a CANopen frequency inverter and a CANopen temperature sensor to demonstrate configuration, programming and communication with CANopen devices in an S7 environment.
The solution uses a CM CANopen module with an S7-1200 CPU and a 1SI CANopen module with an ET 200S distributed I/O module for an S7-300 CPU. The example covers the CANopen basics, the program overview, configuration and project engineering, installation and startup, and troubleshooting notes for bus errors, corrupt EDS files, faulty devices and faulty PDO mapping.
| S7-1200 CPU | SIMATIC S7-1214C DC/DC/DC CPU, article number 6ES7214-1AG40-0XB0 |
|---|---|
| S7-300 CPU | SIMATIC S7-319-3 PN/DP CPU, article number 6ES7318-3EL00-0AB0 |
| ET 200S 1SI CANopen module | Article number 020570-B |
| CM CANopen module | Article number 021620-B |
| IXXAT USB-to-CAN V2 compact | Version 1.01.0281.12001 |
| TIA Portal | V13 SP1, article number 6ES7822-0AA03-0YA5 |
| Validity | Windows 7; STEP 7 V13 SP1 or higher; S7-1200 firmware 4.1 or higher; S7-300 firmware 2.8 or higher; ET 200S/SP firmware 7.0 or higher |
The example uses a CM CANopen module for an S7-1200 CPU and a 1SI CANopen module for an ET 200S distributed I/O module.
It reads and writes the CANopen process image, adjusts the CANopen byte order to the S7 controller, reads the CANopen error status cyclically, writes or enables a CANopen status broadcast, and controls a drive via the CANopen process image.
The 1SI CANopen module is configured using the Anybus Configuration Manager with a USB to CANopen adapter.
The example covers bus errors, a corrupt EDS file, a faulty device and faulty PDO mapping.