Вы находитесь на странице: 1из 144
Solution Partner Factory Automation PROFINET IO Contents SIMATIC NET - PROFINET |O Applications a PROFINET ata glance PROFINET - an overview a Components of the PROFINET standard Distributed intelligence IT standards Safety 7 PROFINET - realtime communication Terminology PROFINET 0 - distributed field devices Assigning IP addresses Runtime model: 1O controller restart Runtime model: PN-IO device restart Exercises for PROFINET IO Changing over the PG/PG interface to IE Checking the required protocols Assigning an IP address toa PG / PC Node initialization (2) Configuring a PROFINET- IO basis Configuring ET 2008 as 10 device Assigning device names offine Assigning device names online Downloading the configuration 'SITRAIN Training for SP-FA-ZWS ‘Automation and Industal Solutions Paget PROFINET IO SIEMENS Contents Complete network check ‘ IE/PB link as proxy for PROFIBUS DP IEJPB link as proxy for PROFIBUS DP Integrating SCALANCE x208 Web Based Management Web Based Management (2) Diagnostics -a brief overview Diagnostics using LEDs Prerequisites for HMI transfer. IP address of the operator panel Downloading the server panel if you want to know more Where to use it. : as PROFINET [O - communication relations PROFINET NRT - Standard protocols Optimized Protocol-Stack for PROFINET IO Structure PROFINET IO- RT Frames (1) ‘Structure PROFINET 1O- RT Frames (2) RT und IRT - Adressing method PROFINET IRT - properties Motion Control Application Protocol - Stack bei PROFINET IRT PROFINET IRT Hardware ERTEC 400/200 50 Time multiplexing with IRTtop 51 IRTtop (Real Time Class 3) (SIMOTION) 52 IRTiex (Real Time Class 2) (SIMATIC) 53 SITRAIN Training for SP-FA-ZWS ‘Automation and industrial Solutions Page 2 PROFINET IO = Applications Factory Automation een) PROFINET, SIEMENS eee v0 Notes SITRAIN Training for SP-FA-ZWS ‘Automation and industial Solutions Page 3 PROFINET IO ‘Component view (CBA) Process data view (IO) ——_—_—_—____ Te Cee esc Enieoaclis ain oo eae based ommunic aa ‘communication ‘communication crag Comicon) ea with RT ‘one network, one cable, Standard-Protocol: SIEMENS —en veo PROFINET PROFINET is the innovative automation standard of the PROFIBUS User Organization to implement complete and integrated automation solutions based on Industrial Ethernet. Using PROFINET simple, distributed field devices as well as critical applications from a time perspective can be integrated into the Ethemet communication - as well as distributed automation systems based on components using the ‘Component Based Automation (CBA) philosophy, In so doing, the PROFINET standard defines a non-proprietary (across manu- facturers) communication, automation and engineering model, Objectives The objectives of PROFINET include: + An open standard for distributed automation (PNO) + Integrated, seamless communication via the fieldbus and Ethemet + The use of open standards such as TCP/IP, UDP and IT standards + Realtime Ethemet communication as basis functionality + In the future, drives (Motion Control) will be able to be integrated via IRT (Isochronous Real Time) + Existing PROFIBUS installations will be able to be integrated ‘Automation devices, that comply with the PROFINET standard must provide users with certain communication interfaces, based on the Microsoft Standard “DCOM*" (Distributed Component Object Modal). SITRANN Trang for SP-FAZWS ‘Automaton and industtial Sotutons Page 4 PROFINET IO Objective Py Use a standartized, successful 2 system (ETHERNET) Pee aan a ‘Seamless integrated plansystm Using standard network structures fakes Cabling bagnosties the same as for cea festabnhed fetibuses Protect existing vestments Continue to use the krow-how learned Use estabished and known TT technologies in industy (HTTP, SNMP, OPC) Implement wireless communication From canal conta stuctures to istrbuted local units (standlcal solitons) aay) SIEMENS Peer is PROFINET PROFINET is the innovative automation standard of the PROFIBUS User Organization to implement complete and integrated automation solutions based on Industrial Ethernet. Using PROFINET simple, distributed field devices as well as critical applications from a time perspective can be integrated into the Ethemet communication - as well as distributed automation systems based on components using the Com- ponent Based Automation (CBA) philosophy. In s0 doing, the PROFINET standard defines a non-proprietary (across manu- facturers) communication, automation and engineering model. Objectives ‘The objectives of PROFINET include: + An open standard for distributed automation (PNO) + Integrated, seemless communication via the fieldbus and Ethernet + The use of open standards such as TCP/IP, UDP and IT standards + Realtime Ethernet communication as basis functionality + In the future, drives (Motion Control) will be able to be integrated via IRT (lsochronous Real Time) + Existing PROFIBUS installations will be able to be integrated Automation devices, that comply with the PROFINET standard must provide users with certain communication interfaces, based on the Microsoft Standard *DCOM* (Distributed Component Object Model). SSITRAIN Training for SP-FA-ZWS ‘Automation and Industial Solutions Page 5 PROFINET IO ee i Components of the PROFINET standard PROFINET CBA Distributed automation using Component Based Automation PROFINET IO Distributed field devices are integrated via Industrial Ethernet PROFI Drive Application profile for drives connected to PROFIBUS and PROFINET PROFI Safe F systems (fail-safe Rtas Ty PROFINET PROFINET CBA PROFINET IO With PROFIDrive controls / communication) are integrated in the PROFINET standard SEFA2WS/ PROFNETIO. Completely covers the requirements of automation technology. PROFINET combines the experience gained from PROFIBUS and Industrial Ethemet. The Use of open standards, the simple handling and the integration of the existing plant and system parts defined PROFINET from the very beginning. Today, PROFINET is integrated in IEC 61158. Allows plant and system parts to be broken down into technological modules (components). The so-called PROFINET component is the representative of every technological module in plant engineering. Every PROFINET component has an interface, which contains the technological variables that can be exchanged with other components. PROFINET components are modeled using standard COM technology. COM is a further development of the object orientation and allows the development of applications based on pre-configured components. ‘The components distinguish themselves as they form complete, autonomous Units and can have a relationship with other components. Just like blocks, the components can be flexibly combined and can be easily re-used - independently Of the internal implementation. For PROFINET, the access mechanisms to the component interfaces are defined in a standard way. PROFINET IO is used to integrate the distributed field devices directly on Ethernet. To realize this, the master-slave technique, known from PROFIBUS DP, hhas been transitioned into a provider-consumer model. From a communications perspective, all of the devices connected to Ethemet are peers. However, by ‘appropriately configuring the system, the field devices are assigned to a central control. The user view - known from PROFIBUS - has been transferred to the PROFINET peripherals (I/O). In the future, extremely fast, clock cyole synchronous drive controls for high- performance motion control applications will be implemented with PROF IDrive. 'SITRAIN Training for ‘SP-FA-ZWS ‘Automaton and Industral Solutions Page 6 PROFINET IO BLD Ee Sera rmomnerio PROFINET Interaction between PROFINET IO and PROFINET CBA. PROFINET IO systems can be integrated into the machine-machine communication using PROFINET CBA. For example, from a PROFINET IO system, a PROFINET component is generated in STEP 7. Using SIMATIC iMap, you can engineer plants and systems that comprise several such components. Communication Connections between the devices are simply and graphically configured as interconnecting lines. PROFINET CBA Within the framework of PROFINET, PROFINET CBA (Component Based Automation) is an automation concept + to implement modular applications with distributed intelligence, and + for machine-machine communication, Using PROFINET CBA, you generate a distributed automated solution based on pre-configured components and sub-solutions. This concept is extremely well- Suited to requirements for an increased level of modularization in machinery and. plant construction by significantly decentralizing intelligent processing. ‘Component Based Automation allows completely technological modules to be used in large plants and systems as standard components. PROFINET CBA is implemented through: + the PROFINET standard for automation devices, and + the SIMATIC iMap engineering tool . Components are generated in an engineering tool, which can be quite different from device manufacturer to device manufacturer. For example, components generated from SIMATIC devices, are created using STEP 7. PROFINET components for Component based Automation can be created from stations associated with STEP 7 projects if you have installed the SIMATIC iMap software package with the STEP 7 AddOn installation option. SSITRAIN Training for SP-FA-ZWS ‘Automation anc Industal Solutons Page 7 PROFINET iO. itp SNMP OPC IT standards for: 7 Remote diagnostics Y7 PR ee ee (7 [ te Bowtlcod Documentation Ce]ime[methy Beats ceeator ware Updates RES Serazws/pno-nerio v0 HTTP ‘The HyperText Transfer Protocol (HTTP) is a protocol that is used to transfer data via a network. It is mainly used to download web pages and other data into a web browser from the World Wide Web (WWW). ‘SNMP ‘The Simple Network Management Protocol (SNMP) is @ network protocol that is, sed to monitor and control network elements (e.g. routers, servers, switches, printers, computers, etc.) ftom a central station. The protocol controls communication between the devices being monitored and the monitoring station. To do this, SNMP defines the structure of the data packages that can be sent — ‘and the communication sequence. SNMP was designed so that every device capable of networking can be included in the monitoring process. The network ‘management tasks that are possible with SNMP include: + Monitoring the network components. + Remote control and remote configuration of network components. + Error identffcation and error notification. opc Manufacturers and suppliers of automation products - such as Honeywell, Intellution, Rockwell Software, Siemens, Microsoft etc. - support the OPC ‘specifications (OLE for Process Control). The objective was - and sill is - to standardize how data is transferred. Solutions have been always re-invented to access process data. An example is data exchange and control via fieldbus in the ‘automation technology via the PC. Here, OPC technology provides a standard interface. Using a driver, the OPC server accesses a fieldbus interface card in the PC. The process data of the fieldbus components (sensors, actuators) are essentially provided in an image (map) from the OPC server. One or several OPC clients can read this data - which is passed through - from the process image andior e.g. write back actuator control commands to the OPC server, SITRAIN Training for SP-FA-ZWS ‘Automation and industriel Solutions Pages PROFINET IO PROFI Safe As application profile itis independent of the bus medium. This technology can used both for PROFIBUS as well as PROFINET. Sofety-relevant and standard — dla on one cable — also wireless! Safety-relevant and standard ‘modules ean be mixed in one station Sefety-relevant logic can be programmed using standard tools RSS Seratussrmorncrio SSITRAIN Training for SP-FA-ZWS ‘Automation and industal Solutions Page 9 PROFINET IO Realtime channel IRT channel Assigning priorities PROFINET - realtime communication RT frames are assigned priorities according to IEEE 802.1q Used in production automation with cycle times from typically ‘5ms to 10ms !@ open TcPiP channel meni | PROFINET applications | *» Device parameterization i ‘© Reading diagnostics data, for net (useful) data © Reattime channet — "© High-perform. data trans. Realtime In order to be able to fulfil realtime requirements in the automation, an optimized realtime communication channel ~ the Real Time channel (RT channel) - was specified in PROFINET. It is executed on Ethemet (layer 2). In this case, the data packages are not addressed using an IP address, but instead using the MAC addresses of the devices involved. Such a solution significantly minimizes the propagation (run-through) times in the communication stack and results in a performance increase regarding the rate at which automation data is updated By eliminating several protocol levels, on one hand, the telegram length is reduced. On the other hand, data to be transferred is ready to be sent faster or is available faster to the application for processing. At the same time, the processor performance in the device - required for communication - is significantly reduced. 'sochronous Real Time (RT) as further development with the following features: + Clock cycle synchronous data transfer + Cycle times <1ms with a jitter accuracy <1ys + Motion Control represents a typical application field ‘The network components control the data flow between the devices by assigning priorities according to IEEE 802.19. Priority 7 (Network Control) is used as the standard priority for realtime data. This therefore guarantees priority handling with respect to other applications, e.g. Internet-based telephone communications with priority 5 and video data transfer with priority 6. Network components and controllers available in the market place can be used for real time communication. While the optimum communication channel is being negotiated, the Switch Modules automatically learn the Ethemet addresses of the devices. This therefore creates a basis for the subsequent data exchange via the real time channel. SSITRAIN Training for SP-FAZWS Automation and industial Solutions Page 10 PROFINET IO Terminology PROFINET 10 controller: Exchanges peripheral (1/O signals) with assigned field devices and access to the peripheral signals via the process images (maps) PROFINET IO device: Field dev assigned to the I/O controller PROFINET IO Supervisor: Engineering and diagnostics station = Diagnostics Poire * Status/controt ‘supervisor = Parameterization Z * Config /engineering ‘ Peripheral (uO) signal Field device! = Alarms 10 device. TS srr us/enorner io veo General Distributed field devices are directly connected to Ethernet using PROFINET IO. To realize this the master-slave technique - known from PROFIBUS DP - has been transitioned over into a Provider-Consumer model. From a communications perspective, all of the devices connected to Ethemet are peers. However, the system is configured to assign the field devices to a central control. In this case, the user view known from PROFIBUS is transferred to the PROFINET 1/0. ‘The distributed peripheral (I/O device) reads-in the peripheral signals and transfers them to the control. The control processes them and transfers the ‘outputs back to the distributed peripheral (I/O device). Device types PROFINET IO makes a differentiation between the three device types: IO controller, IO device and 10 Supervisor: - 10 controller: Control in which the automation program is executed + IO device: Distributed field device that is assigned to an IO controller = 10 Supervisor: Programming device/PC with commissioning and diagnostic functions SITRAIN Training for SP-FAZWS ‘Automation and inustal Solutions Page 11 PROFINET IO @ ET 2008 with Ethernet port and PROFINET communication Existing I/O modules can be used without changes @ Devices are configured in the usual view @ PLC user program with known commands Flexible use of distributed field devices Canes Use uru ur sun span SEEAZWS/ PROPNETIO. v0 General PROFINET IO is used to integrate distributed field devices. In so doing, the usual IO view of PROFIBUS DP is used, where the net data of the field devices is cyclically transferred into the process image of the control. CPU 31x-2PNIDP The CPU 315/ 317-2 PNIDP supplements the range of PROFINET devices by a SIMATIC 87-300 CPU in the high end sector. Using the two ports for Industrial Ethemet and PROFIBUS, it can be used as transition between these two networks. The CPU31x-2 PNIDP operates as IO controller, to which the various 10 devices can be connected. ET 2008 PN The distributed ET 200S 10 system is a finely- modular highly flexible DP slave and IO device with degree of protection IP20. The ET 2008 IO system is integrated into the PROFINET IO communication via the interface module IM151-3 PN as IO device. Directly next to the interface ‘module that transfers data to the IO controller, up to 63 modules can be inserted in almost any combination and number. For example, power modules, IO modules, and motor starters. IEIPB link ‘The IE/PB link PN IO forms, as autonomous module, the seamless transition between Industrial Ethemet and PROFIBUS. Through the IE/PB link PN IO ~ as proxy ~ existing PROFIBUS DP devices can be re-used and integrated into the PROFINET IO realtime communication. In addition, it supports S7 routing so that the connected PROFIBUS slaves can be addressed and diagnosed throughout the network using PG/OP communications. ‘As PROFIBUS master, the proxy coordinates data exchange between PROFI- BUS nodes (devices connected to PROFIBUS). At the same time, itis also an Ethemet node (device) with PROFINET communication. Proxies can be implemented as controller or as pure gateways. SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industrial Solutions Page 12 PROFINET IO Assigning IP addresses © Using device names Gerttename Adresse © Device names are saved on the ET200_Foecderert 192.168.111.101 MMC ET200_Foerderer? 192.168.111.102 © Devices can be changed without : PGIPC rz Fens | 0.08.41 08 ‘* No PROFINET IO without MMC. sasse.s108 ~ ‘Tho IP address is assigned using the device names according to the table HEE] Deveo namo er 200s E1200 Foerderer2 SIEMENS Ee vo Note The valid |P address is communicated to the IO devices by downloading the hardware configuration. This assignment is realized using specific “device names". The device names are saved on the Micro Memory Card so that a module can be replaced without PGIPC. Itis not possible to operate a PROFINET IO device in the network without using an MMC card, SSITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutions Page 13, PROFINET IO Group error — refer to, diagnostics data! SIEMENS emer Notes SITRAIN Training for SP-FA-ZWS ‘Aulomation and industrial Solutions Page 14 PROFINET IO Supply ON at the device, re-configure the device name Broadcast from controller: Response with device name| Group error ~ refer to IP address allocated diagnostics datal Yes Configuration data from Group error = refer to the controller diagnostics data! Yes tror-free ~ device addressed and ready to run! SIEMENS ice Notes SITRAIN Training for SP-FAZWS ‘Automation and Industial Solutons Page 15 PROFINET IO Hands-on ~_ Exercises for PROFINET |O Let’s just do it...... the lab for you Notes SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Solutions Page 16 PROFINET IO Hands-on Changing over the PG/PC interface to IE gq jf (ens Pott pes STOLE STEP 9 OPI Ra > ETOP] (Sendai STE) rece Pas een ee eraris}s SHCTOrCOFCCaIS Powis. | SIEMENS Pen veo ‘Access point of the application ‘The existing access points are displayed here. The individual applications access the interfaces using the name of an access point. Select an entry in order to assign an acoess point to an interface parameterization. If you select the entry "" then the dialog box “Addidelete access point” is displayed; here, you can add or delete the access points, Interface parameterization used The interface parameterization is displayed, which is assigned to the access point displayed in the field “access point of the application” and therefore defines the access route of an application. All of the available interface parameter assignments are displayed below this. The description of the selected interface parameterization is displayed below the list. Select one of the interface parameter assignments to assign it an access point, to change its properties and to either copy it or delete it. Ifyou select an interface parameter assignment, then assign this to the access point. This means that you establish the connection between the access point, the interface parameter assignment and the interface, communications are presently running via the actual access point, then the “used interface parameter assignment” cannot be changed over. In the list, the interface parameter assignment to the actual access route is selected. Possible changes made since the program was started are lost . Properties ‘You can access the network and dial-up properties (Windows Control Panel ~ also refer to the next page) by pressing the button “Properties of the interface. parameter assignments used”. SSITRAIN Training for SP-FA-ZWS ‘Automation and Industral Solutions. Page 17 PROFINET IO ees See Gere [Ashen | Avared ‘Genel [arian | Advanced Comes: 1p SHCTOMDOFECaalSMEBOATV2 | 1 SUCTODOPC Ca SMCaEA V2] “This crecion oe ellen “Toe arewcon ue te loin Br Neve NerierDive [Sr FRORNETIO ATARomd a 2 weMmOMeTIO RT Pose 5 SWATIC nual heat #50) a 3 WSIMATIC indi Eteret 050) [Nati ne whentisconreten a inte rm coecbty Coweta: eel SIEMENS IP Top upP Checking Ce) Cee) Data transfer using the Internet Protocol (IP) represents a non-secure package transfer (datagram) between an IP source and an IP destination, When the network is overloaded, datagrams can be lost. Using the 32-bit checksum of the Ethemet package, errors can be detected in the package with a high degree of probability - and also rectified. The following protocols use IP: ‘The TCP/IP protocol (Transmission Control Protocol/internet Protocol) were developed due to the fact that for a long time there were no official standards regarding the integration of various computers into a network. TCP/IP guarantees error-free, sequence-compatible and complete transfer of data from a sender to a receiver. TCP is connection oriented, i. two stations establish a connection for transferring data blocks; this connection is then separated again after data has been sont. TCP has mechanisms to continuously ‘monitor the connection that has been established, TCPIIP has become a basis for many networks in both the public and private domains. The User Datagram Protocol (UDP) guarantees, just like TCP, error-free and complete data transfer. However, contrary to TCP, UDP has no connection, ie. each data package is handled as an individual package and there is no transport acknowledgement. UDP is more suitable for time-critical (fast) applications than TCP due to the fact that timeout monitoring and bullding-up and releasing connections is eliminated. It must be ensured that the protocols “PROFINET IO RT protocols* und “DLC* are installed on the computer therefore ensuring smooth, straightforward engineering and successful commissioning of the PROFINET IO system. In the following, the PG/PC is assigned an IP address using the properties of the TCPIIP protocol. SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Indust Solutions Page 18 PROFINET IO Hands-on __ Assigning an IP address to a PG / PC aK ‘Yovcan stig: anes aera To neva ‘Te anny scene pt (er) hr ‘SS conbiy Goan yor todo aku hon ea eI saan Se scoop Pies Oban aP aes stortialy = STOMME (TE 7)=> TORte) > SHC 10]COPC Coa QUrete fbn te: (Padtese Seat mask Dott osenay SIEMENS Properties... IP address. Note ‘Access monitoring (Gata | Using the button .Network properties..." you can access the Windows Control Panel - dialog box ‘Network’ (Taskbar, Start > Settings > Control Panel > Network and Dial-up connections). From here, you can access the settings of the network components of your PC. The following example describes how you can set the IP address. The setting in the field "Primary network logon” has no effect on the intended change to the IP address. Please proceed as described below in order to change the IP address: 1. In the list field “the following network components are installed” select the network protocol "TCP/IP" 2. Press the button “Properties”. Response: The dialog box “Properties for TCPIIP* is displayed 3, Select the “General” tab and then select the option “Define following IP address". 4. Inthe field “IP address" enter the required address and the subnet, In the following examples, IP addresses + 192,168.11 1.99 for PG / PC and + 192.168.111.100 for the CPU 31x-2 PN/DP should be used (subnet mask 255.255.255.0). Please check the IP address area suggested from STEP 7 - referred to your real system. Ifthe CPU 31x-2 PNIDP is connected to the PGIPC using a "Cross-over cable” or using the SCALANCE X208 switch, then the CPU can be accessed via the IE interface. To do this, use the “Accessible node" function in the SIMATIC Manager and check the contents of the block container. SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industial Solutions Page 19 PROFINET IO —_ Node initialization (1) srream GREAT /PROFRETIO IP configuration + To start, use the “Search” bution in order to determine devices that can be accessed via MAC addresses — or enter the MAC address that you know. In the dialog box that is displayed, and after the network search, select the appropriate module from the list with the MAC address that you know. If the module has already been assigned an IP address, then this is also displayed here. + The MAC address of the component that you selected is again displayed below the list so that it can be checked. + Set the IP configuration according to your specifications + Press the button “Assign IP configuration’. Notes Ifyou selected the dialog box in the context of a selected module, then the IP adress Is already pre-assigned with the values configured for the module. Otherwise, you must enter the IP address, subnet mask - and if required, the network transition here. DHCP server Ifthe IP address is to be sourced from a DHCP server, then depending on the selected option, the MAC address of the CPs, the device name or the client ID — that can be entered here -is transferred to the DHCP server. The client ID is a character sequence with a maximum of 63 characters. Only the following characters may be used: a-z, A-Z, 0-9 and - (hyphen) Ifyou define here that the DHCP server should determine the IP address using a device name, then beforehand, you must nave assigned the device a device name. Flash test This function is used to check the correct assignment of a module and its interface. When pressing the button, for the selected module, the transfer of a blink telegram is initiated. The module indicates with this signal (e.g. link LED). 'SITRAIN Training for SP-FAZWS ‘Automation and Indusal Solutions Page 20 PROFINET IO SIEMENS Eee Prerequisites In order that the addressing described here can be made, the module must be able to be accessed online This means the following * The connection to the Ethemet- LAN must be established; + The Ethernet interface of the PG / PC must be accessible for STEP 7 + The nodes (devices) must be located on the same Ethernet subnet as the computer. + The nodes (devices) must support the functionality “IP configuration” and “assign device name". If he $7 CPU does not support this function, then the IP address and device name must be downloaded to the system using the S7 tool hardware configuration. Procedure 1, Press the ‘search’ button to determine the devices that can be accessed using the MAC addresses. 2. After the network search, the module with the corresponding MAC address can be selected from the list dialog that is displayed. 3. Press the button “assign addressing’ to save the settings in the corresponding device. 4. The device name must be unique in the Ethernet subnet (PROFINET 10 system). Press the button “Assign name" to transfer the edited device name into the device itself Device names Ifyou configure @ device as PROFINET IO device, then you must assign a PROFINET IO device name. The device name should be preferably set in the properties dialog box and therefore saved in the configuration data. ‘The device name is also required if the IP address is to be determined by a DHCP server using a device name. in accordance with DNS conventions [syntax], the device name can be structured. Example: [Name from the brief designation] {Name of the IO system] SITRAIN Training for SP-FA-ZWS. ‘Automation and incustil Solutions Page 21 PROFINET IO Hands-on The local ‘configuration of the NIC is cheoked by calling the function IPCONFIG, aa ‘The physical coupling to a remote station via IP is ed checked by PING function. es SprAWS/PROFWETIO. va0 Pane 22 eed IMP The protocol ICMP ("Interet Control Message Protoco!’) offers a simple way of diagnosing problems. The coupling via IP to a remote computer - in this case, the ‘S7- CPU can be checked by calling the ping function on a computer. The partner responds by displaying the response time. Execution 1. Onthe PG, start the Command Prompt using Start > Run> cmd. 2. — Tostart, check the correct mode of operation of your Ethernet connection. To do this, using the command ipeontig determine the IP address or your computer. 3. Check the connection of your S7- CPU 31x-2 PN/DP by executing the command ping (e.g. 192.168.111.100), You can check your own local network node (loopback address) using the ‘command ping 127.0.0.1 or ping local host. If this is unsuccessful, then a check should be made as to whether the node (device) was restarted after installation and configuration of TCP / IP. Note ‘The command “ipconfig has a series of options/switches, 6.9. + ipconfig all ‘complete configuration information * ipconfig release releases the IP address * ipconfig -renew renews the IP address Primary Setup Tool As an alternative to STEP 7, you can also use the Primary Setup Tool (PST) to assign addresses; this can be downloaded free-of-charge from the Intemet. ‘The Primary Setup Tool is in the Internet under the following address: + wiw.siemens.com/automation/service&support: Article 14929629. SITRAIN Training for SP-FA-ZWS ‘Aviomation and Industrial Solutions Page 22 PROFINET IO es [Eis smesinio sets Sa cerare acchess _| Mac aktess___T mpehe ye | Statin name | Node 12160111100 GPGOOSIRES — GUsiEr., Tettalon CPUSI.. e E r eon Node Taian eMeBEE CUTE TRRTERITTTOO OS000S<8ESF s7300 PAID MRIGRIILZT ODOESCRATES INC SCALANCED, RSs 14h Task description Configure a PROFINET basis system with a CPU 31%-2 PNIDP as a PROFINET controller. Execution 1. Setup an S7 project with the PROFINET name. Allow the S7 to access, online, the CPU 31x PN /DP via Industrial Ethemet / TCP/IP and check this using the ping function. 2, Using the SIMATIC Manager, carry-out a general reset of the CPU using the menu command Target system... Do not forget to also clear the MMC memory module. If the CPU cannot be accessed, then assign an IP address as described in point 3. 3. Provide the CPU module with an IP address. Use 192.168.111.x00 as IP address. X represents the number of your workstation from where you are carrying-out the exercise. This IP address belongs to a class C network with the subnet mask 255.255.255.0, Assign the IP configuration that was generated! 4, Read-out the actual configuration using the menu commend Target system > Load station into the PG. To do this, the network must be searched for nodes that can be accessed. Complete and specify the hardware configuration, Parameterize a clock cycie flag byte. 5. __Inserta PROFINET IO system. To do this, you must double click on the X2 interface of the CPU. You must then assign a device name. After ‘successfully accepting with “OK’, using the righthand mouse key, the PROFINET IO system can be inserted. Download the modified ‘configuration data into your CPU. 6. Using the menu command Target system > Ethernet, check the device ‘name of the IO controller and if required, assign a name. 7. IFrequired, set-up the organizational blocks OB82, 0B83, OB85 and OB6 and download these into your target system SSITRAIN Training for ‘SP-FA-ZWS [Automation ang Incustal Solutions Page 23 PROFINET IO ero gor fesr incu sar ae ta 3 28259) oobeWTaRST if cosceratt_fstiaaonose ; i Peer ery WLOBLEoLt i LI zi i i SIEMENS [Peveeecrs Task description Configure a PROFINET basis system with a CPU 31x-2 PNIDP as IO controller and an intelligent ET 200S terminal (remote lO) as PROFINET IO device, Execution 1. Start the SIMATIC Manager and open your project ‘PROFINET". 2. From the hardware catalog, insert the interface module IM 151-3 PN by dragging and dropping from the Catalog PROFINET 10 > /O > ET 200S. From the hardware catalog, drag the individual ET 200S modules - corresponding to the real structure of the PROFINET IO device - into the configuration table. The conveyor belt model is addressed using the following addresses: + Conveyor belt model, input: EB & + Conveyor belt model, output: AB 8 4. Save and compile the hardware configuration using the menu command Station > Save and compile. 5, _ Insert the MMC. The MMC is absolutely necessary to use the ET 200S PN! Ifyou wish to use an MMC with unknown contents, then you must first clear this at the PG. 6. Switch-in the power supply for the switch module (SCALANCE X-208) and the CPU 31x-2 PNIDP. The status LED of the CPU 31%-2 PNIDP indicates the following response: 5VDC Isl and SF > off (dark), 7. Switch-in the power supply for the IM 151-3 PN (ET200S). The following response is expected: BF > flashes, the LEDs ON and LINK are lit (bright) Further, the SF LEDs ofall electronic modules are lit (bright) 8. Monitor how all of the network components boot-up. Note The complete system is still not ready to run. SITRAIN Training for SP-FA-ZWS: ‘Automation and Industrial Solutions Page 24 PROFINET IO Ged Dovel Seren MEE ERE ay ree aR OR EEC a leer ee eee — ees leheae cet RTs Tb Task description Assign a device name for the IO device ET 2008 PN. Execution 1. _ Inthe hardware configuration, open the dialog box “Properties - IM 4151-3 PN” and enter the device name for the IO device. 2, if required, the IP address can be changed within the permissible range using the dialog box Edit IP addresses. ‘As standard, the CPU 31%-2 PN /DP assigns additional |P addresses from the configured Basis IP address (IO controller) increasing numerically - as long as this option has not been disabled. 3. Save and compile the hardware configuration with the menu command Station > Save and compile, Result This means that the hardware has been completely configured and can be downloaded and commissioned in the next but one exercise, Note The assignment of device names IP address and MAC address is mandatory so that an 1O device can be uniquely assigned to an IO controller. SITRAIN Training for SP-FA-ZWS ‘Automation and indtstial Soltions Page 25 PROFINET IO escenane [BASEN =] Deen pe JRETSARF rb eens IEE pts ty Task description Assign and check the IP address and device name for the intelligent ET 2008 terminal (remote 1/0). Prerequisite In order to assign a name for the ET 200S PN interface module, there must be an online connection from the PG to the IO device via a Switch Module. Procedure 1. Assign @ device name using the menu command Target system > Ethemet > Assign device name for the IM 151-3 PN. 2. Ifyou wish to use several IO devices, then several |O devices are also displayed in the dialog box (assign device names). In this case, compare the MAC address of the device with the displayed MAC address - and then select the correct IO device. 3. Inthe dialog box “Assign name’, click on the button “Assign name’, so that the name on the MMC inserted in the interface module can be saved. After assigning the name, the device name that you assigned is displayed in the dialog box. 4. Check by carrying-out a node — flash test and monitor the response on the ET 2008. To do this, click on the button “Flash on’. In this case, the PING command is not possible as the IM 151-3 PN has still not been assigned an IP address (this is done in the next, exercise) Note Ifyou wish to directly save the device name in the MMC, then insert this in the appropriate slot at the PG and then run the menu command Target system > Save device name on Memory Card. ‘When inserting an IO device, in addition to the device name, STEP 7 also assigns ‘a device number, starting with “1” - that can be used in the user program to identity an IO device (e.g. SFC71 "LOG_GEO"). Contrary to the device number, the device name cannot be seen in the user program, ‘SP-FA-ZWS: SITRAIN Training for PROFINET IO ‘Automaton and Industrial Solutions Page 26 Downloading the configuration [Ercornctantapteain Posies Wicvaeee | Maye sanrane| Nee one| P s2ieaiti100 coaneesees CFUSIS, Podutin., GRUDIER, [Site [Patton [Wate F WereatitT. oso00e se RTs Lah Task description Download the complete system via Industrial Ethemet and check the boot activities of the 10 controller. Procedure 1. Download the compiled hardware configuration into the CPU 31x-2 PNIDP. To do this, select the menu command Target system > Download into module. 2. After the configuration has been downloaded, the CPU automatically assigns the configured IP address while starting (booting) at the IO device. Ifthe subnet has been correctly established and the configuration matches the actual structure of the IO device. then this IO device is ready for data to be cyclically exchanged. 3. Monitor the LEDs at the various devices. After the hardware configuration has been downloaded, the BF2 - LED of the CPU starts to flash. If the CPU can correctly configure and parameterize the IO device on the network, then BF2 - LED of the CPU and also the still blinking BF - LED of the ET 200S go dark. 4, Check that they can be accessed using the PING command. ‘Supplementary task During the course of the workshop, you will develop a program that can run; to do this, the hardware addresses for the conveyor belt model must be adapted (re- wired) and the hardware re-configured: = Conveyor belt model input: 1B 8 = Conveyor belt mode! output: OB 8 SITRAIN Training for SP-FA-ZWS ‘Automation and industal Solutons Page 27 PROFINET IO some = Salant Sowa, = Meigs oeeaercre Oumar Wisi somes ‘saat = ‘sigan ovasssesos ShaTCH, DP SPFAZW/PROFNETIO Task description Check and analyze the network structure that you have: + Search your network for configured nodes * Additional network nodes - such as the IE/PB link and the Switch Module SCALANCE X-208 - will be configured in the next exercises + Obtain an overview of your network using the “NETPRO" tool, an a EERE Ethemet(1) Industrial Ethemet ECS SP-FA-ZWS SSITRAIN Training for ‘Automation and industrial Solutions Page 28 PROFINET IO Hencs-on IE/PB link as proxy for PROFIBUS DP jy it! 1 oak Soi] neater ovate | Dapeic wes Lb aereuson lastravsumae SIEMENS Ben veo Task profile Expand your project ‘PROFINET using the IE/PB link; this means that existing PROFIBUS - DP components on the DPVO basis can be integrated. An attempt will be made to expand to components that are in compliance with the DPV1 Standard. Execution 1. Save and archive your previous project. 2, Inyour hardware configuration, insert an IE / PB link PN IO. Assign the PROFIBUS standard master address “2" and insert a DP master system. Make all of the appropriate settings. 3. Assign the IE / PB link a device name in the usual way and also an IP address. Check these using the menu command Target system > Ethernet. 4. Check that the IE / PB link can be accessed using the ping command, 5. After downloading the configuration, the CPU automatically assigns the configured IP address while booting at the IE / PB link. If the subnets have been correctly established, and the configuration matches the actual structure of the IO device, then the IO device is ready for cyclic data exchange on the IE and DP sub network. Note ‘The IE/PB link PN IO can be used both as PROFINET IO device as well as also a network transition. When used as PROFINET IO device, only the device name is retentively saved in the C Plug, The configured database is transferred each time the PROFINET IO controller re-boots - and is saved in the temporary memory. If the IE/PB link PN |0’is only used as network transition, then the configured database is transferred using the download function of STEP 7. ‘SITRAIN Training for SP-FA-ZWS ‘Automation and Inds Solutions Page 29 PROFINET IO IE/PB link as proxy for PROFIBUS DP ® Deco srt Bows nemetpe sean SIEMENS Fvemn rar Device number The |O controller addresses DP siaves just like an IO device via the PROFINET device number. When locating DP slaves on the DP master system, STEP 7 makes an attempt to assign the same numbers. ‘igre| Olean Gedersmner |Dasrce| awn OP nv Gebers GE eR Ehrar PRorAOSoP All of the device numbers must be absolutely unique within a Profinet IO system. SFTRAIN Training for SP-FA-ZWS ‘Aulomation and Industrial Solutions Page 30 PROFINET IO Hands-on SIEMENS Fee Task description Up until now, the Industrial Ethernet switch SCALANCE X208 has not been integrated in your project. Insert - in the usual way - a SCALANCE X208 into your hardware configuration. Execution 1. Save and archive your previous project. 2. Assign a device name and an IP address to the SCALANCE X208 in the usual way. Check this using the menu command Target system > Ethemet... 3. Accept all of the standard properties ~ especially for the individual SCALANCE RV45 ports 4. Check that the SCALANCE X208 can be accessed using the PING ‘command. 5. Download the compiled hardware configuration into the CPU 31x-2 PNIDP. To do this, select the menu command Target system > Download into the module. 6. Now check as to whether all network components can be accessed using the menu command Target system-> Ethernet... . 7. Analyze your network structure using the "NETPRO” tool. Result All network nodes must now have been correctly configured and are now accessible. SSITRAIN Teaining for ‘Automation and Industal Solutions SP-FAZWS Page 31 PROFINET IO se ema — SIEMENS, Aden 1 Gono «ups = Lego saticner RS Seratws/eaornerio Notes SITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutions Page 32 PROFINET IO Hands-on ee toe Om 9 Bad Pun ft © oe SIRS so a 8) — ee SIEMENS 1 comoie © oppor Lagos Gene eye Manet | SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industrial Solutions Page 33 PROFINET IO Hands-on Diagnostics - a brief overview aR Dapnosemsgichelt [Nitzer | Die nfrmatonen finden Sie im Unter Onine-Diagnose miteinam [Damnit kinnen Sie ausverten, in| Unertitzung durch STEP 7 PGPCHMLGert welcham Zustand sth tr | Automatsieungssytem im Augenblick befinde Systemzustandlsien(S2ls) [Mit den SZLs Wénnen Se einen | Auswerten der Diagnose im euslesen Fehler eingrenzen. Arwenderprogramm Diagnosedstensate (Records) |Aus den Dignosedatersitze | Auswerien der Diagnose in ausesen konnen Sie detaiserte Anwerderprogramm Informationen dber At und Quel eines Fees gennnen, ‘itiasem Proto KSonen Se | Diagnase dor Notintastuttur| ie Netinkastuktur (SNMP) ciagosiviren Aus derLEDskénren Se | Diagnose duch LEDs ablesen, ob ene ungestrte Kommunikation mégich ist und ob Dien gesendelerpfangen werden See errs enorner io General information With the diagnostic functions ~ a differentiation is made between displays at the Unit (device), online diagnostics using the programming unit (troubleshooting the hardware or starting the special diagnostics of an IE/PB link PN IO) and evaluating the diagnostics in the user program. LED displays Display LEDs show the state of 1O controllers and devices. Ifthe red LED BF 2 (bus fault 2) flashes at a CPU 31%-2 PN IO, then a unit/device in the PROFINET IO system has a faulterror condition. LEDs LINK and RX/TX are located under the cover. A green steady light a the LED LINK indicates a functioning connection to the next network node; ifthe LED is dark, then signifies that the connection has been interrupted. Further, using the tool “Hardware configuration*, together with the command Target system > Ethernet > Assign Ethernet address > Search a flash test can be activated for modules that can be addressed (accessed online). Beforehand, the device must be selected by clicking on it with the mouse. ‘The yellow LED RXITX indicates data exchange via the interface. Faulted devices are flagged using the red LED SF. The red LED BF flashes while the system boots, faulted connections to the next network node are flagged using a red steady light. In order to be able to physically locate the devices in the field, the same as for the controllers, the LINK LED starts to flash. The LINK LED is located under the covers of ET 200S PN and the IE/PB - LINK PN IO, Programming unit For online individual diagnostics use the function “Accessible node” in the SIMATIC Manager and also use the tool "Hardware configuration". Well-proven tools such as the module state and diagnostics buffer are available for this purpose. User program Use error OBs that are activated by alarms. Further, standard diagnostics can be called with SFB 54 (read diagnostic data sets and system status lists) SITRAIN Tring for SP-FAZWS ‘Automation and industal Sohtions Page 34 PROFINET IO Diagnostics using LEDs Diagnostics: ‘The module/board is faulted Possible cause: A.diagnostics alarm, an VO access ‘rror or an error = LED hae been identified Diagnostics: Reference (target) - actual deviation from ‘what was originally configured Possibie cause: ‘The modle/board configured Is not avalabl, 11s hy LEDs The LED cisplay elements of SIMATIC S7 Profinet IO devices are sub-divided into two groups: + General status and error displays + Status displays for the communication interfaces SF a Hardware or software faults/errors. The diagnostics buffer must be read-out to precisely locate the faultlerror. Desv i The 5 V power supply for the CPU and S7 - 300 bus is OK. FRCE il Active force task running RUN i CPU is in the RUN state BF1 a Bus error at the PROFIBUS interface BF2 a Bus error at the ETHERNET interface unk =i ‘A connection has been established to PROFINET RXTX J The port sends or receives data 'SITRAIN Training for SP-FA-ZWS [Automation and Industral Solutions Page 35 PROFINET IO © Configured device type identical with the type of the target device * Configured device version matches the version of the image on the target device * Connection to the target device established (transfer interface settings) — Direction connection within a bus segment » Connection via routing * Target device is ready for transfer (transfer mode is active) * Project can be generated error-free — File (*.FWX) is created = includes generated configuring data for the target device * Transfer settings in WinCC flexible match the connection SIEMENS Eee = Notes 'SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industrial Solutions Page 36 PROFINET IO Sonzertous vou device ystems ewes RE Sa Sines enorner 0 Device type ~ The device type should be taken from the type plate of the operator control deviee, ~ The image version is displayed in the loader menu when the device boots. Accessibility 1. Ifyou are using a crossover cable, please check that a Proxy- ‘Server is not being used for the LAN: Control Panel > Intemet Options > LAN Settings... 2 Using the ping command, check that both stations (cilent and server) can access each other. 3. For MPI or Profibus, a direct connection can be tested using the diagnostics of the driver setting "PGIPC interface’. Depending on the device connection, the settings of the transfer interface must match the connection itself. [SITRAIN Training for SP-FA-ZWS ‘Automation and industal Solutions Page 37 PROFINET IO ErruGs SSEERZWS/ PROEINET IO v0 ‘The associated transfer settings are saved for every operator panel of the project. For the selected operator panel, only those settings that the selected operator panel actually also supports are listed. The transfer settings are, depending on the configured operator panel, saved. Saved transfer settings of the actually selected panel are always displayed - independent of the selection actually made for transfer. Transfermode The operator panel must be in the "Transfer mode" for transfer to panels. Panels support two types of transfer mode, Remote control The operator panel always accepts a configuration transfer during the runtime - i.e. the configuration (application software) is being processed. (Setting > Transfer). This option can be optionally activated/de-activated, If tis de-activated, then the explicit transfer must always be selected if the configuration data is to be updated. Explicit transfer The operator panel always accepts a configuration transfer i the transfer was explicitly selected (called via Loader menu > Transfer). The operator panel then always waits for the configuration data from the PG. Explicit transfer is ended if the project transfer has been completed - or the operator cancelled the mode. SITRAIN Training for ‘SP-FAZWS ‘Automation and Industrial Solutions Page 38 PROFINET IO SIEMENS Satis enorme 0 Notes SSITRAIN Training for SP-FA-ZWS ‘Automation and Industial Solutions Page 39 PROFINET IO Notes SITRAIN Training for SP-FAZWS ‘Automation and Indust Solutions Page 40 PROFINET IO Communication Relations for: = User data > IO data Communication Relation (cyclic) = Configuration data > 10 Record Communication Relation (acyclic) = Alarms > IO Alarm Communication Relation (acyclic) Standard/TCP _|| Realtime Channel || Realtime Channel Configuration User data Alarms “a 10 Controller, 10 Device Rita ‘Communication Relations 10 Data CR 10 Data Object I Record Data CR 10 Record Data Object 10 Alarm CR 10 Alarm Object Inthe standard, three types of communication relations were defined for PROFINET [O. |s used for oyclic transmission of /O data. Data exchange takes place according to the Provider-Consumer Model. The data is sent cyclically to the consumer according to the configured transmission frequency. ‘An explicit acknowledgement does not occur. I/O data is transferred format-fee. ‘The communication is monitored by the consumer, among other things, through the evaluation of the Cycle Counter Element in the RT telegram. The maximum possible consistent length of an VO data value (subslot) is 254 bytes (defined by the memory area in the Ertec). The consistency of values across several I/O data abjects is not supported. Is used for acyctic transmission of data records (Records), for example, for start- Up parameterization or diagnosis. Itcan contain diagnostic data, 1/O data, replacement values, identification data, logbook entries (alarms, error messages), device data, configuration data and deviations between setpoint configuration and actual configuration. Is used for acyclic transmission of alarms to the IO Controller. ‘Sinoe the acyclic services do not support any segmentation, all alarm data must be transmitted within one telegram. SITRAIN Training for ‘SP-FA-ZWS Automation and Industal Solutions Page 41 PROFINET IO Communication Protocols: TCP (Transmission Control Protocol) UDP (User Datagram Protocol) HTTP (Hyper Transfer Protocol) for IT- Diag FTP (File Transfer Protocol) for download to the CF Card Network Management Protocols DNS (Domain Name Service) SNMP (Simple Network Management Protocol) ARP (Address Resolution Protocol) ICMP (Internet Control Message Protocol) DHCP (Dynamic Host Configuration Protocol) is not supported by PROFINET. Rta 1a Internet Protocol Top upp ARP/RARP. icmp DHCP The Internet Protocol (IP) forms the basis of all TCP/IP networks. It creates the so-called datagrams ~ data packets specially tailored for the Internet Protocol - and ensures their transport in the local sub network or their forwarding to other subnets, the so-called Routing. Other functions of IP include the so-called fragmentation of datagrams. Data packets have different maximum sizes in various subnets. In each subnet, the MTU (Maximum Transmission Unit) defines the maximum packet size. During transmission to a network with smaller packet sizes, the routers fragment the packet. The fragments can then get to their destination through different paths. TCP is the Transport Protocol with which data is exchanged between two hosts. In the TCP jargon, data is called segments. TCP guarantees a high degree of security since the data sent must be confirmed by the receiver. If the confirmation is missing, and the selected time span has run out, the segment is resent. The User Datagram Protocol (UDP) is a simple, connectionless protocol. It guarantees neither the deliverance nor the correct sequence of the transmitted datagrams. ‘A further function of the network acoess layer is resolution and conversion of logical addresses into physical addresses. In TCPIIP, the so-called Address Resolution Protocol (ARP) handles this task. Vice versa — in other words from physical to logical addresses - Reverse ARP (RARP) is used. Internet Control Message Protocol. Is used for transmission of error messages. Dynamic Host Configuration Protocol for the dynamic assignment of IP addresses. |s not implemented for PROFINET. SSITRAIN Training for SP-FA-ZWS ‘Automation and Industral Sotons Page 42 PROFINET IO @Standard Channel © Device parameterization and configuration «© Reading diagnostic data '» Negotiating the communi- cation channel for tho user Realtime Channel (RT) © High performance cyclic user data transmission © Event-driven ‘messages/alarms SIEMENS eer veo RT Channel To be able to fulfil the realtime demands in automation, the Realtime Channel (RT) was specified for PROFINET. It is connected directly to Ethernet (Layer 2). From experience, at 100 MBit Ethernet or beyond, the transmission time in the line can be neglected in relation to the processing time in the devices. The time needed for making the data available in the provider's application is not influenced by the communication. This is also true for the processing of the data received at the consumer. Hence it follows that primarily through suitable optimizations of the communication stack and/or removing individual layers as of Layer 2, significant improvements in the Update rates and with that the realtime behavior can result in the Provider and the Consumer. Addressing ‘Addressing takes place directly through the MAC address of the devices involved. The Ethemet controller interprets the 6-byte MAC address and thus it does not have to be checked in the protocol stack (not consistent with multicast addresses). ‘The addressing of a communication channel between two devices takes place via EtherType and FramelD. In this way, a fast selection of RT frames without unnecessary headers is possible. The receiver can then quickly sort a received RT telegram into a specific “drawer” using an efficient management structure. This solution minimizes the throughput times in the communication stack considerably and leads to a performance improvement as far as the update rates of the automation data, Protocol Levels _By foregoing further protocol levels, the telegram length is not increased and the data to be transmitted is ready to send much more quickly and/or is available to the application for processing much more quickly. At the same time, the requited processor performance for the processing of the protocol stack is considerably reduced through this. SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industial Solutons Page 43 PROFINET IO =e Structure PROFINET IO- RT Frames (1) Standard telegram format according to IEEE 802.3: Ethertype A according to IEEE for prioritized Ethernet Telegram = 0x8100: Frame contains VLAN tag Ethertype B according to IEEE for PROFINET Realtime Telegrams = 0x8892: PROFINET Realtime telegram Assignment of the data received via the Frame ID = Cyclic transmission (process values) = Acyclic transmission (alarms and events) Status Information = Device and data status (e.g. Run, Stop, Fault) Smetana PROFINET- spezific SIEMENS Ethernet Telegram For RT and IRT communication, the Standard Ethemet Telegram defined in IEEE 802.3 is used. MAC Address The addressing for RT and IRT takes place via the MAC address. For that reason, RT and IRT communication is only possible within one network (subnet) Ethertype A. This field has a double meaning. For values smaller than or equal to 1500, it specifies the number of user data bytes. A value of 0x8100 identifies that the Ethemet frame was supplemented by 4 bytes (VLAN/TPID and Ethertype B). This extension is a component of the Ethernet specification ("Quality of Service’) ‘Through the priority, the network components control the dataflow between the devices. For realtime data, the Priority 7 (Network Contral) is used, This ensures top priority handling vis-a-vis other applications (Intemet telephoning: Priority 5, video transmissions: Priority 6). VLAN /TPID Virtual LAN / Tag Protocol Identifier specifies the priority of the telegram. Ethertype B Ethertype B corresponds to the Ethertype of the standard Ethemet telegram. According to IEEE, the value 0x8802 is entered for the RT and IRT telegrams. Frame ID Identifies the type of the RT telegram. The ID is used to identify a specific ‘communication channel between two devices. Telegram Length According to the specification, 1440 bytes is possible. For SIMOTION, itis limited to 1400, Status Information The field contains: + a 16-bit Cycle Counter. Its incremented with every telegram and is used to recognize old packets in redundant network structures, + one Data Status byte that indicates the status of the sender (OK = 1) + the "Transfer Status" (must be 0). SITRAIN Tralning for SP-FA-ZWS ‘Automation and Industrial Solutions Page 44 PROFINET IO Data Status] Transfer Siatus) ‘iyie | 1 6yte 6: Transmission OK [Status of Data Reserved H Specifies ihe leader with redundant channels Feta ie valia “The process that generated the data Is running. HT No probioms exist lo Diagnostic buFor must be analyzed TL Seratve/enorner 0 Frame ID 0x0000 -0x00FF Time Synchronization 0x0100 -Ox07FF RT Class 3 Frames (IRTtop) 0x8000 - OxBFFF RT Class 2 Frames (IRTIex) OxC000 -OxFBFF RT Class 1 Frames (RT) OxFCOO -OxFCFF Acyclic transmission high priority OxFDO0 -OxFDFF Reserved OxFEOO -OxFEFC Acyclic transmission low priority OxFEFD -OxFEFF DCP OxFFOO -OxFFFF Reserved Cycle Counter Each bit corresponds to a time increment of 31.25 us. The sender increments the counter and writes the value in the send cycle in the telegram. The receiver analyzes the counter and in so doing, can monitor the connection. SSITRAIN Training for ‘SP-FA-ZWS [Automation and Industrial Solutions Page 45, PROFINET IO Addressing = MAC address 10 Controller 10 Device = IP address Lsentity Check Name = Logical device name poem | |-—genti RES Pim System start-up is done via the logical device name 2 ARI ie (Groans? [| “SPR A The exchange of components without renewed configuration assumes the ARP use of the logical device name igs [SetiP ar eth MAC Address The MAC address Is unique worldwide and belongs only to the device. IP Address 's defined during configuration and is either assigned by the IO Controller during start-up or is stored in the device (see System Start-up). Logical In the configuration phase, a unique device name must be assigned to each RT/ Device Name IRT device (identified through the MAC address) in the configuration tool. (In HW Config - menu: PLC > Ethemet > Edit Ethernet Node...). The device name is retentively stored in the respective device (so-called node initialization), For a SIMOTION D module, the name of the CBE0 must be assigned, System Start-up During system start-up, the IO Controller queries, through the DCP (Discovery and Configuration Protocol), the logical device name defined during configuration. Ian IO device recognizes its logical device name, it answers the IO Controller's query and transmits its MAC address. |fno IP address is stored in the device, the IO Controller assigns the configured IP address to the IO device. Whether the IP address is assigned by the controller during boot or whether itis stored in the device, is configured in HW Config. (Properties dialog of the device, checkbox: “Assign IP Address via IO Controller”) IF no logical device name was configured, the system start-up falls and no communication is possible between the IO Controller and the IO Device. Device Exchange _ Ifa device is exchanged, for example, because of a defect, the new device has a different MAC address. If itis initialized (for example, by re-slotting the Compact Flash Card that retentively stores the device name) with the device name of the exchanged device, it can take over the function of the exchanged device without making changes in the configuration. SITRAIN Training for SP-FAZWS ‘Automaton and industrial Solutions Page 46 PROFINET IO PROFINET IRT - properties Cyclic transmission with a minimum cycle time of 1 ms or 0.5 ms = Regardless of load and overload situations Time synchronization of the devices with a jitter of 1 us = Synchronous cycle operation 1400 user data bytes No acknowledgement/ no repetition of cyclic data Date exchange only within a network IRT ‘Communication Cycle Time ‘Synchronization Isochronic Real Time. Isochrones (from the Greek: iso = same + chronos = time) are time slices with equal lengths. They are used in technology for periodic events of the same duration, that is, with a constant cycle duration. The specified cycle time of 0.5 - 4 ms represents a reference point. tis dependent on, among other things, the bus utlization, the devices used, the ‘computer performance and the cycle time of the controllers, and, must therefore be determined for each individual case. ‘The minimum value for IRT communication is currently 0.5 ms. This can only be achieved if all IRT devices used (currently only D445, P350) support this. The minimum standard cycle time for IRT communication is currently 1 ms. The ‘maximum configurable value is 4.0 ms. If PROFIBUS and PROFINET are to be operated cycle synchronously at the same time with a SIMOTION, the slowest one determines the minimal bus cycle with SIMOTION 4.0, This dependency should no longer exist in the future. ‘The IRTtop components have @ uniform time base with a maximum jitter of 1 ps. Synchronized Cycle With PROFINET IRTtop, application and bus cycle run synchronously; with Operation User data bytes No IRTfiex this is currently not possible, but is planned for in the future. ‘A maximum of 1400 user data bytes per telegram are available. ‘The realtime data is transmitted according to a Consumer/Provider Acknowledgement model. Cyclic data, such as process values, is transmitted by the Provider to the ‘Consumer in a fixed time base, unsecured (no additional security to the Ethemet CRC) and without acknowledgement. 'SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Solutions Page 47 PROFINET IO ‘SIMOTION © ‘SIMOTION D SIEMENS —acr IRT ‘The focus with IRT is on the timing of the communication. A precise control of the ‘communication is necessary, an expansion of the RT protocol elements is not required. In RT communication, delays can occur in every network component during the data transmission from source to destination because of additional RT telegrams or because of non-realtime communication. That is why, in IRT, the communication is set up in such a way that no unforeseen delays can occur and the calculatable waiting times are minimized. Timeslot Procedure The mechanisms specified by Ethemet are not sufficient in order to implement the bus cycle times needed for Motion Control applications. For the implementation of these requirements, it is necessary that transmission bandwidth is reserved. For this, a timeslot procedure is superimposed on the bus system. ‘This procedure requires the timely synchronization of connected devices and network components. This only works using a special hardware support (ASIC). This represents a non-compatible expansion of the Ethernet standard, The standard Ethernet mechanisms for prioritized telegrams used in RT are not Used in IRT communication Bus Cycl By default, a minimum bus cycle of 1 ms is supported by the Siemens IRT PROFINET components. Only SIMOTION D445 and P350 V3 support 0.5 ms. The PROFINET specification enables a minimum bus cycle of 156.25 us. The maximum send cycle is 4 ms. [SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industal Solutions Page 48 PROFINET IO @rcenp Device parameterization and configuration «= Reading diagnostic data 1 Negotiating the user-data channel @ Real-Time RT High performance cyclic usor-data transmission 1 Event-diven messagesialarms ours @isochronic Real-Time IRT Le 1 Synchronous cycle user Suse data transmission —— ‘= Hardware support through ERTEC Buenos eect ERTEC 400 SIEMENS Fees veo IRT Channel To be able to fulfil the realtime demands of Motion Control applications, the Isochronic Realtime Channel (IRT) was specified for PROFINET. It is connected directly to Ethernet (Layer 2). Addressing ‘The addressing of a communication channel between two devices takes place via EtherType and FramelD. In this way, a fast selection of IRT frames without unnecessary headers is possible. The receiver can then quickly sort a received IRT telegram into a specific “drawer” using an efficient management structure. This solution minimizes the throughput times in the communication stack considerably and leads to a performance improvement as far as the update rates ofthe automation data. Protocol Levels By foregoing further protocol levels, additional headers are not required and the data to be transmitted is ready to send much more quickly andlor is available to the application for processing much more quickly since the processing time of the protocol stack is eliminated. SITRAIN Training for SP-FAZWS ‘Automaton and Incustial Solutions Page 49 PROFINET IO PROFINET IRT Hardware ERTEC 400/200 Connection of devices to IRT > Complete communication processing for RTART Supplies system time with a jitter of 1 us (IRTtop) Compatible to standard Ethernet IEEE 802 10 / 100 MBit/s half / full duplex Integrated 32-bit j;Controller (ARM 946) IRT Switch 4 or 2 port IRT switch Network components support synchronization "Cut Through” and "Store and Forward" SIEMENS —z N20. se 0 Wmene ates Se ERTEC ‘The ASIC ERTEC (Enhanced Real Time Ethernet Controller) is a high- performance Ethernet Controller with an integrated 4 or 2 port switch. Because of its greater memory capacity, the ERTEC 400 is predestined for controllers, the ERTEC 200 for devices. IRT Switch The IRT communication is based on a timeslot procedure. This requires that all network components are using a uniform time base. For that reason, IRT switches that support this procedure are necessary. RTIRT RT and IRT devices must support 100 MBit full duplex. NRT NRT devices with 10 MBit half duplex can be connected, ‘SITRAIN Training for SP-FA-ZWS ‘Automation and Industial Soltions Page 50 PROFINET IO RTC/RTA NRT Alarms Standard Ethernet ' at least one NRT telegram (156.25 us) SEEMS /PROFNETIO va Time Multiplex —__A transmission cycle is divided into an IRT time interval and an open time interval IRT Communication Time interval for the transmission of IRT telegrams. Furthermore, the telegrams for the synchronization of the system time are transmitted here, Open Time Interval In this time interval, RT and NRT telegrams are transmitted, The ERTECs ensure that at the beginning of the next IRT time interval, the transmission of the last RT or NRT telegram is completed. Should the ERTEC detect that the transmission is no longer possible, i temporarily stores the telegram and sends it after the next IRT interval Otherwise, the synchronization of the devices can not be ensured. 1c8 the RT telegrams can have a higher cycle time than the IRT, they can be optimum utilization of the bandwidth za required bandwidth a | 1 Bus cycle 2 3 4 Full duplex Port 1 oes Port 4 Por 1 eer Port 4 Topology configuration > time when telegrams are sent and the path are defined Bus system and application work synchronously in cycle Rta tah IRTtop With IRTtop the bus bandwidth is optimally utilized. The required bandwidth is individually reserved for each bus segment. For this, the timing and the path in the network is planned for each telegram. Syne. Cycle Synchronized cycle operation of controllers is possible. Application and bus Operation system run synchronously in IRTtop (necessary with Motion Control applications). Topology Prerequisite for timely communications planning is the configuration of the topology in HW Config. Cable Length ‘You should leave the cable length at the default setting of 100 m. That way, you can change the cable length in the field without having to adjust the configuration. Only if itis necessary to optimize the communication, do you have to enter the actual lengths. IRT telegrams may arrive earlier than planned; then they are held back until they are back in the time plan. If they arrive later, they are discarded. Addressing The passing on of telegrams in the network components does not take place according to the MAC address contained in the frame but according to the point in time and the port. For each telegram, the required controller information is stored in all participating switches. This type of communication is called path-based communication. With this type of ‘communication, the time of transfer for each individual telegram is always exactly adhered to forall topologies. Fast lO For Fast IOs, a bus oycle time of 0.25 ms is planned. The transmission is cycle synchronized to the application. The defautt bus cycle can be selected between 0.5 ms and 4.0 ms in 250 us intervals. [SITRAIN Training for SP-FA-ZWS ‘Automation and industtal Solutions Page 52 PROFINET IO Uniform reservation of the bandwidth > no optimal utilization of the bandwidth, but flexibility in the topology Full duplex Device 1 2 3 4 Bus cycle Device Mp ov1n 'ss9 reserved bandwidth eza_required bandwidth No configuration of the topology necessary > address-based communication within the switch Bus system and application do not work cycle synchronized iT Tey IRTilex Syne. Cycle Operation Addressing Fast 10 Configuration Default Bus Cycle Through the exclusive reservation of bandwidth for the transmission of cyclic IRTflex data, the PROFINET 10 with IRTflex transmission procedure avoids the problems that arise with PROFINET IO with RT transmission procedure when the bandwidth available on the network is not large enough and other Ethemet communication takes place at the same time. The highest IRT bandwidth requirement of a device plus spare is reserved for the entire network, itis not defined when, which telegram is transmitted in the IRT time window using which port. ‘The synchronous cycle operation of the controllers is currently not yet implemented. Just as with PROFINET IO with IRTtop, the synchronization of all devices on a common Sync Master is necessary. The sum of all synchronized devices form a Sync Domain. The passing on of telegrams in the network components takes place according to the MAC address contained in the frame. For that reason, itis not necessary to store any additional control information in the switches and a modification of the network is possible without adjusting the configuration. This type of ‘communication is called address-based communication. For Fast IOs, a bus cycle time of 0.25 ms is planned. However, the transmission is not cycle synchronous to the application, The topology does not have to be configured in HW Config. For that reason, this concept also permits changes to the topology during (running) operation. 0.25, 0.5, 1.0, 2.0 and 4.0 ms can be selected as default bus cycle. 'SITRAIN Training for SP-FA-ZWS ‘Automation and Indusal Solutions Page 53 PROFINET IO Solution Partner ‘Automation Web - Server CPU 315F-2 PN/DP (FW 2.5.1) Contents ‘Accessing Diagnostic Data from Anywhere Benefits of the Web Interface Setting Up the Web Interface Web Server Configuration Function: ‘Report System Error" Sequence: “Report System Error" Installing Languages (Display Devices) Activating error messages 9 Generate sending messages 10 Displayed Messages via Web Interface "1 Welcome . 12 Start page and Menu structure 3 Identification 4 Diagnostic buffer se 5 PROFINET parameter and statistics 16 Tag status 7 Variable tables 8 Pocket PC. 19 SP-FA-ZWS, 'SITRAIN Training for ‘Automation and industal Solutions Page t Web-Diagnostics PNIO Accessing Diagnostic Data from Anywhere Diagnostics Anywhere = Via integrated PROFINET interface Read-only access via Internet Browser Display optimized for PC, Multi Panels, PDAs Web Contents Module identification (MLFB, FW version, etc.) Operating mode, diagnostic buffer Display of messages (Alarm S) Ethernet parameters and statistics Languages: DE + EN, later: FR, ES, IT, CN, JP Variable table (VAT) from STEP and monitor tags (only for CPU31x PN as of FW V2.5) Ptah Note The $7-400 PN CPUs are the first SIMATIC CPUs to offer their own web server. Up until now, a web server was only available via an IT-CP. By using any Internet Browser you like (such as Intemet Explorer, Netscape) you can look at the CPU's integrated web pages from anywhere in the world (read-only access). Besides ‘general device information and PROFINET/PROFIBUS settings, you can, for example, remotely read-out the diagnostic buffer. As the URL, you simply enter the CPU's IP address. Itis also possible to optimize the display for multipanels or PDAs with low resolutions. ‘SP-FA-ZWS SSITRAIN Training for th Web-Diagnostics PNIO ‘Automation and industial Solutions Page2 Simple access of module diagnostic data using standard Office tools ‘Support during commissioning and operation STEP 7 is not required to read out diagnostic data Access is also possible with a Pocket PC te ae Seems on TLS Sires) ver sever cru sien 2 waa. Notes SITRAIN Training for SP-FA-ZWS ‘Automation and indstial Solutions Page 3 ‘Web-Diagnostics PNIO the lab for you BTS at SEPA x Soor00U 362 SITRAIN Training for ‘SP-FA-ZWS ‘Auiomation and industial Solstions Page 4 Web-Diagnostics PNIO Be Osho g 6) = oe ee ee SEN Hangs-on a on | Ri ley | nas | TaectO ane | Cree Sup | Speroticlngt Dagerfink | Pomcin | Comat | FPommine WO ae eb sen rai See trie arts oc nb CP Yascaidea g leas [eesgtls fies Stacy BBrrenen rence) Ree Srv ivensove crusise2 Notes SSITRAIN Training for Automation and incustial Solutions SP-FA-ZWS Page 5 ‘Web-Diagnostics PNIO Hands-on 4. Solect CPU 2. Open “Report System Error" 4. Define program integration 5. Start ‘Report System Error’ generation 6. Download S7data into the CPU 7. Read-out messages via web SREAZWS/ Web Sover PUSIEF-2 SITRAIN Training for SP-FA-ZWS ‘Automation and Industal Solutions Page 6 Web-Diagnostics PNIO a iWeb Message display va S7-CPU i. i Mosse via 874 interface web inerfecs - Updating the DB interface 'RSE" block reade out the diagnostic information i. Error OB calls RSE" block ror causes an Error OB to be ST eres wer-sever cru s:5r2 va. SITRAIN Teaining for SP-FA-ZWS ‘Automation and industrial Slutons Page 7 ‘Web-Diagnostics PNIO SITRAIN Training for ‘SP-FA-ZWS ‘Auiomation and Industrial Solstions Pages Web-Diagnostics PNIO eee? Gent ect cnn Neg the tae = Hr = _——_ wr awe tamer -—— me pists by Bethea eb seve PU st6F-2 Notes SITRAIN Training for SP-FA-ZWS Page 9 ‘Web-Diagnostios PNIO ‘Automation and industal Solutions rel 8 Ceain| Une Movin | tec] Dupe 1 Srasnarch me SIEMENS [eerie van SITRAIN Training for SP-FAZWS ‘Automation and Indust Solutions Page 10 Web-Diagnostics PNIO Hands-on Displayed Messages via Web Interface ar Bee Seno /vieosover covise2 Notes [SITRAIN Training for SP-FAZWS ‘Automation and Indust Solutions Page 11 ‘Web-Diagnostics PNIO Hands-on SIMATIC S7-300 CPU 315F-2 PN/DP ett 1a Notes SITRAIN Training for ‘SP-FAZWS ‘Automation ané Industial Solutions Page 12 Web-Diagnostics PNIO Henes-on (CPUsISF2PNDP Oven ee UN ‘sme 3 or pT Lah Notes SITRAIN Training for SP-FAZWS Automation and Industral Solutions Page 13, Web-Diagnostics PNIO Identification ation urea aS Serna e-sovercrusier2 veo Page 4 Notes SITRAIN Training for Automation and Indust Solutions Page 14 SP-FA-ZWS Web-Diagnostics PNIO Diagnostic buffer Sai ‘HSeronpe ‘Dice te te ah RD Srras/webSene Cou si8r2 wo Notes Hands-on ——— oer SSITRAIN Training for Auiomation and Industral Solutions Page 15 ‘SP-FA-ZWS Web-Diagnostics PNIO Hands-on PROFINET parameter and statistics as Bos (Petts: Forigoon Peden BTS see ome cousiers SITRAIN Training for SP-FA-ZWS ‘Automation and Industial Solutions Page 16 Web-Diagnostios PNIO Tag status sone SIEMENS —eeee Notes SITRAIN Tring or SP-FA-ZWS ‘Automation and ndustial Soltons Page 17 Web-Diagnostics PNIO Hands-on Tomo 10s ee open 104 gar a, Teta 88 Paab ot etng occa line SERS one te S| owmramazin waar ets ot eS Sires oo sovercrusise2 ve Page 6 Notes SITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutions Page 18 Web-Diagnostics PNIO Diagnostic Buffer Evert fom 10 cezurick “Time: 01-08:18-408 pm Date 21.03.2007 Evert: 168-4302 Shor text Modo transton rom STARTUP to etait aS Sets rvise sever crusisr2 veo Notes Modioname: CPUS15®:2PNDP Modietype: CPU 31SE-2PNDP psraing Mode RUN, status 0K Mode selector. RUN. 24103-2007 01:10:21'm SITRAIN Training for ‘Automation and Industal Solutions Page 19 SP-FAZWS: Web-Diagnostics PNIO Solution Partner ‘Automation PROFINET IO Topology Contents Topology with PROFIBUS Topologie Editor online What is SNMP? How SNMP works sc SIMATIC NET OPC-Server Link Layer Discovery Protocol (LLP) Link Layer Discovery Protocol (LLP) LLDP - How it works. LLDP Telegram LLDP - MIB SUMMARY orn Physical Device (PDEV) Topology view Table view in STEP7 Graphic Representation of a Topology in STEP7 16 Off/Online Comparison in the Topology Editor 7 ‘Comparison Flow: Offine - Online 18 Exercises for PROFINET IO Topology 19 Topology using HW Config 20 Table view (offine) 24 22 Table view (online) ee a tern ett Offline/Ontine Comparison Pettitt 28 Graphic view (offine) 24 Graphic view (online) 25 Properties of different modules 26 Export in MS-EXCEL a ‘SP-FA-ZWS SITRAIN Training for Auiomation and Industal Solutions Seite 1 PNIO Topologie ties crs OAD Sommewesrtg: Sa ie ‘Aprnn| OPS Open] ¢ 01 DERE] ¢ cr] «#8 ao (oas,fedrdut 80m (een hm Flomesienranseioo a at Notes ‘SITRAIN Training for SP-FA-ZWS ‘Automation and Inds Solutions Seite 2 PNIO Topologie SIEMENS Feed Protocols In order to carry out a topology identification in a PROFINET network, the devices ‘must fulfil the following requirements or provide the following protocols: ‘SNMP = Simple Network Management Protocol LLDP = Link Layer Discovery Protocol PDEV = Physical Device DCP (Discovery and Configuration Protocol) SITRAIN Training for : SP-FAZWS ‘Automation and industial Solutions Seite 3 PNIO Topologie ~~ What is SNMP? SNMP - Simple Network Management Protocol - is a UDP- based protocol (Port 161) that was specifically specified for the administration of data networks. The individual nodes in the network — network components or even end devices ~ are equipped with a so-called SNMP agent that makes information available in a structured format. This structure is called MIB - Management Information Base. A network management solution based on SNMP works according to the Client/Server model. See artic ro roscoe va0 Management Information Base - MIB ‘An MIB (Management Information Base) is a standardized data structure consisting of different SNMP variables that are described by a language independent of the target system. The cross-vendor standardization of the MIBs and the access mechanisms enable the user to monitor and control also a heterogeneous network with components of different manufacturers. If component-specific, non-standardized data are required for network monitoring, these data can be described by the manufacturers in ‘private MIBS". SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Solutions Seite 4 PNIO Topologie Ea LL serictvs eno reste MSAP The concept is based on every connection point in the topofogy being uniquely identified as "Media Service Access Point" (MSAP). Each MSAP may only be found once in the observed network topology; only in this way can the "Network Management System* uniquely identity the topology. ‘An MSAP is composed of a unique device identiication (Chassis ID) and a port identification (Port ID) that is unique at least for this device. Client/Server ‘Annetwork management solution based on SNMP operates according to the client-server model. The management station (SNMP client) can poll information from the agents to be controlled that act as servers. The MIB information is cyclically called from the management station and visualized if required. In addition, the nodes are also capable of reporting specific statuses to the network management station via traps without explicit requests. SNMP enables not only the monitoring of the nodes but also instructions for controlling the devices. These instructions include activating or deactivating a port ‘on a network component. ‘The communication between agents and network management station is performed in the background and loads the network only insignificantly. 'SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industial Solutions Seite 5 PNIO Topologie | seuprereeteereeeeeeeeeets ya al SIEMENS Fen Background By using one single software to identity, display and monitor the physical connections between the devices of a PROFINET IO system, the Administrator can also monitor and maintain complex networks more easily. Earlier approaches to topology identification interpreted either the determined MAC addresses in the forwarding data (FDB - Forwarding Database) or analyzed the standard MIBs (Management Information Base), for example, Bridge MIBs, ‘These approaches were, however, complicated and the results unsatisfactory. Other procedures, such as, "Cisco Discovery Protocol" (CDP), were only adopted by a few manufacturers. At IEEE, the activities were energetically pushed and in May 2005 it resulted in the passing of the IEEE 802. AB standard that describes ‘ot only the "Link Layer Discovery Protocol" (LLDP) but also the associated "LLDP MIB". LLDP is a further development of the CDP, but itis not compatible with it SITRAIN Training for SP-FA-ZWS ‘Automation and industrial Solutions Seite 6 PNIO Topologie The Link Layer Discovery Protocol (LLDP) is a manufacturer-independent protocol. Via LLDP, a connected device can report its identity and properties. Standardized according to IEEE802.1AB LLDP runs on the Link Layer (Layer 2) of the ISO/OSI reference model Baa Srkts/ eno Torco Notes 'SITRAIN Training for : ‘SP-FA-ZWS ‘Automation and Industral Solutions Seite 7 PNIO Topologie Identity and properties are stored in an MIB (Management Information Base) and collected via SNMP (Simple Network Management Protocol). With PROFINET 10, these functions are used to determine the topology of a network. Lee eso ro topsse ‘SP-FA-ZWS SITRAIN Training for ‘Automation and industrial Soltions Seite 8 PNIO Topologie __ LLDP — How it works Via LDP, the devices in the PROFNET IO system first ofall ‘exchange LLDP packets ‘amongst themselves, Each device stores the information received in its neighbor table. The contents ofthe neighbor tables are read-out by the Network Management Station (STEP7, SNMP Ciert,..] which ‘can generate a topology representation from that. In future, device exchange without memory medium (MMC) will also take place using this principle TTS Ee cers eno rote Discovery MIB Pon | Bowes To Dever Discovery MIB roomie Tobe Concept ‘The concept is based on every connection point in the topology being uniquely identified as "Media Service Access Point" (MSAP). Each MSAP may only be found once in the observed network topology; only in this way can the "Network Management System" uniquely identify the topology. An MSAP is composed of a Unique device identification (Chassis ID) and a port identification (Port ID) that is Unique at least for this device. 'SITRAIN Training for ‘Automation and industial Solutions Seite 9 ‘SP-FAZWS PNIO Topologie * LLDP telegrams are sent to the target address 01:80:C2:00:00:0E (Multicast MAC address) with the Ethertype identification 0x88CC. = IEEE 802.1AB defines a set of information blocks that are each coded in a “Type Length Value“ format (TLV). = An LLDP Data Unit (DU) consists of such connected TLV blocks. Each LLDP DU must be concluded with an “End of LLDP DU TLV“. eS Shs eno tossene veo Protocol The LLDP is a simple “one-way protocol” that sends out packets with information about itself to the ports of the network device and to those ports who await the receipt of such LLDP packets in periodic intervals - in the default setting every 30, seconds. ‘The send and receive portions work independent of one another, that is, for LLDP DUs that are sent, no answer or confirmation of the receiver is expected. The LLDP DUs are data packets without a "Tag" (identification) on the security layer (Layer 2) with the Ethertype Ox88CC that are sent to the target address 01:80:C2:00:00:0€. Since this target address is an "IEEE Multicast MAC" address (Media Access Control) it is not passed on by IEEE-802-conforming switches, that is, the data packet, as a rule, only reaches the direct neighbor that is connected to a port SITRAIN Tring for SP-FAZWS ‘Automation and industrial Soksions Seite 10 PNIO Topologie — LLDP - MIB The LLDP MIB is the interface between the LLDP device and a Network Management Station Network 5 Ido Management IdpNotifications pate Iidpobjects, via SNMP-Cliont lidpConfiguration Gi Mdpstatistics E-@ IdpLocalsystemDat b-®@ lIdplocchassish -@® ldplocchassish: } NidpLocsysName @ ldpLocsysDese -® lepLocsyscaps KeoLocsyscane PROFNET PROFNET pROFINET Device Dewees “Contoter tay Srratws/ wo opsieoe = Notes SITRAIN Training for ‘SP-FA-ZWS Seite 11 PNIO Topologie ‘Auiomation and Industal Solutions ~_ Summary In summary, communication is implemented between the network nodes via the LLDP Protocol, the reading-out of information is taken over by the SNMP Client, in the case of topology identification STEP7 LLDP Protocol between network nodes Data in topology info MIB SRFAWS/PNO Tonolge SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and industrial Solutions Seite 12, PNIO Topologie PDEV= Physical Device = Standardized description of the Ethernet interface/ports = with respective properties at the Controller and Device IPIMAC address = Diagnosis = FO properties [Ecru assPaor = Redundancy = Synchronization = Neighborhood TE os_[Ipawo: = Parameterization Pot 7 Pott eae (CPU ai8ez PAA (Hoar evn Through the PDEV Model, a port-individual diagnosis is possible BA Site me Notes SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and industal Solutions Seite 13, PNIO Topologie A jose = ec [mei eie RO Sets: po osstce vo View ‘The Topology Editor is a prerequisite for the IRT communication in the field of Drives Technology / SIMOTION. IRT requires network components that support a planned and pre-configured data communication. With the extremely short send intervals connected with this, the cable lengths between the individual PROFINET devices must be taken into consideration. With the help of the Topology Editor, you can enter cable lengths and other parameters. From this and other configuration data, STEP 7 calculates the most optimal flow of the IRT communication and the signal propagation delay. SITRAIN Training for SP-FA-ZWS ‘Auiomation and industial Solutions Seite 14 PNIO Topologie Table view in STEP7 EN 22sec oe Notes SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industial Solutions Seite 15 PNIO Topologio SIEMENS Notes ‘SITRAIN Training for ‘SP-FA-ZWS ‘Auiomation and Industrial Solutions Seite 16 PNIO Topologie i ___ OfffOnline Comparison in the Topology Editor Detected Topology via SNMP clo gece coud ie dtathes Sivas pens SEEMEWS / PNIO Topcon Soo 7 Notes SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Solutions Seite 17 PNIO Topologie Computer Ethernet Node ey DcP Response SNMP Reply with topology Info SIEMENS [Eee ‘SITRAIN Tralning for SP-FA-ZWS ‘Automation and Industrial Soltions Seite 18 PNIO Topologie Hands-on ~_ Exercises for PROFINET IO Topology ar = Let’s just do it. BT Notes SSITRAIN Training for SP-FA-ZWS ‘Automation and Indusval Solutions Seite 19 PNIO Topologie jeeiee aad aa aren ope Se aa Oy ers 2x0 tances v0 Task You are to determine the PROFINET IO Topology in your training unit. The topology configuration takes into consideration the port cabling of the PN devices connected in the network. What to Do You have selected one of the following elements: = port or interface of a PROFINET interface or - the PROFINET IO System 'SITRAIN Training for ‘SP-FA-ZWS ‘Automaton and Insta Solutions Seite 20 PNIO Topologie thy Structure The Topology Editor contains the following tabs: - "Table view" tab “Graphic view" tab = "Offiinefonline comparison" tab If you leave the Topology Editor with OK, all data is saved. Cable Status ‘The maintenance status of every selected cable (2 ports) is displayed in the topology overview online. Here, the poorer’ of the two values is displayed. Possible states are: ~ OK, that is, maintenance is not necessary for either of the two ports ~ Maintenance request (wrench yellow) = Maintenance requirement (wrench orange) - Faulty (white cross on a red circle) ~ Not available (if at least one of the two ports does not exist) SITRANN Training for : ‘SP-FA-ZWS ‘Auiomation and Incustial Soltions Seite 21 PNIO Topologie Hands-on Device fuky Maintenance request Mairtonance requirement Communication ror Maa Ser s/ex0 toscesle Color Entries Each entry in the interconnection table means a station entry in the blue- highlighted header. The ports listed below those are displayed in a color depending on their interconnection status: = green > there is an interconnected Partner Port = yellow > the port is not yet interconnected The color or the port icon depends on the medium of the port: - gray > the port is deactivated = green > a copper cable is connected to the port = yellow > a fiber-optic cable is connected to the port Overview Al ports of the Ethernet modules are represented in the S7 project. Since a partner port also exists in the interconnection table for each interconnected port, ‘each interconnection can be activated via two devices in the table. Thereforo, when one interconnected port is selected, the partner port is also highlighted in the list. SITRAM Tring for SP-FAZWS ‘Automation and industal Souions Seite 22 PNIO Topologie Ra SerAtus/pro-Tondone Dialog ‘The Dialog is implemented in various colored boxes. On the left you can see the connection table of the configured STEP 7 modules and their ports. The ports are displayed, dependent on their connection status, in various colors: = green > partner port is connected = yellow > the port is not connected Each port is displayed by an icon in the table. The color of the icon depends on the color of the medium: = gray: > the portis deactivated = green > the port can be connected by means of a copper cable = orange > the port can be connected by means of fiber-optic cables SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Incustial Solutions Seite 23 PNIO Topologie Hands-on RS Sirus eo tossine v0 Passive Components To insert a passive component, select a device in the opened Catalog and click on the "Add" button. The device is inserted in the Interconnection Table and in the Selection Range. Passive components can be deleted from the project at any time. SITRAIN Training for ‘SP-FA-ZWS Automaton an Indust! Soltons PNIO Topologie a Graphic view (online) sean SHPAEWS/2NO-Torooge a veo Seie25 sere Online ‘The Online view depicts the Ethernet devices of the connected system that were detected after a Lifelist Broadcast call and were assigned to the configured devices. Further detected (passive) components are listed, Web Server Ifa configured module is detectable, has a valid IP address and has an active ‘web server, then information of this module can be read-out via a standard web browser. ‘SITRAIN Training for SP-FA-ZWS- ‘Aufomation and Industal Solutions Seite 25 PNIO Topologie "Properties of different modules ed Mio | co | Has ae sane secs ketene ip ice pe Fun F mores GsOMY2tSumeettt| Gel sri Tex |e thee eet | thinnest Nass co ae Oweennte fF 3] [ratsamnewiorrusirervorranrrery =] Paine sete a a 1 parable = aaa RRS NLS Le cere ono ronaye Notes SITRAIN Training for SP-FA-ZWS ‘Auiomation and Indust Solutions Seite 26 PNIO Topologie Hands-on, a oa EMS [Sahn] oe SIEMENS eer wo Documentation _For purposes of documentation, information in the ~ Table view and = Offline/ontine comparison tabs of the Topology Editor can be exported into a *.csv file. The information "Object name’, “IP address" and "Module type" are saved. For online-accessible devices, the "MAC address" and the detected status is also written into the *.csv file SITRAIN Training for SP-FA-ZWS ‘Automation and industil Solutions Seite 27 PNIO Topologio ___ SINAMICS $120 - connection to PROFINET Solution Pann SINAMICS S120 - connection to PROFINET SRFAEWS /SINAMICS 6120 Contents SINAMICS $120 - connection to PROFINET Required pre-condition Required pre-conditions Volatile and Non-Volatile Memory ‘Automatic request to save data Save and restore parameter $615 enn Structure of the Compact Flash Card ($120) ‘Saving and defaulting parameter sets Saving and defaulting parameter sets ‘Saving and defaulting parameter sets Icons within the project navigator (online mode). Expert functions 1(2) Expert functions 2(2) Parameter comparison Exercises for SINAMICS S120 ‘Schematic of the exercise set-up Training station $120 Downloading firmware to Flash Car Assigning an Ethernet address (STEP 7) Inserting SINAMICS into the S7 project, Calling the “STARTER™ tool ‘Automatic configuration Unknown motor module data : Configuring the controller structure Configuring the power unit (Motor Module) Enable the DC link 'SITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutions Page 1 SINAMICS $120 SINAMICS S120 - connection to PROFINET SINAMICS S120 - connection to PROFINET Contents Page Configuring power unit and motor module 28 Configuring the encoder and brake 29 Exchanging process data (PZD) 30 ‘Summary ae 34 ‘Adapting the DC link voltage 32 Connecting the infeed run signal to the DRIVE-CLIQ motor i 33, Downloading the into the drive 34 ‘Online / offline comparison 35 Control pane! a a 36 Installing "GSD" files for SINAMICS ar Expanding the hardware configuration 38 SINAMICS $120 properties 39 User program in OB 40 Signals (control word 1) at ‘SP-FA-ZWS 'SITRAIN Training for ‘Automation and industial Solutions Page 2 SINAMICS $120 The entire drive system is wired up ‘The DRIVE-CLIQ rules have been observed ‘The PROFIBUS - connection is set up ‘The most recent STARTER-elease is installed ‘The CU320 is equipped with the ‘correct Compact Flash card and the SIEMENS —eetgerueney va Notes SSITRAIN Training for SP-FA-ZWS ‘Automation and Industral Solutions Page 3 SINAMICS $120 “To reach the contrel panel 41. Brive > Commissioning > Contel panel 2 Resume cont 43. Sotine Enable © Sitehon RTs 1s Control signals ‘uhonty panel: Sion Consol] PROF Tearing panel) | bitno.in CTW sequence contol ONO THRO] U= OFF (OFFI, Sop va aR uncon Sa fofawed by puse block eoenting eonton ONOFFE ‘BIT [= Coast down (OFF. pase Lock meio CaaS fo sandst ot coast down, operating conten ONE Tat? [0= Emergency stop (OFF) 1 = Noemergerey stp, operating cotion ale enebie IS] =isabie operation, iss iock 11+ Enabla operation, enable pulses rae rane ‘Bid 0 setramp-tncion generator 00 uneten unaton gnarioe can Enabl rap-tunaon pe ‘Santon TBS 0= Freeze ramp function ganertor aah fre. eurentcupu vue ncton 4 = Retr ramp-tuneson gonotater, fotows the eenertor putvabe Saipan Bie] t= Enable seine nate 0 Int etait a at 20 Missing enables necessary enables. You can check these in the diagnostic window under “ Typical messages: + Bit 9 Infeed enable missing: pO864 = 0 + Bit 17 OFF2 enable internal missing: Operating made p009>0, p010>0 + Bit 4d Ihotoulgttietictnanancsieecaacasacntnetas 5. Sot spoed wih setpoint and sealing ‘You can set the bits of the control word and the speed setpoint via the Control Important for the operation over the Control panel is the presence of all the lissing enables" SITRAIN Training for ‘Automation and industrial Slutons Page 4 SP-FA-ZWS SINAMICS $120 a Volatile and Non-Volatile Memory Offline Online [9% Open project target Save project PG/ PC Copy RAM to ROM ‘Save parameters ram 83 puiiks Reboot atonal SINAMICS CU SEPAZWS renauece 6120 [SITRAIN Training for A ‘and Industrial Solutions Page 5 ‘SP-FA-ZWS SINAMICS $120 Automatic request to save data pcs 2 Earn ch Te reves —] ony Rant to ROM (GRAM data in PF) (Copy RAM io ROM, Part = 110, 14,12 (all RAM data in Filo 1.12) Copy ROM to RAM: 009 = 30, parameter reset Pare = 1,2, 10592, (20:26) all arametars| Pare = 100 ony ICO Drive Object Copy RAM to ROM Port=7 ot one Object in PF SIEMENS eer) Notes PFA: User data P10, 11, 12: Customer SSITRAIN Training for ‘Automation and Industral Solutions Page 7 SP-FA-ZWS SINAMICS 8120 ro<———— sees [euFiemware 8 @ sowwncs [Ebaobn 138 anne] Saw ean [Wor components Osc ——_, 5 @owra aa | So rases User data |B seres rtoo 9k0_Bkmap SUR BQ sinamics, en cone oe + =e BD owa—7—— [Parameter ile parameter Data on the Compact Flash Card ‘re grouped as follows: “USER ‘the user data SIEMENS the system data SIEMENS -eeeere ers veo Notes SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industial Solutions Page 8 SINAMICS $120 Load project to target device +All project data to al trast devices 2 rive unit (Le. addr 4) Gomi Git laste & > rve unit2 (ie: addr. 8) fain oc o Sepel 3 SimoTION a5) [lesan + With / without copy RAM to ROM SBRSES! hinsertsinge dive # GENAMIS sid Si Atonsteconigration > Overview > Caniguaton > Toxo <== Load project to target device eee + Drive unt of the project as marked asewiocntan’ > dive unt 1 beara A Load to PG swt tr POM B Load to target device as Jo winiuinetsiey <= C Restore factory settings (p976=1) aco eee] D Copy RAM to ROM RT Scrat ssnauics 20 Notes SITRAIN Tralning for ‘SP-FA-ZWS ‘Automation and industrial Slutons Page 9 SINAMICS $120 mes Saving and defaulting parameter sets fight mouse key eeepc Sihcrgtone at eb Snwncsie oe cpecetoraen ‘complete drive unit, right mouse key right mouse key Individual drive objects ight mouse key SIEMENS Feterop veo Copy RAM to ROM This function saves the volatile data in a non-volatile Compact Flash card memory on the Control Unit. This way the data are preserved after switching off the 24 V supply of the Control Unit This function can be activated by: + Options ~ Settings > Download > After loading, copy RAM to ROM. ‘This way the data are transferred into the non-volatile memory at each "Load to target system" via the button “Load project to target system’. + Right mouse click on the Drive Unit > Target device > Copy RAM to ROM + Drive Unit greyed out > Button “Copy RAM to ROM" Load to target device This function loads the actual project in STARTER into the Control Unit. The data are loaded in the work memory of the Control Unit geladen and subsequently a resets initiated. With exception of the button “Load project to target system" and activated “Copy RAM to ROM" the data must subsequently be saved to the non-volatile memory with the function “Copy RAM to ROM”. This Diese Funktion kann aktiviert werden durch: + Right mouse click on the Drive Unit > Target device > Download to target device * Drive Unit greyed out > button “Download” + Allprojects in all Drive Units simultaneously: button "Load project to target system™ SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industial Solutions Page 10 SINAMICS $120 cpa POT! CUR20 by itself PS76977 sllonjects [Rese ee partes [Save ave cect parameters RST Sirti ismancs si va Load to PG This function loads the actual project in the Control Unit into STARTER. After that itis possible offine e.g. to enter changed component order numbers in the con- figuration. This function can be activated by: + Right mouse click on the Drive Unit > Target device > Load to PG + Drive Unit greyed out > button ‘Load to PG" Factory settings This function restores all the parameters to their factory setting in the Control Unit work memory. To also restore the data on the Compact Flash card to the factory settings, a “Copy RAM to ROM" must be performed. 'SITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutons Page 11 SINAMICS $120 ade ofthe the caer tof the eet plied nent of exh kon ding ONLINE noe, sdenent/dene * ‘Ser OME me Sear nts yan tn rat tn, te pc dian be PCPS ta tte pet othe cet sed te tage stm. * ng gn OLNE nade Eee sc ay etn toe ta or be crete a ‘Te dace nero sted ve Garg CALNE nk Thee ocerectn tat dks, Sseetanet tem > Sele te dees nee terete Gece wih wir acimeion obese CRANE ae ‘Spt OLDE rode Hon, tek rend bat poet ta te PPS ep a ste te ag ten forteeemat. They can Ue PCPS roto be put oan te a ten Ps es tor erste: * Gelert at ech terest hOUNE i feat wc em do te tt in eg. 1 rt danced fm tee ta tthe APS, aa was cro tsa adc coerce ttt et st hea ary rosters, oust sete et agin and ad he row eat rete sean. net OLDE ode, bt te de bw the cel eet wh hs Res scan, i ar | Kae ote dhe he FGPCisceet to enarehte ape son + fret dhe tts 09 sro praetettinte RGEC and cr nt te stem Tipo die, 29. Di cbs ech erent ONE mc, ae bes the PRC ae amt othe ssn te age gs, THs ety ot the aanelesn OF crcecteniae dest rst tsen UNE me SIEMENS —eeweree v9 Consistency check: - When going ONLINE the project consistency is checked. Its checked whether the configured objects of the project are present and connected. Ifthe consistency check is successful, the object icons in the Project Navigator are coloured green. When a fault occurs, the icons are coloured red. Inconsistency can be e.g. diferent parameters, hardware faulty or not present. In the Project Navigator, a coloured connector symbol is represented in front of ‘each respective element. Fix for inconsistency + Save project and load in the target device again + Compare the ONLINE parameters with the OFFLINE values in the Expert list of the object SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industrial Solutions Page 12 SINAMICS $120 a Expert functions 1(2) add new list savelist edit ist ere) eas) << ot ee indication access ‘screen level t LF. user defined hex generate bin DB for PLO SRFAgWs /eNAuics 6129 Notes SSITRAIN Training for ‘Automation and Industral Solutions Page 13 ‘SP-FA-ZWS SINAMICS $120 Expert functions 2(2) SR Fc ag ‘parameter with data set assignment SIEMENS eed Notes SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Soluons Page 14 SINAMICS $120 ~_ Parameter comparison [satel ey Sle! lori Bee [eco] Wea] Puanen ia |osasee] IF Nong sxesnoto p80 Sarma m 1 Destvoeantes (endo Soe) meee F Sets siniee SIEMENS eee veo Notes SP-FAZWS SITRAIN Training for Automation and Industrial Solitons Page 15 SINAMICS $120 Hands-on ___ Exercises for SINAMICS $120 Let’s just do it... the lab for you SIEMENS a swawcs s120 Notes SITRAIN Training for SP-FAZWS Automation and Industial Solutions Page 16 SINAMICS $120 Hands-on Schematic of the exercise set-up atk SINAMICS $120 192.168.111.120 PGIPC: 192.168.111.99 192.168.111.100 = RPT TS Scratws ssnauics siz0 veo Page 17 Procedure 4. Install the CBE 20 into the $120 2. CBE 20 firmware must have been installed on the $120 Flash Card 3. PG interface to Ethernet (i this has not already been done) 4, Configure the drive on the CBE20 5. Assign an IP address for the drive 6. ONLINE function with Starter from the SIMATIC Manager Note ‘After mountingfinstalling the CBE 20 - cyclic master — slave data transfer via PROFIBUS between the drive and ST is no longer possible. 'SITRAIN Training for SP-FA-ZWS ‘Automation and Industrial Solutions Page 17 SINAMICS $120 Hands-on Training station S120 SIEMENS Fe Notes [SITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industial Solutions Page 18 SINAMICS $120 SIEMENS Bie vo - nse vescrtpeten = Firma REeS os ee Btsertpeton Biter sssPipton iesieine sencurenene MiteglMebue rexe dese speton fiscdl enemas nasbefeary Staflan idee] lSnebis fesossearY Erenc idee] terenus Sepository Spanish Mised) tnebad Mebodseory Seteen WiscelNanascs Repos teary chinese eteatiegre cusz0 Cee es Resasftery ftattan fReporitery Sperizh Flash Card Firmware V 2.4 of CBE 20 must be copied onto the $120 Flash Card. 'SITRAIN Training for ‘Automation and Industial Solutons Page 19 SP-FA-ZWS SINAMICS $120 Hands-on A Assigning an Ethernet address (STEP DR iy [Device ype | Devise name TsETeBTTTTOO -GeaDorSsEoaF S790 PIO TS21BI1101 08000699750 MISTS in IBT. Spot. tsateB TINA oDOESTERA7ES INC SCALANCES ISZIEBTITTIO OOOESCADERAF INC Sealince ¢ 182168 111.120 0B00573C21E SINAMICSS SINANICS ISZIGRTILID3 OBODOSSDGFSE IE/PELik | IEPELKR TSZIGRTILITT 064005938903 SIMATICHMI OPI77B iret LL sronzns rsaauacs sic0 ri Comment For a booted CU 320 (Control Unit) the IP address is set to 0.0.0.0. Because the network ID must match the address of the PG, then to start, a suitable IP address must be assigned for all Ethemet nodes. Procedure 4. Todo this, open STEP 7 and via the menu bar in your project, go to the command Target system > Assign Ethernet address... 2. Inthe menu: Assign Ethernet address click on the Search button A\lof the IP addresses of the Ethernet nodes are then read-out and displayed. 3. The booted CU 320 (CBE 20) has the IP address 0.0.0.0 4, The LINK LED ofa selected node is made to flash using the Flash button. Ifthe $120 has been selected, then the RDY LED flashes green/orange alternating. Note After you have assigned the IP addresses, for SINAMICS CU 320 you must stil assign a device name that must be subsequently entered into the S7 hardware configuration. Caution After a power-ON reset of the CU 320 these settings remain SITRAIN Training for SP-FAZWS ‘Automation and industrial Solutions Page 20, SINAMICS $120 sree SIEMENS Note SINAMIC $120 cannot be automatically entered into the SIMATIC Manager using the hardware configuration. This is the reason that the drive must be inserted into the S7 project using the menu bar: Insert/Prograr/SINAMICS. ‘SP-FAZWS Page 21 SINAMICS $120 ICWaneser [Solution Partner V1? ZA67.Prajlution] HUEFORWOP By steeeain @ seven SIEMENS Beers Notes SSITRAIN Training for SP-FA-ZWS ‘Automation and Industral Solutions Page 22 SINAMICS $120 SIEMENS (etetoeed Configuration CBE The CBE20 must now be configured in the new STARTER project: ONLINE in STARTER V4.0. After STARTER has opened, therefore go ONLINE with the icon displayed, Auto configuration Because the factory reset was carried-out in the drive, “Automatic configuration" should be started ONLINE. This means that the CU 320 reads-out [uploads] all data of the connected modules (motor, encoder, power module..) via DRIVE-CLIQ and saves this data on the memory card. ‘At the same time, the automatically determined ONLINE data are then downloaded into the OFFLINE project. SITRAIN Training for ‘SP-FAZWS ‘Automation and Industral Solutions Page 23 SINAMICS $120 / DisiG Biel > Naish fly OLN seth atenrgis) Sener iacniracinaeal foresee lssrort ose oe Mose tes SIEMENS Beene Configuring DDS The lower motor (blue disk) in your training case is not directly connected to the motor module via DRIVE-CLiQ. This is the reason that all of the motor object data must be communicated to this CU 320 via the DDS configuration. Note This parameterization only works OFFLINE in the STARTER project - and must then be downloaded into the drive after completion. SITRAIN Training for SP-FA-ZWS SINAMICS $120 ‘Automation and Industal Solutions Page 24 Hands-on Es, Configuring the controller structure ane [Bowsiepeatacete) =] Oeteateradtentirs——) | a a RST TS sents senamcs 20 Notes 'SITRAIN Training for ‘SP-FAZWS ‘Automation and Industral Solutions Page 25 SINAMICS $120 Hands-on g the power unit (Motor Modulejy iy Tee 3kraa aT seraciis /smamcs s1z0 vio Configuring the Here, the power unit (Motor Module) identifies itself. For this reason, select the power unit recommended type (with grey background) and acknowledge this input using the "Continue" button. SITRAIN Training for ‘SP-FA-ZWS SINAMICS $120 Automation and Industrial Solutions Page 26 Fa etnon tio [ena eoershaten [zhemings mata Ensign Be RPT T Sores ssnamcs size veo Infeed ‘The Motor Module must know from which time onwards the line infeed has completely charged the DC link. Otherwise during the pre-charging the electric ower of the motor would flow via the pre-charging resistors. In the training case, the ready signal of the line supply infeed: (Infeed operation) is connected to the first digital input of the TB30 (Terminal Board) and is available for the CU 320. Using BICO technology, the CU 320 is told to send this ready signal for the infeed to the Motor Module (Servo 3) via the DRIVE-CLiQ connection. This means that the power unit is only enabled after the line supply infeed pre- charging operation and only then can output the electrical power from the DC link into the motor. Note This parameterization must be repeated for the other Motor Module (Servo 2) that Is connected to the CU 320 via DRIVE-CLIQ. SITRAIN Training for SP-FA-ZWS ‘Automation and Industal Solutions Page 27 SINAMICS $120 Hands-on am se 30006050 ta Tah Power unit Shexns /ennucs 5120 reer fe ie Matinee Nt DEC ee 1 Warde abso ercen Tissene [reson [emi =] This menu can be considered as an introduction window for configuring the motor and encoder data. You can see that only the motor and encoder data of connection (port) X2 can be entered as the Motor Module has itself read-out (uploaded) the necessary motor and encoder data via the DRIVE-CLIQ connection. Picze::datenaustause YZurammentarsurg ‘Aruieb: SERVO_03,005 0 Konfigurieren Sie ce Leistungstelanschlise fut da Double Motor Module GSL3120ZTETZOAMN (Ln =3A/2A] © Anschluss > verwendet von SERVO_02 Motor: Motor SMIL9 TPK7OZ2 AK 7H AL © fansch Motor configuration The motor data required are entered here. The motor is selected using the following steps - “Selecting a standard motor from the list” and “Selecting a motor type" For Siemens motors, the Order No. (1FK7022...) can also be entered. For third Party motors, you must individually enter the appropriate motor data. SITRAIN Training for ‘Automation and industrial Scutons SP-FA-ZWS Page 28 SINAMICS $120 SIEMENS —evetaeee Without holding brake If a motor holding brake is being used, then the CU 320 can activate an automatic. brake sequence control. ‘The motors of the training case do not have any holding brakes; this is the reason that you should select the option "Without holding brake”. Motor encoder The motor encoder type must be specified here - so that the CU 320 can correctly evaluate the motor encoder signals. For Siemens synchronous servomotors, you can read-out the motor encoder type from the last position but three of the motor Order No. Frden ausgavbiten Listener etehen ie unin auépelstaten Geber 2ur Vefigung. ‘Wahlen Si Uber oie Motor MLFB den zugehaigen Geber aus. ‘Auswahl Motorgeter: Typ (Bestel) TFK?anvensecsi—EnDat abs TFKTacooeecGee — ErDat absolut 1FK2waroooerstiee — EnDat absolut 1EK7woccoeix ——-EnDat abscht TFK7anooxSkk Resolver TFKrawnooexTie Resolver SITRANN Training for SP-FAZWS. ‘Automation and Industrial Solutions Page 29 SINAMICS $120 Hands-on Wn Si don PROFIBUS Tene SIEMENS Berges) Configuration This defines how the internal enable signals are set. By selecting “Free telegram configuting with BICO (899)" prevents unknown PROFIBUS signals from being connected to important enable signals using BICO. Summary Exit your DDS configuration by pressing the button “Finish. SITRAIN Training for SP-FA-ZWS, ‘Automation and Industral Solutions Page 30 SINAMICS $120 SIEMENS (eeeryerceee) Summary Exit your DDS configuration by pressing the button “Finish” SITRAIN Training for ‘SP-FAZWS ‘Automation and industial Solutions Page 31 SINAMICS $120 | lesa sf | 8sh ef) x) salen |) | | Xidxel|} ]) wale leaf) |] | eB) snes siz 1 8 Eradotre tft ef snacs si > Uowsce > teetortin > Tendboe malo SIEMENS Introduction Opening the parameter list P210 to 345V Note Caution The line supply voltage is only 220 V and not 3-ph 400 V in the training case. This is the reason that now, for each axis, the equipment supply voltage must be reduced from 600V to 345 V, 4. With a righthand mouse click on your drive data, open the window Expert/Expert list. The complete parameter list of your axis is then opened. 2. Now select the P210 and enter the “Value 345" (220 x SQRT(2)). Do not forget to also repeat this operation for the DRIVE-CLIQ motor. Otherwise, for diferent parameter values of a multi-axis Motor Module, the complete parameter set would not be able to be downloaded into the CU 320. If - after re-configuring the drive data set - the parameter set cannot be downloaded into the drive it is extremely important to carefully check P210 in all drives SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industral Solutions Page 32 SINAMICS $120 — Connecting the infeed run signal to the = mee DRIVE-CLiQ motor v0 one 38 Introduction Just like other servomotors, you can carry-out the required BICO interconnection also using the DDS configuration. Itis simpler if you directly connect this signal to the first digital input of TB30 in p864 under Diagnostics/Interconnections. Save + download Now save your completed project on the hard disk, go ONLINE and download it into the CU 320. SITRAIN Training for ‘SP-FAZWS ‘Automaton and Industrial Soluons Page 33 SINAMICS $120 Procedure Caution & ete [Coca el_X Rafe) fe nell) _|j saleolenfe || F] | <1 —_|} 25] ala 1 1 B stn Powter Dans De ten woven ne inten side, ier Vaptg tm ope Ladevapig ate? Nadeem ade rch OMe SREKEWS /SNAMICS 8120 41. From your configured offline project, go ONLINE to your drive. 2. Now downioad your offne project into your drive (after having successfully ‘made a comparison between the online / offine configuration. 3. Now start the download operation. To be on the safe side, in “STARTER’ close all windows of the drive objects. he Farka on SMCS, $12 DYEUSS ae echo ‘upschaten rp Fae Ueetioce nade shar On lee Unenctee [coos Fro [seRv0£2( TOSwst jr. CTOSaNOSL) servo coc Tosest ares ACTOSeYeSt ) ‘Warde Urchin ih ebosichen. shar de GireDaiehng ule se ogi ach enLodeneeZipid_| Utercvoben do Daten in Zep Ladenine Pm» | Otescheban de: Dunn kt SSITRAIN Training for ‘SP-FA-ZWS ‘Automation and Industal Soltone Page 34 SINAMICS $120 Hands-on Online / offline comparison are Deegan SMES, 1290/0108] weet shone ett nuh tener [5 ror ora a oor see a Yoswves aun, TeSere) ee Se Ulan pan ha de ueaieg ve ne Shinde ee aD Cetera) ttn am Zod Revesi eeE eal LewinPOi= | Onder dOamn nPop Fa] hee do ibe Salsa —— Le RTT Stent senamcs sx0 Note Observe any information and alarm messages that are displayed and that may have to be acknowledged, for example Stale Melig leformation \Verbrcungsaufnahme aum Gerat WICROMASTER_T Fehler Fehler bei der Vesbindungsaufnahme 2um Gert MICROMASTER_1" Information Verbindungsauinahme 2um Gerat SINAMICS_$120" Fehler Fehler bet Mit Zelystmn verbinden Fehler Fehler bein Verbindung:aufbau,ubeprfen Sie bite ive Schritsteleneinstelungent {rt = Orbe 60028) Ste Making a Trforation em Information SSINAMICS_$120: CLIO-SolT opcioge wid hochgeladen. Inéormation SINAMICS_S120: CLIQ4et plage wid hochgeaden.. Information SINAMICS_5120: Antiebsobiekt SINAMICS_S120 wurde hochgeladen. Information SINAMICS_S120: CUL_S_004: Antiebsobjekq SINAMICS_S120: CU_S_O04 verde hochgeleden leformation SINAMICS_5120: SERVO_02:Aniebsabjekt SINAMICS_S120: SERVO_02 wurde hochgeladen, leformaton SINAMICS_$120: SERVO_03: Antiebsabjekt SINAMICS_5120: SERVO_O3 wurde hochgeladen. Gevat [Beticbszustand MICROMASTER_1.NICROMASTER_420 OFFLINE SINAMICS_S120CU_S 004 [NO] Betiebsbereit SINAWICS_S120SERVO_02 143] Einschatspere - "BB/AUS3" = "I" seizen [p0848, pOE4S) SINAMICS_$120.SERVO_03 [43] Einschatpere -"BB/AUS3" = "I" setzen [p0848, p0E4S) SITRAIN Talnng for SP-FA-ZWS Automation and Indust! Solvvons Page 35 SINAMICS $120 SIEMENS Moving the drive Control panel Control panel Ba pinto si [s Sos iw Tate chabert Sina IWAUST mt (egrets ste (0) In order to find out whether the configuration matches the hardware connections - and therefore that the drive can run - you can enter the enable signals and the ‘speed setpoint in the with PG control authority. Go ONLINE to your CU 320. 1. Now open the control panel of your drive that you wish to operate using the command: Drives/Servo_0x/Commissioning/Control panel. 2. Fetch the control authority to your PG 3. Enter all of the enable signals with the exception of OFF1 (set the checkmark) via the PG 4, Enter a speed setpoint 5. Start the motor. With the scaling, you can now change your speed setpoint as a percentage from 0% to 200%. SITRAIN Training for SP-FA-ZWS ‘Automation and industrial Solutions Page 36 SINAMICS $120 Hends-on Loo «i [:00aeniaieen [nsconveastra =] eae ———————— oy od [a [Span RTP TES Screws sonamcs sx [SITRAIN Tralning for SP-FA-ZWS: ‘Automation and Industrial Solutions Page 37, SINAMICS $120 Hands-on Expanding the hardware configuration aK aa SIEMENS (eee PROFINETIO After you have installed the GSD file in STEP 7, the CBE-SINAMICS-PROFINET file appears under PROFINET IO/Drives/SINAMICS. ‘You can now drag this SINAMICS $120 fle to the PROFINET network and parameterize in the usual way. SITRAIN Training for ‘SP-FA-ZWS ‘Automation and industrial Solutons Page 38 SINAMICS $120 Hanée-on a ers a pat teen atc eas ae tee SIEMENS eter Note Caution, enter the same device names here as you used when assigning the IP address of the drive. Here, check the IP address of the drive. If the address does not match then it must be adapted (also refer to node registration) 'SITRAIN Training for SP-FA-ZWS ‘Automation and industrial Solutions Page 39 SINAMICS $120 © © eunsinsu/oen 1 © 1 As2pan/ oe 2 @ saus9paun/0er) 2 © testtenoe OE) frounventars 1 rests ED ae SS OBL: “Main Progray fkoumencar= ° (© fina sacri nis OE 11 © changeit (nn EF 2 O Rewvet a 18, © Napssanets Sb hea Er) 14 © Nets Ele (nnn) 15. Resend SIEMENS —eeroeetrer) Notes eH r= war vortereung, $120 — aschation, Provider, Demo Wearbetungsstranse\CPU 315-2 PN/0P\ST-AnpL= 1] x) EG isi teste ign Zevymen foe Ach Ext Ferme le lel | dlelel a) 2 [lel ole) x) iF 2] x2l| ofr | eile] al] [4] Operena | Symton ‘ance | Statushert ‘Steuenwert ir] MiW_120/"S120_Sieverwor? TEN 2eO10-TOO-1ATTCATTT [2] Mw" 120 “S120, Stevenwor HEC WaTBHBCEF f>] Maw" Siz0-Solerenzanr” ~~ HEX” w160@00 [a] iM i2.0-Wi2t-oEN AUST ool ggimue fs] Wii-1 sido Ken AUS?” BO0L Iiue fo] wai Miata Kein Algae fz] wo iziaiwniats [a] 1214152124 Hochiafeeber F200. Imizue fa] w i215. "121-5 Mochiauigeber St i200L vue i i di = Hq M1200 "W200 resenvent™ TBOOL irae Z 14M 120.1/"M120_1_reserviert™ |BOOL iiifalse fig 1202 sti20"2.ronrang PLC 1800 ifave fw i703 “i282 Rchtingsur iM 1204"Ui20Aresenien® —BOOLalse iq M_ 120.6/°M120_5 Motorpoti_plus” —'BOOL jiitrue i. 12038 5120.6 Motorpct_minus* (800. fe Fed 20.720" BOO Ifase ei i i ‘Soliton Prone DenslBembehingsirasel.157 [> NINE — ya >=e52 [| SITRAINTrsning for ‘SP-FAZWS ‘Autometion and industil Solutions Page 40 SINAMICS $120 Gi rome free pevietn mayen mace Fee [s) sis] MobiceedemeL Taras tnsecioare | MORO Season] F tee Veet Tegemannst Sucoarepemt@ >] fete oe | Oe! Ga}e fe[ Vota | wows [TTT la re ee] v2 a cosforam a] wos Tawa g was SetAus sswaiecs S20 ves Notes Pca x aaeniemeeiamem el irate costar toe sais rate rete g Soe tree —_—__ 1211 | Olcsfeal Sf x [Role@) ole] x] Pea] nel] Srfar | a Operand | Symbol fanzei| Statuswer Stauewer Fe] ww _120'°S120_steverwor™ BN) 2OMDSATOOLIITICINTT [a] wv 126)"Si20_Steverwort”” HEX” WHTGRBCFR is] 120s HEX” werero400 [aw i21.0;-wi2i-0 ei AUsi* ~~~ Soo gue [5] M_421.1:"W12i_1 Kein AUS? BOL live [5] M_121.2"Wi21_2 Kein AUS" ~\BOOL Igliue Iz] Betiebsteigabe” SOOL fine [a] M_121.4/"wi21_4 Hochlautgeber_F8OOL fmliue [a] Mt 121.6/°0121_5 Hochiautgeber St GOOL flirue [iq 18 M1218 Derharahisol fe] M121 7121-7 Cuil storungen’ |BOOL fue [id lid 30-0 resenier™ fq M120.1 "i20_ i reserve BOL tase ‘aise fg M_ 1202/4120 2 Fohrung PLC* 18001 flue fl 1 [if M120.4 5020-4 reserve fi M_1205;"w120_5 Motors plist | 6 Matorpot 120.7: 94120_7_reservier? O01 [tase [SITRAIN Ting for ‘SP-FAZWS ‘Automaton and Inustial Solutions Page 41 SINAMICS $120

Вам также может понравиться