Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Operation manual

en 11/2015 ID 442710.00

Downloaded from www.Manualslib.com manuals search engine


Table of contents
Operation manual PROFINET

Table of contents 4.2 Connection .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.2.1 Selection of suitable lines . . . . . . . . . . . . . . . . . . . . . . 10


1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
4.2.2 PN6: Sockets X200, X201 . . . . . . . . . . . . . . . . . . . . . 11
1.1 Further documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 Commissioning - 
1.2 Website downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
SD6 and SIMATIC S7 with PROFINET . . . . . . . . . . . . . . . . . .12
1.3 Technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1 DS6: Configure drive controller . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4 About this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.1.1 Project drive controller and axis . . . . . . . . . . . . . . . . . 12
1.5 Abbreviations, symbols, indexes . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.2 Configure operation mode and process data . . . . . . . 13
1.6 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1.3 Configure general PROFINET settings . . . . . . . . . . . 14
2 Notes on safety .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 5.1.4 Configure PZD transfer . . . . . . . . . . . . . . . . . . . . . . . 14
2.1 Operation in accordance with its intended use . . . . . . . . . . . . . . 7 5.1.5 Transfer project configuration .. . . . . . . . . . . . . . . . . . 16
2.2 Component part of the product . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.1.6 Save project configuration . . . . . . . . . . . . . . . . . . . . . 16
2.3 Risk assessment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.2 TIA Portal: Set up PROFINET network . . . . . . . . . . . . . . . . . . . 17
2.4 Qualified personnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.2.1 Check network addresses . . . . . . . . . . . . . . . . . . . . . 17
2.5 Working on the machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.2.2 Install GSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.6 Disposal .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.2.3 Map PROFINET IO system . . . . . . . . . . . . . . . . . . . . 18
2.7 Presentation of notes on safety . . . . . . . . . . . . . . . . . . . . . . . . . . 8 5.2.4 Configure IO controller . . . . . . . . . . . . . . . . . . . . . . . . 19

3 PN6 communication module .. . . . . . . . . . . . . . . . . . . . . . . . . . . .9 5.2.5 Configure IO devices . . . . . . . . . . . . . . . . . . . . . . . . . 19

3.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5.2.6 Transfer project configuration .. . . . . . . . . . . . . . . . . . 21

5.2.7 Check communication . . . . . . . . . . . . . . . . . . . . . . . . 21


4 Electrical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
5.2.8 Program acyclic communication service . . . . . . . . . . 22
4.1 PROFINET – Network structure . . . . . . . . . . . . . . . . . . . . . . . . 10

ID 442710.00 WE KEEP THINGS MOVING 2

Downloaded from www.Manualslib.com manuals search engine


Table of contents
Operation manual PROFINET

6 More about PROFINET? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23


6.1 PROFINET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.2 Device classes and device addressing . . . . . . . . . . . . . . . . . . . 23

6.2.1 Device classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.2.2 Device addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

6.3 PROFIdrive device profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

6.4 Cyclic and acyclic data transfer . . . . . . . . . . . . . . . . . . . . . . . . . 25

6.4.1 Process data modules . . . . . . . . . . . . . . . . . . . . . . . . 26

6.4.2 PZD channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

6.4.3 PKW channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

6.5 Monitoring and diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

6.5.1 Connection monitoring . . . . . . . . . . . . . . . . . . . . . . . . 35

6.5.2 States of the bus communication . . . . . . . . . . . . . . . . 35

6.6 Parameter reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

ID 442710.00 WE KEEP THINGS MOVING 3

Downloaded from www.Manualslib.com manuals search engine


1 General Information
Operation manual PROFINET

1 General Information 1.1 Further documentation


The new SD6 drive controller offers maximum precision and productivity for The documentation listed in the following table provides relevant information on
automation technology and machine manufacturing despite ever more the SD6 drive controller. You can find the latest document versions at
complex functions. Highly dynamic drives ensure the shortest recovery times www.stoeber.de.
from fast changes in reference value and load jumps. You also have the option
of connecting the drive controllers in a DC intermediate circuit, which improves
Device/Software Documentation Contents ID
the energy footprint of the entire system.
SD6 drive controllers Manual System 442426
Properties environment,
technical data,
• Large power range using 4 sizes
commissioning,
• Quick DC-Link: Innovative installation concept for the DC link connection
communication,
• Very good control performance diagnosis
• Easy to service SD6 drive controllers Commissioning Technical data, 442537
• Isochronous system bus (in preparation) instructions installation,
• Modular safety technology (in preparation) commissioning,
• Free, graphical programming in accordance with IEC 61131-3 CFC (in function test
preparation)

ID 442710.00 WE KEEP THINGS MOVING 4

Downloaded from www.Manualslib.com manuals search engine


1 General Information
Operation manual PROFINET

1.2 Website downloads 1.4 About this manual


Information about PROFINET This documentation supports you with the assembly and connection of the
You can find general information about PROFINET on the "PROFIBUS & PN6A communication module to connect a SD6 drive controller (IO device) via
PROFINET International (PI)" website (www.profibus.com). the PROFINET IO bus system to a PLC as IO controller.
You can find PROFINET-specific directives, profiles, presentations, brochures The commissioning of IO device and IO controller is described on the Siemens
and software in the associated download area  SIMATIC S7-1500 controller as an example. The systems are configured with
(see http://www.profibus.com/pi-organization/regional-pi-associations/ the aid of the STOBER Software DriveControlSuite DS6 as well as the
germany/downloads/). Siemens Engineering Framework TIA Portal.

SD6 – Device description Special knowledge


You can get a GSD file for simple integration of the STOBER drive controller in To be able to put the PN6 communication module into operation as part of a
the respective system environment at www.stoeber.de. SD6 drive controller in combination with the S7-1500 controller, you should be
familiar with the basics of PROFINET and PROFINET IO.
Information about the Siemens TIA portal
You can get the most important information about the Siemens TIA Portal as Technical requirements
well as extensive documents, links and training at  Before putting the PN6 communication module into operation, you must first
www.siemens.de/tia-portal/details. wire the SD6 drive controller and initially check it is functioning correctly. To do
this, follow the commissioning instructions of the SD6 drive controller.
1.3 Technical support
If you have technical questions that are not answered by this document, please
contact:
• Phone: +49 7231 582-3060
• E-mail: applications@stoeber.de
If you have questions about training sessions, please contact
training@stoeber.de.

ID 442710.00 WE KEEP THINGS MOVING 5

Downloaded from www.Manualslib.com manuals search engine


1 General Information
Operation manual PROFINET

1.5 Abbreviations, symbols, indexes Abbreviations


PZD Process Data
Abbreviations
RT Real-Time
AR Application Relation
SNMP Simple Network Management Protocol
CPU Central Processing Unit
SPS Programmable Logic Controller
CR Communication Relation
TCP Transmission Control Protocol
IO Input/Output
TIA Totally Integrated Automation
GSD Device database
UDP User Datagram Protocol
GSDML General Station Description Markup Language
HMI Human Machine Interface
HTTP Hypertext Transfer Protocol 1.6 Trademarks
IGB Integrated Bus The following names that are used in conjunction with the device, its optional
IP Internet Protocol equipment and its accessories are trademarks or registered trademarks of
other companies:
IPv4, IPv6 Internet Protocol Version 4, Internet Protocol Version 6
IRT Isochronous Real-Time Trademarks
LAN Local Area Network Microsoft, Microsoft, Windows, Windows XP and the Windows logo
LWL Fiber Optic Cable Windows, are registered trademarks of Microsoft Corporation in the
Windows XP USA and/or other countries.
MAC Media Access Control
PROFIBUS, The PROFIBUS/PROFINET logo is a registered
PC Personal Computer
PROFINET trademark of PROFIBUS Nutzerorganisation e. V.
PG Programming Device Karlsruhe, Germany.
PKE Parameter Identification SIMATIC, SIMATIC and TIA Portal are registered trademarks of
PKW Parameter Identification Value TIA Portal Siemens AG, München, Deutschland.
PN PROFINET
All other trademarks that are not listed here are the property of their respective
PNU Parameter Number
owners.
PROFIBUS Process Field Bus
PROFINET Process Field Network
PWE Parameter Value

