Inverter with the cu250s-2 control unit (vector) (472 pages)
Summary of Contents for Siemens SINAMICS G110M
Page 3
___________________ Preface Fundamental safety ___________________ instructions ___________________ SINAMICS General information Communication via ___________________ PROFIBUS and PROFINET SINAMICS G120, G120P, G120C, G120D, G110M Communication via ___________________ EtherNet/IP Fieldbuses ___________________ Communication via RS485 Function Manual Communication over ___________________ CANopen Communication via AS-i - ___________________ only for G110M ___________________...
Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
● CANopen Additional fieldbuses for SINAMICS G120P ● BACnet MS/TP ● P1 Additional fieldbuses for SINAMICS G110M ● AS-Interface Changes in this edition Inverter settings are described in the context of the Startdrive PC commissioning tool. The descriptions for settings using STARTER have been removed.
Table of contents Preface ..............................3 Fundamental safety instructions ......................9 General safety instructions ....................... 9 Warranty and liability for application examples ................ 9 Industrial security ........................10 General information ..........................13 Ethernet and PROFINET protocols that are used ..............14 Communication via PROFIBUS and PROFINET ...................
Page 8
Table of contents 3.6.5 The inverter with PROFINET interface as Ethernet node............70 Communication via PROFIBUS ..................... 72 3.7.1 Inverters with PROFIBUS interface ..................73 3.7.2 What do you have to set for communication via PROFIBUS? ..........75 3.7.3 Integrating inverters into PROFIBUS ..................
Page 9
Table of contents 5.4.7.1 Read parameter ........................141 5.4.7.2 Write parameter ........................142 5.4.8 Communication procedure ....................144 5.4.9 Application example ......................145 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT ........146 5.5.1 Basic settings for communication ..................147 5.5.1.1 Setting the address .......................
Page 10
Table of contents 7.5.2 Acyclic communication - standard ..................228 7.5.3 Acyclic communication - manufacturer-specific ..............228 Appendix ............................. 231 Application examples for communication with STEP7............231 Manuals and technical support .................... 232 A.2.1 Overview of the manuals ..................... 232 A.2.2 Configuring support ......................
Fundamental safety instructions General safety instructions WARNING Danger to life if the safety instructions and residual risks are not observed If the safety instructions and residual risks in the associated hardware documentation are not observed, accidents involving severe injuries or death can occur. •...
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customer’s exposure...
Page 13
Fundamental safety instructions 1.3 Industrial security WARNING Unsafe operating states resulting from software manipulation Software manipulations (e.g. viruses, trojans, malware or worms) can cause unsafe operating states in your system that may lead to death, serious injury, and property damage. •...
Page 14
Fundamental safety instructions 1.3 Industrial security Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
General information Communication with the control, even when the line voltage is switched off If, in your plant or system, communication with the control system should continue to function even when the line voltage is switched off, then you must externally supply the inverter/Control Unit with 24 V DC.
General information 2.1 Ethernet and PROFINET protocols that are used Ethernet and PROFINET protocols that are used The inverter supports the protocols listed in the following tables. The address parameters, the relevant communication layer as well as the communication role and the communication direction are specified for each protocol.
Page 17
General information 2.1 Ethernet and PROFINET protocols that are used Table 2- 2 Ethernet/IP protocols Protocol Port Layer Function/description number (2) Link layer (4) Transport layer Implicit mes- 2222 (4) UDP Used for exchanging I/O data. saging This is inactive when delivered. Is activated when selecting Ether- Net/IP.
Page 18
General information 2.1 Ethernet and PROFINET protocols that are used Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
● Standard telegram 7, PZD-2/2 ● Standard telegram 9, PZD-10/5 ● SIEMENS telegram 110, PZD-12/7 ● SIEMENS telegram 111, PZD-12/12 ● Telegram 999, free interconnection Telegrams 7, 9, 110 and 111 are described in the "Basic positioner" Function Manual...
Page 20
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Figure 3-2 32-bit speed setpoint Figure 3-3 32-bit speed setpoint with 1 position encoder Figure 3-4 32-bit speed setpoint with 2 position encoders Figure 3-5 16-bit speed setpoint for VIK-Namur Figure 3-6 16-bit speed setpoint with torque limiting Figure 3-7...
Page 21
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Figure 3-8 16-bit speed setpoint with PKW range to read and write parameters Figure 3-9 16-bit speed setpoint for PCS7 with PKW range to read and write parameters Figure 3-10 Telegram with free interconnection and length Abbreviation Explanation...
Page 22
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Interconnection of the process data Figure 3-11 Interconnection of the send words Figure 3-12 Interconnection of the receive words The telegrams use - with the exception of telegram 999 (free interconnection) - the word-by- word transfer of send and receive data (r2050/p2051).
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.1 Assigning control and status words Assigning control and status of words is specified in part by the definitions in the PROFIdrive profile, Version 4.2 for the "Closed-loop speed control" operating mode; the other part is assigned depending on the particular manufacturer.
Page 24
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Control word 1 (STW1) Significance Explanation Signal inter- connection Telegram 20 All other tele- in the in- grams verter 0 = OFF1 The motor brakes with the ramp-down time p0840[0] = p1121 of the ramp-function generator.
Page 25
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Significance Explanation Signal inter- connection Telegram 20 All other tele- in the in- grams verter 1 = MOP down Reduce the setpoint saved in the motorized p1036[0] = potentiometer. r2090.14 CDS bit 0 Reserved...
Page 26
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Significance Remarks Signal inter- connection Telegram 20 All other tele- in the in- grams verter 1 = Motor rotates clockwise Internal inverter actual value > 0 p2080[14] = r2197.3 0 = Motor rotates counter- Internal inverter actual value <...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.1.2 Control and status word 2 Control word 2 is preassigned as follows: ● Bits 0 … 11 manufacturer-specific ● Bits 12 … 15 corresponding to the PROFIdrive profile Status word 2 is preassigned as follows: ●...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.1.3 Control and status word 3 Control word 3 is preassigned as follows: ● Bits 0 … 15 manufacturer-specific Status word 3 is preassigned as follows: ● Bits 0 … 15 manufacturer-specific Control word 3 (STW3) Bit Meaning Explanation...
Page 29
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Status word 3 (ZSW3) Meaning Description Signal intercon- nection in the inverter 1 = DC braking active p2051[3] = r0053 1 = |n_act | > p1226 Absolute current speed > stationary state detection 1 = |n_act | >...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.2 NAMUR message word Fault word according to the VIK-NAMUR definition (MELD_NAMUR) Table 3- 1 Fault word according to the VIK-NAMUR definition and interconnection with parameters in the inverter Bit Significance P no.
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.3 Control and status word, encoder Telegrams 3 and 4 allow the higher-level control system to directly access the encoder. Direct access is necessary, if the higher-level control is responsible for the closed-loop position control for the drive.
Page 32
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Status word encoder (G1_ZSW and G2_ZSW) Bit Meaning Explanation Signal interconnec- tion in the inverter Bit 7 = 0 Bit 7 = 1 Function 1 1 = search for ref- 1 = flying referencing to the rising Telegram 3: erence cam 1 is...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.4 Position actual value of the encoder G1_XIST1 and G2_XIST1 In the factory setting, the inverter transfers the encoder position actual value with a fine resolution of 11 bits to the higher-level control system. Figure 3-13 G1_XIST1 and G2_XIST1 The transferred encoder signal has the following properties:...
Page 34
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication The inverter transfers the position values in the same format (encoder pulse number and fine resolution) the same as G1_XIST1 and G2_XIST1. Table 3- 2 Fault code Explanation Possible cause Encoder fault One or more encoder faults.
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.5 Extend telegrams and change signal interconnection Overview When you have selected a telegram, the inverter interconnects the corresponding signals with the fieldbus interface. Generally, these interconnections are locked so that they cannot be changed.
Page 36
350: SIEMENS telegram 350, PZD-4/4 352: SIEMENS telegram 352, PZD-6/6 353: SIEMENS telegram 353, PZD-2/2, PKW-4/4 354: SIEMENS telegram 354, PZD-6/6, PKW-4/4 999: Free telegram configuration The following values apply if you have enabled the "Basic positioner" function in the...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.6 Data structure of the parameter channel Structure of the parameter channel The parameter channel consists of four words. The 1st and 2nd words transfer the parameter number, index and the type of task (read or write). The 3rd and 4th words contain the parameter content.
Page 38
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Table 3- 4 Response identifiers, inverter → control Description No response Transfer parameter value (word) Transfer parameter value (double word) Transfer descriptive element Transfer parameter value (field, word) Transfer parameter value (field, double word) Transfer number of field elements Inverter cannot process the request.
Page 39
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication Table 3- 5 Error numbers for response identifier 7 Description 00 hex Illegal parameter number (access to a parameter that does not exist) 01 hex Parameter value cannot be changed (change request for a parameter value that cannot be changed) 02 hex Lower or upper value limit exceeded (change request with a value outside the value limits)
Page 40
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication PNU (parameter number) and page index The parameter number is located in value PNU in the 1st word of the parameter channel (PKE). The page index is located in the 2nd word of the parameter channel (IND bit 7 … 0). Parameter number Page index 0000 …...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.6.1 Application examples Read request: Read out serial number of the Power Module (p7841[2]) To obtain the value of the indexed parameter p7841, you must fill the telegram of the parameter channel with the following data: ●...
Page 42
● PWE2, Bit 0 … 9: = 2 hex (Index of Parameter (DI 2 = 2)) Figure 3-17 Telegram, to assign DI 2 with ON/OFF1 Application example, "Read and write to parameters" Further information is provided on the Internet: Application examples (https://support.industry.siemens.com/cs/ww/en/view/29157692) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via PROFIBUS and PROFINET 3.1 PROFIDRIVE profile - Cyclic communication 3.1.7 Slave-to-slave communication "Direct data exchange" is sometimes called "slave-to-slave communication" or "data exchange broadcast". Here, slaves exchange data without any direct involvement of the master. Example: An inverter uses the actual speed value of another inverter as its speed setpoint. Definitions ●...
Communication via PROFIBUS and PROFINET 3.2 PROFIDRIVE profile - Acyclic communication PROFIDRIVE profile - Acyclic communication The inverter supports the following types of acyclic communication: ● For PROFIBUS: acyclic communication via data set 47 ● For PROFINET: acyclic communication via B02E hex and B02F hex The maximum data length per request is 240 bytes.
Page 45
Communication via PROFIBUS and PROFINET 3.2 PROFIDRIVE profile - Acyclic communication Table 3- 8 Inverter response to a read request Data block Byte n Bytes n + 1 Header Reference (identical to a read request) 01 hex: Inverter has executed the read re- quest.
Page 46
Communication via PROFIBUS and PROFINET 3.2 PROFIDRIVE profile - Acyclic communication Changing parameter values Table 3- 9 Request to change parameters Data block Byte n Bytes n + 1 00 hex ... FF hex Header Reference 02 hex: Change request 01 hex (ID of drive objects, at G120 al- Number of parameters (m) 01 hex ...
Page 47
Communication via PROFIBUS and PROFINET 3.2 PROFIDRIVE profile - Acyclic communication Table 3- 11 Response if the inverter was not able to completely execute the change request Data block Byte n Bytes n + 1 Header Reference (identical to a change request) 82 hex: (Inverter was not able to completely execute the write request) 01 hex (ID of drive objects, at G120 al-...
Page 48
Communication via PROFIBUS and PROFINET 3.2 PROFIDRIVE profile - Acyclic communication Error Meaning value 1 18 hex Number of values not consistent (number of values of the parameter data to not match the number of elements in the parameter address) 19 hex Drive object does not exist (access to a drive object that does not exist) 20 hex...
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels PROFIdrive profile - Diagnostic channels The inverters provide the diagnostics standardized for PROFIBUS and PROFINET. This means that it is possible to directly output faults and alarms at an HMI (control system screen).
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels 3.3.1 Diagnostics with PROFINET PROFINET uses the channel diagnostics to transfer PROFIdrive message classes. 9000 hex Hardware/software error 900A hex Position/speed actual value incorrect or not available 9001 hex Network fault 900B hex Internal (DRIVE-CLiQ) communication error...
Page 51
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels Reading out diagnostics data The control requests the diagnostics data from the inverter using "Read data set", e.g. using a read record with index 800C hex. The following rules apply: ●...
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels 3.3.2 Diagnostics with PROFIBUS The following objects belonging to a diagnostics message in PROFIBUS ● Standard diagnostics – Sequence: always at the first position of the message – Length is always 6 bytes ●...
Page 53
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels Default diagnostics The following values are decisive for the diagnostics: Ext_Diag: Group signal for diagnostics in the slave: • - 0: No fault is active - 1: At least one alarm or fault is active Ext_Diag_Overflow: •...
Page 54
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels Status messages, module status For G120, independent of the status, for all slots “00” is always output, i.e. valid user data. Channel-related data Undervoltage Motor overload Overvoltage Commun. with controller faulted Error Safety monit.
Page 55
Communication via PROFIBUS and PROFINET 3.3 PROFIdrive profile - Diagnostic channels Diagnostics alarm with DS0 / DS1 Alarm specifier Module fault 1: Fault is active and the slot is not OK 0: No fault is active 2: Fault is resolved and the slot is OK 1: Fault is active 3: Fault is resolved and the slot is not OK Channel fault present...
● Access to the inverter with Startdrive. ● Remote maintenance of the inverter with Startdrive across network boundaries. Remote maintenance across network boundaries (https://support.industry.siemens.com/cs/ww/en/view/97550333) ● Control of the inverter directly via SIMATIC Panels via PROFIBUS or PROFINET without higher-level control.
Page 58
Communication via PROFIBUS and PROFINET 3.5 S7 communication Adjusting settings in the inverter Procedure 1. Make the following settings and releases so that the inverter can accept commands from the panel: – Set the two signal sources for OFF2 (p0844 and p0845) to 1: p0844 = 1 p0845 = 1 –...
Page 59
Communication via PROFIBUS and PROFINET 3.5 S7 communication Settings at the SIMATIC panel Procedure 1. Configure the connection using WinCC flexible – Enter a name for the connection – Set the value in the "Active" column to "On" – Select "SIMATIC S7 300/400" as the communication driver. –...
Page 60
Communication via PROFIBUS and PROFINET 3.5 S7 communication General information for accessing inverter parameters You must create a variable with the following structure for each parameter that you want to display or change using the SIMATIC panel: DBX DBY Z ●...
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET Communication via PROFINET You can either integrate the inverter in a PROFINET network or communicate with the inverter via Ethernet. The inverter in PROFINET IO operation Figure 3-20 The inverter in PROFINET IO operation The inverter supports the following functions: ●...
Page 62
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET Further information on PROFINET Further information on PROFINET can be found on the Internet: ● PROFINET – the Ethernet standard for automation (http://w3.siemens.com/mcms/automation/en/industrial- communications/profinet/Pages/Default.aspx) ● PROFINET system description (https://support.industry.siemens.com/cs/ww/en/view/19292127) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET 3.6.1 Converter with PROFINET interface The pin assignment and the connectors that you require for your inverter are listed in the following tables. You can implement either a ring or line-type topology using the two sockets at the inverter. You only require one of the two sockets at the beginning and end of a line.
Information for assembling the SIMATIC NET Industrial Ethernet FastConnect RF45 plug 180 can be found on the Internet: Assembly instructions for the SIMATIC NET Industrial Ethernet FastConnect RJ45 plug (http://support.automation.siemens.com/WW/view/en/37217116/133300) 3.6.2 Integrating inverters into PROFINET To connect the inverter to a control via PROFINET, proceed as follows: Procedure 1.
● Install the GSDML of the inverter using "Options/Manage general station description (GSD)" in the components catalog. Configuring the communication using a non-Siemens control 1. Import the device file (GSDML) of the inverter into the engineering tool for your control system.
Page 66
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET Configuring communication with Startdrive Proceed as follows to make the settings for communication with the control system. ● Activate the following windows in Startdrive: "View/Project tree" and "View/Inspector window". ● Open the drive in the project tree and double click on "Device configuration". This opens the dialog in the inspector window for setting the PROFINET interface.
Insert a memory card into the inverter. Set p0804 = 12. The inverter writes the GSDML as zipped file (*.zip) into directory /SIEMENS/SINAMICS/DATA/CFG on the memory card. 2. Unzip the GSDML file on your computer. 3. Import the GSDML into the engineering system of the controller.
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET 3.6.4.1 General inverter behavior when in the PROFIenergy energy-saving mode ● When the PROFIenergy energy-saving mode is active, the inverter issues alarm A08800. ● If the PROFIenergy energy-saving mode is active, the RDY-LED flashes green as follows: 500 ms on, 3000 ms off.
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET 3.6.4.3 Settings and displays for PROFIenergy in the inverter Pause time ● Minimum pause time: p5602 – When the pause time, which is sent using command "Start_Pause", is equal to or greater than the value in p5602[1], then the inverter goes into the energy-saving mode.
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET 3.6.4.4 Control commands and status queries PROFIenergy control commands ● Start_Pause Dependent on the pause duration, switches into the energy-saving mode. – For p5611.2 = 0, from operating states S1 (switching on inhibited) or S2 (ready to switch on) –...
Page 71
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET ● Get_Measurement_Values The command returns the requested measured value using the measured value ID ● Get_Measurement_Values_with_object_number The command returns the requested measured values using the measured value ID and the object number. The object number corresponds to the drive object ID. Error values Table 3- 15 Error values in the parameter response...
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET 3.6.5 The inverter with PROFINET interface as Ethernet node. As default setting, the inverter is set for PROFINET IO communication. Alternatively, you have the option of integrating the inverter into an Ethernet network via the PROFINET interface.
Page 73
Communication via PROFIBUS and PROFINET 3.6 Communication via PROFINET Additional options of integrating inverters into Ethernet You also have the option of integrating the inverter into Ethernet using Proneta or STEP7, for example. Here is the example of the "Edit Ethernet station" screen form from Step 7, which you can use to make the required settings.
● Cyclic communication ● Acyclic communication ● Diagnostic alarms General information on PROFIBUS DP can be found in the Internet: ● PROFIBUS information (https://support.industry.siemens.com/cs/ww/en/view/1971286) ● Installation guidelines of the PNO (http://www.profibus.com/downloads/installation- guide/) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via PROFIBUS and PROFINET 3.7 Communication via PROFIBUS 3.7.1 Inverters with PROFIBUS interface You can find the connectors and the connector assignments of the PROFIBUS DP interface in the following tables. You can implement a line-type topology using the two connectors at the inverter. You can use switches to realize other topologies.
Page 76
Communication via PROFIBUS and PROFINET 3.7 Communication via PROFIBUS Table 3- 17 Connector pin assignments Signal X126 X03, on X04, off (D Sub - socket) (M12) (M12) Shield, ground connection RxD/TxD-P, receive and transmit (B/B’) CNTR-P, control signal DGND, reference potential for data (C/C’) VP, supply voltage RxD/TxD-N, receive and transmit (A/A’) Recommended PROFIBUS connectors...
Controlling the speed of a SINAMICS G110M/G120/G120C/G120D with S7-300/400F via PROFINET or PROFIBUS, with Safety Integrated (via terminal) and HMI (https://support.industry.siemens.com/cs/ww/en/view/60441457) Controlling the speed of a SINAMICS G110M / G120 (Startdrive) with S7-1500 (TO) via PROFINET or PROFIBUS, with Safety Integrated (via terminal) and HMI (https://support.industry.siemens.com/cs/ww/en/view/78788716) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via PROFIBUS and PROFINET 3.7 Communication via PROFIBUS 3.7.3 Integrating inverters into PROFIBUS To connect the inverter to a control system via PROFIBUS DP, proceed as follows: Procedure 1. Integrate the inverter into the bus system (e.g. line-type topology) using PROFIBUS cables.
Insert a memory card into the inverter. Set p0804 to 12. The inverter writes the GSD as zipped file (*.zip) into directory /SIEMENS/SINAMICS/DATA/CFG on the memory card. 2. Unzip the GSD file on your computer. 3. Import the GSD in the engineering system of the controller.
Communication via PROFIBUS and PROFINET 3.7 Communication via PROFIBUS 3.7.5 Setting the address Valid address area: 1 … 125 You have the following options for setting the address: ● Using the address switch on the Control Unit: Figure 3-22 Address switch with example for bus address 10 The address switch has priority over the other settings.
Communication via EtherNet/IP EtherNet/IP is real-time Ethernet, and is mainly used in automation technology. You have the following options of integrating SINAMICS G120 inverters into EtherNet/IP: ● You use the SINAMICS profile ● You use the ODVA AC/DC drive profile ●...
Communication via EtherNet/IP 4.1 Inverters with Ethernet/IP interface Inverters with Ethernet/IP interface Table 4- 1 Assignment table Inverter/Control Unit Connection via X150 P1/ X03/X04 X03/X04 X150 P2 (RJ45) (M12) (RJ45) G120 CU230P-2 PN • CU240E-2 PN • CU240E-2 PN-F • CU250S-2 PN •...
Page 85
RJ45, IP20: 6GK1901-1BB10-2Ax0 Information for assembling the SIMATIC NET Industrial Ethernet FastConnect RF45 plug 180 can be found on the Internet: Assembly instructions for the SIMATIC NET Industrial Ethernet FastConnect RJ45 plug (https://support.industry.siemens.com/cs/ww/en/ps/15251/man) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
In addition, you can find a detailed description of how to connect a SINAMICS G converter to a controller via Ethernet/IP at the following link: Application example (https://support.industry.siemens.com/cs/ww/en/view/82843076) Routing and shielding Ethernet cables Information can be found on the Internet: EtherNet/IP (http://www.odva.org/Home/ODVATECHNOLOGIES/EtherNetIP/EtherNetIPLibrary/tabid/76/l...
Communication via EtherNet/IP 4.3 What do you need for communication via Ethernet/IP? What do you need for communication via Ethernet/IP? Check the communication settings using the following questions. If you answer "Yes" to the questions, you have correctly set the communication settings and can control the inverter via the fieldbus.
You set the communication using parameter p8980. You have the following options Communication via the SINAMICS profile The SINAMICS profile is a drive profile for EtherNet/IP defined by Siemens, based on PROFIdrive, and is factory set in the inverters. Setting: p8980 = 0...
Communication via EtherNet/IP 4.4 Configuring communication via EtherNet/IP 4.4.2 Special issues if you wish to use the ODVA AC/DC Drive profile If you change the following parameters using Startdrive or an operator panel, you must switch off the inverter power supply and switch it on again in order for the changes to become effective.
Motor Data Object 29 hex Supervisor Object 2A hex Drive Object 32C hex Siemens Drive Object 32D hex Siemens Motor Data Object F5 hex TCP/IP Interface Object F6 hex Ethernet Link Object 300 hex Stack Diagnostic Object 302 hex Adapter Diagnostic Object...
Page 91
Type Name Value/explanation UINT16 Vendor ID 1251 UINT16 Device Type - ODVA AC Drive 02 hex - Siemens Drive 12 hex UINT16 Product code r0964[1] UINT16 Revision The versions should match the EDS file UINT16 Status See the following table...
Page 92
Communication via EtherNet/IP 4.5 Supported objects Assembly Object, Instance Number: 4 hex Supported services Class Instance • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 6 Class Attribute Service Type Name UINT16 Revision UINT16 Max Instance UINT16 Num of Instances Table 4- 7...
Page 93
Communication via EtherNet/IP 4.5 Supported objects Connection Management Object, Instance Number: 6 hex Supported services Class Instance • Get Attribute all • Forward open • Get Attribute single • Forward close • Get Attribute single • Set Attribute single Table 4- 8 Class Attribute Service Type...
Page 94
Communication via EtherNet/IP 4.5 Supported objects Motor Data Object, Instance Number 28 hex Supported services Class Instance • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 10 Class Attribute Ser- Type Name vice UINT16 Revision UINT16 Max Instance UINT16...
Page 95
Communication via EtherNet/IP 4.5 Supported objects Supervisor Object, Instance Number: 29 hex Supported services Class Instance • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 12 Class Attribute Ser- Type Name vice UINT16 Revision UINT16 Max Instance UINT16 Num of Instances...
Page 96
Communication via EtherNet/IP 4.5 Supported objects Drive Object, Instance Number: 2A hex Supported services Class Instance • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 14 Class Attribute Ser- Type Name vice UINT16 Revision UINT16 Max Instance UINT16 Num of Instances...
Page 97
U/f with independent voltage setpoint Vendor specific mode Closed-loop speed control (without encoder) Closed loop speed control Closed-torque control (without encoder) Torque control Siemens Drive Object, Instance Number: 32C hex Supported services Class Instance • Get Attribute single • Get Attribute single •...
Page 98
Communication via EtherNet/IP 4.5 Supported objects Service Name Value/explanation get, set PID Filter Time Con- p2265 technology controller actual stant value filter time constant get, set PID D Gain p2274 technology controller differen- tiation time constant get, set PID P Gain p2280 technology controller propor- tional gain get, set...
Page 99
PID Feedback r2266 technology controller actual value after the filter PID Output r2294 technology controller output signal Siemens Motor Data Object, Instance Number: 32D hex Supported services Class Instance • Get Attribute single • Get Attribute single • Set Attribute single...
Page 100
Communication via EtherNet/IP 4.5 Supported objects TCP/IP Interface Object, Instance Number: F5 hex Supported services Class Instance • Get Attribute all • Get Attribute all • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 20 Class Attribute Service Type...
Page 101
Communication via EtherNet/IP 4.5 Supported objects Link Object, Instance Number: F6 hex Supported services Class Instance • Get Attribute all • Get Attribute all • Get Attribute single • Get Attribute single • Set Attribute single Table 4- 22 Class Attribute Service Type Name...
Page 102
Communication via EtherNet/IP 4.5 Supported objects Service Type Name Value/explanation get_and_ Struct of Media Counters Media-specific counters clear UINT32 Alignment Errors Structure received, which does not match the num- ber of octets UINT32 FCS Errors Structure received, which does not pass the FCS check UINT32 Single Collisions...
Page 103
Communication via EtherNet/IP 4.5 Supported objects Parameter Object, Instance Number: 401 hex Supported services Class Instance • Get Attribute all • Get Attribute all • Set Attribute single Table 4- 24 Class Attribute Service Type Name UINT16 Revision UINT16 Max Instance UINT16 Num of Instances Cyclic communication is established via parameter object 401.
Create generic I/O module For certain controllers, or if you wish to use the SINAMICS profile, you cannot use the EDS file provided by Siemens. In these cases, you must create a generic I/O module in the control system for the cyclic communication.
Communication via EtherNet/IP 4.7 The inverter as an Ethernet station The inverter as an Ethernet station Integrating an inverter into an Ethernet network (assigning an IP address) Procedure 1. Set p8924 (PN DHCP mode) = 2 oder 3 – p8924 = 2: The DHCP server assigns the IP address based on the MAC address of the inverter.
Page 107
Communication via EtherNet/IP 4.7 The inverter as an Ethernet station Additional options of integrating inverters into Ethernet You also have the option of integrating the inverter into Ethernet using Proneta or STEP7, for example. Here is the example of the "Edit Ethernet station" screen form from Step 7, which you can use to make the required settings.
Page 108
Communication via EtherNet/IP 4.7 The inverter as an Ethernet station Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via RS485 5.1 Inverter with RS485 interface Inverter with RS485 interface You can find the connectors and the connector assignments of the RS485 interface in the following tables. Table 5- 2 Assignment table Inverter/Control Unit Connection via X128 X03, in X04, out (M12) (M12)
Page 111
Communication via RS485 5.1 Inverter with RS485 interface Table 5- 3 Pin assignment Signal X128 X03, in X04, out (M12) (M12) Not assigned RS485N, receive and transmit (-) RS485N, receive RS485N, transmit (-) RS485P, receive and transmit (+) RS485P, receive RS485P, transmit (+) 0 V, reference potential Cable shield...
Communication via RS485 5.2 Integrating inverters into a bus system via the RS485 interface Integrating inverters into a bus system via the RS485 interface Connecting to a network via RS485 Connect the inverter to the fieldbus via the RS485 interface. The RS485 connector has short- circuit proof, isolated pins.
Communication via RS485 5.3 Communication via USS Communication via USS The USS protocol is a serial data link between a master and up to a maximum of 31 slaves. A master is, for example: ● A programmable logic controller (e.g. SIMATIC S7-200) ●...
Communication via RS485 5.3 Communication via USS 4. Make additional changes based on the parameters listed in the following section. 5. If you are working with Startdrive, back up the settings so they are not lost if the power fails. You have now made the settings for communication via the USS.
Communication via RS485 5.3 Communication via USS 5.3.1.2 Parameters to set communication via USS Fieldbus protocol selection p2030 = 1 (USS) Baud rate p2020 = 8, 38400 bit/s Setting range: 2400 bit/s … 187500 bit/s Fieldbus analog outputs p0791[0 … 1] Parameter to interconnect the analog outputs for control via the fieldbus Fieldbus interface USS PZD number p2022 = 2...
Communication via RS485 5.3 Communication via USS 5.3.2 Telegram structure Overview A USS telegram comprises a series of elements with a defined sequence. Each element contains 11 bits. Figure 5-2 Structure of a USS telegram Telegram part Description Start delay / re- There is always a start and/or response delay between two telegrams.
Communication via RS485 5.3 Communication via USS 5.3.3 User data range of the USS telegram The user data area consists of the following elements: ● Parameter channel (PIV) for writing and reading parameter values ● Process data (PZD) for controlling the drive. Figure 5-3 USS telegram - user data structure Parameter channel...
Communication via RS485 5.3 Communication via USS 5.3.4 USS parameter channel Structure of the parameter channel Depending on the setting in p2023, the parameter channel has a fixed length of three or four words, or a variable length, depending on the length of the data to be transferred. 1.
Page 119
Communication via RS485 5.3 Communication via USS Table 5- 5 Response identifiers, inverter → control Description No response Transfer parameter value (word) Transfer parameter value (double word) Transfer descriptive element Transfer parameter value (field, word) Transfer parameter value (field, double word) Transfer number of field elements Inverter cannot process the request.
Page 120
Communication via RS485 5.3 Communication via USS Table 5- 6 Error numbers for response identifier 7 Description 00 hex Illegal parameter number (access to a parameter that does not exist) 01 hex Parameter value cannot be changed (change request for a parameter value that cannot be changed) 02 hex Lower or upper value limit exceeded (change request with a value outside the value limits)
Page 121
Communication via RS485 5.3 Communication via USS Parameter number Parameter numbers < 2000 PNU = parameter number. Write the parameter number into the PNU (PKE bit 10 ... 0). Parameter numbers ≥ 2000 PNU = parameter number - offset. Write the parameter number minus the offset into the PNU (PKE bit 10 …...
Communication via RS485 5.3 Communication via USS 5.3.4.1 Telegram examples, length of the parameter channel = 4 Read request: Read out serial number of the Power Module (p7841[2]) To obtain the value of the indexed parameter p7841, you must fill the telegram of the parameter channel with the following data: ●...
Page 123
Communication via RS485 5.3 Communication via USS Write request: Assign digital input 2 with the function ON/OFF1 (p0840[1] = 722.2) In order to link digital input 2 with ON/OFF1, you must assign parameter p0840[1] (source, ON/OFF1) the value 722.2 (DI 2). To do this, you must fill the telegram of the parameter channel as follows: ●...
Communication via RS485 5.3 Communication via USS 5.3.5 USS process data channel (PZD) Description The process data channel (PZD) contains the following data depending on the transmission direction: ● Control words and setpoints for the slave ● Status words and actual values for the master. Figure 5-7 Process data channel The first two words are:...
Communication via RS485 5.3 Communication via USS 5.3.6 Time-out and other errors You require the telegram runtimes in order to set the telegram monitoring. The character runtime is the basis of the telegram runtime: Table 5- 8 Character runtime Baud rate in bit/s Transmission time per bit Character run time (= 11 bits) 9600...
Page 126
Communication via RS485 5.3 Communication via USS The duration of the start delay must at least be as long as the time for two characters and depends on the baud rate. Table 5- 9 Duration of the start delay Baud rate in bit/s Transmission time per character (= 11 bits) Min.
Communication via RS485 5.4 Communication using Modbus RTU Communication using Modbus RTU Overview of communication using Modbus The Modbus protocol is a communication protocol based on a client/server architecture. Selected parameters and process data are exchanged in a cyclic access via the Modbus register.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.1 Basic settings for communication Overview Depending on the particular inverter, you have the following options when setting communication via Modbus RTU: ● For all inverters with an RS485 interface: 21 "USS Fieldbus" ●...
Communication via RS485 5.4 Communication using Modbus RTU 5.4.1.1 Setting the address Valid address area: 1 … 247 You have the following options for setting the address: ● Using the address switch on the Control Unit from 1 … 127: Figure 5-10 Address switch with example for bus address 10 The address switch has priority over the other settings.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.1.2 Parameters for Modbus communication settings General settings Fieldbus protocol selection p2030 = 2 (Modbus RTU) Baud rate p2020 = 7, 19200 bit/s Setting range: 4800 bit/s … 187500 bit/s Parity In the factory, the Control Unit is set for controllers with even parity You can adapt the parity at your controller using p2031: ●...
Page 131
Communication via RS485 5.4 Communication using Modbus RTU Interconnecting analog outputs If you set communication via Modbus (p2030 = 2), then the analog outputs of the inverter are internally interconnected with the fieldbus analog outputs: ● p0771[0] = 791[0] ● p0771[1] = 791[1]. The values for p0791[0] and p0791[1] are written via registers 40523 and 40524.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.2 Modbus RTU telegram Description For Modbus, there is precisely one master and up to 247 slaves. The master always starts the communication. Slaves send data when requested to do so by the master. Slave-to-slave communication is not possible.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.3 Baud rates and mapping tables Permissible baud rates and telegram delay The Modbus RTU telegram requires pauses for the following situations: ● for the start identifier ● for separating the individual frames ●...
Page 134
Communication via RS485 5.4 Communication using Modbus RTU Table 5- 11 Assigning the Modbus register to the parameters - process data Regis- Description Access Scaling Data / parameter 40100 Control word Process data 1 You can find details in function chart 9342 in the List Manual of the inverter.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.4 Mapping tables - inverter data Table 5- 12 Assigning the Modbus register to the parameters - On and outputs Regis- Description Unit Scaling ON-/OFF Data / parameter cess text/value range Digital outputs 40200 DO 0 HIGH...
Page 136
Communication via RS485 5.4 Communication using Modbus RTU Table 5- 13 Assigning the Modbus register to the parameters - inverter data Register Description Unit Scaling ON-/OFF Data / parameter cess text/value range 40300 Powerstack number 0 … 32767 r0200 40301 Inverter firmware z.
Page 137
Communication via RS485 5.4 Communication using Modbus RTU Table 5- 15 Assigning the Modbus register to the parameters - technology controller Register Description Unit Scaling ON-/OFF Data / parameter cess text/value range 40500 Technology controller enable 0 … 1 p2200, r2349.0 40501 Technology controller MOP -200.0 …...
Communication via RS485 5.4 Communication using Modbus RTU 5.4.5 Acyclic communication via Modbus RTU Acyclic communication or general parameter access is realized using the Modbus register 40601 … 40722. Acyclic communication is controlled using 40601. 40602 contains the function code (always = 47 = 2F hex) and the number of the following user data.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.6 Write and read access using function codes Basic structure of read and write access using function codes Function codes used For data exchange between the master and slave, predefined function codes are used for communication via Modbus.
Page 140
Communication via RS485 5.4 Communication using Modbus RTU The response returns the corresponding data set: Table 5- 19 Slave response to the read request, example Value Byte Description 11 h Slave address 03 h Function code 04 h Number of bytes (4 bytes are returned) 11 h Data first register "High"...
Page 141
Communication via RS485 5.4 Communication using Modbus RTU The response returns register address (bytes 2 and 3) and the value (bytes 4 and 5), which the higher-level control had written to the register. Table 5- 22 Slave response to the write request Value Byte Description...
Communication via RS485 5.4 Communication using Modbus RTU 5.4.7 Acyclically read and write parameter via FC 16 Via FC 16, with one request, up to 122 registers can be written to directly one after the other, while for Write Single Register (FC 06) you must individually write the header data for each register.
Communication via RS485 5.4 Communication using Modbus RTU 5.4.7.1 Read parameter Example: r0002 read acyclically Table 5- 24 Write parameter request: Reading the parameter value of r0002 from slave number 17 Value Byte Description 11 h Slave address 10 h Function code (write multiple) 0258 h Register start address...
Communication via RS485 5.4 Communication using Modbus RTU Table 5- 27 Response for unsuccessful read operation - read request still not completed Value Byte Description 11 h Slave address Number of following data bytes (20 h: 32 bytes ≙ 16 registers) 03 h Function code (read) 20 h...
Page 145
Communication via RS485 5.4 Communication using Modbus RTU Table 5- 29 Start parameter request: Writing the parameter value of p1121 from slave number 17 Value Byte Description 11 h Slave address 06 h Function code (write) 0258 h Register start address 0007 h Number of registers to be written to (40601 …...
Communication via RS485 5.4 Communication using Modbus RTU 5.4.8 Communication procedure Procedure for communication in a normal case Normally, the master sends a telegram to a slave (address range 1 ... 247). The slave sends a response telegram to the master. This response telegram mirrors the function code; the slave enters its own address in the telegram and so the slave identifies itself with the master.
Adjust the time (factory setting = 100 ms) depending on the number of slaves and the baud rate set on the bus. 5.4.9 Application example An application example for MODBUS RTU is provided on the Internet: Communication via the MODBUS interface (https://support.industry.siemens.com/cs/ww/en/view/35928944) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Communication via BACnet MS/TP - only CU230P-2 HVAC / BT BACnet properties In BACnet, components and systems are considered to be black boxes which contain a number of objects.
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT 5.5.1 Basic settings for communication Setting communication via BACnet Procedure 1. Select the default setting 110 – With Startdrive during commissioning step "Default setting of setpoint/command sources": 110 "BT Mac 10: BACnet MS/TP fieldbus"...
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT 5.5.1.1 Setting the address Valid address area: 0 ... 127 With address 0, the inverter responds to a broadcast. You have the following options for setting the BACnet address: ●...
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT 5.5.1.2 Parameters for setting communication via BACnet General settings Processing times p2024[0 … 2] p2024[0]: 0 ms … 10000 ms, maximum processing time (APDU timeout), factory setting = 6000 ms, p2024 [1 …...
Page 152
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Device name - default setting, change name, restore factory setting In BACnet, the Control Unit has a unique name, which is required for identification when replacing a device etc. The device name is preset at initial power up.
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Example ● AO 0 should display the value written with object ANALOG OUTPUT 0 via the control. In this particular case, no other settings are required in the inverter. ●...
Page 154
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT The inverter can simultaneously process up to 32 SubscribeCOV services. These can all refer to the same object instances - or different object instances. SubscribeCOV monitors the property changes of the following objects: ●...
Page 155
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Object properties of other object types Object Object type property Binary Binary Binary Analog Analog Analog Multi-State Octet Input Output Value Input Output Value Input String Values Object_Identifier Object_Name...
Page 156
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Binary Input Objects Instance Object name Description Possible Text active / Access Parameter values text inactive type DI0 ACT State of DI 0 ON/OFF ON/OFF r0722.0 DI1 ACT State of DI 1 ON/OFF...
Page 157
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Instance Object name Description Possible values Text Text Parameter active inactive cess type AT SET- Setpoint reached YES / NO r0052.8 POINT AT MAX Maximum speed reached YES / NO r0052.10 FREQ...
Page 158
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Analog Input Objects Instance Object name Description Unit Range Access Parameter type ANALOG IN 0 AI0 input signal V/mA inverter-dependent r0752[0] ANALOG IN 1 AI1 input signal V/mA inverter-dependent r0752[1]...
Page 159
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Instance Object name Description Unit Range Access Parameter type AV17 FREQ SP PCT Setpoint 1 (when controlling via -199.99 … 199.99 BACnet) AV18 ACT FAULT Number of the fault due to be inverter-dependent r0947[0] dealt with...
Page 160
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Instance Object name Description Unit Range Access Parameter type AV5103 DIFF TIME 0 Technology controller 0 differen- 0 … 60 p11074 tiation time constant AV5104 PROP GAIN 0 Technology controller 0 propor- 0 …...
Page 161
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT Multi-State Input Objects Instance Object name Description Possible values Access type Parameter MSI0 FAULT_1 Fault number 1 See List Manual "List of faults and r0947[0] alarms" MSI1 FAULT_2 Fault number 2...
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT 5.5.3 Acyclic communication (general parameter access) via BACnet Acyclic communication or general parameter access is realized via BACnet objects DS47IN and DS47OUT. Acyclic communication uses the octet string value objects OSV0 and OSV1. Instance Object name Description...
Page 163
Communication via RS485 5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT If the response is still not available, then you receive the following message via the present value window of the OSV1: Table 5- 35 Read parameter content via OSV1 Byte Description 2F h...
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT P1 is an asynchronous master-slave communication between what is known as a Field Cabinet (master) and the FLN devices (slaves). FLN stands for "Floor level network". The master individually addresses the various slaves.
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT 5.6.1 Basic settings for communication via P1 Overview Procedure Proceed as follows to set communication via P1: 1. Select the default setting 114 – With Startdrive during commissioning step "Default setting of setpoint/command sources": 114 "BT Mac 14: Communication P1"...
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT 5.6.2 Setting the address Valid address area: 1 … 99 You have the following options for setting the address: ● Using the address switch on the Control Unit: Figure 5-13 Address switch with example for bus address 10 The address switch has priority over the other settings.
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT 5.6.3 Point numbers The subsequently listed "Point Numbers" for communication are defined using P1 in the converter. The values listed in the tables refer to SI units. Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Page 168
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Page 169
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT 1*): For reasons of compatibility, these type 1 subpoints can save COV area information. Point Number 98 RAM TO ROM was implemented in order to be able to save these in a non- volatile fashion.
Page 170
Communication via RS485 5.6 Communication via P1 - only CU230P-2 HVAC, CU230P-2 BT Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Integrating an inverter in a CANopen network To integrate an inverter in a CANopen network, we recommend the EDS file on the Internet EDS (http://support.automation.siemens.com/WW/view/en/48351511). This file is the description file of the SINAMICS G120 inverter for CANopen networks. In this way, you can use the objects of the DSP 402 device profile.
Page 172
Communication over CANopen Grounding the CANopen Control Unit The CAN ground (pin 3) and the optional ground are electrically isolated from the ground potential of the system. The optional shield (pin 5) and the connector housing are connected with the ground potential of the system.
Page 173
Communication over CANopen COB ID for individual communication objects You will find the specifications for the COB IDs of the individual communication objects below: Cannot be changed • COB ID Pre-assigned with 80 hex • COB ID = free SYNC 80 hex + NAlleode-ID = COB ID •...
Communication over CANopen 6.1 Network management (NMT service) Network management (NMT service) Network management (NMT) is node-oriented and has a master-slave topology. A node is a master or a slave. The inverter is an NMT slave, and can adopt the following states: ●...
Page 175
Communication over CANopen 6.1 Network management (NMT service) can use SDO parameters to change or operate the inverter, which means that you can also enter setpoints via SDO. ● Operational, p8685 = 5; Command specifier = 1 In this state, the nodes can process SDO as well as also PDO. ●...
Page 176
Communication over CANopen 6.1 Network management (NMT service) Node Control Service The Node Control Services control state transitions ● Start Remote Node: Command for switching from the "Pre-Operational" communication state to "Operational". The drive can only transmit and receive process data (PDO) in "Operational" state. ●...
Communication over CANopen 6.2 SDO services SDO services You can access the object directory of the connected drive unit using the SDO services. An SDO connection is a peer-to-peer coupling between an SDO client and a server. The drive unit with its object directory is an SDO server. The identifiers for the SDO channel of a drive unit are defined according to CANopen as follows.
Page 178
Communication over CANopen 6.2 SDO services Calculate object number for an SDO job The object number for the SDO job is calculated as follows: object number hex = (number of the inverter parameter - offset value) hex + 2000 hex Examples of object numbers Parameter Number of the inverter parameter - offset value...
Communication over CANopen 6.2 SDO services 6.2.2 Access PZD objects via SDO Access to mapped PZD objects When you access objects mapped via transmit or receive telegrams, you can access the process data without additional settings. Overview Figure 6-1 Access to mapped PZD setpoint objects Figure 6-2 Access to mapped PZD actual value objects Example, access to object 6042 hex...
Page 180
Communication over CANopen 6.2 SDO services Access to non-mapped PZD objects When you access objects that are not interconnected via the receive or transmit telegram, you must also establish the interconnection with the corresponding CANopen parameters. Overview Figure 6-4 Access to non-mapped PZD setpoint objects Figure 6-5 Access to non-mapped free PZD actual value objects Figure 6-6...
Communication over CANopen 6.3 PDO services PDO services Process data objects (PDO) CANopen transfers the process data using "Process Data Objects" (PDO). There are send PDOs (TDPO) and receive PDOs (RPDO). CAN controller and inverter each exchange up to eight TPDOs and RPDOs. PDO communication parameters and PDO mapping parameters define a PDO.
Page 182
Communication over CANopen 6.3 PDO services COB ID Overview: Communication over CANopen (Page 169). Calculating the COB IDs: Predefined connection set (Page 182) Transmission type For process data objects, the following transmission types are available, which you set in index 1 of the communication parameter (p8700[1] … p8707[1] / p8720[1] … p8727[1]) in the inverter: ●...
Page 183
Communication over CANopen 6.3 PDO services Figure 6-8 Principle of synchronous and asynchronous transmission For synchronous TPDOs, the transmission mode also identifies the transmission rate as a factor of the SYNC object transmission intervals. The CAN controller transfers data from synchronous RPDOs that it received after a SYNC signal only after the next SYNC signal to the inverter.
Communication over CANopen 6.3 PDO services 6.3.1 Predefined connection set If you integrate the inverter using the factory setting in CANopen, the inverter receives the control word and the speed setpoint from the controller. The inverter returns the status word and the actual speed value to the controller.
Page 185
Communication over CANopen 6.3 PDO services Figure 6-10 TPDO mapping with the Predefined Connection Set Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication over CANopen 6.3 PDO services 6.3.2 Free PDO mapping Using the free PDO mapping, you configure and interconnect any process data as required as follows: ● as free objects free objects (Page 203) or ● as objects of drive profile CiA 402, corresponding to the requirements of your system for the PDO service The precondition is that the inverter is set for free PDO mapping.
Page 187
Communication over CANopen 6.3 PDO services Note Precondition for changing the OD indexes of the SINAMICS mapping parameters To allow you to change the values of the mapping parameters, you must set the COB ID of the corresponding parameter to invalid. To do this, add a value of 80000000 hex to the COB-ID.
Page 188
Communication over CANopen 6.3 PDO services Free TPDO mapping - Overview Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication over CANopen 6.3 PDO services 6.3.3 Interconnect objects from the receive and transmit buffers To interconnect process data, proceed as follows: Procedure 1. Create a telegram: create PDO (parameterize the PDO Com. Parameters and PDO mapping parameters). Predefined connection set (Page 182) Free PDO mapping (Page 184) 2.
Page 190
Communication over CANopen 6.3 PDO services Interconnecting the send buffer The inverter sends the data from the send buffer as follows: ● p2051[0] … p2051[13] in PZD 1 … PZD 14 (indication of the actual values in r2053[0 … 13]) ●...
Communication over CANopen 6.3 PDO services 6.3.4 Free PDO mapping for example of the actual current value and torque limit You integrate the actual current value and torque limit into the communication via the free PDO mapping. The actual current value and the torque setpoint are transferred in TPDO1 and RPDO1, respectively.
Page 192
Communication over CANopen 6.3 PDO services – Set the COB-ID of RPDO1 to "valid": p8700[0] = 40000232 hex r8750 shows which object is mapped to which PZD: PZD2 (r8750[1]) = 5800 (torque limit) 3. Link the PZD receive word 2 in the receive word (p2050) with the torque limit: p2050[1] = p1520[0] You have now transferred the value for the torque limit into the communication.
Communication over CANopen 6.4 CANopen operating modes CANopen operating modes The inverter has the following CANopen operating modes CANopen operating mode SINAMICS Active Setting in 6502 h: Open-loop/closed-loop con- Control Unit / Value operating mode 6060 h: Display trol mode inverter the ac- p1300...
Page 194
Communication over CANopen 6.4 CANopen operating modes Switching the CANopen operating modes You can also use parameters from other CANopen operating modes, independently from the current effective CANopen operating mode. Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Communication over CANopen 6.5 RAM to ROM via the CANopen object 1010 RAM to ROM via the CANopen object 1010 Save the parameters of the inverter EEPROM using CANopen object 1010. The following options are available: ● 1010.1: Save all parameters - identical with p0971 = 1, or back them up so they are not lost if the power fails.
Communication over CANopen 6.6 Object directories Object directories 6.6.1 General objects from the CiA 301 communication profile Overview The following table lists the drive-independent communication objects. The "SINAMICS parameters" column shows the parameter numbers assigned in the converter. Table 6- 2 Drive-independent communication objects OD index Subindex...
Page 197
Communication over CANopen 6.6 Object directories OD index Subindex Object name SINAMICS parame- Trans- Data Default Can be (hex) (hex) ters mission type values read/ written 1010 Store parameters p0971 Largest subindex supported Save all parameters p0971 Save communication parame- p0971 ters (0x1000-0x1fff) Save application-related pa-...
Page 198
Communication over CANopen 6.6 Object directories RPDO configuration objects The following tables list the communication and mapping parameters together with the indexes for the individual RPDO configuration objects. The configuration objects are established via SDO. The "SINAMICS parameters" column shows the parameter numbers assigned in the converter.
Page 199
Communication over CANopen 6.6 Object directories Table 6- 4 RPDO configuration objects - mapping parameters Sub- Name of the object SINAMICS Data Predefined con- Can be index index parameters type nection set read/ (hex) (hex) written to 1600 Receive PDO 1 mapping parameter Number of mapped application objects in PDO PDO mapping for the first application object to be p8710.0...
Page 200
Communication over CANopen 6.6 Object directories Sub- Name of the object SINAMICS Data Predefined con- Can be index index parameters type nection set read/ (hex) (hex) written to PDO mapping for the first application object to be p8714.0 mapped PDO mapping for the second application object to p8714.1 be mapped PDO mapping for the third application object to be...
Page 201
Communication over CANopen 6.6 Object directories TPDO configuration objects The following tables list the communication and mapping parameters together with the indexes for the individual TPDO configuration objects. The configuration objects are established via SDO. The "SINAMICS parameters" column shows the parameter numbers assigned in the converter.
Page 202
Communication over CANopen 6.6 Object directories Sub- Object name SINAMICS Data Predefined con- Can be index index parameters type nection set read/ (hex) (hex) written Inhibit time p8724.2 Reserved p8724.3 Event timer p8724.4 1805 Transmit PDO 6 communication parameter Largest subindex supported COB ID used by PDO p8725.0 C000 06DF hex...
Page 203
Communication over CANopen 6.6 Object directories Table 6- 6 TPDO configuration objects - mapping parameters Subin- Object name SINAMICS Data type Predefined Can be index parameters connection read/ (hex) (hex) written 1A00 Transmit PDO 1 mapping parameter Number of mapped application objects in PDO PDO mapping for the first application object to be p8730.0 6041 hex...
Page 204
Communication over CANopen 6.6 Object directories Subin- Object name SINAMICS Data type Predefined Can be index parameters connection read/ (hex) (hex) written PDO mapping for the first application object to be p8734.0 mapped PDO mapping for the second application object to p8734.1 be mapped PDO mapping for the third application object to be...
Communication over CANopen 6.6 Object directories 6.6.2 Free objects You can interconnect any process data objects of the receive and transmit buffer using receive and transmit double words. ● Scaling for percentage values: – 16-bit (word): 4000 hex ≙ 100% –...
Communication over CANopen 6.6 Object directories 6.6.3 Objects from the CiA 402 drive profile The following table lists the object directory with the index of the individual objects for the drives. The "SINAMICS parameters" column shows the parameter numbers assigned in the inverter.
Page 207
Communication over CANopen 6.6 Object directories OD index Sub- Name of the object SINAMICS Transmission Data Default Can be (hex) index parameters type setting read/ (hex) written 6077 Torque actual value r0080 SDO/PDO – Velocity mode 6042 vl target velocity r8792 SDO/PDO –...
– Speed setpoint and control word – Speed actual value and status word You can find the EDS in the Internet at: EDS (electronic data sheet) (http://support.automation.siemens.com/WW/view/en/48351511) Procedure Connecting inverter to CAN bus (Page 207) 2. Set the node ID, baud rate and the communication monitoring.
Communication over CANopen 6.7 Integrating the inverter into CANopen 6.7.1 Connecting inverter to CAN bus Connect the inverter to the fieldbus via the 9-pin SUB-D pin connector. The connections of this pin connector are short-circuit proof and isolated. If the inverter forms the first or last slave in the CANopen network, then you must switch-in the bus- terminating resistor.
Communication over CANopen 6.7 Integrating the inverter into CANopen Activating node ID or baud rate Procedure To activate the changed node ID or baud rate, proceed as follows: 1. Switch off the inverter power supply. 2. Wait until all LEDs on the inverter are dark. 3.
Page 211
Communication over CANopen 6.7 Integrating the inverter into CANopen Heartbeat Principle of operation The slave periodically sends heartbeat messages. Other slaves and the master can monitor this signal. In the master, set the responses for the case that the heartbeat does not come. Setting value for heartbeat Set in p8606 the cycle time for the heartbeat in milliseconds.
Communication over CANopen 6.8 Error diagnostics Error diagnostics Objects to signal and describe errors and operating states The following options are available to display errors and operating states: ● Display of the operating state using LEDs ● Display of the operating state using the alarm object (Emergency Object) –...
Page 213
Communication over CANopen 6.8 Error diagnostics Table 6- 7 CANopen fieldbus Explanation Data exchange between the inverter and control system is active ("Operational" state) Fieldbus is in the "Pre-operational" state Fieldbus is in the "Stopped" state No fieldbus available When LED RDY flashes simultaneously: Firmware update failed Alarm - limit reached Error event in the higher-level control system (Error Control Event)
Page 214
Communication over CANopen 6.8 Error diagnostics Inverter-specific error list (predefined error field) You can read out the inverter-specific error list using the following objects: ● OV index 1003 hex ● Inverter parameter p8611 It includes the alarms and faults present in the inverter in the CANopen alarm number range 8700-8799.
Page 215
Communication over CANopen 6.8 Error diagnostics Response in the case of an error For a CAN communication error, e.g. too many telegram failures, the inverter outputs fault F(A)08700(2). For further information, please refer to the List Manual of your inverter. Overview of the manuals (Page 232)).
Communication over CANopen 6.9 CAN bus sampling time CAN bus sampling time The CAN bus sampling time is 4 ms. The inverter can send and receive telegrams within this time frame. Receive telegrams cycle time ● For cyclic receive telegrams, the cycle time must be greater than twice the sampling time. Telegrams could be lost if the cycle time is any less than this.
Communication via AS-i - only for G110M General information The inverter operates based on the extended AS-i specification V3.0. The signaling is made as Manchester-coded current pulses superimposed on the 28 V supply. Decouple the 28 V supply with inductances so that the receivers can decouple the transferred messages.
Page 218
Communication via AS-i - only for G110M Connection The following table shows the AS-i plug assignment. Further connection information is contained in the AS-Interface system manual. Overview of the manuals (Page 232) Table 7- 1 Pin assignment X03 AS-i (M12) Function Description AS-i +...
Communication via AS-i - only for G110M 7.1 Setting the address Setting the address As factory setting, all AS-i slaves have address 0. Slaves with address 0 are not included in the communication. The addresses must be unique, although they can be mixed as required. You have the following options when making the address assignment: ●...
Page 220
Communication via AS-i - only for G110M 7.1 Setting the address Addressing via the addressing device (e.g. 3RK1904-2AB02) Addressing via the addressing device is made offline. Further information is contained in the AS-Interface system manual, Section "Setting the AS-i address" Overview of the manuals (Page 232) Addressing via parameters The address assignment is made with the p2012[0] and p2012[1] parameters.
Communication via AS-i - only for G110M 7.2 Single Slave mode Single Slave mode In Single Slave mode, four bits are available for the communication between the AS-i master and the inverter. The four bits are used to transfer process data. In parallel, the control can start a diagnostic request via AS-i.P0.
Page 222
Communication via AS-i - only for G110M 7.2 Single Slave mode Default setting 32: Modified Single Slave mode In Single Slave mode with modified addressing the control specifies the following: Control -> inverter -> p3330.0 = 2093.0 ON clockwise / OFF 1 •...
Communication via AS-i - only for G110M 7.3 Dual Slave mode Dual Slave mode In Dual Slave mode, eight bits are available for the communication between the AS-i master and the inverter. The eight bits are used to transfer process data. In parallel, the control can start a diagnostic request via AS-i.P0.
Page 224
Communication via AS-i - only for G110M 7.3 Dual Slave mode Default setting 31, slave 1 with profile 7.A.5: Control -> inverter -> Time signal for the CTT2 transfer from the AS-i master • AS-i.DO0 -> Data bit for the CTT2 transfer, four bytes cyclically or acyclically via •...
Page 225
Communication via AS-i - only for G110M 7.3 Dual Slave mode If the control sends a diagnostic request via AS-i.P0, the inverter replies with the currently pending fault or alarm messages. Table 7-5 Alarm and fault messages via RP0 … RP3 from the inverter to the AS-i master (Page 225).
Communication via AS-i - only for G110M 7.4 Assignment tables Assignment tables Fixed speeds - Single Slave Table 7- 2 Fixed speeds via the motor control bits AS-i.DO3 AS-i.DO2 AS-i.DO1 AS-i.DO0 Response in the inverter OFF1 On + fixed speed 1 (factory setting: 1500 rpm) On + fixed speed 2 (factory setting: -1500 rpm) On + fixed speed 3 (factory setting: 300 rpm) On + fixed speed 4 (factory setting: 450 rpm)
Page 227
Communication via AS-i - only for G110M 7.4 Assignment tables Fixed speeds - Dual Slave Table 7- 4 Fixed speeds via the motor control bits and response in the inverter AS-i.DO2 AS-i.DO1 AS-i.DO0 Response in the inverter OFF1 On + fixed speed 1 (factory setting: 1500 rpm) On + fixed speed 2 (factory setting: -1500 rpm) On + fixed speed 3 (factory setting: 300 rpm) On + fixed speed 4 (factory setting: 450 rpm)
Communication via AS-i - only for G110M 7.5 Cyclic and acyclic communication via CTT2 If an acyclical request cannot be executed by the inverter, it replies with one of the following error messages. Error message Meaning No fault Invalid index Incorrect length Request not implemented Busy (the request could not be processed completely within the time window, retry...
Communication via AS-i - only for G110M 7.5 Cyclic and acyclic communication via CTT2 Once a setpoint has been transferred completely, the setpoint present in the control will be transferred as next setpoint. Any setpoint changes made during the transfer are not considered.
Page 231
Communication via AS-i - only for G110M 7.5 Cyclic and acyclic communication via CTT2 Data exchange Reading data The data for the last write or exchange request is read Writing data In the event of a fault, the inverter sends the following telegram as reponse to the master: Value for PWE: Fault table from USS parameter channel (Page 116).
Page 232
Communication via AS-i - only for G110M 7.5 Cyclic and acyclic communication via CTT2 Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Appendix Application examples for communication with STEP7 Application examples for communication with STEP 7 can be found in the following manual: "Fieldbuses" function manual, edition 09/2017 (https://support.industry.siemens.com/cs/ww/en/view/109751350) Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Installing, commissioning and maintaining the inverter. Advanced commissioning ● SINAMICS G120C operating instructions. (https://support.industry.siemens.com/cs/ww/en/view/109482993) Installing, commissioning and maintaining the inverter. Advanced commissioning ● SINAMICS G110M operating instructions (https://support.industry.siemens.com/cs/ww/en/view/109478193) Installing, commissioning and maintaining the inverter. Advanced commissioning ● Operating instructions SINAMICS G120D with CU240D-2 (https://support.industry.siemens.com/cs/ww/en/view/109477366) Installing, commissioning and maintaining the inverter.
Page 235
SINAMICS G120C List Manual (https://support.industry.siemens.com/cs/ww/en/view/109482977) List of all parameters, alarms and faults, graphic function diagrams. ● SINAMICS G110M List Manual (https://support.industry.siemens.com/cs/ww/en/view/109478707) List of all parameters, alarms and faults, graphic function diagrams. Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...
Page 236
Appendix A.2 Manuals and technical support ● SIMATIC ET 200pro FC-2 List Manual (https://support.industry.siemens.com/cs/ww/en/view/109478711) List of all parameters, alarms and faults, graphic function diagrams. ● SIMATIC ET 200pro operating instructions (https://support.industry.siemens.com/cs/ww/en/view/21210852) Distributed ET 200pro I/O system ● SIMATIC ET 200pro motor starters manual (https://support.industry.siemens.com/cs/ww/en/view/22332388)
Page 237
If there a multiple editions of a manual, select the latest edition: Configuring a manual Further information about the configurability of manuals is available in the Internet: MyDocumentationManager (https://www.industry.siemens.com/topics/global/en/planning- efficiency/documentation/Pages/default.aspx). Select "Display and configure" and add the manual to your "mySupport-documentation": Not all manuals can be configured.
Catalog Ordering data and technical information for SINAMICS G inverters. Catalogs for download or online catalog (Industry Mall): Everything about SINAMICS G120 (www.siemens.en/sinamics-g120) SIZER The configuration tool for SINAMICS, MICROMASTER and DYNAVERT T drives, motor starters, as well as SINUMERIK, SIMOTION controllers and SIMATIC technology...
Appendix A.2 Manuals and technical support A.2.3 Product Support You can find additional information about the product on the Internet: Product support (https://support.industry.siemens.com/cs/ww/en/) This URL provides the following: ● Up-to-date product information (product announcements) ● FAQs ● Downloads ● The Newsletter contains the latest information on the products you use.
Page 240
Appendix A.2 Manuals and technical support Fieldbuses Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE...