AG053013 SmartLinx PROFINET instruction and use ... The PROFINET master sets the PROFINET Device...
Embed Size (px)
Transcript of AG053013 SmartLinx PROFINET instruction and use ... The PROFINET master sets the PROFINET Device...
Siemens Canada Limited Siemens Milltronics Process Instruments
1954 Technology Drive, P.O. Box 4225 Peterborough, Ontario K9J 7B1 / Canada
Tel.: (705) 745-2431 Fax: (705) 741-0466 www.siemens.com/sensorsystems
SmartLinx PROFINET instruction and use Objective: Show the user how to configure and use a PROFINET SmartLinx communication module.
While every effort was made to verify the following information, no warranty of accuracy or usability is expressed or implied. All hardware and software in this document is not supplied or supported by Siemens. Use of the described equipment in this document is at the user’s discretion. Siemens holds no responsibility for such use. PROFINET is an open standard controlled by PROFIBUS/PROFINET INTERNATIONAL. More information is available on the web site at www.profibus.com.
Specifications Application: • Compatible with a master device on a PROFINET bus Compatible Devices: • Milltronics BW500 • Milltronics BW500/L • Milltronics SF500 Communication Settings: • IP address & PROFINET Device Name (configured over the network via a PROFINET master) Connection: • RJ45
Installation The SmartLinx module is either shipped already installed in the Siemens Milltronics device or separately for on-site installation. Refer to the operating instructions of your Siemens Milltronics device for details on module location and physical installation.
Compatibility For the SmartLinx PROFINET card there are different hardware and software configurations available depending on the equipment used.
Software Compatibility For the SmartLinx card to work, the firmware of the device must be greater than or equal to the firmware listed in the chart below. Milltronics BW500/L 3.13.04-00 Milltronics BW500 3.13.04-00 Milltronics SF500 3.13.04-00
SmartLinx PROFINET AG053013 2 of 23
APPLICATION GUIDE Retrofits If you are upgrading an older SmartLinx device with a new SmartLinx communication protocol, new firmware is required on the device for proper operation. Contact the factory for the latest firmware version.
Hardware Compatibility Install the SmartLinx card so that the mounting holes align and the pin connectors will mate correctly. Correct cable routing is important for electromagnetic noise suppression. Follow the routing instructions contained your device operating instructions.
Operation Communication on the PROFINET link is indicated by the SmartLinx LEDs.
# Description Comment 1 Application Connector 2 Ethernet Connector 3 Anybus Watchdog - Consult the general Anybus-S Parallel Design Guide for further information. 4 Status Indicators - These LEDs indicate run time status and errors to the user, see below.
SmartLinx PROFINET AG053013 3 of 23
APPLICATION GUIDE Status Indicators Link (Activity)
Network Status: This LED indicates the number established ProfiNet connections to the module. The number of established connections is equal to the number of flashes on this led.
SmartLinx PROFINET AG053013 4 of 23
APPLICATION GUIDE Activity: The Activity LED flashes green each time a packet is received or transmitted.
Communication Setup The SmartLinx PROFINET module is a slave on the bus, and does not use any Siemens Milltronics device parameters for default configuration. Other settings are provided in the GSDML file or are automatically detected. NOTE: If the default block sizes are changed in P762 this will effect the default configuration block sizes.
GSDML File PROFINET master devices require a configuration file for each slave device on the network. This file configures the master for the capabilities and limitations of the slave. For the SmartLinx PROFINET module this file is: • BW500, BW500/L, SF500, GSDML-V2.3-HMS-ABSPRT-20130121.gsdml The file is supplied on the documentation disc that is shipped with the module. It can also be downloaded from Siemens Service and support website: https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objID=18230899&subtype=133100 The SmartLinx card was manufactured by HMS, and the GSDML file uses the HMS manufacturer's ID number.
Address The PROFINET master sets the PROFINET Device Name and IP Address. This function can be called different things in different Masters. For the TIA Portal you go through an online function called ‘Accessible devices’ to find the ABS-PRT, and then you set the PROFINET Device Name and IP Address. NOTE: For the PROFINET master to recognize the slave, the card must be connected on the same sub-net as the PROFINET master. Setting the network mask on your PC to 0.0.0.0, will ensure that your configuration software will be able to find the card.
SmartLinx PROFINET AG053013 5 of 23
Configuring the Slave Device Use the configuration software (or any equivalent master commands) to configure the slave. Refer to the information that came with the PROFINET master. The Siemens Milltronics device appears as a modular type slave, and should be configured as shown below. After you import the GSDML file, you can find the hardware in the hardware catalogue. If you are using TIA Portal, go to Other field devices > PROFINET > General > HMS. • select ABS-PRT. Then pick the modules to add up to the correct number of total input and then the output bytes. The data size of the input and output modules is dependent on P762. The following instructions assume that P762 is set to the default values shown in the chart on page 7. BW500, SF500 • 34 words input which is 68 bytes of data. You would choose, one Input 064 bytes and one Input 004 bytes modules • 19 words output which is 38 bytes of data. You would choose, one Output 032 bytes, one Output 004 bytes, one Output 002 bytes modules. • read and write data as 16-bit words (see Data Types) The figure below shows this in TIA Portal:
BW500/L • 23 words input which is 46 bytes - requires modules of size 32 + 8 + 4 + 2 • 10 words output which is 20 bytes - requires modules of size 16 + 4 • read and write data as 16-bit words (see Data Types) Notes: • Data is read and written with the most significant byte (MSB) first. • The address and size of the Reads and Writes in the PLC must match the Siemens Milltronics device (see above). If the PLC size is smaller than the Siemens Milltronics size, an error will be displayed and only the first portion of the data will be read.
SmartLinx PROFINET AG053013 6 of 23
APPLICATION GUIDE • PROFINET diagnostic bytes are not supported, however, some diagnostic information can be accessed via reading and writing the data areas. See Application Layer.
Map Element Selection P762 Map Element Selection parameter P762 allows you to select what elements to include in the Input and Output Tables. By selecting only the data required, you can reduce the amount of data being transferred over the bus. Notes: • P762 should only be modified by an advanced user who wants to limit the amount of data being transferred. See the Profibus DP SmartLinx operating instructions 7ML19981AQ03 Appendix A – Reducing the amount of data being transferred over the Bus for more details. • Changes do not take effect until after a power cycle. The chart below gives the default values for this parameter. If the default values are used then the configuration and Data Maps in the main body of this guide remain correct. If any of these values are changed, then the Data Maps will be shortened, and the configuration will change. Please see the Profibus DP SmartLinx operating instructions 7ML19981AQ03 Appendix A for details on how to use P762.
SmartLinx PROFINET AG053013 7 of 23
SmartLinx PROFINET AG053013 8 of 23
Module Identification Parameters P794 and P795 are used together to identify the module type and protocol used. P794 SmartLinx Module Type (Read only) Identifies the module used.
P795 SmartLinx Protocol (Read only) Identifies the protocol used: the value varies according to the module, and whether it is a type 1 or type 2.
BW500, BW500/L, SF500 AB RIO 1 72 PROFIBUS DP 2 1 DeviceNet 2 37 PROFINET 2 132 MODBUS TCP/IP 2 131 EtherNet I/P 2 131
P634: Communication Totalizer Resolution Parameter P634 is used to set the number of fixed decimal places for Total 1 and Total 2 for SmartLinx communication.
SmartLinx PROFINET AG053013 9 of 23
Web Server The SmartLinx PROFINET module has an on-board Web server for Network configuring or hosting a custom web site. Viewing the network settings on the Web server. Open your web browser and enter the IP address of the SmartLinx PROFINET module on your network. The default IP address for the SmartLinx module is http://192.168.0.1 Make the desired network changes to your configuration and select the ‘save’ button to store the configuration.
Custom Web site The SmartLinx PROFINET module will allow the user to create a customer web site for the module. Download from the site using a standard FTP connection to the module. The user name for