ID 442710.00 WE KEEP THINGS MOVING 6

Downloaded from www.Manualslib.com manuals search engine


2 Notes on safety
Operation manual PROFINET

2 Notes on safety 2.3 Risk assessment


The devices can represent a source of danger. Therefore observe Before the manufacturer may bring a machine onto the market, he must
• the safety guidelines, technical rules and regulations given in the following conduct a risk assessment according to Machine Directive 06/42/EC. As a
sections result, the risks associated with the use of the machine are determined. The
• and points. risk assessment is a multi-stage and iterative process. 
STOBER shall assume no liability for damage resulting from failure to comply On no account can sufficient insight into the Machine Directive be given as part
with the instruction manual or relevant regulations. We reserve the right to of this documentation. For this reason, seek detailed information about the
make technical changes for the purpose of improving the devices. norms and legal position. 
When installing the drive controller in machines, commissioning is forbidden
until it has been determined that the machine meets the requirements of EC
2.1 Operation in accordance with its intended Directive 06/42/EC.
use
As defined by DIN EN 50178 (previously VDE 0160), the drive controllers are 2.4 Qualified personnel
electrical equipment operating as power electronics to control the flow of
There are residual risks associated with the devices. For this reason, only
energy in high voltage systems. They are determined exclusively for
qualified personnel who are aware of possible dangers may carry out work on
installation in the control cabinet with at least protection class IP54 and for
the devices as well as operate and dispose of them.
supplying
Qualified personal are persons who have acquired the authorization to perform
• synchronous servo motors,
these activities either through training to become a specialist and/or instruction
• asynchronous motors and by specialists.
• synchronous linear motors. In addition the valid regulations, legal requirements, basic rules and this
Designated use does not include connecting other electrical loads! technical documentation, particularly the safety information included in it, must
be carefully read, understood and observed.
2.2 Component part of the product
The technical documentation is a component part of a product.
• Since the technical documentation contains important information, always
keep it handy in the vicinity of the device until the machine is disposed of.
• If the product is sold, disposed of, or rented out, always include the
technical documentation with the product.

ID 442710.00 WE KEEP THINGS MOVING 7

Downloaded from www.Manualslib.com manuals search engine


2 Notes on safety
Operation manual PROFINET

2.5 Working on the machine 2.7 Presentation of notes on safety


Apply the 5 safety rules in the order stated before performing any work on the
NOTICE
machine:
1. Disconnect. Notice
Also ensure that the auxiliary circuits are disconnected. means that property damage may occur
2. Protect against being turned on again.  if the stated precautionary measures are not taken.
3. Check that voltage is not present.
4. Ground and short circuit.
CAUTION!
5. Cover or block off adjacent live parts.
Caution
Information
with warning triangle means that minor injury may occur
Note that the discharge time of the DC link capacitors is up to 5
minutes. You can only determine the absence of voltage after this  if the stated precautionary measures are not taken.
time period.
WARNING!
2.6 Disposal Warning
Please observe the current national and regional regulations! Dispose of the means that there may be a serious danger of death
individual parts separately depending on the quality and currently applicable
 if the stated precautionary measures are not taken.
regulations, e.g. as
• Electronic waste (circuit boards)
• Plastic DANGER!
• Sheet metal Danger
• Copper means that serious danger of death exists
• Aluminum  if the stated precautionary measures are not taken.
• Battery
Information
refers to important information about the product or serves to
emphasize a section in the documentation to which the reader
should pay special attention.

ID 442710.00 WE KEEP THINGS MOVING 8

Downloaded from www.Manualslib.com manuals search engine


3 PN6 communication module
Operation manual PROFINET

3 PN6 communication module CAUTION!


The PN6 communication module provides a fieldbus interface for the Danger of material damage due for example to electrostatic discharge!
connection of drive controllers of series SD6 to higher-level control systems via
 Take suitable protective measures when handling open printed circuit
PROFINET IO.
boards, for example clothing appropriate for ESD and an environment free
PN6 complies with the PROFINET standard and allows cyclic and acyclic of dirt and grease.
access of an IO controller to all relevant drive parameters and functions.
 Do not touch the contact surfaces.

3.1 Installation PN6 is installed on the upper slot of the drive controller.
You need:
Installation work is only admissible when no voltage is present. Observe the 5
safety rules. • A Torx screwdriver TX10.
• The cover and screw included with the communication module.
Note the minimum open areas specified in the technical data during installation
to prevent the drive controller from overheating.
Protect the device against falling parts (bits or strands of wire, pieces of metal, Installation of the communication module
etc.) during installation or other work in the control cabinet. Parts with
conductive properties may result in a short circuit or device failure within the 1. Loosen the fastening screw for the dummy cover on the top of the drive
drive controller. controller.

Remove the additional covers before commissioning so that the device will not 2. Push the communication module into the drive controller on the guide
overheat. rails.
3. Push the module in so that the pin contacts are pushed into the female
WARNING! connector strip.
Danger of personal injury and material damage due to electric shock! 4. Insert the tips of the cover included with the communication module into
 Always switch off all power supply voltage before working on the drive the recess in the front at an angle.
controller! Note that the discharge time of the DC link capacitors is up to 5 5. Set the cover down on the drive controller so that the tips are resting under
minutes. You can only determine the absence of voltage after this time the edge.
period. 6. Fasten the cover with the two screws.

ID 442710.00 WE KEEP THINGS MOVING 9

Downloaded from www.Manualslib.com manuals search engine


4 Electrical installation
Operation manual PROFINET

4 Electrical installation 4.2 Connection


To be able to connect the PN6 communication module to additional PROFINET
4.1 PROFINET – Network structure components, an integrated switch with two RJ-45 sockets is available.
The PROFINET network structure is generally adapted to the relevant system-
specific requirements. PN6 supports a star, line or tree topology. 4.2.1 Selection of suitable lines
All IO-standard devices are included via internal or external switches  The PROFINET transfer technology is based on the Fast Ethernet standard.
(100 Mbit/s) in the PROFINET network. A PROFINET network generally consists of symmetrical shielded copper
The following figure abstracts a PROFINET network in a line topology. cables in twisted pairs (Shielded Twisted Pair).
The network consists of a PROFINET segment with IO controller and all drive Signals are transferred according to the 100BASE TX procedure with a transfer
controllers belonging to this area as IO devices, a PC or PG as IO supervisor rate of 100 Mbit/s and a frequency of 125 MHz. The maximum cable length is
as well as a HMI as user interface. 100 m.
The devices shown has integrated switches. PROFINET cables are available in different versions matched to various
application scenarios and environmental conditions.
We recommend using the cable specified in the PROFINET installation
guideline. These are adapted precisely for the application in automation
technology with regard to use, resistance, EMC properties and color coding.
There are cables of type A, B and C that differ according to the type of
installation (fixed, flexible, under permanent movement).

ID 442710.00 WE KEEP THINGS MOVING 10

