Modbus
Modbus
Modbus
Fieldbuses ___________________
instructions 1
___________________
Introduction 2
Communication via
___________________
PROFIBUS and PROFINET 3
SINAMICS Communication via
___________________
EtherNet/IP 4
SINAMICS G120, G120P, G120C,
G120D, G110M ___________________
Communication via RS485 5
Fieldbuses
___________________
Communication over
CANopen 6
Function Manual
___________________
Appendix A
04/2014, FW V4.7
A5E34229197B AA
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
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. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 5
Table of contents
Fieldbuses
6 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Table of contents
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 7
Table of contents
Fieldbuses
8 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Fundamental safety instructions 1
1.1 General safety instructions
WARNING
Risk of death if the safety instructions and remaining risks are not carefully observed
If the safety instructions and residual risks are not observed in the associated hardware
documentation, accidents involving severe injuries or death can occur.
• Observe the safety instructions given in the hardware documentation.
• Consider the residual risks for the risk evaluation.
WARNING
Danger to life or malfunctions of the machine as a result of incorrect or changed
parameterization
As a result of incorrect or changed parameterization, machines can malfunction, which in
turn can lead to injuries or death.
• Protect the parameterization (parameter assignments) against unauthorized access.
• Respond to possible malfunctions by applying suitable measures (e.g. EMERGENCY
STOP or EMERGENCY OFF).
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 9
Fundamental safety instructions
1.2 Industrial security
Note
Industrial security
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, solutions, machines, equipment and/or networks. They are
important components in a holistic industrial security concept. With this in mind, Siemens’
products and solutions undergo continuous development. Siemens recommends strongly
that you regularly check for product updates.
For the secure operation of Siemens products and solutions, it is necessary to take suitable
preventive action (e.g. cell protection concept) and integrate each component into a holistic,
state-of-the-art industrial security concept. Third-party products that may be in use should
also be considered. For more information about industrial security, visit Hotspot-Text
(http://www.siemens.com/industrialsecurity).
To stay informed about product updates as they occur, sign up for a product-specific
newsletter. For more information, visit Hotspot-Text
(http://support.automation.siemens.com).
WARNING
Danger as a result of unsafe operating states resulting from software manipulation
Software manipulation (e.g. by viruses, Trojan horses, malware, worms) can cause unsafe
operating states to develop in your installation which can result in death, severe injuries
and/or material damage.
• Keep the software up to date.
You will find relevant information and newsletters at this address
(http://support.automation.siemens.com).
• Incorporate the automation and drive components into a holistic, state-of-the-art
industrial security concept for the installation or machine.
You will find further information at this address
(http://www.siemens.com/industrialsecurity).
• Make sure that you include all installed products into the holistic industrial security
concept.
Fieldbuses
10 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Introduction 2
About this manual
This manual describes the settings and preconditions that are required to communicate with
a higher-level control system with the subsequently listed fieldbus systems.
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. To do this, use terminals 31 and 32 – or connector X01.
You can find additional details in the operating instructions for the inverter or the Control
Unit.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 11
Introduction
2.1 Ethernet and PROFINET protocols that are used
Fieldbuses
12 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Introduction
2.1 Ethernet and PROFINET protocols that are used
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 13
Introduction
2.1 Ethernet and PROFINET protocols that are used
Fieldbuses
14 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET 3
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 15
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
16 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 17
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
The telegrams use - with the exception of telegram 999 (free interconnection) - the word-by-
word transfer of send and receive data (r2050/p2051).
If you require an individual telegram for your application (e.g. for transferring double words),
you can adapt one of the predefined telegrams using parameters p0922 and p2079. For
details, please refer to the List Manual, function diagrams 2420 and 2472.
Fieldbuses
18 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 19
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
4 0 = Disable RFG The inverter immediately sets its ramp-function generator p1140[0] =
output to 0. r2090.4
1 = Do not disable RFG The ramp-function generator can be enabled.
5 0 = Stop RFG The output of the ramp-function generator stops at the actual p1141[0] =
value. r2090.5
1 = Enable RFG The output of the ramp-function generator follows the
setpoint.
6 0 = Inhibit setpoint The inverter brakes the motor with the ramp-down time p1142[0] =
p1121 of the ramp-function generator. r2090.6
1 = Enable setpoint Motor accelerates with the ramp-up time p1120 to the
setpoint.
7 0 → 1 = Acknowledge faults Acknowledge fault. If the ON command is still active, the p2103[0] =
inverter switches to"closing lockout" state. r2090.7
8, 9 Reserved
10 0 = No control via PLC Inverter ignores the process data from the fieldbus. p0854[0] =
1 = Control via PLC Control via fieldbus, inverter accepts the process data from r2090.10
the fieldbus.
11 0 = Direction reversal Invert setpoint in the inverter. p1113[0] =
r2090.11
12 Not used
13 ---1) 1 = MOP up Increase the setpoint saved in the motorized potentiometer. p1035[0] =
r2090.13
14 ---1) 1 = MOP down Reduce the setpoint saved in the motorized potentiometer. p1036[0] =
r2090.14
15 CDS bit 0 Reserved Changes over between settings for different operation p0810 =
interfaces (command data sets). r2090.15
1) If you change over from another telegram to telegram 20, then the assignment of the previous telegram is kept.
Fieldbuses
20 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 21
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
22 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 23
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
24 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 25
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Extend telegram
Every telegram can be extended, by "attaching" additional signals.
Procedure
Proceed as follows to extend a telegram:
1. Using STARTER or an operator panel, set parameter p0922 = 999.
2. Set parameter p2079 to the appropriate value of the corresponding telegram.
3. Interconnect additional PZD send words and PZD receive words with signals of your
choice via parameters r2050 and p2051.
You have extended the telegram.
Parameter Description
p0922 PROFIdrive telegram selection
999: Free telegram (message frame) configuration
p2079 PROFIdrive PZD telegram selection extended
The following values apply if you have still not enabled the "Basic positioner" function
in the inverter:
1: Standard telegram 1, PZD-2/2
2: Standard telegram 2, PZD-4/4
3: Standard telegram 3, PZD-5/9
4: Standard telegram 4, PZD-6/14
20: Standard telegram 20, PZD-2/6
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
The following values apply if you have enabled the "Basic positioner" function in the
inverter:
7: Standard telegram 7, PZD-2/2
9: Standard telegram 9, PZD-10/5
110: SIEMENS telegram 110, PZD-12/7
111: SIEMENS telegram 111, PZD-12/12
r2050[0…11] PROFIdrive PZD receive word
Connector output to interconnect the PZD (setpoints) in the word format received
from the PROFIdrive controller.
p2051[0…16] PROFIdrive PZD send word
Selection of the PZD (actual values) in the word format to be sent to the PROFIdrive
controller.
Selection of the PZD (actual values) in the word format to be sent to the PROFIdrive
controller. For further information refer to the function block diagrams 2468 and 2470 of the
List Manual.
Fieldbuses
26 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Procedure
Proceed as follows to change the signal interconnection of a telegram:
1. Using STARTER or an operator panel, set parameter p0922 = 999.
2. Using STARTER or an operator panel, set parameter p2079 = 999.
3. Interconnect additional PZD send words and PZD receive words with signals of your
choice via parameters r2050 and p2051.
You have freely interconnected the signals transferred in the telegram.
Parameter Description
p0922 PROFIdrive telegram selection
999: Free telegram (message frame) configuration
p2079 PROFIdrive PZD telegram selection extended
999: Free telegram (message frame) configuration
r2050[0…11] PROFIdrive PZD receive word
Connector output to interconnect the PZD (setpoints) in the word format received
from the PROFIdrive controller.
p2051[0…16] PROFIdrive PZD send word
Selection of the PZD (actual values) in the word format to be sent to the PROFIdrive
controller.
For further information refer to the function block diagrams 2468 and 2470 of the List
Manual.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 27
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Response Description
identifier
0 No response
1 Transfer parameter value (word)
2 Transfer parameter value (double word)
3 Transfer descriptive element 1)
4 Transfer parameter value (field, word) 2)
5 Transfer parameter value (field, double word) 2)
6 Transfer number of field elements
7 Inverter cannot process the request.
In the most significant word of the parameter channel, the inverter sends an error
number to the control, refer to the following table.
8 No master controller status / no authorization to change parameters of the
parameter channel interface
1) The required element of the parameter is specified in IND (2nd word).
2) The required element of the indexed parameter is specified in IND (2nd word).
Fieldbuses
28 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
No. 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)
03 hex Incorrect subindex (access to a subindex that does not exist.)
04 hex No array (access with a subindex to non-indexed parameters)
05 hex Incorrect data type (change request with a value that does not match the data type of the
parameter)
06 hex Setting not permitted, only resetting (change request with a value not equal to 0 without
permission)
07 hex Descriptive element cannot be changed (change request to a descriptive element error
value that cannot be changed)
0B hex No master control (change request but with no master control, see also p0927.)
0C hex Keyword missing
11 hex Request cannot be executed due to the operating state (access is not possible for
temporary reasons that are not specified)
14 hex Inadmissible value (change request with a value that is within the limits but which is illegal
for other permanent reasons, i.e. a parameter with defined individual values)
65 hex Parameter number is currently deactivated (depending on the mode of the inverter)
66 hex Channel width is insufficient (communication channel is too small for response)
68 hex Illegal parameter value (parameter can only assume certain values)
6A hex Request not included / task is not supported (the valid request identifications can be found
in table "Request identifications controller → inverter")
6B hex No change access for a controller that is enabled. (operating status of the inverter
prevents a parameter change)
86 hex Write access only for commissioning (p0010 = 15) (operating status of the inverter
prevents a parameter change)
87 hex Know-how protection active, access locked
C8 hex Change request below the currently valid limit (change request to a value that lies within
the "absolute" limits, but is however below the currently valid lower limit)
C9 hex Change request above the currently valid limit (example: a parameter value is too large for
the inverter power)
CC hex Change request not permitted (change is not permitted as the access code is not
available)
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 29
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Indexed parameters
For indexed parameters, you must write the index as hex value into the subindex (IND
bit 15 … 8).
Parameter contents
Parameter contents can be parameter values or connectors.
Fieldbuses
30 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Telegram 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:
● PKE, bit 12 … 15 (AK): = 6 (request parameter value (field))
● PKE, bit 0 … 10 (PNU): = 1841 (Parameter number without offset)
Parameter number = PNU + offset (page index)
(7841 = 1841 + 6000)
● IND, bit 8 … 15 (subindex): = 2 (Index of the parameter)
● IND, bit 0 … 7 (page index): = 90 hex (offset 6000 ≙ 90 hex)
● Because you want to read the parameter value, words 3 and 4 in the parameter channel
for requesting the parameter value are irrelevant. They should be assigned a value of 0,
for example.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 31
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
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:
● PKE, bit 12 … 15 (AK): = 7 hex (change, parameter value (field, word))
● PKE, bit 0 … 10 (PNU): = 348 hex (840 = 348 hex, no offset, as 840 < 1999)
● IND, bit 8 … 15 (subindex): = 1 hex (CDS1 = index1)
● IND, bit 0 … 7 (page index): = 0 hex (offset 0 ≙ 0 hex)
● PWE1, bit 0 … 15: = 2D2 hex (722 = 2D2 hex)
● PWE2, bit 10 … 15: = 3F hex (drive object - for SINAMICS G120, always 63 = 3f hex)
● PWE2, bit 0 … 9: = 2 hex (index of parameter (DI 2 = 2))
Fieldbuses
32 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Definitions
● Publisher: Slave, which sends data for direct data exchange.
● Subscriber: Slave, which receives the data for direct data exchange from the publisher.
● Links and access points define the data that is used for direct data exchange.
Restrictions
● Direct data exchange in the current firmware version is only possible for inverters with
PROFIBUS communication.
● A maximum of 12 PZDs are permissible for each drive.
● To a publisher, a maximum of 4 links are possible.
Procedure
To configure direct data exchange, proceed as follows:
1. In the control, define:
– Which inverters operate as publisher (sender) or subscriber (receiver)?
– Which data or data areas do you use for direct data exchange?
2. In the inverter, define:
How does the subscriber process the data transferred using direct data exchange?
You have configured direct data exchange.
You can find more information in: "Manuals for your inverter in the Fieldbus communications
manual (Page 180)".
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 33
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Note
Values in italics
Values in italics in the following tables mean that you have to adjust these values for a
specific request.
Fieldbuses
34 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 35
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Fieldbuses
36 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
Table 3- 10 Response if the inverter was not able to completely execute the change request
Error values
Error Meaning
value 1
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)
03 hex Incorrect subindex (access to a parameter index that does not exist)
04 hex No array (access with a subindex to non-indexed parameters)
05 hex Incorrect data type (change request with a value that does not match the data type of the parameter)
06 hex Setting not permitted, only resetting (change request with a value not equal to 0 without permission)
07 hex Descriptive element cannot be changed (change request to a descriptive element that cannot be changed)
09 hex Description data not available (access to a description that does not exist, parameter value is available)
0B hex No master control (change request but with no master control)
0F hex Text array does not exist (although the parameter value is available, the request is made to a text array that
does not exist)
11 hex Request cannot be executed due to the operating state (access is not possible for temporary reasons that are
not specified)
14 hex Inadmissible value (change request with a value that is within the limits but which is illegal for other permanent
reasons, i.e. a parameter with defined individual values)
15 hex Response too long (the length of the actual response exceeds the maximum transfer length)
16 hex Illegal parameter address (illegal or unsupported value for attribute, number of elements, parameter number,
subindex or a combination of these)
17 hex Illegal format (change request for an illegal or unsupported format)
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 37
Communication via PROFIBUS and PROFINET
3.1 PROFIdrive profile
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 Parameter text cannot be changed
21 hex Service is not supported (illegal or not support request ID).
6B hex A change request for a controller that has been enabled is not possible. (The inverter rejects the change
request because the motor is switched on. Please observe the "Can be changed" parameter attribute (C1, C2,
U, T) in the List Manual. See also section: Additional manuals for your inverter (Page 182))
6C hex Unknown unit.
6E hex Change request is only possible when the motor is being commissioned (p0010 = 3).
6F hex Change request is only possible when the power unit is being commissioned (p0010 = 2).
70 hex Change request is only possible for quick commissioning (basic commissioning) (p0010 = 1).
71 hex Change request is only possible if the inverter is ready (p0010 = 0).
72 hex Change request is only possible for a parameter reset (restore to factory setting) (p0010 = 30).
73 hex Change request possible only during commissioning of the safety functions (p0010 = 95).
74 hex Change request is only possible when a technological application/unit is being commissioned (p0010 = 5).
75 hex Change request is only possible in a commissioning state (p0010 ≠ 0).
76 hex Change request is not possible for internal reasons (p0010 = 29).
77 hex Change request is not possible during download.
81 hex Change request is not possible during download.
82 hex Transfer of the control authority (master) is inhibited by BI: p0806.
83 hex Desired interconnection is not possible (the connector output does not supply a float value although the
connector input requires a float value)
84 hex Inverter does not accept a change request (inverter is busy with internal calculations. See parameter r3996 in
the inverter List Manual. See also Section: Additional manuals for your inverter (Page 182))
85 hex No access methods defined.
86 hex Write access only during commissioning of the data records (p0010 = 15) (operating status of the inverter
prevents a parameter change.)
87 hex Know-how protection active, access locked
C8 hex Change request below the currently valid limit (change request to a value that lies within the "absolute" limits,
but is however below the currently valid lower limit)
C9 hex Change request above the currently valid limit (example: a parameter value is too large for the inverter power)
CC hex Change request not permitted (change is not permitted as the access code is not available)
Fieldbuses
38 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.2 Identification & maintenance data (I&M)
I&M data
The inverter supports the following identification and maintenance (I&M) data.
When requested, the inverted transfers its I&M data to a higher-level control or to a PC/PG
with installed STEP 7, STARTER or TIA-Portal.
I&M0
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 39
Communication via PROFIBUS and PROFINET
3.3 S7 communication
3.3 S7 communication
S7 communication allows the following:
● The inverter is controlled from a SIMATIC panel, also without control system by directly
accessing the inverter via PROFIBUS or PROFINET.
● Remote maintenance by accessing the inverter with STARTER or Startdrive across
network boundaries.
In the following example, we describe how you can switch the inverter on and off through a
SIMATIC panel, how to specify a setpoint and be shown the actual value on the panel.
You can find a description about accessing inverters across network boundaries in the
application document 25339612.
Conditions
You have installed the following software packages on your computer and made the
following settings:
● WINCCflex 2008 SP1 or higher
● STARTER plus SSP for 4.7 or higher
● You have configured the inverter in STARTER
● Inverter and panel are connected with one another via PROFIBUS or PROFINET.
● The same baud rates are set in the inverter and in the panel.
● The bus address configured in WinCC flexible matches the bus address of the inverter.
Fieldbuses
40 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.3 S7 communication
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 41
Communication via PROFIBUS and PROFINET
3.3 S7 communication
Fieldbuses
42 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.3 S7 communication
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 43
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Fieldbuses
44 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Further information on PROFINET can be found on the Internet using the following links:
– General information about PROFINET can be found at Industrial Communication
(http://www.automation.siemens.com/mcms/automation/en/industrial-
communications/profinet/Pages/Default.aspx).
– The configuration of the functions is described in the PROFINET system description
(http://support.automation.siemens.com/WW/view/en/19292127) manual.
G120
• CU230P-2 PN x
• CU240E-2 PN x
• CU240E-2 PN-F x
• CU250S-2 PN x
G120C
• G120C PN x
G120D
• CU240D-2 PN x
• CU240D-2 PN-F x
• CU250D-2 PN-F x
• CU240D-2 PN-F [PP] x
• CU250D-2 PN-F [PP] x
G110M
• CU240M PN x
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 45
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Recommended connectors
● RJ45, IP20: 6GK1901-1BB10-2Ax0
Information for assembling the SIMATIC NET Industrial Ethernet FastConnect RF45 Plug
180 can be found on the Internet at "Assembly instructions for SIMATIC NET Industrial
Ethernet FastConnect RJ45 Plug
(http://support.automation.siemens.com/WW/view/en/37217116/133300)".
Procedure
To connect the inverter to a control via PROFINET, proceed as follows:
1. Integrate the inverter in the bus system (e.g. ring topology) of the control using
PROFINET cables and the two PROFINET sockets X150-P1 and X150-P2 or X03 und
X04.
The position of the sockets is available in the operating instructions for the inverter. Pin
assignment, see Inverter with PROFINET interface (Page 45).
The maximum permitted cable length from the previous station and to the subsequent
one is 100 m.
2. Externally supply the inverter with 24 V DC through terminals 31 and 32 or via X01.
The external 24 V supply is only required if communications with the control system
should also operate when the line voltage is switched off.
You have connected the inverter to the control using PROFINET.
Fieldbuses
46 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
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. To do this, use terminals 31 and 32 – or connector X01.
You can find additional details in the operating instructions for the inverter or the Control
Unit.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 47
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Installing GSDML
Procedure
To install the GSDML of the inverter into the configuring tool of your control system, proceed
as follows:
1. Load the GSDML to your PC.
– On the Internet: GSDML
(http://support.automation.siemens.com/WW/view/en/22339653/133100).
– From your inverter:
Insert a memory card into the converter.
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 to a folder on your computer.
3. Import the GSDML into the configuring tool of your control system.
You have now installed the GSDML.
Fieldbuses
48 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
The converters SINAMICS G110M, G120 and G120C support PROFIenergy hibernation
mode 2.
The following commands and queries are available for the control:
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 49
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Displaying
● r5600: Current energy-saving mode
● r5613: Interconnectable display of the PROFIenergy status
● A08800: PROFIenergy energy-saving mode active
Block PROFIenergy
If you set p5611.0 = 1, you block the response of the converter to PROFIenergy control
commands. In this case, the converter ignores the PROFIenergy control commands.
Transition to the energy-saving mode from the PROFIdrive operating state (S4)
If you set p5611.2 = 1, you enable transition to the energy-saving mode from the PROFIdrive
operating state (S4)
To do so, you must set one of the following settings:
● p5611.1 = 1: With the transition to the energy-saving mode, the converter issues an
OFF1 command and enters the start-inhibit state (S1).
● p5611.1 = 0: You can use p5614 to interconnect a signal source that switches the
converter off and places it in the start-inhibit state (S1).
If the control sends the command "End_Pause" or "Start_Pause" with a pause time of 0, the
converter continues to run automatically – if the enables are still set.
Fieldbuses
50 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Procedure
Proceed as follows to integrate an inverter into the Ethernet via DHCP:
1. Set p8924 (PN DHCP Mode) = 2 or 3
– With p8924 = 2, address is assigned by the DHCP server based on the MAC address
of the inverter.
– With p8924 = 3, address is assigned by the DHCP server based on the device name
of the inverter.
2. Set p8925 = 2 or 3
– With p8925 = 2, the inverter saves the actual configuration. The settings become
effective at the next power on.
– With p8925 = 3, you reset the PROFINET interface to the factory setting (PROFINET
IO communication). The settings become effective at the next power on.
You have integrated the inverter into the Ethernet via DHCP.
Displays
The actual PN-DHCP mode is displayed in r8934, the MAC address in r8935.
Additional settings
You can find additional setting options and messages (A08565) in the List Manual
(Page 182).
With p8924 = 0, you inhibit the 'DHCP mode
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 51
Communication via PROFIBUS and PROFINET
3.4 Communication via PROFINET
Fieldbuses
52 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 53
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
G120
• CU230P-2 DP x
• CU240E-2 DP x
• CU240E-2 DP-F x
• CU250S-2 DP x
G120C
• G120C DP x
G120D
• CU240D-2 DP x x
• CU240D-2 DP-F x x
• CU250D-2 DP-F x x
G110M
• CU240M DP x x
Fieldbuses
54 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 55
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
Procedure
To connect the inverter to a control system via PROFIBUS DP, proceed as follows:
1. Integrate the inverter into the bus system (e.g. line-type topology) using PROFIBUS
cables.
– Inverters with IP20 degree of protection: via socket X126
– Inverters with degree of protection IP65 (CU240D/CU250D) via X03 and X04
The position of the socket is explained in the operating instructions for the inverter. Pin
assignment, see Inverters with PROFIBUS interface (Page 54).
The maximum permitted cable length to the previous station and the subsequent one is
100 m at a baud rate of 12 Mbit/s. You can achieve a maximum cable length of 400 m by
using a maximum of 3 repeaters.
2. Externally supply the inverter with 24 V DC through terminals 31 and 32 or via X01.
The external 24 V supply is only required if communications with the control system
should also operate when the line voltage is switched off.
You have now connected the inverter to the control system using PROFIBUS DP.
Fieldbuses
56 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
Procedure
To load the GSD of the inverter in the control, proceed as follows:
1. Obtain the GSD
– either in the Internet at (GSD
(http://support.automation.siemens.com/WW/view/en/22339653/133100)).
– or from your inverter. To do this, insert a memory card in the inverter, and set p0804 =
12. This means that you save the GSD as zipped file (DPGSD.ZIP) in directory
/SIEMENS/SINAMICS/DATA/CFG on the memory card.
2. Unzip the GSDfile in a folder on your computer.
3. Import the GSDinto the configuration tool of your control.
You have now installed the GSD file.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 57
Communication via PROFIBUS and PROFINET
3.5 Communication via PROFIBUS
Procedure
To change the bus address, proceed as follows:
1. Set the address using one of the subsequently listed options:
– using the address switch
– from an operator panel using parameter p0918
– in STARTER using screen form "Control Unit/Communication/PROFIBUS" – or using
the expert list in parameter p0918
After you have changed the address in STARTER, carry out RAM to ROM ( ).
2. Switch on the inverter power supply and, if available, the 24 V power supply for the
Control Unit.
3. Switch on the voltages again after all LEDs at the inverter have gone dark.
You have now changed the bus address.
Fieldbuses
58 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via PROFIBUS and PROFINET
3.6 Select telegram
Precondition
In the basic commissioning you have selected the control using PROFIBUS or PROFINET.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 59
Communication via PROFIBUS and PROFINET
3.6 Select telegram
Fieldbuses
60 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP 4
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
● You define the assemblies for the process data using the objects that are supported by
the inverter
You can find details on the various options in Section Configuring communication via
EtherNet/IP (Page 65).
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 61
Communication via EtherNet/IP
4.1 Inverters with Ethernet/IP interface
G120
• CU230P-2 PN x
• CU240E-2 PN x
• CU240E-2 PN-F x
• CU250S-2 PN x
G120C
• G120C PN x
G120D
• CU240D-2 PN x
• CU240D-2 PN-F x
• CU250D-2 PN-F x
G110M
• CU240M PN x
Fieldbuses
62 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.1 Inverters with Ethernet/IP interface
Recommended connectors
● RJ45, IP20: 6GK1901-1BB10-2Ax0
Information for assembling the SIMATIC NET Industrial Ethernet FastConnect RF45 Plug
180 can be found on the Internet at "Assembly instructions for SIMATIC NET Industrial
Ethernet FastConnect RJ45 Plug
(http://support.automation.siemens.com/WW/view/en/14293080/133300)".
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 63
Communication via EtherNet/IP
4.2 Connect converter to Ethernet/IP
Fieldbuses
64 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.4 Configuring communication via EtherNet/IP
Basic settings
Procedure
Make the following settings in order to communicate with a higher-level control via
EtherNet/IP:
1. p2030: set a value of 10: Fieldbus interface protocol selection Ethernet/IP:
2. p8921: Enter the IP address. You can find the currently valid address in r8931.
3. p8923: Enter the subnet mask. You can find the currently valid subnet mask in r8933.
4. p8922: Enter the standard gateway. You can find the currently valid Default Gateway in
r8932.
5. p8920: Enter the station name.
6. p8925: Set a value of 2: Save and activate PN interface configuration
7. Switch off the inverter, and then any possibly existing external 24 V power supply.
8. Switch on the inverter again.
You have configured the inverter for communication via Ethernet/IP.
Parameters p8921 … p8925 apply if p2030 = 10 is set, for EtherNet/IP, even if the
parameter names indicates PROFINET.
Communication settings
You set the communication using parameter p8980. You have the following options
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 65
Communication via EtherNet/IP
4.5 Additional settings if you are working with the AC/DC profile
4.5 Additional settings if you are working with the AC/DC profile
If you change the following settings in the inverter by accessing the appropriate parameters,
you must switch-off the inverter and switched it on again in order that these changes become
effective. The changes become immediately effective when making the changes via the
control system with objects 90 hex or 91 hex.
Fieldbuses
66 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.6 Supported objects
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 67
Communication via EtherNet/IP
4.6 Supported objects
Assembly Basic Speed Control with parameter assembly, Instance Number: 120, type: Output
Fieldbuses
68 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.6 Supported objects
Assembly Basic Speed Control with parameter assembly, Instance Number: 170, type: Input
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 69
Communication via EtherNet/IP
4.6 Supported objects
Assembly Extended Speed Control with parameter assembly, Instance Number: 121, type: Output
Fieldbuses
70 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.6 Supported objects
Assembly Extended Speed Control with parameter assembly, Instance Number: 171, type: Input
Assembly Basic Speed and Torque Control , Instance Number: 22, type: Output
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 71
Communication via EtherNet/IP
4.6 Supported objects
Assembly Basic Speed and Torque Control , Instance Number: 72, type: Input
Assembly Basic Speed and Torque Control with parameter assembly , Instance Number: 122, type:
Output
Fieldbuses
72 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.6 Supported objects
Assembly Basic Speed and Torque Control with parameter assembly , Instance Number: 172, type:
Input
Extended Speed and Torque Control, Instance Number: 23, type: Output
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 73
Communication via EtherNet/IP
4.6 Supported objects
Extended Speed and Torque Control, Instance Number: 73, type: Input
Basic Speed and Torque Control with parameter assembly, Instance Number: 123, type: Output
Fieldbuses
74 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.6 Supported objects
Basic Speed and Torque Control with parameter assembly, Instance Number: 173, type: Input
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 75
Communication via EtherNet/IP
4.7 Create generic I/O module
Procedure
To do this, proceed as follows:
1. In your control, create a generic device with Ethernet/IP functionality.
2. In the control, enter the lengths for the process data for cyclic communication in the new
device, which you have selected in STARTER, r2067[0] (input), r2067[1] (output), for
example: Standard telegram 2/2.
3. In STARTER, set the same values for IP address, Subnet Mask, Default Gateway and the
Name of Station as in the control system (see Configuring communication via EtherNet/IP
(Page 65))
You have created a generic I/O module for cyclic communication with the inverter.
Fieldbuses
76 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via EtherNet/IP
4.8 The inverter as an Ethernet station
Procedure
Proceed as follows to integrate an inverter into the Ethernet via DHCP:
1. Set p8924 (PN DHCP Mode) = 2 or 3
– With p8924 = 2, address is assigned by the DHCP server based on the MAC address
of the inverter.
– With p8924 = 3, address is assigned by the DHCP server based on the device name
of the inverter.
2. Set p8925 = 2 or 3
– With p8925 = 2, the inverter saves the actual configuration. The settings become
effective at the next power on.
– With p8925 = 3, you reset the PROFINET interface to the factory setting (PROFINET
IO communication). The settings become effective at the next power on.
You have integrated the inverter into the Ethernet via DHCP.
Displays
The actual PN-DHCP mode is displayed in r8934, the MAC address in r8935.
Additional settings
You can find additional setting options and messages (A08565) in the List Manual
(Page 182).
With p8924 = 0, you inhibit the 'DHCP mode
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 77
Communication via EtherNet/IP
4.8 The inverter as an Ethernet station
Fieldbuses
78 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485 5
Table 5- 1 Assignment table - fieldbus systems via RS485
• CU230P-2 BT ✓ ✓ ✓ ✓
G120C
• G120C USS/MB ✓ ✓ --- ---
G110M
• CU240M USS ✓ ✓ --- ---
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 79
Communication via RS485
5.1 Inverter with RS485 interface
G120
• CU230P-2 HVAC x
• CU230P-2 BT x
• CU240B-2 x
• CU240E-2 x
• CU240E-2 F x
• CU250S-2 x
G120C
• G120C USS/MB x
G110M
• CU240M USS x x
Fieldbuses
80 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.2 Integrating inverters into a bus system via the RS485 interface
5.2 Integrating inverters into a bus system via the RS485 interface
The precondition for error-free communications is that the first and last station are supplied
with power.
Communications are maintained if you withdraw individual slaves from the bus without
interrupting the cable (this is not possible for inverters with a high degree of protection).
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. To do this, use terminals 31 and 32 – or connector X01.
You can find additional details in the operating instructions for the inverter or the Control
Unit.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 81
Communication via RS485
5.3 Communication via USS
Overview
Depending on the particular inverter, you have the following options when setting
communication via USS:
● Default setting 21 "USS fieldbus" for all inverters with RS485 interface
● Default setting 108 "BT Mac 8: USS fieldbus" only for CU230P-2 HVAC / CU230P-2 BT.
See also Additional manuals for your inverter (Page 182).
Fieldbuses
82 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.3 Communication via USS
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 83
Communication via RS485
5.3 Communication via USS
Procedure
To change the bus address, proceed as follows:
1. Set the new address:
– using the address switches
– from an operator panel in parameter p2021
– in STARTER using screen form "Control Unit/Communication/Fieldbus", or using the
expert list in parameter p2021
2. Switch on the inverter power supply and, if available, the 24 V power supply for the
Control Unit.
3. Switch on the voltages again after all LEDs at the inverter have gone dark.
You have so changed the bus address.
Overview
A USS telegram comprises a series of elements with a defined sequence. Each element
contains 11 bits.
Fieldbuses
84 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.3 Communication via USS
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 85
Communication via RS485
5.3 Communication via USS
Parameter channel
In parameter p2023 you specify the parameter channel length.
Process data
Parameter p2022 defines the length for the process data. You can transfer up to eight
process data items in one telegram (p2022 = 0 … 8). For p2022 = 0, no process data is
transferred.
Fieldbuses
86 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.3 Communication via USS
Response Description
identifier
0 No response
1 Transfer parameter value (word)
2 Transfer parameter value (double word)
3 Transfer descriptive element 1)
4 Transfer parameter value (field, word) 2)
5 Transfer parameter value (field, double word) 2)
6 Transfer number of field elements
7 Inverter cannot process the request.
In the most significant word of the parameter channel, the inverter sends an error
number to the control, refer to the following table.
8 No master controller status / no authorization to change parameters of the
parameter channel interface
1) The required element of the parameter is specified in IND (2nd word).
2) The required element of the indexed parameter is specified in IND (2nd word).
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 87
Communication via RS485
5.3 Communication via USS
No. 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)
03 hex Incorrect subindex (access to a subindex that does not exist.)
04 hex No array (access with a subindex to non-indexed parameters)
05 hex Incorrect data type (change request with a value that does not match the data type of the
parameter)
06 hex Setting not permitted, only resetting (change request with a value not equal to 0 without
permission)
07 hex Descriptive element cannot be changed (change request to a descriptive element error
value that cannot be changed)
0B hex No master control (change request but with no master control, see also p0927.)
0C hex Keyword missing
11 hex Request cannot be executed due to the operating state (access is not possible for
temporary reasons that are not specified)
14 hex Inadmissible value (change request with a value that is within the limits but which is illegal
for other permanent reasons, i.e. a parameter with defined individual values)
65 hex Parameter number is currently deactivated (depending on the mode of the inverter)
66 hex Channel width is insufficient (communication channel is too small for response)
68 hex Illegal parameter value (parameter can only assume certain values)
6A hex Request not included / task is not supported (the valid request identifications can be found
in table "Request identifications controller → inverter")
6B hex No change access for a controller that is enabled. (operating status of the inverter
prevents a parameter change)
86 hex Write access only for commissioning (p0010 = 15) (operating status of the inverter
prevents a parameter change)
87 hex Know-how protection active, access locked
C8 hex Change request below the currently valid limit (change request to a value that lies within
the "absolute" limits, but is however below the currently valid lower limit)
C9 hex Change request above the currently valid limit (example: a parameter value is too large for
the inverter power)
CC hex Change request not permitted (change is not permitted as the access code is not
available)
Fieldbuses
88 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
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 … 0).
Write the offset in the page index (IND bit 15 … 8).
Indexed parameters
For indexed parameters, you must write the index as hex value into the subindex (IND
bit 7 … 0).
Parameter contents
Parameter contents can be parameter values or connector parameters. You require two
words for connector parameters. You can find more information on interconnecting
connector parameters in the operating instructions of the Control Unit in the section
"Interconnecting signals in the inverter".
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 89
Communication via RS485
5.3 Communication via USS
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:
● PKE, bit 12 … 15 (AK): = 6 (request parameter value (field))
● PKE, bit 0 … 10 (PNU): = 1841 (Parameter number without offset)
Parameter number = PNU + offset (page index)
(7841 = 1841 + 6000)
● IND, bit 8 … 15 (page index): = 90 hex (offset 6000 ≙ 90 hex)
● IND, bit 0 … 7 (subindex): = 2 (Index of the parameter)
● Because you want to read the parameter value, words 3 and 4 in the parameter channel
for requesting the parameter value are irrelevant. They should be assigned a value of 0,
for example.
Fieldbuses
90 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
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:
● PKE, bit 12 … 15 (AK): = 7 hex (change, parameter value (field, word))
● PKE, bit 0 … 10 (PNU): = 348 hex (840 = 348 hex, no offset, as 840 < 1999)
● IND, bit 8 … 15 (page index): = 0 hex (offset 0 ≙ 0 hex)
● IND, bit 0 … 7 (subindex): = 1 hex (command data set, CDS1 = index1)
● PWE1, bit 0 … 15: = 2D2 hex (722 = 2D2 hex)
● PWE2, bit 10 … 15: = 3f hex (drive object - for SINAMICS G120, always 63 = 3f hex)
● PWE2, bit 0 … 9: = 2 hex (index or bit number of the parameter: DI 2 = r0722.2)
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.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 91
Communication via RS485
5.3 Communication via USS
Baud rate in bit/s Transmission time per bit Character run time (= 11 bits)
9600 104.170 µs 1.146 ms
19200 52.084 µs 0.573 ms
38400 26.042 µs 0.286 ms
57600 17.361 µs 0.191 ms
115200 8.681 µs 0.095 ms
The telegram runtime is longer than just purely adding all of the character runtimes
(=residual runtime). You must also take into consideration the character delay time between
the individual characters of the telegram.
Figure 5-7 Telegram runtime as the sum of the residual runtime and character delay times
The total telegram runtime is always less than 150% of the pure residual runtime.
Before each request telegram, the master must maintain the start delay. The start delay
must be > 2 × character runtime.
The slave only responds after the response delay has expired.
The duration of the start delay must at least be as long as the time for two characters and
depends on the baud rate.
Fieldbuses
92 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.3 Communication via USS
Baud rate in bit/s Transmission time per character (= 11 bits) Min. start delay
9600 1.146 ms > 2.291 ms
19200 0.573 ms > 1.146 ms
38400 0.286 ms > 0.573 ms
57600 0.191 ms > 0.382 ms
115200 0.095 ms > 0.191 ms
Note: The character delay time must be shorter than the start delay.
• Response delay: Response time of the slave to a request from the master
The response delay must be < 20 ms, but longer than the start
delay
• Telegram runtime: Transmission time of the response telegram sent from the slave
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 93
Communication via RS485
5.4 Communication using Modbus RTU
Note
It is not permitted to change over the units
The "Unit switchover" function – for details see the operating instructions of the Control Unit
– is not permissible with this bus system!
Overview
Depending on the particular inverter, you have the following options when setting
communication via Modbus RTU:
● Default setting 21 "USS Fieldbus" for all inverters with RS485 interface
● Default setting 109 "BT Mac 9: Modbus RTU Fieldbus" only for CU230P-2 HVAC /
CU230P-2 BT. See also Additional manuals for your inverter (Page 182).
Fieldbuses
94 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.4 Communication using Modbus RTU
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 95
Communication via RS485
5.4 Communication using Modbus RTU
Procedure
To change the bus address, proceed as follows:
1. Set the new address:
– using the address switches
– from an operator panel in parameter p2021
– in STARTER using screen form "Control Unit/Communication/Fieldbus", or using the
expert list in parameter p2021
2. Switch on the inverter power supply and, if available, the 24 V power supply for the
Control Unit.
3. Switch on the voltages again after all LEDs at the inverter have gone dark.
You have so changed the bus address.
Fieldbuses
96 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.4 Communication using Modbus RTU
Description
For Modbus, there is precisely one master and up to 247 slaves. The master always starts
the communication. The slaves can only transfer data at the request of the master. Slave-to-
slave communication is not possible. The Control Unit always operates as slave.
The following figure shows the structure of a Modbus RTU telegram.
The data area of the telegram is structured according to the mapping tables.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 97
Communication via RS485
5.4 Communication using Modbus RTU
A character delay time is also permitted between the individual bytes of a frame. Maximum
duration: Processing time for 1.5 bytes (can be set via p2024[1]).
Baud rate in bit/s (p2020) Transmission time per Minimum pause Maximum pause
character (11 bits) between two between two bytes
telegrams (p2024[2]) (p2024[1])
4800 2.292 ms ≥ 8.021 ms ≤ 3.438 ms
9600 1.146 ms ≥ 4.010 ms ≤ 1.719 ms
19200 (factory setting) 0.573 ms ≥ 1.75 ms ≤ 0.859 ms
38400 0.286 ms ≥ 1.75 ms ≤ 0.75 ms
57600 0.191 ms ≥ 1.75 ms ≤ 0.556 ms
76800 0.143 ms ≥ 1.75 ms ≤ 0.417 ms
93750 0.117 ms ≥ 1.75 ms ≤ 0.341 ms
115200 0.095 ms ≥ 1.75 ms ≤ 0.278 ms
187500 0.059 ms ≥ 1.75 ms ≤ 0.171 ms
Note
The factory setting for p2024[1] and p2024[2] is 0. The converter specifies the associated
values depending on the protocol selection (p2030) or the baud rate.
The valid holding register addressing range extends from 40001 to 40522. Access to other
holding registers generates the fault "Exception Code".
The registers 40100 to 40111 are described as process data.
Note
R"; "W"; "R/W" in the column Modbus access stands for read (with FC03); write (with FC06);
read/write.
Fieldbuses
98 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.4 Communication using Modbus RTU
Table 5- 11 Assigning the Modbus register to the parameters of the Control Unit
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 99
Communication via RS485
5.4 Communication using Modbus RTU
Fieldbuses
100 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.4 Communication using Modbus RTU
Example
Byte Description
11 h 0 Slave address
03 h 1 Function code
00 h 2 Register start address "High" (register 40110)
6D h 3 Register start address "Low"
00 h 4 Number of registers "High" (2 registers: 40110; 40111)
02 h 5 Number of registers "Low"
xx h 6 CRC "Low"
xx h 7 CRC "High"
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 101
Communication via RS485
5.4 Communication using Modbus RTU
Example
Byte Description
11 h 0 Slave address
03 h 1 Function code
04 h 2 Number of bytes (4 bytes are returned)
11 h 3 Data of first register "High"
22 h 4 Data of first register "Low"
33 h 5 Data of second register "High"
44 h 6 Data of second register "Low"
xx h 7 CRC "Low"
xx h 8 CRC "High"
If an incorrect address is entered (a holding register address does not exist), exception code
02 (invalid data address) is returned. An attempt to write to a "read-only" register or a
reserved register is replied to with a Modbus error telegram (exception code 4 - device
failure). In this instance, the detailed internal error code that occurred on the last parameter
access via the holding registers can be read out via holding register 40499.
Example
Byte Description
11 h 0 Slave address
06 h 1 Function code
00 h 2 Register start address "High" (write register 40100)
63 h 3 Register start address "Low"
55 h 4 Register data "High"
66 h 5 Register data "Low"
xx h 6 CRC "Low"
xx h 7 CRC "High"
Fieldbuses
102 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.4 Communication using Modbus RTU
The response returns the register address (bytes 2 and 3) and the value (bytes 4 and 5) that
was written by the higher-level controller to the register.
Example
Byte Description
11 h 0 Slave address
06 h 1 Function code
00 h 2 Register start address "High"
63 h 3 Register start address "Low"
55 h 4 Register data "High"
66 h 5 Register data "Low"
xx h 6 CRC "Low"
xx h 7 CRC "High"
Communication error
If the slave detects a communication error on receipt (parity, CRC), it does not send a
response to the master (this can lead to "setpoint timeout").
Logical error
If the slave detects a logical error within a request, it responds to the master with an
"exception response". In this case, the slave sets the highest bit in the function code to 1 in
the response. If, for example, it receives an unsupported function code from the master, the
slave responds with an "exception response" with code 01 (illegal function code).
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 103
Communication via RS485
5.4 Communication using Modbus RTU
Note
Adjust the time (factory setting = 100 ms) depending on the number of slaves and the baud
rate set on the bus.
Fieldbuses
104 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.5 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. BACnet objects only stipulate the behavior outside the device, BACnet
sets no internal functions.
A range of object types and their instances represent one component.
Each BACnet device has precisely one BACnet device object. An NSAP (Network Service
Access Point - comprising network number and MAC address; MAC: Medium Access
Control) uniquely identifies a BACnet device. This address is BACnet-specific and must not
be confused with the Ethernet MAC address.
Communication settings
● The Control Unit supports BACnet via RS485 (BACnet MS/TP),
● Communication supports Unicode, coded with the character set UTF-8
● The maximum cable length is 1200 m (3281 ft).
Note
It is not permitted to change over the units
The "Unit switchover" function – for details see the operating instructions of the Control Unit
– is not permissible with this bus system!
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 105
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Overview
Procedure
Proceed as follows to set communication via BACnet:
1. Select the default setting 110.
– With STARTER: under Control Unit/Configuration "Default settings of the
setpoint/command sources":
110 "BT Mac 10: BACnet MS/TP Fieldbus"
– with BOP-2 for the basic commissioning under Step "MAc PAr P15":
P_F bAc
– using the expert list or parameter number:
p0015 = 110
2. Set the inverter address.
3. Make additional changes based on the parameters listed in the following sections.
4. If you are working with STARTER, backup the settings with .
This means that you have made the settings for communication via BACnet.
Fieldbuses
106 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 107
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
See also
Additional manuals for your inverter (Page 182)
Procedure
To change the bus address, proceed as follows:
1. Set the new address:
– using the address switches
– from an operator panel in parameter p2021
– in STARTER using screen form "Control Unit/Communication/Fieldbus", or using the
expert list in parameter p2021
2. Switch on the inverter power supply and, if available, the 24 V power supply for the
Control Unit.
3. Switch on the voltages again after all LEDs at the inverter have gone dark.
You have so changed the bus address.
Fieldbuses
108 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
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:
● Analog Input (AIxx),
● Analog Output (AOxx),
● Analog Value (AVxx),
● Binary Value (BVxx) and
● Multi-state Input (MSIxx)
Note
SubscribeCOV services are not retentive; i.e. the master must re-initiate the SubscribedCOV
services when restarting the CU.
Object type Code number for BACnet Object type Code number for BACnet
object type object type
Device Object 8 Analog Input Object 0
Binary Input Object 3 Analog Output Object 1
Binary Output Object 4 Analog Value Object 2
Binary Value Object 5 Multi-State Input Object 13
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 109
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Note
Access types are available in the following versions
• C: Executable
• R: Readable
• W: Writable
Fieldbuses
110 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Instance Object name Description Possible values Text Text Acces Parameter
ID active inactive s type
BV0 RUN / STOP Inverter status regardless of RUN / STOP STOP RUN R r0052.2
ACT command source
BV1 FWD / REV Direction of rotation regardless of REV / FWD FWD REV R r0052.14
command source
BV2 FAULT ACT Inverter fault FAULT / OK FAULT OK R r0052.3
BV3 WARN ACT Inverter warning WARN / OK WARN OK R r0052.7
BV4 MANUAL / Indicates the source of the AUTO / AUTO LOCAL R r0052.9
AUTO ACT manual/auto inverter control MANUAL
BV7 CTL ACT displays the inverter's control ON/OFF 0 1 R r2032[10]
OVERRIDE unit from the BACnet override
ACT control unit via BV93.
Note that the operator panel's
"Manual" operating mode has a
higher priority than the BACnet
override control.
BV8 AT SET- Setpoint reached YES / NO YES NO R r0052.8
POINT
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 111
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Instance Object name Description Possible values Text Text Acces Parameter
ID active inactive s type
BV9 AT MAX Maximum speed reached YES / NO YES NO R r0052.10
FREQ
BV10 DRIVE Inverter ready YES / NO YES NO R r0052.1
READY
BV15 RUN COM ACT indicates the status of the ON YES / NO 0 1 R r2032[0]
ACT command, regardless of the source
BV16 HIB MOD ACT means that the inverter is ON/OFF 0 1 R r2399[1]
ACT operating in energy-saving mode.
BV17 ESM MOD ACT means that the inverter is ON/OFF 0 1 R r3889[0]
operating in the essential service
mode
BV20 RUN / STOP ON command for the inverter (when RUN / STOP 0 1 C r0054.0
CMD controlling via BACnet)
BV21 FWD / REV Reverse direction of rotation (when REV / FWD 0 1 C r0054.11
CMD controlling via BACnet)
BV22 FAULT Acknowledge fault (when controlling RESET / NO 0 1 C r0054.7
RESET via BACnet)
BV24 CDS Local / Remote Local / Remote YES NO C r0054.15
BV26 RUN ENA Enable inverter operation ENABL DISABL C r0054.3
CMD ED ED
BV27 OFF2 OFF2 status RUN / STOP 0 1 C r0054.1
BV28 OFF3 OFF3 status RUN / STOP 0 1 C r0054.2
Note:
BV28 sets the r0054.4, r0054.5,
and r0054.6 bits
BV50 ENABLE PID Enable technology controller ENABLED / ENABL DISABL C p2200
DISABLED ED ED
BV51 ENABLE PID Enable technology 0 controller ENABLED / ENABL DISABL C p11000
0 DISABLED ED ED
BV52 ENABLE PID Enable technology 1 controller ENABLED / ENABL DISABL C p11100
1 DISABLED ED ED
BV53 ENABLE PID Enable technology 2 controller ENABLED / ENABL DISABL C p11200
2 DISABLED ED ED
BV90 LOCAL Use MANUAL (operator panel) to LOCK UNLOC C p0806
LOCK lock inverter control K
BV93 CTL Inverter control using BACnet ON/OFF 0 1 C r0054.10
OVERRIDE override control
CMD
Fieldbuses
112 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 113
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Fieldbuses
114 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 115
Communication via RS485
5.5 Communication via BACnet MS/TP - only CU230P-2 HVAC / BT
Fieldbuses
116 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.6 Communication via P1 - only CU230P-2 HVAC / BT
Overview
Procedure
Proceed as follows to set communication via P1:
1. Select the default setting 114.
– With STARTER: under Control Unit/Configuration "Default settings of the
setpoint/command sources":
114 "BT Mac 14: Communication P1"
– with BOP-2 for the basic commissioning under Step "MAc PAr P15":
P_F _P1
– using the expert list or parameter number:
p0015 = 114
2. Set the inverter address.
3. Make additional changes based on the parameters listed in the following sections.
4. If you are working with STARTER, backup the settings with .
This means that you have made the settings for communication via P1.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 117
Communication via RS485
5.6 Communication via P1 - only CU230P-2 HVAC / BT
Note
Address 99 (to all)
No matter their address, all FLN devices answer telegrams with address 99.
See also
Additional manuals for your inverter (Page 182)
Procedure
To change the bus address, proceed as follows:
1. Set the new address:
– using the address switches
– from an operator panel in parameter p2021
– in STARTER using screen form "Control Unit/Communication/Fieldbus", or using the
expert list in parameter p2021
2. Switch on the inverter power supply and, if available, the 24 V power supply for the
Control Unit.
3. Switch on the voltages again after all LEDs at the inverter have gone dark.
You have so changed the bus address.
Fieldbuses
118 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.6 Communication via P1 - only CU230P-2 HVAC / BT
Overview
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/2014, FW V4.7, A5E34229197B AA 119
Communication via RS485
5.6 Communication via P1 - only CU230P-2 HVAC / BT
Fieldbuses
120 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication via RS485
5.6 Communication via P1 - only CU230P-2 HVAC / 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.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 121
Communication over CANopen 6
General information on CAN
You can find general information on CAN in the CAN Internet pages (http://www.can-cia.org);
you can obtain an explanation of CAN terminology in the CANdictionary under CAN
downloads (http://www.can-cia.org/index.php?id=6).
Signal X126
(D Sub connector, IP20)
--- 1
CAN_L, CAN signal (dominant low) 2
CAN_GND, CAN ground 3
--- 4
(CAN _SHLD), optional shield 5
(GND), optional ground 6
CAN_H, CAN signal (dominant high) 7
--- 8
--- 9
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 123
Communication over CANopen
5.6 Communication via P1 - only CU230P-2 HVAC / BT
COB ID
A communication object contains the data to be transferred and a unique 11-bit COB ID. The
COB ID also defines the priority for processing the communication objects. The
communication object with the lowest COB ID always has the highest priority.
* ) In the "Predefined Connection Set", see SectionPredefined connection set (Page 135) .
Fieldbuses
124 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.1 Network management (NMT service)
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 125
Communication over CANopen
6.1 Network management (NMT service)
NMT states
The current state of the node is displayed via p8685. It can also be changed directly using
this parameter:
● Initializing, display via p8685 = 0
The inverter initializes itself after power on. In the factory setting, the inverter then enters
the "Pre-Operational" state, which also corresponds to the CANopen standard.
Using p8684, you can set that after the bus has booted, the inverter does not go into the
"Pre-Operational" state, but instead, into the "Stopped" or "Operational" state.
● Pre-operational display/change using p8685 = 127 (factory setting)
In this state, the node cannot process any process data (PDO). However, the controller
can use SDO parameters to change or operate the inverter, which means that you can
also enter setpoints via SDO.
● Operational display/change using p8685 = 5
In this state, the node can process both SDO and PDO.
● Stopped, display/change using p8685 = 4
In this state, the node can neither process SDO nor PDO. The "Stopped" state terminates
one of the following commands:
– Enter pre-operational, p8685 = 127 (factory setting)
– Start Remote Node
– Reset node, p8685 = 128
– Reset communication, p8685 = 129
You can also change the NMT state in STARTER via "Control_Unit / Communication / CAN"
under the "Network-Management" tab.
Fieldbuses
126 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.1 Network management (NMT service)
Boot-up Service
The boot-up protocol indicates the state of the NMT slave after it has booted (factory setting
"Pre-operational").
Bootup protocol COB ID = 700 hex + node ID
1 data byte with the value 0 is transmitted.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 127
Communication over CANopen
6.2 SDO services
Properties
The SDOs have the following properties:
● An SDO connection exists only in the Pre-Operational and Operational states
● Transmission is confirmed
● Asynchronous transmission (matches the acyclical communication via PROFIBUS DB)
● Transmission of values > 4 bytes (normal transfer)
● Transmission of values ≤ 4 bytes (expedited transfer)
● All drive unit parameters can be addressed via SDO
Fieldbuses
128 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.2 SDO services
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 129
Communication over CANopen
6.2 SDO services
Overview
Fieldbuses
130 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.2 SDO services
Overview
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 131
Communication over CANopen
6.3 PDO services
COB ID
An overview of the COB IDs can be found in Section Communication over CANopen
(Page 123). Section Predefined connection set (Page 135) explains how the COB IDs are
calculated.
Fieldbuses
132 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.3 PDO services
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:
● Cyclic synchronous (value range: 1 … 240)
– TPDO after each n-th SYNC
– RPDO after each n-th SYNC
● Acyclic synchronous (value: 0)
– TPDO when a SYNC is received and a process data has changed in the telegram.
● Cyclic asynchronous (values: 254, 255 + event time)
– TPDO when a process data has changed in the telegram.
● Acyclic asynchronous (values: 254, 255)
– TPDO sent in the Event Time interval.
– The controller accepts the RPDO immediately.
● Synchronous data transmission
A periodic synchronization object (SYNC object) ensures that the devices on the
CANopen bus remain synchronized during transmission.
Each PDO transferred as synchronization object must include a "transmission type" 1 ...
n:
– Transmission type 1: PDO in each SYNC cycle
– Transmission type n: PDO in every n-th SYNC cycle
The following diagram shows the 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.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 133
Communication over CANopen
6.3 PDO services
The CAN controller transfers data from synchronous RPDOs that it received after a
SYNC signal only after the next SYNC signal to the inverter.
Note
The SYNC signal synchronizes only the communication on the CANopen bus and not
functions in the inverter, e.g. the clock times of the speed control.
Inhibit time
The inhibit time defines the minimum interval between two transmissions.
PDO services
The following services are available for CANopen:
● PDO Write protocol
● PDO Read protocol
SINAMICS inverters support the PDO Write protocol
Write PDO
The "PDO Write protocol" service is based on the push model. The PDO has exactly one
producer. There can be no consumer, one consumer, or multiple consumers.
Via Write PDO, the producer of the PDO sends the data of the mapped application object to
the individual consumer.
Fieldbuses
134 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.3 PDO services
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 135
Communication over CANopen
6.3 PDO services
Procedure
Proceed as follows to configure and map process data:
1. Define process data,
examples:
– Send actual current value (r0068) from the inverter to the controller (TPDO - Transmit
Process Data Object)
– Send additional speed setpoint from the controller to the inverter (RPDO - Receive
Process Data Object) and write in p1075
2. Specify objects for transmission of the process data
– TPDO1 for the actual current value
– RPDO1 for additional speed setpoint
3. Set communication parameters for RPDO and TPDO
– Define the communication parameters for RPDO, see RPDO communication
parameters (Page 146)
– Define the communication parameters for TPDO, see TPDO communication
parameters (Page 149)
4. Select the OD index for the mapping parameters:
– Mapping parameters for RPDO, see RPDO mapping parameters (Page 147)
– Mapping parameters for TPDO, see TPDO mapping parameters (Page 151)
5. Write OV index into the SINAMICS mapping parameters
– p8710 … p8717 for RPDO
– p8730 … p8737 for TPDO
– You will find the OD index in the free objects (Page 153) or in the objects of the CiA
402 drive profile (Page 154)
Fieldbuses
136 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.3 PDO services
Note
Requirement 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. Add the value 80000000 hex to the COB ID. If
you have changed the mapping parameter, you must reset the COB ID to the valid value.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 137
Communication over CANopen
6.3 PDO services
See also
General objects from the CiA 301 communication profile (Page 144)
General objects from the CiA 301 communication profile (Page 144)
Fieldbuses
138 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.3 PDO services
Procedure
Proceed as follows to interconnect process data:
1. Create a telegram:
create PDO (parameterize the PDO Com. Parameters and PDO mapping parameters),
see Predefined connection set (Page 135) and Free PDO mapping (Page 136)
2. Interconnect parameters:
Interconnect the parameters of the PZD buffer ( r2050/r2060, p2051/p2061)
corresponding to the mapping of point "Create telegram" using the mapping table
r8750/r8760 or r8751/r8761. The mapping table indicates the position of a mapped
CANopen object in the PZD buffer.
You have interconnected the process data.
Examples
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 139
Communication over CANopen
6.3 PDO services
Examples
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. TPDO1 and RPDO1 have already been specified by the Predefined Connection
Set.
Procedure
Proceed as follows to accept the current actual value as send object in the communication:
1. Set the OV index for the actual current value:
first free OV index from the send data from the "Free objects" 5810 table
2. Map the OV index for the actual current value with PZD2:
– Set the COB-ID of TPDO1 to "invalid":
p8720[0] = 800001B2 hex
– Link the mapping parameter object 2 of TPDO1 (p8730.1) with the OV index for the
actual current value:
p8730.1 = 58100010 hex (5810 = OV index, 00 = fixed value, 10 ≙ 16 bit value)
– Set the COB-ID of TPDO1 to "valid":
p8720[0] = 400001B2 hex
r8751 shows which object is matched to which PZD:
PZD2 (r8751[1] ) = 5810 (actual current value)
3. link the PZD send word 2 in the send word (p2051) with the actual current value:
p2051[1] = r0086[0]
This means you have transferred the actual current value into the communication as the
send object.
Fieldbuses
140 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.3 PDO services
Procedure
Proceed as follows to accept the torque limit value in the communication:
1. Set the OV index for the torque limit:
first free OV index from the receive data from the "Free objects" 5800 table
2. Map the OV index for the torque limit with PZD2
– Set the COB-ID of RPDO1 to "invalid":
p8700[0] = 80000232 hex
– Link the mapping parameter object 2 of RPDO1 (p8710.1) with the OV index for the
torque limit:
p8710.1 = 58000010 hex (5800 = OV index, 00 = fixed value)
– 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]
This means you have transferred the value for the torque limit into the communication.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 141
Communication over CANopen
6.4 CANopen operating modes
Fieldbuses
142 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.5 RAM to ROM via the CANopen object 1010
You can also use parameters from other CANopen operating modes, independently from the
current effective CANopen operating mode.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 143
Communication over CANopen
6.6 Object directories
Overview
The following table lists the drive-independent communication objects. The "SINAMICS
parameters" column shows the parameter numbers assigned in the converter.
OD index Subindex Object name SINAMICS Transmis Data Default Can be read/
(hex) (hex) parameters sion type values written
1000 Device type r8600 SDO U32 – r
1001 Error register r8601 SDO U8 – r
1003 0...52 hex Predefined error field p8611[0...82] SDO U32 0 r/w
0 Number of errors p8611.0 SDO U32 0 rw
1 Number of module p8611.1 SDO U32 0 r
2 Number of errors: p8611.2 SDO U32 0 r
module 1
3-A Standard error field: p8611.3- p8611.10 SDO U32 0 r
module 1
B Number of errors: p8611.11 SDO U32 0 r
module 2
C-13 Standard error field: p8611.12- SDO U32 0 r
module 2 p8611.19
14 Number of errors: p8611.20 SDO U32 0 r
module 3
15-1C Standard error field: p8611.21- SDO U32 0 r
module 3 p8611.28
1D Number of errors: p8611.29 SDO U32 0 r
module 4
1E-25 Standard error field: p8611.30-p8611.37 SDO U32 0 r
module 4
26 Number of errors: p8611.38 SDO U32 0 r
module 5
27-2E Standard error field: p8611.39-p8611.46 SDO U32 0 r
module 5
2F Number of errors: p8611.47 SDO U32 0 r
module 6
30-37 Standard error field: p8611.48-p8611.55 SDO U32 0 r
module 6
38 Number of errors: p8611.56 SDO U32 0 r
module 7
39-40 Standard error field: p8611.57-p8611.64 SDO U32 0 r
module 7
Fieldbuses
144 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
OD index Subindex Object name SINAMICS Transmis Data Default Can be read/
(hex) (hex) parameters sion type values written
41 Number of errors: p8611.65 SDO U32 0 r
module 8
42-49 Standard error field: p8611.66-p8611.73 SDO U32 0 r
module 8
4A Number of Control Unit p8611.74 SDO U32 0 r
faults
4B-52 Field Control Unit p8611.75-p8611.82 SDO U32 0 r
standard error
1005 SYNCH COB ID p8602 SDO U32 128 rw
1008 Manufacturer device SDO
name
100A Manufacturer software r0018 SDO U32 – r
version
100C Guard time p8604.0 SDO U16 0 rw
100D Lifetime factor p8604.1 SDO U16 0 rw
1010 Store parameters p0971 SDO U16 0 rw
0 Largest subindex SDO
supported
1 Save all parameters p0971 SDO U16 0 rw
2 Save communication p0971 SDO U16 0 rw
parameters (0x1000-
0x1fff)
3 Save application-related p0971 SDO U16 0 rw
parameters (0x6000-
0x9fff)
1011 Restore default p0970 SDO U16 0 rw
parameters
0 Largest subindex SDO
supported
1 Restore all default p0970 SDO U16 0 rw
parameters
2 Restore communication p0970 SDO U16 0 rw
default parameters
(0x1000-0x1fff)
3 Restore application p0970 SDO U16 0 rw
default parameters
(0x6000-0x9fff)
1014 COB ID emergency p8603 SDO U32 0 rw
1017 Producer heartbeat time p8606 SDO U16 0 rw
1018 Identy Object r8607[0...3] U32 – r
0 Number of entries SDO
1 Vendor ID r8607.0 SDO U32 – r
2 Product code r8607.1 SDO U32 – r
3 Revision number r8607.2 SDO U32 – r
4 Serial number r8607.3 SDO U32 0 r
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 145
Communication over CANopen
6.6 Object directories
OD index Subindex Object name SINAMICS Transmis Data Default Can be read/
(hex) (hex) parameters sion type values written
1027 Module list
0 Number of entries r0102 SDO U16 – r
1-8 Module ID p0107[0...15] SDO I16 0 rw
1029 Error behavior
0 Number of error classes SDO
1 Communication Error p8609.0 SDO U32 1 rw
2 Device profile or p8609.1 SDO U32 1 rw
manufacturer-specific
error
1200 1st server SDO
parameter
0 Number of entries SDO
1 COB ID client -> server r8610.0 SDO U32 – r
(rx)
2 COB ID server -> client r8610.1 SDO U32 – r
(tx)
Fieldbuses
146 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 147
Communication over CANopen
6.6 Object directories
Fieldbuses
148 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 149
Communication over CANopen
6.6 Object directories
Fieldbuses
150 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 151
Communication over CANopen
6.6 Object directories
Fieldbuses
152 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 153
Communication over CANopen
6.6 Object directories
OD index Subi Name of the object SINAMICS Transmi Data Default Can be
(hex) ndex parameters ssion type setting read/
(hex) written
Predefinitions
67FF Single device type SDO U32 r
Common entries in the object dictionary
6007 Abort connection option code p8641 SDO I16 3 r/w
6502 Supported drive modes SDO I32 r
6504 Drive manufacturer SDO String SIEME r
NS
Device control
6040 Control word r8795 PDO/S U16 – r/w
DO
6041 Status word r8784 PDO/S U16 – r
DO
605D Halt option code p8791 PDO/S I16 – r/w
DO
6060 Modes of operation p1300 SDO I8 – r/w
6061 Modes of operation display r8762 SDO I8 – r
Factor group
6094 Velocity encoder factor SDO U8 - r
01 velocity encoder factor p8798[1] SDO U32 1 r/w
numerator
02 velocity encoder factor p8798[2] SDO U32 1 r/w
denumerator
Profile velocity mode
6063 Actual position value r0482 SDO/P I32 – r
DO
6069 Velocity sensor actual value r0061 SDO/P I32 – r
DO
606B Velocity demand value r1170 SDO/P I32 – r
DO
606C Velocity actual value r0063 SDO/P I32 – r
Actual velocity DO
6083 Profile acceleration p1082/p1120 SDO I32 – r/w
6084 Profile deceleration p1082/p1121 SDO I32 0 r/w
6085 Quick stop deceleration p1082/p1135 SDO I32 0 r/w
6086 Motion profile type p1115/p1134 SDO I32 0 r/w
60FF Target velocity p1155[0] 1) SDO/P I32 0 r/w
Set velocity p1072 2) DO
Profile Torque Mode 3)
Fieldbuses
154 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.6 Object directories
OD index Subi Name of the object SINAMICS Transmi Data Default Can be
(hex) ndex parameters ssion type setting read/
(hex) written
6071 Target torque r8797 SDO/P I16 – r/w
torque setpoint DO
6072 Max. torque p1520 SDO 0 0
6074 Torque demand value r0079 SDO/P I16 – r
overall torque setpoint DO
6077 Torque actual value r0080 SDO/P I16 – r
DO
Velocity mode
6042 vl target velocity r8792 SDO/P I16 – r/w
DO
6043 vl velocity demand r1170 SDO/P I16 – r
DO
6044 vl velocity actual value r0063 SDO/P I16 – r
DO
6046 0 vl velocity min./max. amount SDO U8 – r
1 vl velocity min. amount p1080 SDO U32 – r/w
2 vl velocity max. amount p1082 SDO U32 – r/w
6048 0 vl velocity acceleration SDO U8 – r
1 Delta speed p1082 SDO U32 – r/w
2 Delta time p1120 SDO U16 – r/w
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 155
Communication over CANopen
6.7 Integrating the inverter into CANopen
Commissioning
Precondition
Procedure
Proceed as follows to commission the CANopen interface:
1. Connecting inverter to CAN bus (Page 157)
2. Set the node ID, baud rate and the monitoring of the communication.
Also see "Setting the node ID and baud rate (Page 157)" as well as "Setting the
monitoring of the communication (Page 158)"
3. Interconnecting additional process data
Set p8744 = 2. You can now interconnect additional process data.
See also "Free PDO mapping (Page 136)"
4. Signal interconnection of the links created in free PDO mapping.
See also Interconnect objects from the receive and transmit buffers (Page 139).
5. Exiting commissioning
Select the "Operational" status in the "Network management" tab in the "Control
Unit/Communication/CAN" STARTER screen form and exit the commissioning.
You have commissioned the CANopen interface.
More information about configuring the communication is provided in Sections
Communication over CANopen (Page 123) and Object directories (Page 144).
Fieldbuses
156 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.7 Integrating the inverter into CANopen
Procedure
To change the bus address, proceed as follows:
● Set the address using one of the subsequently listed options:
– using the address switches
– with an operator panel using p8620
– in STARTER using screen form "Control Unit/Communication/Fieldbus" or using the
expert list with p8620 and - only for STARTER - save the settings using (RAM to
ROM)
1. Switch on the inverter power supply and, if being used, the 24 V supply
for the Control Unit.
2. Switch on the voltages again after all LEDs at the inverter have gone dark.
This means that you have changed the bus address.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 157
Communication over CANopen
6.7 Integrating the inverter into CANopen
• Heartbeat
Principle of operation
● Node guarding:
Is always active if heartbeat is not activated (p8606 = 0). Node guarding means the
master sends monitoring queries to the converter which then answers.
The converter does not monitor the communication. Set the responses to a bus failure in
the master.
● Life guarding:
is active if you use p8604.0 and p8604.1 to set a lifetime ≠ 0.
Life Guarding means that the converter monitors the master's monitoring query and
reports fault F8700 (A) with fault value 2, if a life guarding protocol (life guarding event) is
not received within the lifetime. Set additional responses to a bus failure in the master.
Calculate value for lifetime
Life time = guard time in milliseconds (p8604.0) * life time factor (p8604.1)
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.
Fieldbuses
158 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.7 Integrating the inverter into CANopen
WARNING
Stopping the motor after a bus error
If the converter does not enter into a fault for a bus fault (p8641 = 0), the motor cannot be
stopped via the controller.
For this case, wire an additional OFF command via terminals.
To stop the motor from the controller, you must resolve the bus fault and restart the
communication via p8608 = 1.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 159
Communication over CANopen
6.8 Error diagnostics
LED Explanation
BF RDY
GREEN - on Not relevant Data is being exchanged between the inverter and
control ("Operational")
GREEN - fast Bus state "Pre-Operational"
GREEN - single Bus state "Stopped"
flash
RED - on No bus available
RED - single flash Alarm - limit reached
RED - double flash Error event in control (Error Control Event)
RED - slow RED - slow Inverter waits until the power supply is switched off and
switched on again after a firmware update
RED - fast RED - fast Incorrect memory card or unsuccessful firmware update
YELLOW - variable RED - on Firmware update in progress
frequency
Fieldbuses
160 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Communication over CANopen
6.8 Error diagnostics
Display of the operating state using the alarm object (Emergency Object)
Error states are displayed using the alarm object (Emergency Object), OV index 1014 in the
emergency telegram. It has the following structure:
Errors trigger an emergency telegram and cause the drive to shut down.
You can suppress the emergency telegram by setting bit 31 in object 1014 hex to 1.
This means that shutdown is not suppressed, however the fault message is not sent to the
master.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 161
Communication over CANopen
6.8 Error diagnostics
Fieldbuses
162 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix A
A.1 Communication with STEP7
This section describes the communication with a SIMATIC control system using examples.
To configure the control you require the SIMATIC STEP 7 software tool with HW Config.
It is assumed that you are knowledgeable about working with SIMATIC control systems and
that you have a sound understanding of the STEP 7 engineering tool.
Procedure
In order to create a STEP 7 project, proceed as follows:
1. Create a new STEP 7 project, e.g. "G120_in_S7".
2. Insert a SIMATIC control S7 300 CPU.
3. Select the SIMATIC 300 station in your project and open HW Config.
4. Insert an S7 300 mounting rail from the hardware catalog into your project with drag &
drop.
5. Locate a power supply at slot 1 of the mounting rail and a CPU 315-2 DP control at slot 2.
When inserting the control, HW Config opens the network setting.
6. Create a PROFIBUS DP network.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 163
Appendix
A.1 Communication with STEP7
You have created a STEP 7 project with a SIMATIC control and a PROFIBUS network.
Precondition
You have installed the GSD of the inverter in your PC using HW Config (menu "Options -
Install GSD files").
Procedure
In order to insert an inverter into your project, proceed as follows:
1. Insert the inverter by dragging and dropping it into the PROFIBUS network.
You can find the inverter under "PROFIBUS DP - Other field devices" in the HW Config
hardware catalog.
2. Enter the PROFIBUS address set at the inverter in HW Config.
3. Select the appropriate telegram and insert the telegram into slot 1 of the inverter by
dragging and dropping.
More information on the telegram types can be found in Chapter Cyclic communication
(Page 15).
4. If you wish to assign several inverter slots with telegrams, then you must comply with the
permitted sequence of slot assignments.
Fieldbuses
164 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
You have inserted your project into the inverter and loaded your configuration to the CPU.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 165
Appendix
A.1 Communication with STEP7
Procedure
Proceed as follows to configure communications between the inverter and the control system
via PROFINET:
1. Open HW Config in STEP 7 via "Insert/[Station]", and create the components in
accordance with your hardware structure. The following example is limited to the
components that are absolutely required.
2. Build your station with a rack and power supply unit.
3. Insert the CPU.
HW Config opens a screen form with suggestions for the next free IP address and a
subnet screen form.
4. If you have configured a local area network, and are not working within a larger Ethernet
network, use the proposed entries.
Otherwise, ask your administrator about the IP addresses for the PROFINET participants
and subnet mask. CPU and supervisor must have the same subnet screen form.
5. Use the "New" button to either create a new PROFINET subnet or select an existing one.
6. Assign a name for your PROFINET network.
7. Exit this screen form and the next one with OK.
8. Select your subnet.
Fieldbuses
166 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
9. Using the hardware catalog, first insert the inverter using drag & drop.
10.Insert the communication telegram.
11.Open the properties window of the inverter and enter a unique and descriptive device
name for the inverter.
Using the device name, the PROFINET controller assigns the IP address when starting
up.
12.You will also find the proposed IP address in this screen form. If required, you can
change the IP address via "Properties".
14.Load the configuration into the control unit via the button.
15.Enter the IP address of the controller.
If you do not have the IP address readily available, you can display the participants that
can be reached by clicking the "Display" button. Select the control from the list of
accessible participants, and exit the screen form with OK.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 167
Appendix
A.1 Communication with STEP7
16.If you have installed Drive ES Basic, open the STARTER by double-clicking the inverter
symbol in the Hardware Manager and configure the inverter in the STARTER.
In this case, STARTER automatically accepts the device name and IP address. The
approach described in the following section is therefore superfluous.
17.If you are working with the GSDML, close HW Config now and create a reference for
STARTER as described in the following section.
You have configured the communication between the inverter and the control unit using
PROFINET .
Fieldbuses
168 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Procedure
Proceed as follows to activate the diagnostic messages of the inverter:
1. In HW Config, select the inverter.
2. By double clicking on slot 0 in the station window, open the property window for the
inverter's network settings.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 169
Appendix
A.1 Communication with STEP7
Procedure
To address the inverter, proceed as follows:
You have allocated your computer the IP address and the address of the subnet mask, and
defined the PC interface via which STARTER goes online with the inverter.
Fieldbuses
170 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Procedure
Proceed as follows to create a reference of the inverter for STARTER:
1. Highlight the project in the SIMATIC manager
2. Open the "Insert single drive unit" screen form by right clicking on "Insert New
Object/SINAMICS".
3. Under the "Drive device/address" tab, set the device family, device and the firmware
version.
4. In the device version, select your inverter.
5. Set the online access.
6. Set the address.
7. Enter the PROFINET device name in the "General" tab.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 171
Appendix
A.1 Communication with STEP7
Procedure
To call STARTER from STEP 7 and establish an online connection to the inverter, proceed
as follows:
1. Highlight the inverter in the SIMATIC manager with the right mouse button.
2. Open the STARTER via "Open object".
3. Configure the inverter in STARTER and click on the Online button ( ).
4. In the following window, select the inverter and then the S7ONLINE as access point.
Fieldbuses
172 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Analog signals
The inverter always scales signals that are transferred via the fieldbus to a value of 4000
hex.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 173
Appendix
A.1 Communication with STEP7
Fieldbuses
174 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Table A- 2 Assignment of the control bits in the inverter to the SIMATIC flags and inputs
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 175
Appendix
A.1 Communication with STEP7
Fieldbuses
176 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Note
With PROFINET standard function blocks (SFB) instead of system functions (SFC)
With acyclic communication via PROFINET, you must replace the system functions with
standard function blocks as follows:
• SFC 58 → SFB 53
• SFC 59 → SFB 52
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 177
Appendix
A.1 Communication with STEP7
Explanation of FC 1
SFC 58 copies the specifications for the parameters to be read from DB 1 and sends them to
the inverter as a read request. No other read requests are permitted while this one is being
processed.
After the read request and a waiting time of one second, the controller takes the parameter
values from the inverter via SFC 59 and saves them in DB 2.
Fieldbuses
178 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Explanation of FC 3
SFC 58 copies the specifications for the parameters to be written from DB 3 and sends them
to the inverter. The inverter blocks other write jobs while this write job is running.
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 179
Appendix
A.1 Communication with STEP7
Figure A-4 Communication with the higher-level controller and between the drives with direct data
exchange
Procedure
Proceed as follows to set direct data exchange in the control:
Fieldbuses
180 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Appendix
A.1 Communication with STEP7
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 181
Appendix
A.2 Additional manuals for your inverter
Fieldbuses
182 Function Manual, 04/2014, FW V4.7, A5E34229197B AA
Index
A E
AC/DC drive profile, 66 EMCY, 124
Acyclic communication, 34 Ethernet/IP, 61
Application
Reading and writing parameters cyclically via
PROFIBUS, 32 G
Getting Started, 182
GSD (Generic Station Description), 57, 164
C
GSDML (Generic Station Description Markup
CAN Language), 47
COB, 124
COB ID, 124
Device profile, 124 H
EMCY, 124
Hardware Installation Manual, 182
NMT, 124
HW Config (hardware configuration), 163
SDO, 124
SYNC, 124
CANopen communication profile, 124
I
Checklist
PROFIBUS, 55 IND (page index), 30, 89
PROFINET, 47, 64
COB, 124
COB ID, 124 L
Communication
List Manual, 182
Acyclic, 34
Cyclically, 16
Control word
M
Control word 1, 19
Control word 2, 22 Manual Collection, 182
Control word 3, 24 Manuals
Control word 2 (STW2), 22 Download, 182
Control word 3 (STW3), 24 Function Manual for Safety Integrated, 182
Cyclic communication, 18 Inverter accessories, 182
Overview, 182
Maximum cable length
D Modbus, 94
PROFIBUS, 56
Data exchange fieldbus, 173
PROFINET, 46
Data set 47 (DS), 34, 178
USS, 82
DC braking, 22, 24
Device profile, 124
Direct data exchange, 33, 180
N
Drive-independent communication objects, 144
DS 47, 34 Network management (NMT service), 125
NMT, 124
Fieldbuses
Function Manual, 04/2014, FW V4.7, A5E34229197B AA 183
Index
O U
Operating instruction, 11 USS (universal serial interface), 82, 86
Operating instructions, 182
Overview
Manuals, 182 Z
ZSW1 (status word 1), 21
ZSW3 (status word 3), 25
P
Page index, 30, 89
Parameter channel, 27, 86
IND, 30, 89
Parameter index, 30, 89
Parameter number, 30
Parameter value, 34
PDO, 132
Procedure, 11
PROFIBUS, 55
PROFIenergy, 48
PROFIsafe, 165
Pulse cancelation, 20
Pulse enable, 20
R
RS485 interface, 81
S
Scaling
Fieldbus, 173
SDO, 124, 129
SDO services, 128
SIMATIC, 163
Status word
Status word 1, 21
Status word 2, 23
Status word 3, 25
Status word 1 (ZSW2), 23
STEP 7 object manager, 164
STW1 (control word 1), 19
Subindex, 30, 89
Switching on inhibited, 20
Symbols, 11
SYNC, 124
T
Technology controller, 22, 24
Telegram types, 164
Fieldbuses
184 Function Manual, 04/2014, FW V4.7, A5E34229197B AA