Downloaded from www.Manualslib.com manuals search engine


4 Electrical installation
Operation manual PROFINET

4.2.2 PN6: Sockets X200, X201


Each drive controller has both the X200 and X201 RJ-45 sockets.
The associated pin assignment and color coding complies with the EIA/TIA-
T568B standard.

Pin Designation Function


1 Tx+
2 Tx- Communication
3 Rx+
4 — —
5 — —
6 Rx- Communication
7 — —
8 — —

ID 442710.00 WE KEEP THINGS MOVING 11

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5 Commissioning - SD6 and  5.1 DS6: Configure drive controller


SIMATIC S7 with PROFINET To be able to configure all drive controllers of the bus system via the
DriveControlSuite, you must record them as part of a project. Afterwards
You want to operate several drive controllers in conjunction with the Siemens
specify the general PROFINET settings and define the process data that will
SIMATIC S7-1500 controller and a PROFINET network.
be transferred.
The following chapter describes the commissioning of the named systems with
Perform the steps included in the following chapters in the specified order!
the aid of the STOBER Software DriveControlSuite DS6 as well as the
Siemens Engineering Framework "Totally Integrated Automation Portal" 
(TIA Portal).
5.1.1 Project drive controller and axis
To be able to implement the individual commissioning steps exactly, we require We recommend recording all drive controllers in the DriveControlSuite
subscribing to the bus system in one project and under one module.
the following system environment:
• Siemens SIMATIC S7-1500 1. Start the DriveControlSuite and click on Create new standard project.
• Siemens Totally Integrated Automation Portal V13  The project planning window opens, the Drive controller button is
• STOBER SD6A drive controller with PN6 communication module active.
• STOBER DS6 DriveControlSuite from version 6.1-A
The systems must be cabled and supplied with the control voltage. Project drive controller

Commissioning is divided into the following steps ... 2. Properties tab:


1. DriveControlSuite: Configure drive controller specify the necessary characteristics of the drive controller.
The PN6 communication module in conjunction with the STOBER device 3. Drive Controller tab:
controller are activated separately for each drive controller subscribing on select the device type that corresponds to the drive controller. 
the bus system in the DriveControlSuite. Associated PROFINET-specific The latest firmware version is activated by default.
settings such as parameterization and assignment of the process data
4. Option modules tab:
channels are also configured for data transfer for each drive controller. 
select the PN6A communication module.
5. Device controller tab:
2. TIA Portal: map and configure PROFINET network
select the STOBER device controller as well as PROFINET Rx and
The TIA Portal provides a platform in which the PROFINET hardware
PROFINET Tx for the transfer of the process data.
environment can be mapped, set up and saved as a global project

configuration.

ID 442710.00 WE KEEP THINGS MOVING 12

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

Project axis 5.1.2 Configure operation mode and process data


The process data that is exchanged between IO controller and IO device for a
6. Click on Axis 1 in the left navigation area.
cyclic data transfer depends on the operation mode of the application.
7. Properties tab:
By selecting an operation mode, the most important send and receive process
enter the necessary characteristics of the axis.
data is assigned to the respective parameters as default settings.
8. Application tab:
select the STOBER Drive Based application. Requirement:
9. Motor tab: You have activated the PN6 module as well as the STOBER Drive Based
select the motor type that you operate via this axis. device controller as part of the drive controller and axis project configuration.

10. Confirm with OK. 1. Mark the relevant drive controller in the project tree and click in the Wizard
section on the 1st projected axis > STOBER Drive Based application.
 The application wizard opens.
2. Operation modes section:
select the required operation mode and click on Set fieldbus mapping for
operation mode.
 The Set fieldbus mapping for operation mode window opens.
The most important process data for the selected operation mode is
preassigned for each transmission direction.
3. If you want to define additional process data in advance, select it for the
respective Rx and Tx channel and confirm your configuration with OK.
 The process data is transferred to the Mapping dialog PROFINET >
RxPZD and PROFINET >TxPZD.

ID 442710.00 WE KEEP THINGS MOVING 13

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.1.3 Configure general PROFINET settings 5.1.4 Configure PZD transfer


Requirement: The PZD channel is used for the fast transfer of control and status information
You have activated the PN6 module as well as the STOBER Drive Based as well as the actual and reference values of an IO controller to a IO device and
device controller as part of the drive controller and axis project configuration. vice versa.
The direction of the data flow is important for this data transfer. PROFINET IO
1. Mark the relevant drive controller in the project tree and click in the Wizard
distinguishes between Received-PZD (= RxPZD) and Transmitted-PZD
section on the 1st projected axis > PROFINET.
(=TxPZD) – as viewed by the IO device.
 The PROFINET wizard opens.
The devices of the 6th generation of STOBER drive controllers support a
2. Configure PROFINET as follows:
flexible assignment of the parameter values to be transferred.
A100  Define how the PZD elements are transferred An IO controller requires – depending on the selected operation mode –
Fieldbus scaling (scaled).  different control and status information. STOBER offers a preassignment of the
Permitted values: communication interface depending on the operation mode that can be
1 = Raw value (values are passed on without change) supplemented or changed at any time.
0 = Integer (values are converted) 
Default: raw value 5.1.4.1 Adapt RxPZD
A273 The device name is generally defined in the Requirement:
PN device name associated TIA project and automatically  We recommend selecting an operation mode before this step and loading the
transferred. preassigned RxPZD via the associated "Fieldbus mapping" function in the list
A109 To be able to detect a communication failure, monitor of the data to be transferred.
PZD timeout the arrival the cyclic process data by defining a PZD
Information
timeout. 
Permitted value range: 0 – 65535 ms Note that the maximum total length of the parameters to be
Default: 65535 ms transferred is configured in the controller.
Note:
1. Mark the relevant drive controller in the project tree and click in the Wizard
to activate the timeout, the value must be within the
section on the 1st projected axis > PROFINET RxPZD.
permitted value range; the values 0 ms and 65535 ms
 The PROFINET RxPZD wizard opens.
deactivate this function.

ID 442710.00 WE KEEP THINGS MOVING 14

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

2. You can transfer a maximum of 18 parameter values via RxPZD to the 5.1.4.2 Adapt TxPZD
drive controller.  Requirement:
Check the default settings and/or configure the process data according to We recommend selecting an operation mode before this step and loading the
your requirements. preassigned TxPZD via the associated "Fieldbus mapping" function in the list
A90[0] – A90[5], of the data to be transferred.
Parameter values that are transferred to the
A91[0] – A91[5], controller.  Information
A92[0] – A92[5] The respective position (A90 – A92, 1st – 6th)  Note that the maximum total length of the parameters to be
1st – 6th mapped has information about the associated  transferred is configured in the controller.
parameter transmission order.
1. Mark the relevant drive controller in the project tree and click in the Wizard
Resulting length Total length of the data to be transferred. This must zone on the 1st projected axis > PROFINET TxPZD.
not the exceed the value saved in the controller  The PROFINET TxPZD wizard opens.
(max. 72 byte). If necessary, change the type or 2. You can transfer a maximum of 18 parameter values via TxPZD to the
number of parameter values to be transferred. controller. 
Check the default settings and/or configure the process data according to
your requirements.

A94[0] – A94[5], Parameter values that are received by the controller. 


A95[0] – A95[5], The respective position (A94 – A96, 1st – 6th) has
A96[0] – A96[5] information about the associated transmission order.
1st – 6th mapped
parameter

Resulting length Total length of the data to be transferred. This must


not the exceed the value saved in the controller
(max. 72 byte). If necessary, change the type or
number of parameter values to be transferred.

ID 442710.00 WE KEEP THINGS MOVING 15

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.1.5 Transfer project configuration 5.1.6 Save project configuration


To be able to transfer a project configuration to one or more drive controllers as Requirement:
part of an IGB network, you must connect your computer to the network. You have transferred the project configuration to a drive controller.

Requirement: 1. Mark the drive controller concerned in the project tree and click on
the IGB interfaces of the drive controller are connected to each other and the Wizards > Axis > Save values.
control board is switched on (24VDC supply).  The storage wizard opens.
2. Save the project configuration in the drive controller by setting A00[0] Start
1. Mark the module in the project tree under which you have recorded the
to 1: active.
drive controller concerned and click on Setting up a connection.
3. The configuration changes are only effective when the drive controller is
 The connection window opens.
restarted. Click on Restart.
2. Direct connection > Column IGB IP address tab: 
 The restart wizard opens.
Mark the IP address you want to connect with and confirm with OK.
4. Restart the drive controller by setting A09[0] Start to 1: Active.
 The assignment window opens.
5. Reestablish a connection to the drive controller.
3. For each drive controller, assign the Send to drive controller action in the
Method column, assign a drive controller in the In project column and 6. Transfer and save the project configuration to all drive controllers of your
confirm the assignment with Start. bus system.

 The project file is transferred to the selected drive controller.

ID 442710.00 WE KEEP THINGS MOVING 16

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.2 TIA Portal: Set up PROFINET network Read IP address and subnet masks of the IO controller
A PROFINET IO system generally consists of a PROFINET IO controller and
1. Start the TIA Portal and click on Online & Diagnostics > Accessible
assigned PROFINET IO devices.
devices.
The Siemens TIA Portal offers you the option to map your real PROFINET IO
 The Accessible devices window opens.
hardware environment, address all devices, parameterize the IO devices and
configure the data exchange. Type of the PG/PC Select PN/IE.
Always comply with the following sequence of steps when mapping your interface
PROFINET IO system. PG/PC  Select the network connection that you use.
Note that the infrastructure of your PROFINET IO system is already set up, i.e. interface
all PROFINET system subscribers must be physically in the network. You have 2. Click on Start search.
also projected all IO devices via the DriveControlSuite and transferred the
 If an online connection can be set up, all networked subscribers of
project configuration on the drive controller.
your physical PROFINET system together with the specification of the
respective device type as well as the associated IP and MAC
addresses are listed. 
5.2.1 Check network addresses
Before staring your project configuration, check whether the network Read IP address and subnet masks of the IO supervisor
addresses of the IO controller and IO supervisor match each other. To be able
to establish a connection, both subscribers must belong to the same subnet. 3. IO supervisor: Click on Control Panel > Network and Sharing Center >
View your active networks in the MS Windows system environment.
Requirement: 4. Connections section: click on the relevant LAN connection.
You have already set up the infrastructure of your PROFINET IO system, 
 The Status of LAN connection window opens.
i.e. all PROFINET system subscribers are physically in the network.
5. General tab > Connection section: call up the Network connection details
via Details.
6. Compare the specified IP address and subnet masks of the IO supervisor
with the IO controller. Both subscribers must belong to the same subnet.

ID 442710.00 WE KEEP THINGS MOVING 17

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.2.2 Install GSD 5.2.3 Map PROFINET IO system


The functions and properties of the STOBER drive controllers are described in Map the IO controller of your PROFINET IO system as well as all drive
the form of numerous objects and summarized in a GSD file. controllers, i.e. IO devices in a TIA project by selecting the relevant hardware
To be able to map and configure the drive controller in the network, include this modules and including them in the project.
STOBER-specific GSD file in the hardware catalog of your TIA project.
Requirement:
Requirement:
You have created a new project in TIA and installed the STOBER-specific
You have downloaded the GSD file from the STOBER download area and GSD. You are in the TIA network view; the hardware catalog is open.
saved it locally or copy it directly from the STOBER ELECTRONICS 6 CD
during the installation process.
Information
1. Start the TIA Portal, create a project and save it. Open the TIA project Note that you can only connect "logical" IO controllers and IO
view. devices in the TIA network view.
2. Click on Options > General station description files (GSD).
Include IO controller
 The Manage general station description files (GSD) window opens.
3. Navigate to the directory that contains the STOBER-specific GSD and 1. Hardware catalog: Select Controller > SIMATIC S7-1500 > CPU and open
click on OK. the folder of the CPU type that belongs to your controller (e.g.CPU 1513-
 The GSD is imported. 1 PN).
4. Set a check mark for the file and click on Install.  You obtain all article numbers of the selected CPU type.
 The GSD is installed; SD6 is integrated as a new IO device in the 2. Drag & drop the required CPU in the network view.
hardware catalog.  The IO controller is included in your project.

Include IO devices

3. Hardware catalog: Select Other field devices > PROFINET IO > Drives >
STÖBER ANTRIEBSTECHNIK GmbH & Co. KG > STOBER 6th
generation drives > PN6A.
4. Drag & drop the module in the network view.
 The IO device is included in your project.
5. Repeat steps 3 and 4 for all IO devices that exist in your physical
PROFINET IO system.

ID 442710.00 WE KEEP THINGS MOVING 18

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

Connect "logical" IO controller and IO devices 5.2.5 Configure IO devices


In this step, specify the data volumes of each IO device of your PROFINET IO
6. Connect the "logical" devices to each other by clicking on and holding the
system to be transferred and name the IO devices according to the PROFINET
port of the IO controller and dragging a connection on the port of the first
name conventions. If the respective IP addresses of the IO devices are not
IO device.
automatically assigned by the IO controller, change the default addresses. In
7. Network the ports of all IO devices as described in 6.
addition you also have the option to configure the monitoring of the IO-data
 Your PROFINET IO system is mapped to your TIA project. exchange via the so-called IO cycle.

Requirement:
5.2.4 Configure IO controller You are in the TIA network view. The hardware catalog is open.
If necessary, you can change the preconfigured IP address and subnet
address of the IO controller. 1. Double click on the IO device of your IO system.
 You will switch to the associated device view.
Requirement:
You are in the TIA network view. Define transfer volume
1. Double click on the IO controller of your IO-System.
2. Hardware catalog: Click on Catalog > Module.
 You will switch to the associated device view.
 You have two categories available that define the general data volume
2. Click on the General tab > General > PROFINET interface > Ethernet to be transferred.
addresses in the device properties.
3. Mark the required module and drag & drop it in the Device overview tab >
3. IP protocol section: Module column.
Use IP protocol Activate this option if not activated as the default.  The input and output addresses of the IO device are generated
Set IP address in the If not active by default, activate this option and automatically.
project change the IP and subnet addresses of the IO
controller. Assign device names

4. Device view: Double click on the IO device graphic.


5. Device properties: Click on the General tab.
6. General section:

Name Name the IO device according to the PROFINET


name conventions.

ID 442710.00 WE KEEP THINGS MOVING 19

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

7. [Optional] Section PROFINET interface > Ethernet addresses > IP Configure IO cycle
protocol:
11. Section Advanced options > Real-time settings > IO cycle > Update time:
Use IP protocol Activate this option if not activated as the default.
Automatic If the time in which the controller and device
Set IP address in the If not active by default, activate this option and
exchange IO-data should be automatically
project change the IP address of the IO device. calculated, activate this option.
8. Device view: Mark the relevant IO device and right click on Assign device Can be set If you want to calculate the update time yourself,
name. activate this option and specify the required time
 The Assign PROFINET device name window opens. (units: milliseconds).
9. Click on Update list. Adapt update time If the relationship between the update time and send
when send clock time should permanently remain constant, activate
 All IO devices of the defined subnet are listed together with the
changes this option.
specification of the respective device type as well as the associated IP
and MAC address. 12. Section Advanced options > Real-time settings > IO cycle > Response
10. Mark the IO device that you want to name and click on Assign name.  monitoring time:
You can test your selection in advance by verifying the selected drive
Accepted update Check the default setting and change the number of
controller via "Flash LED" or via its own MAC address (read A279 PN
cycles without IO- permitted cycles without data transfer if necessary.
MAC addresses parameter).
Data
Response The response monitoring time is automatically
monitoring time calculated based on the accepted cycles; it must not
exceed 1.92 seconds.

13. Repeat steps 1 – 12 for each IO device of your PROFINET IO system.

ID 442710.00 WE KEEP THINGS MOVING 20

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.2.6 Transfer project configuration 5.2.7 Check communication


Transfer the complete project configuration on your IO controller. Check correct communication between IO controllers and IO devices.

Requirement: Requirement:
You have mapped and parameterized all subscribers of your physical You have transferred the project configuration onto the IO controller.
PROFINET IO system in your TIA project.
1. Project tree > Devices tab: open the folder of the relevant IO controller
1. Project tree > Devices tab: Mark the folder with the IO controller that you (e.g. PLC_1 [CPU 1513-1 PN]) > Online & Diagnostics > Online accesses.
selected (e.g. PLC_1 [CPU 1513-1 PN]).  You will switch to the associated device view.
2. Click on Online > Download to device in the menu bar. 2. Verify the active IO controller and click on Go online.
 The Extended download to device window opens.  An online connection to the selected IO controller is established.
3. Section Compatible devices in target subnet: click on Start search. 3. Click on Diagnostics > Diagnostics buffer.
 All IO controllers of the defined subnet are listed. 4. Events section: 
4. Mark the IO controller where you want to save the project configuration the diagnostics buffer is part of the system memory of the IO controller.
and click on Load.  Any error messages are output here. If no error message is present, the
If there are several I controllers in your subnet, you can test your selection communication to your PROFINET IO system is correct.
in advance by verifying the selected controller via "Flash LED".  The connection between IO controllers and IO devices is projected
and a data exchange is possible.

ID 442710.00 WE KEEP THINGS MOVING 21

Downloaded from www.Manualslib.com manuals search engine


5 Commissioning - SD6 and SIMATIC S7 with PROFINET
Operation manual PROFINET

5.2.8 Program acyclic communication service


To transfer acyclic parameter data, PROFINET provides the "Write data record"
and "Read data record" functions. These services are controlled via the
SIMATIC function blocks WRREC and RDREC.

1. Project tree > Devices tab: open the folder of the relevant IO controller
(e.g. PLC_1 [CPU 1513-1 PN]) > Program blocks.
2. Select the block in which you want to project the acyclic communication.
3. Instructions > Extended instructions > section Distributed I/O: 
program the data exchange via the WRREC and RDREC function blocks.

ID 442710.00 WE KEEP THINGS MOVING 22

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6 More about PROFINET? Real-time data has a higher priority than standard TCP/IP data – it is assigned
priority 7 (Network Control). RT data is always preferentially handled by a
The following chapter summarizes the important terms, services and switch.
relationships concerning PROFINET.
Cyclic data as well as event-controlled messages are generally transferred via
the RT protocol.
6.1 PROFINET
PROFINET is the open standard for automation from Siemens that has been 6.2 Device classes and device addressing
developed in co-operation with the PROFIBUS user organization.
PROFINET distinguishes between various device classes and uses device
PROFINET is based on Ethernet TCP/IP – and is regarded as a further names for addressing the devices in the network.
development of PROFIBUS for applications where fast data communication via
Ethernet is essential in combination with industrial IT functions. 6.2.1 Device classes
PROFINET is standardized to IEC 61158 and IEC 61784. PROFINET uses the PROFIdrive distinguishes between the following device classes for PROFINET
Ethernet protocol IEEE 802.3 for the lower transfer levels, special protocols for IO.
real-time transfer as well as TCP/IP for network management and the transfer
of diagnostics data and alarms. IO supervisor
IT data such as statistics, programs and websites are transferred via HTTP and An IO supervisor is typically an engineering and diagnostics software that can
FTP. access all process and configuration data. A Supervisor is generally only
temporarily included in the network.
PROFINET IO
PROFINET IO is designed for the fast exchange of I/O data.  IO controller
However PROFINET Ethernet communication is not capable of real-time An IO controller controls data communication, i.e. it receives process data and
operation. For this reason, PROFINET offers special real-time extensions. event-controlled messages and processes them. A programmable logic
controller generally takes the role of the IO controller (PLC, e.g. SIMATIC S7-
PROFINET IO – Real-Time (RT) 1500).
The RT protocol is the basis for data exchange for PROFINET IO, i.e.
PROFINET IO dispenses with the TCP/IP and UDP/IP transfer protocols IO device
entirely. An IO device is typically a decentrally arranged I/O field device (e.g. a SD6
RT uses the individual MAC addresses of the respective manufacturer for each drive controller) that is assigned to at least one IO controller. An IO device
device for addressing subscribers. Received telegrams can be processed very transfers process and configuration data as well as alarms. It generally
quickly; the response times are in the millisecond range. consists of modules that include individual input and output signals of the
respective process.

ID 442710.00 WE KEEP THINGS MOVING 23

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

The stated device classes exchange parameter and configuration data via the Subnets and subnet masks - Value range
standard communication channel, process data and alarms via the real-time The formation of subnets is used to provide autonomous networks with their
channel (process data channel). own address range; each IP address is divided into a network and host
address. The subnet mask determines the place where this division occurs.
The subnet mask consists of 4 decimal numbers within the value range 0 – 255
6.2.2 Device addressing separated by a period – in the same way as the IP address.
All PROFINET IO subscribers are based on the Industrial Ethernet-Standard,
i.e. they require a unique IP address for data exchange. Conventions for device names
Observe the following conventions for the definition of device names:
To be able to address IO devices in the PROFINET IO system, they require a
• The device name must be limited to a maximum of 240 characters. Letter,
unique device name: only after the assignment of a name can an IO device be
numbers, periods and hyphens are allowed.
addressed by an IO controller.
• A component of the name, i.e. a character sequence between 2 periods,
In the course of the hardware project configuration in the TIA Portal, the IO
may have a maximum of 63 characters.
devices receive device names that are transferred to the IO controller. These
• Special characters such as umlauts, brackets, question marks, slashes,
are assigned corresponding IP addresses when starting up the IO devices.
space characters, etc. are not allowed.
For a device type from the 6th generation of STOBER drive controllers, the
• The device name must not start with a number.
stated values are written in the following parameters:
• The device name must not start with the characters "-" or "." and also must
• A274 PN IP address
not end with these.
• A275 PN Subnet mask
• The device name must not have the form n.n.n.n (n = 0...999).
• A276 PN Gateway
• The device name must not start with the character sequence "port-xyz-" (x,
The relevant STOBER-specific MAC address can be read in the drive controller
y, z = 0...9).
via parameter A279 PN MAC addresses.
• An underscore is a prohibited character.
Further information for PROFINET networking
MAC address
A MAC address consists of a fixed and a variable part. The fixed part identifies
the manufacturer and the variable part distinguishes between the individual
Ethernet subscribers and must have a unique global assignment.

IP address – Value range


An IP address always consists of 4 decimal numbers within the value range 0
– 255 separated by a period. It must be unique within a (sub)network.

ID 442710.00 WE KEEP THINGS MOVING 24

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.3 PROFIdrive device profile PROFINET distinguishes between the following channels:
• IO Data CR 
PROFIdrive is a profile for electric drives that was developed with the aim of
for the cyclic process data exchange (PZD channel),
standardizing the PROFIBUS and PROFINET interface across manufacturers:
• Record Data CR
data flows, telegrams, standard configurations and options to access
for the acyclic parameter transfer (PKW channel),
parameters or diagnostic data are specified in detail in PROFIdrive.
• Alarm CR
Devices from different manufactures obtain an extremely unique
for the transfer of alarms.
characterization via PROFIdrive and feature compatible behavior.

6.4 Cyclic and acyclic data transfer


IO controllers control and regulate data communication with IO devices.
A controller cyclically transfers time-critical data such as control information to
the devices and receives current status signals from them.
In addition the controller and device acyclically exchange non-time-critical data
such as parameter values to be configured or one-off events.
Both communication services run in parallel whereby the cyclic data has a
higher priority. If required, an acyclic telegram is interlaced in each cyclic data
exchange which hardly affects the bus speed.

Communication relations and communication channels


To be able to exchange data, the IO controller and IO devices require a
precisely specified connection (Application Relation, AR). This connection is
the basis for different Communication Relations (CR), i.e. unique
communication channels must be defined within a connection that ultimately
realize the data exchange between controller and device.

ID 442710.00 WE KEEP THINGS MOVING 25

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.4.1 Process data modules Module Input  Output  Description


An IO device generally includes head and process data modules that define the data [byte] data [byte]
data volume. M114 12W PZD 24 24 12 words (inputs, outputs),
One of the following process data modules must be selected and assigned to item cons. items consistent
an IO device for the configuration in the TIA Portal. M115 18W PZD 36 36 18 words (inputs, outputs),
item cons. items consistent
Module Input  Output  Description
data [byte] data [byte] M116 24W PZD 48 48 24 words (inputs, outputs),
item cons. items consistent
M101 02W PZD 4 4 2 words (inputs, outputs), 
all cons. all consistent M117 36W PZD 72 72 36 words (inputs, outputs),
item cons. items consistent
M102 04W PZD 8 8 4 words (inputs, outputs), 
all cons. all consistent "All consistent" means that the process data packet can only be processed
M103 06W PZD 12 12 6 words (inputs, outputs),  when the entire packet has been received.
all cons. all consistent "Items consistent" means that individual parameters from the packet are
M104 12W PZD 24 24 12 words (inputs, outputs), processed when the parameter has been completely received.
all cons. all consistent We recommend the "all consistent" transfer type when creating a project.
M105 18W PZD 36 36 18 words (inputs, outputs),
all cons. all consistent
M106 24W PZD 48 48 24 words (inputs, outputs),
all cons. all consistent
M107 36W PZD 72 72 36 words (inputs, outputs),
item cons. all consistent
M111 02W PZD 4 4 2 words (inputs, outputs),
item cons. items consistent
M112 04W PZD 8 8 4 words (inputs, outputs),
item cons. items consistent
M113 06W PZD 12 12 6 words (inputs, outputs),
item cons. items consistent

ID 442710.00 WE KEEP THINGS MOVING 26

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.4.2 PZD channel 6.4.3.1 Parameters


The PZD channel is used for fast, cyclic data transfer to control and observe Parameters serve the following purposes:
the running process. • Adapt drive controller functionality to your application
• Display current values such as actual speed or actual torque
One data unit from IO controller to IO device is sent per cycle and vice versa.
• Trigger actions such as "Save values" or "Phase test"
The basis for this is the real-time concept for which different cycle times can be
parameterized for each PZD channel. Parameter group and address
PROFINET tries to transfer data as efficiently as possible, i.e. the cyclic data Parameters are sorted according to their thematic properties into different
traffic is applied directly to the MAC address of a device and does not contain groups.
any IP addresses. As a result, the total length of a data packet remains Group Theme / Dependence
relatively small.
A.. Drive controller Drive controller, communication, cycle time
The direction of the data flow is important for this data transfer. PROFINET IO
B.. Motor Motor
distinguishes between Received-PZD 
(= RxPZD) and Transmitted-PZD (=TxPZD) – as viewed by the IO device. C.. Machine Speed, torque

The length and structure of the process data are defined as part of the project E.. Display values Display for device and application
configuration. Currently 18 parameter values with a maximum total length of 72 F.. Terminals Analog inputs/outputs, 
byte can be exchanged between controller and device for each transmission binary inputs/outputs, brake
direction. G.. Technology Depends on the application, for example
synchronous motion
6.4.3 PKW channel H.. Encoder Encoder
As well as the process data, there is different parameterization or configuration I.. Motion Settings for all movements
data that is transferred between the IO controllers and IO devices during
P.. Customer-specific For programming only (optional)
ongoing operation. This data is regarded as time-uncritical in the same as the
parameters
unique events.
Q.. Customer-specific For programming only (optional)
Parameters of a drive controller with line number 0 to 511 can be accessed as
parameters, instance-
communication objects via the PKW channel.
dependent
R.. Production data Production data for the drive controller
T.. Scope Scope parameters
U.. Protection functions Parameterization of events
Z.. Fault counter Fault counter for events

ID 442710.00 WE KEEP THINGS MOVING 27

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

Parameters are generally structured as follows: Axis 


number of the logical or physical axis.
1.E250[2].3 The value range 0 – 3 corresponds to the axes 1 to 4 for axis parameters. The
Axis Bit (only for Bit parameters) axis number is 0 for global parameters.
(only for axis
parameters)
Subindex 
Group Line Element (only for Array and record parameters)
element number in combination with record or array.
The axis number identifies parameters that are configured in each axis, for The subindex is 0 for parameters that are not a record or array.
example 2.A150 cycle time.
Global parameters are available once for each drive controller, for example 6.4.3.2 Use acyclic communication services
A35 Low voltage limit. To transfer acyclic parameter data, PROFINET provides the "Write data record"
A line distinguishes between individual parameters within a group. and "Read data record" functions.

The element subdivides a parameter into subfunctions. The functions are controlled via the SIMATIC function blocks WRREC and
RDREC.
The last place identifies the individual bits, for example in control words.
6.4.3.2.1 WRREC and RDREC
Calculate parameters
WRREC and RDREC are special "instructions", i.e. code blocks that contain a
All STOBER-specific drive controllers are sorted as communication objects in
certain number of elements in a clearly defined sequence.
the parameter number range 2000hex – 5FFFhex.
A parameter number (PNU), an axis or a subindex is specified as follows. Both blocks are asynchronously operating instructions to either transfer a
"RECORD" data record to an address defined in "ID" (WRREC) or to read a
Parameter number  data record from the address defined in "ID" (RDREC).
Calculation formula:
PNUdec = 8192 + 512 * group number + line number
The PNU must generally be converted from decimal to hexadecimal for use in
the IO controller.
The following numbers apply for groups:

A B C D E F G H I J K L M
0 1 2 3 4 5 6 7 8 9 10 11 12

N O P Q R S T U V W X Y Z
13 14 15 16 17 18 19 20 21 22 23 24 25

ID 442710.00 WE KEEP THINGS MOVING 28

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.4.3.2.2 WRREC and RDREC – Structure • DONE


WRREC and RDREC have the following structure. WRREC: status: data record was transferred
• VALID
RDREC: status: data record was received and is valid
• BUSY
WRREC: status: write process (BUSY = 1: not yet completed)
RDREC: status: read process (BUSY = 1: not yet completed)
• ERROR
WRREC: state: write process (EROR = 1: faulty)
RDREC: state: read process (EROR = 1: faulty)
• STATUS
WRREC: status WRREC or error information
RDREC: status RDREC or error information
• RECORD
WRREC: data record (consisting of header + data)
• REQ RDREC: target range for the read data record
WRREC, RDREC: data record transfer (1 = start)
• ID
WRREC, RDREC: logical address of a PROFINET IO subscriber;
automatically assigned 
• INDEX
WRREC, RDREC: data record number; to ensure functioning acyclic
communication according to PROFIdrive 4.1, the associated value must
always be "47"
• LEN
WRREC: maximum length of the data record to be written (in bytes)
RDREC: length of the read data information (in bytes)
• MLEN
RDREC: maximum length of the data information to be read (in bytes)

ID 442710.00 WE KEEP THINGS MOVING 29

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.4.3.2.3 RECORD data record - Header "Request" and "Response" Element Data type Value, V.-range Meaning
Parameter values are generally transferred via the header of the RECORD
Subindex Word 0 – 3E80hex 0 = Parameters that are not
data record. Depending on whether this is a request or response header, the
a record or array
headers are structured differently.
Format Byte 08hex Transfer format: floating
Header "Request" point
A Request header has the following elements in the specified sequence. 41hex Transfer format: byte

Element Data type Value, V.-range Meaning 42hex Transfer format: word

Request_ Byte 00hex – FFhex Freely selectable number for 43hex Transfer format:
reference a request double word

Request_ID Byte 01hex Read request Number_of_ Byte 1 Number of values to be


values processed
02hex Write request
Value Dint Parameter value or error
All other values Reserved
code in the event of an error
Axis_number Byte 0–3 Addressing the axis (see "Error values" table)
Number_of_ Byte 1 Number of parameters that
parameters should be processed
All other  Reserved
values
Attribute Byte 10hex Access type: value
80hex Access type: raw value
81hex Access type: integer
82hex Access type: floating point
Number_of_ Byte 1 1 Parameter value should be
elements written or read
2 – 32hex 2 – 50 Parameters should be
read or written
Parameter_ Word 2000hex – 5FFFhex Group and targets of the
number parameter address

ID 442710.00 WE KEEP THINGS MOVING 30

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

Header "Response" "Attribute" and "Format" elements


A Response header is structured as follows. The "Attribute" element describes the access to a parameter structure (e.g. to
values, descriptive texts, etc.) and the "Format" element describes the transfer
Element Data type Value, V.-range Meaning
format of a parameter.
Response_ Byte 00hex – FFhex Freely selectable number for
reference a response The values of both elements must be combinable as follows.

Response_ID Byte 01hex Positive response to a read Format


request Attribute 08hex = Floating 41hex = 42hex =
43hex = DWord
02hex Positive response to a write comma Byte Word
request 10hex = Not allowed Not allowed Not allowed Scaled value
81hex Negative response to a read Value for all
request parameters
82hex Negative response to a write represented as
request an integer 
All other values Reserved (4 bytes)
80hex = Raw Unscaled raw Unscaled raw Unscaled Unscaled raw
Axis_number Byte 0–3 Addressing the axis
value value, specially for value, raw value, value, specially
Number_of_ Byte 1 Number of parameters that
floating comma specially for specially for for DWord data
parameters should be processed
data type  Bool data Word data types, I32 
All other  Reserved types, I16 
(4 bytes) types, Word, (4 bytes)
values
I8 (1 byte) (2 bytes)
Format Byte 08hex Transfer format: floating point 81hex = Not allowed Not allowed Not allowed Scaled value
41hex Transfer format: byte Integer4 for all
42hex Transfer format: word parameters
43hex Transfer format: double word represented as
an integer 
Number_of_ Byte 1 Number of values to be (4 bytes)
values processed 82hex = Scaled Not allowed Not allowed Not allowed
Value Dint Parameter value or error Floating representation for
code in the event of an error comma all parameters as
(see "Error values" table) floating comma 
(4 bytes)

ID 442710.00 WE KEEP THINGS MOVING 31

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

Error codes – "Error values"


Value Meaning
The following table shows the possible error codes together with coding of the
B3hex Read-Write access not possible on this parameter
error cause.
address (no parameter, but type or forbidden by hide
Value Meaning function)
00hex Parameter unknown or configuration stopped B9hex Parameter service: value in definition gap (observe
01hex Access to parameter that may not be changed ENUM list)

02hex Access to parameter with a value outside of the limit BAhex Parameter service: clash with other values
values C0hex Parameter service: error in pre-read function
03hex Access to unavailable subindex (array parameter) C1hex Parameter service: error in post-write function, value has
0Bhex User level not reached already arrived

11hex This parameter may not be changed in the current device


state; switch the enable off
14hex Invalid value within its maximum limits; only occurs for
selection parameters with discontinuous definition range
16hex Inconsistent specification in the parameter addressing:
one or more incorrect values in the Attributes, No of
Elem., Parameter Number and Subindex fields
17hex Invalid format specification
18hex Specification in the No of Elem. and No of Val. fields are
contradictory
21hex Illegal Request ID = "Service not supported" applies for
errors in the header of the task block
A5hex Unspecified error
B0hex Parameter service currently not possible, no valid
parameter description available
B2hex Parameter address unknown (parameter or element does
not exist)

ID 442710.00 WE KEEP THINGS MOVING 32

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.4.3.2.4 Acyclic communication SD6 - SIMATIC S7 • 0: Wait for start signal


The acyclic communication between an SIMATIC S7 IO controller and a SD6 • 1: Send WRREC
IO device, i.e. the PN6 communication module, is controlled via the WRREC WRREC element "REQ" is set, the parameter values to be written are
and RDREC instructions. entered in the "write_drive_parameters" block and step 2 is activated.
The basic sequence of this communication as well as the most important • 2: Wait for WRREC end of send
content of the respective RECORD header that are exchanged for the "Write If WRREC element "BUSY" = 0, step 3 is activated.
data record" and "Read data record" services are schematically shown in the • 3: Check WRREC event
following diagrams. The write result is checked. 
If the result is positive, WRREC element "REQ" is deleted and step 4 is
START activated.
If WRREC reports the "Communication partner not ready" error, step 3 is
reactivated. 
0 8 7
Wait for Terminate Check for errors or If another error occurs, WRREC element "REQ" is deleted, an internal error
start signal service output value
bit is set and step 7 is activated.
Start signal Other errors
• 4: Send RDREC
RDREC element "REQ" is set and step 5 is activated.
1 6 • 5: Wait for RDREC end of receive
Send Check RDREC
WRREC result If RDREC element "BUSY" = 0, step 6 is activated.
Other Communication
• 6: Check RDREC event
End of receive
The read result is checked. 
errors partner nor ready

2 5
If the result is positive, RDREC element "REQ" is deleted and step 7 is
Wait for WRREC
end of send
Wait for RDREC
end of send
activated.
If RDREC reports the "Communication partner not ready" error, step 5 is
Communication
End of send reactivated. 
partner not ready
If another error occurs, RDREC element "REQ" is deleted, an internal error
3 4
bit is set and step 7 is activated.
Check WRREC Send successful Send
result RDREC • 7: Check for errors or output value
The existence of internal error bits is checked. 
If an error bit is present, the "ERROR" element is set, the "BUSY" element

ID 442710.00 WE KEEP THINGS MOVING 33

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

is deleted and step 0 is activated. "Read record data" diagram


If no error bit is set, the read lines are output for RDREC and the written
lines for WRREC and in both cases step 8 is then activated.
• 8: Terminate service
Element "BUSY" is deleted, Element "DONE" is set and step 0 is activated.

"Write record data" diagram

Note that a "Read parameter value" request always starts with a write task that
contains the parameter values to be read.

ID 442710.00 WE KEEP THINGS MOVING 34

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.5 Monitoring and diagnostics After an error has occurred, the defined response monitoring time first elapses
than the timeout defined in A109 starts.
6.5.1 Connection monitoring When this time elapses, the drive controller changes to the Fault device state
To prevent the drive reacting in an undesirable manner when the PROFINET and shows the 52:Communication event with the 4:PZD timeout cause on the
connection is interrupted (cable break, etc.), the arrival of the cyclic process display.
data should be monitored. Note that the event from this time is triggered cyclically until the cause is
rectified. The cycle does not depend on the time of the acknowledgement.
PROFINET provides a Response monitoring time for the connection
monitoring that defines the so-called IO cycle together with the Update time. 
The update time determines the time interval in which the data is transferred
from an IO controller to the relevant IO device (outputs) and vice versa (inputs).
6.5.2 States of the bus communication
Among other things, it depends on the data volume to be transferred and is The PN6 communication module is equipped with a green RUN LED and a red
generally automatically calculated in the TIA Portal for each IO device (see ERROR LED that visualize the connection to the controller and the state of the
5.2.4 Configure IO controller). data transfer.
The response monitoring time corresponds to the number of permitted cycles In addition each of the two RJ-45 sockets has two integrated diodes – Link
without data transfer. (green) and Act (orange) – that report the connection and communication
In addition to the response monitoring time, the A109 PZD timeout parameter status as viewed by the hardware.
can be activated in the DriveControlSuite. If the timeout is activated, the drive Detailed information about the state of the bus communication can be taken
controller behaves in the event of an error as follows: from the A271 PN state or A278[5] – A278[8] PN diagnostics parameter if
necessary.

ID 442710.00 WE KEEP THINGS MOVING 35

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

LEDs – PN6 LED- states in combination – Measures in the event of an error

State – RUN Meaning LED Measure


On Connection to IO controller exists Link = off • Check hardware connection to network
Flash Connection to IO controller is being established • Check infrastructure between SD6 and IO
(10 % on, 90 % off) controller

Flash, inverse IO controller activated DHCP-Signal-Service ERROR, Act and Link = • Does the SD6 – IO controller connection exist?
(90 % on, 10 % off) off • Is the drive controller correctly parameterized?
• Is the IO controller active and in RUN mode?
Flashing Connection to IO controller exists; data transfer is
• Is the 100 Mbit Full Duplex link detected?
expected
Act = off +  Check hardware connection
Off No connection to IO controller
Link and ERROR = on

State – ERROR Meaning


On No network connection
Flashing at 2 Hz Data transfer inactive
Off Faultless state

LEDs – RJ-45

State – Link Meaning


On Hardware connection to other bus subscribers
exists
Off No hardware connection to other bus subscribers

State – Act Meaning


Off No data transfer
Flashing Data traffic active; the flash speed indicates the
frequency of data exchange

ID 442710.00 WE KEEP THINGS MOVING 36

Downloaded from www.Manualslib.com manuals search engine


6 More about PROFINET?
Operation manual PROFINET

6.6 Parameter reference


The following drive controller parameters are important for communication via
PROFINET.
• A90 – A93 PZD Setpoint Mapping Rx
Parameter values that are transferred from the drive controller to the
controller.
• A94 – A97 PZD ActValue Mapping Tx
Parameter values that are transferred from the controller to the drive
controller.
• A100 Fieldbus scaling
Definition of how the PZD elements are represented for the transfer.
• A109 PZD timeout
Monitoring cyclically transferred PZD by the definition of a timeout.
• A270[x] PN Port X20x state
State of the Ethernet port.
• A271 PN state
State of the PROFINET bus.
• A272 PN Module/submodule
how the process data communication was configured from the controller.
• A273 Device name, A274 PN IP address, A275 PN subnet mask, 
A276 PN Gateway
Device name, IP address, subnet mask and Gateway of a drive controller.
• A278[5] – A278[8] PN diagnostics
Possible cause for cabling errors or EMC problems.
• A279[x] PN MAC addresses
MAC address of the PN6 Port X200.

ID 442710.00 WE KEEP THINGS MOVING 37

Downloaded from www.Manualslib.com manuals search engine


Notes

ID 442710.00 WE KEEP THINGS MOVING 38

Downloaded from www.Manualslib.com manuals search engine


Global presence

STOBER subsidiaries USA Switzerland Italy


STOBER DRIVES INC. STÖBER SCHWEIZ AG STÖBER TRASMISSIONI S. r. l.
Technical offices  1781 Downing Drive Rugghölzli 2 Via Italo Calvino, 7 Palazzina D
41056 Maysville 5453 Remetschwil 20017 Rho (MI)
for advice and marketing in Germany
Fon +1 606 759 5090  Fon +41 56 496 96 50 Fon +39 02 93909570
sales@stober.com sales@stoeber.ch sales@stober.it
Global presence www.stober.com www.stoeber.ch www.stober.it
for advice and marketing in about 25
countries Austria France South East Asia
STÖBER ANTRIEBSTECHNIK STOBER S.a.r.l. STOBER Singapore Pte. Ltd.
Service network  GmbH 131, Chemin du Bac à Traille 50 Tagore Lane, #05-06,
Hauptstraße 41a Les Portes du Rhône Entrepreneur Centre
Germany 69300 Caluire-et-Cuire 787494 Singapore
4663 Laakirchen
Fon +43 7613 7600-0 Fon +33 4 78.98.91.80  Fon +65 65112912
Service network  sales@stoeber.at sales@stober.fr sales@stober.sg 
international www.stoeber.at www.stober.fr www.stober.sg

United Kingdom China Japan


STOBER DRIVES LTD. STOBER China STOBER JAPAN K. K.
Centrix House German Centre Beijing Unit 2010, Elips Building 4F, 6 chome 15-8,
Upper Keys Business Village Landmark Tower 2 8 North  Hon-komagome, Bunkyo-ku
Keys Park Road, Hednesford Dongsanhuan Road 113-0021 Tokyo
Cannock | Staffordshire WS12 2HA Chaoyang District BEIJING 10004 Fon +81 3 5395 6788
Fon +44 1543 458 858 Fon +86 10 6590 7391 sales@stober.co.jp
sales@stober.co.uk sales@stoeber.cn www.stober.co.jp
www.stober.co.uk www.stoeber.cn

Turkey Taiwan
STOBER Turkey STOBER Branch Office Taiwan
Istanbul Taipei City
Fon +90 212 338 8014 Fon +886 2 2216 3428
sales-turkey@stober.com sales@stober.tw
www.stober.com www.stober.tw

ID 442710.00 WE KEEP THINGS MOVING 39

Downloaded from www.Manualslib.com manuals search engine


STÖBER ANTRIEBSTECHNIK GmbH & Co. KG

Technische Änderungen vorbehalten Kieselbronner Str. 12


Errors and changes excepted 75177 PFORZHEIM
ID 442710.00 GERMANY
11/2015 Fon +49 7231 582-0
mail@stoeber.de
www.stober.com

442710.00
24 h Service Hotline +49 7231 5823000

Downloaded from www.Manualslib.com manuals search engine

You might also like