background image

5 Display / WBM Configuration

85

IE/AS

INTERFACE LINK PN IO 

as of hardware version 1, as of firmware version V2.0

 

Release 08/2018

C79000

G8976

C216

03

5.2.14

Navigation “AS-i Line 1 −> Configuration”

5.2.14.1 Status

Keypad/Display

AS-i line 1  >  Line status  >

Protected  >  enable / disable
Autoprog.  >  enable / disable
Offline  >  “Online” / “Offline”

System error (image of the “SF” LED (line))
Configuration error (image of the “CER”

LED)

AS-i powerfail (image of the “APF” LED)
Short to ground

The functions “Protected” (protected mode or configuration mode), “Autoprog.”
(autoprogramming) or “Offline” are enabled, if the relevant check box is selected
(enable with “OK”). Exit the menu with “ESC” after enabling/disabling the functions.

WBM: “Status” Tab

Summary of Contents for SIMATIC NET IE/AS-INTERFACE LINK PN IO

Page 1: ...a GSDML File 6 Data Exchange between PROFINET IO Controller and AS i Slave 7 Using the Data Record Interface 8 Diagnostics 9 Dealing with Problems Error Displays 10 Anhang AS Interface Protocol Implemen tation Conformance Statement A References B Notes on the CE Label C Glossary D Index SIMATIC NET IE AS INTERFACE LINK PN IO as of hardware version 1 as of firmware version V2 0 Release 08 2018 C790...

Page 2: ...severe personal injury will result if proper precautions are not taken Warning indicates that death severe personal injury can result if proper precautions are not taken Caution with warning triangle indicates that minor personal injury can result if proper precautions are not taken Caution without warning triangle indicates that damage to property can result if proper precautions are not taken No...

Page 3: ...technical description and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens This product can only function correctly and safely if it is transported stored set up and installed correctly and operated and maintained as recommended Before you use the supplied sample programs or programs you have written yourself make certain tha...

Page 4: ...nnot be precluded entirely we cannot guarantee full agreement However the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions Suggestions for improvement are welcomed Disclaimer Copyright E Siemens AG 2006 2008 All rights reserved The reproduction transmission or use of this document or its contents is not permitted without express written autho...

Page 5: ...ludes several corrections We recommend the following procedure If you want an overall picture of the AS Interface First read the AS Interface Introduction and Basic Information manual not part of this documentation package This contains general information about the AS Interface abbreviated to AS i in the following chapters If you want to set up an AS i system and include the IE AS i LINK in it Yo...

Page 6: ...m the Internet at the following link http support automation siemens com WW view en 23742537 Symbols used in the manual You will find this symbol in Chapter 5 where it is used to identify the description of menu sequences on the display and keyboard FAQs You will find FAQs on Siemens AS i products on the Internet on the Service and Support pages of Industry Automation at the following address http...

Page 7: ...lug 24 1 9 Display and Control Elements 26 1 10 Settings when Using a Firewall 29 2 Procedure Configuration 30 2 1 What to do an Overview 30 2 2 Configuration Options 31 3 Getting Started Commissioning with STEP 7 32 3 1 Commissioning the IE AS INTERFACE LINK PN IO 32 3 1 1 Requirements 32 3 1 2 Procedure 33 4 Keypad and Display 36 4 1 Configuration and Modes 37 4 2 Buttons and Working in the Menu...

Page 8: ...2 9 1 IP Configuration 66 5 2 9 2 Events 68 5 2 9 3 E mail 69 5 2 9 4 SNMP 70 5 2 9 5 Time Synchronization 71 5 2 10 Navigation Industrial Ethernet Ports 73 5 2 10 1 Ports 73 5 2 10 2 FDB forwarding database 74 5 2 10 3 ARP Address Resolution Protocol 74 5 2 11 Navigation Industrial Ethernet Statistics 75 5 2 11 1 Throughput 75 5 2 11 2 Packet Type 76 5 2 11 3 Packet Size 76 5 2 11 4 Error 77 5 2 ...

Page 9: ... 113 7 2 2 Special Feature of AS i Analog Slaves 114 7 2 3 Special Features of AS i Safety Slaves 114 7 3 Transferring AS i Analog Values 115 7 3 1 Accessing AS i Analog Data using Acyclic Services 116 7 3 2 Special Situations in Analog Value Transfer 117 8 Using the Data Record Interface 118 8 1 Data Record Interface of the IE AS i LINK 118 8 2 Description of the AS i Line and AS i Slave Calls 12...

Page 10: ...Extended_ID Code_1 165 8 2 2 17 Read_Extended_ID Code_2 166 8 2 2 18 Read_Status 167 8 2 2 19 Get_Write_Parameter_Echo 168 8 2 2 20 Write_Analog_Output_Data 169 8 2 2 21 Read_Analog_Input_Data 170 8 2 2 22 Read_AS i_Slave_Errorcounters 171 8 2 2 23 Read_and_Delete_AS i_Slave_Errorcounters 172 9 Diagnostics 173 9 1 Overview 173 9 2 Interrupts 173 9 2 1 Remove Insert Module Interrupts 173 9 2 2 Diag...

Page 11: ...ne 2 devices of the IE AS INTERFACE LINK PN IO product line must be installed in an enclosure To comply with ATEX95 previously ATEX100a EN 60079 15 this enclosure must meet the requirements of at least IP54 in compliance with EN 60529 Warning When used under hazardous conditions S If the temperature of the cable or wiring entry point exceeds 70 C or the temperature of the connecting terminal on th...

Page 12: ...o be non hazardous S WARNING Explosion Hazard Substitution of components may impair suitability for Class I Division 2 or Zone 2 S This equipment is suitable for use in Class I Division 2 Groups A B C D Class I Zone 2 Group IIC or non hazardous locations Caution When handling and installing the IE AS INTERFACE LINK PN IO make sure that you adhere to the ESD guidelines Note The IE AS i LINK can be ...

Page 13: ... values and or analog values The following AS i slaves can be used Standard slaves analog slaves combi slaves Slaves with the extended addressing mode Slaves with data transfer mechanisms complying with the AS i specification V3 0 Combined Transaction Type CTT 1 5 Figure 1 1 Example of a System Configuration with the IE AS INTERFACE LINK PN IO double master Power supply Power supply When IE AS i L...

Page 14: ... for example addressing the AS i slaves I O test of all digital and analog slaves During operation you have detailed diagnostic information available on the display allowing a fault to be localized immediately when necessary The essential features are as follows S Single and double AS Interface master complying with AS Interface specification V3 0 for the connection of 62 AS Interface slaves per m...

Page 15: ...h GSDML file S using Web Based Management WBM S using the user program data record interface Supported AS i master profiles M1 M4 Connector for AS i cable single and double master over plug in screw contacts 4 pin Permitted current loading from pin 1 to pin 3 or pin 2 to pin 4 maximum 3 A LAN connectors 2 RJ 45 10 100 Mbps as equal switch ports with full duplex capability Setting of PROFINET devic...

Page 16: ... Receptacle for optional C PLUG Full graphics display and 6 control buttons 128 x 64 pixels 1 4 Approvals Table 1 2 Description of the Approvals c UL us UL 508 CSA C22 2 No 142 c UL us for hazardous locations UL 1604 UL 2279PT 15 CL 1 Div 2 GP A B C D T4 CL 1 Zone 2 GP IIC T4 CL 1 Zone 2 AEx nC IIC T4 FM FM 3611 CL 1 Div 2 GP A B C D T4 CL 1 Zone 2 GP IIC T4 Ta 0 60 C C TICK AS NZS 2064 Class A CE...

Page 17: ...l the IE AS i LINK on a standard rail DIN rail complying with EN 50022 Ground the DIN rail over as short a distance as possible and with low inductance If the rail is installed in a cabinet make sure that it makes good contact over a large area with the grounded mounting plate Installation on a DIN Rail If you decide to install a module on a DIN rail please note the following points 1 The module i...

Page 18: ...se 08 2018 C79000 G8976 C216 03 Convection Make sure that you leave at least 5 cm clearance above and below the module to allow heat dissipation Caution The DIN rail may only be installed horizontally The IE AS i LINK must be mounted vertically to ensure the required heat dissipa tion through the ventilation openings and at the top of the device ...

Page 19: ... AS i APF AS i power fail CER configuration error AUP autoprog available CM configuration mode ON AS i online LEDs IE AS i LINK SF system fault BF bus fault ON power LAN connector X1 independent switch port Power supply connector 24 V DC as alternative to supply over line 1 AS i line 1 connector AS i line 2 connector only with double master Display C PLUG optional Release catch for DIN rail mounti...

Page 20: ...g connectors S Two separate connectors for the AS i cable on double master S One connector for alternative power supply 24 V DC optional and functional earthing S Two RJ 45 LAN connectors as independent switch ports Power supply connector 24 V DC alternative AS i line 1 connector power supply from AS i line 1 AS i line 2 connector only with double master LAN connector 1 LAN connector 2 Figure 1 3 ...

Page 21: ... connectors for the AS i cables line 1 and line 2 Each is connected over a 4 pin plug with two and two contacts that are jumpered internally This allows the IE AS i LINK to be looped into the AS i cable Caution The permitted current loading of the AS i connection contacts is 3 A If this value is exceeded on the AS i cable the IE AS INTERFACE LINK PN IO must not be looped into the AS i cable but mu...

Page 22: ...s 320 mA at 30 V As an alternative the IE AS i LINK can be supplied by a separate power supply unit 24 V DC Power Supply from external Power Supply Warning The device is designed for operation with safety extra low voltage SELV This means that only safety extra low voltages SELV complying with IEC950 EN60950 VDE0805 may be connected to the power supply terminals The power unit for supplying the de...

Page 23: ...stance as possible LAN Connectors PROFINET IO PC with WBM As connectors for PROFINET and a PC or network there are two RJ 45 jacks recommendation 90 FC connector One LAN connector is intended for the PROFINET system the second LAN connector of the IE AS i LINK is used for example for configuration with Web Based Management and for diagnostics The two LAN connectors have equal status The IE AS i LI...

Page 24: ...e replacement without PG is therefore possible The C PLUG is accessible from the top of the housing The IE AS i LINK has internal memory for permanent storage of the configuration data of the basic device and the AS i slaves Replacing a module without a PG is however possible only with the C PLUG Inserting in the C PLUG Slot The slot for the C PLUG is on the top panel of the device To insert the C...

Page 25: ...tings the factory settings are stored on the C PLUG Using the C PLUG When using a C PLUG the following situations must be distinguished S Inserting an empty C PLUG The IE AS i LINK detects when a C PLUG is inserted and automatically writes the data of the internal memory to the C PLUG S Inserting a C PLUG of a different device type If you insert a C PLUG that is not intended for the IE AS i LINK t...

Page 26: ...l CER configuration error AUP automatic address programming CM configuration mode ON AS i status online offline Meaning of the IE AS i LINK LEDs LED color Status Meaning SF red System fault link The LED is lit in the following situations S In protected mode a diagnostic interrupt entering state was triggered on the PROFINET IO controller S The IE AS i LINK has detected an internal error for exampl...

Page 27: ...ave has different configuration data I O configuration ID code from the slave configured on the IE AS i LINK S The IE AS i LINK is in the offline mode AUP green Autoprog available In the protected mode of the IE AS i LINK module the LED indicates that automatic address programming of an AS i slave is possible The automatic address programming makes it much easier to exchange a defective AS i slave...

Page 28: ... buttons are located on the front panel of the IE AS i LINK Display The graphic display has a resolution of 128 x 64 pixels You configure the underlying AS i line using the keypad and the display This allows on site commissioning and diagnostics The following display appears after turning on the device and if there has been no input over the keypad for a longer period of time see Section 4 4 Figur...

Page 29: ...isplay Main Menu If you have selected an entry in the list displayed inversely a tooltip will appear after a brief time with further information on the entry does not occur in the main menu 1 10 Settings when Using a Firewall Please note the following when using firewalls Note When using a firewall access to the following ports must be permitted depending on the service being used S http Port 80 T...

Page 30: ...epeated especially when configured PROFINET nodes are not available on the PROFINET network Depending on the PROFINET controller and its settings it is possible that the communication cycle time is subject to significant fluctuations This scenario can occur during step by step commissioning of a PROFINET network Broadcast or multicast communication can be reduced by adapting the network configurat...

Page 31: ...1 Technical Description Installation Guidelines Operation 31 IE AS INTERFACE LINK PN IO as of hardware version 1 as of firmware version V2 0 Release 08 2018 C79000 G8976 C216 03 ...

Page 32: ...m into operation the following independent steps must first be worked through Write your user program with analog value access for the PROFINET IO controller Section 7 3 Configure the PROFINET IO controller with IE AS i Link as PROFINET IO device and AS i master Chapter 6 Configure a PROFINET IO system in HW Config of STEP 7 Putting into operation Chapter 3 Write your user program with binary valu...

Page 33: ...rnet Browser You can change the configuration of the IE AS i LINK check settings and access diagnostic data error list and statistics over one of the two LAN interfaces and WBM WBM provides more extensive functions compared with the keypad and display Configuration of the entire system S STEP 7 HW Config see Chapter 6 Basic total configuration of the system and programming and diagnostics using ST...

Page 34: ...mple illustrates just one of many options It guides you through the individual steps up to the commissioning of a IE AS i LINK single master The example is divided into the two following steps S Working with the IE AS i LINK no other aids necessary S Configuring and programming with the SIMATIC Manager PG PC with STEP 7 necessary 3 1 1 Requirements S The IE AS i LINK is installed and connected to ...

Page 35: ...nd programming with the SIMATIC Manager 1 Create a STEP 7 project on your PG PC in the SIMATIC Manager and include an S7 station with PROFINET IO controller 2 Open the hardware configuration HW Config of this station and insert a PROFINET IO system Note If you are using a version of STEP 7 lower than V5 4 SP3 you will first need to import the GSDML file of the IE AS i LINK Installation is describe...

Page 36: ...nu command Station Save and Compile 6 In the upper detailed window select the IE AS i LINK and Select the menu command PLC Ethernet Assign device name and assign the PROFINET device name in the dialog that opens This establishes a connection to the attached IE AS i LINK and downloads the PROFINET device name to the module 7 Select the menu command PLC Download to Module This downloads the configur...

Page 37: ...ware version 1 as of firmware version V2 0 Release 08 2018 C79000 G8976 C216 03 Result You have configured the IE AS i LINK created the corresponding STEP 7 configuration and a user program with which you can access the I O addresses of the AS i slaves from the programmable controller ...

Page 38: ...ample the requirements for editing Warning You can change the configuration of the IE AS i LINK during operation when there is a connection to the PROFINET IO controller or write process data of the real process The change in the configuration or to process data can trigger unexpected reac tions in the process that can lead to death serious injury or damaged property Consider the consequences befo...

Page 39: ...ed mode productive operation to configuration mode in the following ways S Keypad and display Description in Section 4 3 S Web Based Management AS i Line Configuration Status tab Clear the Protected mode check box S Data record interface Data record 17 Set_Operation_Mode In the configuration mode the IE AS i LINK can exchange data with every AS i slave connected to the AS i cable except for the AS...

Page 40: ...You make your entries using cursor buttons and the ESC and OK buttons illustrated in Section 1 9 The buttons have the following functions S right left cursor buttons Navigation within the menu structure and menu lists S up down Navigation in the menu structure and menu lists Changing alphanumeric characters S ESC button Exits the current menu you move up one level in the menu structure S OK button...

Page 41: ...o that a check mark appears or is cleared the value is already saved and you can exit the menu with the ESC button Example AS i line 1 Line status Protected Autoprog Offline S Navigation in lists AS i Line Lifelist Error List Slave Info You can navigate through the lists from one slave to the next with the up down cursor buttons You can navigate from one list to the next with the right left cursor...

Page 42: ... displayed SYSTEM is selected 2 Press three times The AS i Line 1 entry is selected Entry for a single master AS i Line 3 Press The Lifelist entry is selected 4 Press three times The Line status entry is selected 5 Press The Protected entry is selected The check box on the right of the row can have the following statuses Check box selected with check mark The module is in protected mode Check box ...

Page 43: ...3 Press once more The cursor is located in the editing box of the device name 4 Navigate with the cursor buttons and to the position you require 5 Select the required position with the cursor buttons and and enter the required letter or the number a z A Z 0 9 6 Repeat step 4 5 for each character you want to change 7 Confirm your entries with You return to the list with the first PNIO device name e...

Page 44: ...evision SW revision Revision counter Profile ID Profile type Version Supported array Function tag enter Location tag enter SYSTEM Configuration Timeouts Display enter time Backlighting enter time SYSTEM Configuration Language select SYSTEM Reset Restart Run a restart Clear reset module Clear reset module Reset to factory settings Set the factory defaults SYSTEM Errors Error display SYSTEM C PLUG I...

Page 45: ...s Output bytes number of sent bytes Ethernet Port 2 as for Port 1 IND ETHERNET IP Parameters DHCP disabled MAC address Device Name Client ID Change Client ID IP Set IP address Mask Set subnet mask GW Set gateway IND ETHERNET MAC address display MAC address PROFINET IO menu PROFINET Info Device name Change PROFINET device name IP address Controller Controller name PROFINET device name of controller...

Page 46: ...ansfer to slave AS i Line 1 Error List Display select slave and OK Statistics Reset error counters Slave failure Missing frames Bad frame Statistics Reset error counters I O Error protocol error Bad master frame AS i Line 1 Statistics Line statistics AS i power failures Short to ground Slave failure Missing frame Bad frame Peripheral error Protocol error Bad master frame Reset counters Reset all c...

Page 47: ...puts outputs Status Statistics Reset all counters Slave Failure Missing frames Bad frame Statistics Reset all counters I O Error Protocol Error Bad master frame String transfer Write string transfer to slave AS i Line 1 Change addr Change slave address AS i Line 1 Change ID1 Set ID1 only for slave 0 AS i Line 1 Act Conf Adopt Act Conf AS i Line 1 Address help enable disable SYSTEM AS i Line 2 Stru...

Page 48: ...ted by rhe symbol shown on the left For some functions in the pages of Web Based Management WBM there is no corresponding function when configuring with the display Warning You can change the configuration of the IE AS i LINK during operation when there is a connection to the PROFINET IO controller or write process data of the real process The change in the configuration or to process data can tri...

Page 49: ...IE AS i LINK with which the IP address can be assigned by the PROFINET IO controller In this case the IP address of the device is overwritten when the PROFINET IO controller starts up To be able to access the IE AS i LINK using WBM you require a PC with an Internet Browser We recommend that you use the Microsoft Internet Explorer Version 6 0 or higher As an alternative other browsers can also be u...

Page 50: ...s proxy server for local addresses in Tools Internet Options LAN Settings is selected errors may occur the first time you load the WBM In this case click Update Note When using a firewall port http Port 80 TCP must be open to allow use of WBM Depending on the other services being used access to other ports must also be possible You will find an overview in Section 1 10 Starting WBM To start WBM en...

Page 51: ... the Login button The default for both name and password is admin The name cannot be modified Notice You should therefore change the password Section 5 2 4 The module clear reset function or resetting to factory defaults also resets the password Note If you do not log in you will not be able to make changes If no input is made for more than 10 minutes default you will be logged out automatically Y...

Page 52: ...ge Setup or in Tools Internet Options Advanced Print S Language list box Select the required language for the display The following languages are available English German French Spanish Italian When you start WBM the program checks the language setting of the computer and opens the start page with the language set on the computer assuming this language is available in WBM Note Changing configurati...

Page 53: ...6 C216 03 5 2 Configuration and Diagnostics 5 2 1 Navigation System System Configuration 5 2 1 1 General Keypad Display SYSTEM Configuration General PNIO device name Change Hardware Firmware Boot software Order number Serial number MAC address WBM General tab This tab displays the general device data and you can set various system values ...

Page 54: ...ftware Here you can see the version of the boot software The boot software is used to load new firmware Firmware Displays the firmware version of the device Hardware Displays the hardware version of the device PNIO device name Enter the PROFINET device name in this box The device registers itself with this name for example during establishment of the PROFINET IO connection by the PROFINET IO contr...

Page 55: ...ion and for maintenance purposes You can also assign a plant specific function tag and location tag for the IE AS i LINK Keypad Display SYSTEM Configuration I M Manufacturer ID Order ID Serial number HW revision SW revision Revision counter Profile ID Profile type Version Supported array Function tag enter Location tag enter WBM I M tab Identification Maintenance Parameter Meaning Function tag Fun...

Page 56: ...er time SYSTEM Configuration Language select WBM Settings Tab Parameter Function Automatic logout If no operator input is made for the time set here the operator is automatically logged out Go to Start page If no operator input is made for the time set here the device display switches to the Start logo display Turn off backlighting If no operator input is made for the time set here the backlightin...

Page 57: ...i LINK During a warm restart the PROFINET IO connection is terminated and established again and there is an offline online change on the AS i line This takes about 10 seconds Clear reset module Click this button to reset the module to the factory configuration settings You will be asked to confirm Clear Reset module in a separate dialog The module remains accessible because the following protected...

Page 58: ...erver to the IE AS i LINK You can also download new firmware from a file from your computer or a TFTP server 5 2 3 1 HTTP Hypertext Transfer Protocol WBM HTTP tab Parameter Function Configuration file Here you enter the name and if necessary the directory path of the configuration file that you want to download to the IE AS i LINK in which you want to save the current configuration information As ...

Page 59: ...INK the module is automatically restarted 5 2 3 2 TFTP Trivial File Transfer Protocol To use this service port 69 of the relevant server must be opened WBM TFTP tab Parameter Function TFTP server IP address IP address of the TFTP server with which you want to exchange data TFTP server IP port Port of the TFTP server over which data exchange is handled Configuration file Name maximum 255 characters...

Page 60: ...n change the password Possible length 1 to 30 characters Note Default password when supplied admin Parameter Function Current password Current password New password New password Confirm password Repeat the new password Note If you have forgotten your password you can reset to the factory settings in the display of the IE AS i LINK by clearing resetting or resetting and then access WBM again with t...

Page 61: ...le To help in this situation WBM provides a simulated display of the LEDs The Device Display shows the LEDs of the IE AS i LINK with the same colors as on the device The status as shown here is the status when the WBM page is opened To display new changes click on Refresh or Refresh Cyclically The meaning of the LEDs is explained in Section 1 9 If all the slaves were deleted in the configuration o...

Page 62: ...r calling the Delete diagnostic buffer function with OK you are prompted to confirm this action with OK WBM Diagnostic Buffer Tab In this table all events are listed in the chronological order in which they arrive The latest entry is at the start of the table and the oldest at the end The buttons have the following functions S Refresh Refreshes the diagnostic buffer The latest entry is at the high...

Page 63: ...ry Note If the IE AS i LINK is synchronized with a time server the current time is displayed Otherwise the time since the last startup is displayed Event Display of the diagnostic buffer entry 5 2 6 2 Events WBM Events Tab In this tab enable or disable the following message in the listed events S Message by E mail S Message by SNMP trap S Entry in the diagnostic buffer The E mail and SNMP trap opt...

Page 64: ...the device If a valid C PLUG is inserted the menu provides information on the configuration data stored on the C PLUG You can move the configuration from the internal memory to the C PLUG and vice versa Keypad Display SYSTEM C PLUG Info display of the C PLUG status Internal Memory C PLUG move C PLUG Internal Memory move After calling the Move Configuration and Delete Diagnostic Buffer functions wi...

Page 65: ...type of the C PLUG file system Size Shows the maximum storage capacity of the C PLUG file system Currently in use Shows the storage space in use in the C PLUG file system C PLUG information string Shows information about the device of the SIMATIC NET the product line that previously used the C PLUG for example order number type designation version of hardware and software string display box Move c...

Page 66: ...8 C79000 G8976 C216 03 5 2 8 Navigation System Internet WBM Internet tab The link brings you to an Internet page with more information on the IE AS i LINK Parameter Function Information on the Internet This button link brings you to further information on the Internet at http support automation siemens com WW view en 22504489 ...

Page 67: ...nge an IP parameter existing Ethernet connections are terminated Note When shipped SNMP is enabled When shipped no IP configuration IP address subnet mask and default gateway is set Notice If the IP address is assigned by a DHCP server it is possible that the link will not be accessible for brief periods when short IP address lease times 5 minutes elapse Notice Remember that there is a setting in ...

Page 68: ...f the currently enabled option disabled MAC address device name or client ID disabled No assignment of the IP address by DHCP server MAC address Assignment by DHCP server identification of the link using the MAC address Device name Assignment by DHCP server identification of the link using PROFINET device name if this is configured Client ID Assignment by DHCP server identification of the link usi...

Page 69: ...y occupied the connection to the IE AS i LINK is aborted Enter the previous address in the Internet browser to restore the connection Subnet mask Here you enter the subnet mask of the IE AS i LINK Default Gateway Here you enter the address of the default gateway DHCP Enables disables the function with which the IE AS i LINK searches the network for a DHCP server If a DHCP server is found the confi...

Page 70: ...bles the sending of an E mail when the corresponding event occurs To use this service port 25 of the relevant server must be opened Trap Enables disables the triggering of an SNMP trap when the corresponding event occurs To use this service port 162 UDP of the relevant server must be opened Diagnostic buffer Enables disables the saving of the event in the diagnostic buffer The E mail and SNMP trap...

Page 71: ...E mail alarm messages arrive the sender is identified and the browser starts WBM to read out further diagnostic information The requirements for sending E mails are as follows S The E mail function on the IE AS i LINK is enabled and the E mail address of the recipient is configured S The E mail function is enabled for the relevant event S there is an SMTP server in your network that can be reached...

Page 72: ...etwork management stations at the same time Traps are sent only for events that were specified in the Events tab The IE AS i LINK supports SNMP V2 Parameter Function Enable SNMP Enables disables the SNMP function SNMP read only Enables disables write protection for SNMP variables Read Community String Editable display of the user name for read access to SNMP variables Write Community String Editab...

Page 73: ... be opened The default port is port 123 WBM Time Synchronization tab On this page you can set the method for time synchronization if you intend to use it The time is used for time stamping of the diagnostic events Parameter Function Current system time Here either the time since the last restart or the current time is displayed If no time is received Not synchronized is also displayed Enable time ...

Page 74: ... SIMATIC If you choose the SIMATIC time transmitter you do not need to make any further settings S Manual An input box opens in which you can set the current time The time is then kept with quartz accuracy If you turn the device off or reset it this information is lost and must be set again Set time zone Select the required time zone SNTP server IP address Here you enter the IP address of the SNTP...

Page 75: ...e IE AS i LINK Type Interface type on the IE AS i LINK type TP 100 TX Mode Displays the transmission mode set by autonegotiation and made up of the transmission rate 10 or 100 Mbps and the transmission method full duplex FD or half duplex HD Possible values 10FD 10HD 100FD or 100HD Desired Mode Displays the desired mode on the IE AS i LINK always AutoNegotiation in other words negotiation of the t...

Page 76: ...e entry MAC Address MAC address of the connection partner Port LAN interface of the IE AS i LINK Status Display of the assignment status here always dynamic 5 2 10 3 ARP Address Resolution Protocol WBM ARP tab The ARP table specifies the assignment between the LAN interface port and the MAC address and the IP address of the last connection partner The assignment on the IE AS i LINK is always dynam...

Page 77: ... data traffic and any network problems that might occur 5 2 11 1 Throughput Keypad Display IND ETHERNET Info Ethernet Port 1 Link see Section 5 2 10 1 Mode see Section 5 2 10 1 Input bytes number of received bytes Output bytes number of sent bytes Ethernet Port 2 as for Port 1 WBM Throughput Tab Parameter Function Port LAN interface of the IE AS i LINK 1 or 2 Bytes in Number of received bytes Byte...

Page 78: ...NK 1 or 2 Unicast Number of packets to the unicast recipient address Multicast Number of packets to the multicast recipient address Broadcast Number of packets to the broadcast recipient address 5 2 11 3 Packet Size WBM Packet Size Tab received packets sorted according to length This page displays how many packets of which size were received If you click on an entry the Graphic statistics Packet S...

Page 79: ...f you click on an entry the Packet Error Statistics graphic is displayed You then see a configurable graphical representation of the counter value Parameter Function Port LAN interface of the IE AS i LINK 1 or 2 CRC Number of packets with a valid length but bad checksum Undersize Number of packets that were too short with valid checksum Oversize Number of packets that were too long with valid chec...

Page 80: ... AR status online offline Controller Controller status RUN STOP Update time ms PROFINET Error WBM Status Tab Parameter Function PNIO device name Displays the PROFINET device name of the link Controller IP address Displays the IP address of the PROFINET IO controller Controller name Displays the PROFINET device name of the controller Connection status Display of the connection status online offline...

Page 81: ... i line 2 With a single master the line number is not displayed 5 2 13 1 Lifelist Keypad Display AS i Line 1 Lifelist displays all detected slaves Description of the follow on menus as of Section 5 2 14 2 WBM Lifelist Tab Parameter Function 0 A 31 A 1B to 31B Addresses of the slaves 1 31 slave 0 reserved If you have A B slaves these are displayed extra in a second table Status Displays the status ...

Page 82: ...re indicated by x in the error list You will find more information on the errors of the individual slaves in Section 5 2 15 1 AS i Line 1 Statistics Line statistics AS i power failures Short to ground Slave failure Missing frame Bad frame Peripheral error Protocol error Bad master frame Reset counters Reset all counters The Line statistics list displays all the error types and the total number of ...

Page 83: ...d marked red AS i Power Fail Number of power supply failures on the AS Interface AS i short to ground Number of ground shorts on the AS Interface Show Enables disables the display of the corresponding error Error Shows how many errors of this type occurred see Section 8 2 1 14 The following errors are listed S Slave failure S Missing slave frame S Bad slave frame S Slave I O error S Slave protocol...

Page 84: ...IO as of hardware version 1 as of firmware version V2 0 Release 08 2018 C79000 G8976 C216 03 Parameter Function Quotient Shows the proportion of a specific error type compared with the total errors as a percentage Reset The Reset button resets the counters ...

Page 85: ...tus Protected enable disable Autoprog enable disable Offline Online Offline System error image of the SF LED line Configuration error image of the CER LED AS i powerfail image of the APF LED Short to ground The functions Protected protected mode or configuration mode Autoprog autoprogramming or Offline are enabled if the relevant check box is selected enable with OK Exit the menu with ESC after en...

Page 86: ...ay AS i Line 1 Lifelist Display select slave and OK Config Change configuration Parameter Change parameters Bin I O Change binary Inputs outputs Analog Change analog inputs outputs Status Statistics Reset all counters Statistics Reset all counters String transfer Write string transfer to slave or AS i Line 1 Slave Info Display select slave and OK Config Change configuration Select a slave with the...

Page 87: ...S i Line 1 Act Conf Adopt Act Conf With this function you adopt the detected actual configuration of the slave as the configured configuration on the IE AS i LINK WBM Total Configuration Tab The page is divided into two areas and includes all A and B slaves detected on this line S Detected Here you can see all the slaves detected on this line including their detected configuration display boxes S ...

Page 88: ...s In the Detected area you can see the current parameter bits in the Configured area you can configure the parameter bits When the AS i slaves are activated the configured AS i parameters are transferred to them IO Display configuration of the IO code of an AS i slave ID Display configuration of the ID code of an AS i slave ID1 Display configuration of the extended ID1 code of an AS i slave ID2 Di...

Page 89: ...ave and OK Statistics Reset error counters Slave failure Missing frames Bad frame Statistics Reset error counters I O Error protocol error Bad master frame Slaves on which an error has occurred are indicated by x in the error list Select a slave with the cursor buttons Pressing OK opens the Statistics list You can open the second Statistics list with the right cursor button You can reset the error...

Page 90: ...M Diagnostics Tab This page displays all the relevant data of the selected slave Parameter Function Detected If the slave is detected a check mark is set here IO Display of the IO code of an AS i slave ID Display of the ID code of an AS i slave ID1 Display of the extended ID1 code of an AS i slave ID2 Display of the extended ID2 code of an AS i slave ...

Page 91: ...hows how many errors of a type have occurred The following errors are listed S Slave failure S Missing slave frame S Bad slave frame S Slave I O error S Slave protocol error S Bad master frame Some errors occur in tandem for example slave failure missing bad slave frames Note To find out which error messages the slave supports refer to the slave data sheets Reset With the Reset button you can rese...

Page 92: ... controller is connected the values are overwritten again immediately Keypad Display AS i Line 1 Lifelist display select slave and OK Config Change configuration Parameter Change parameters Bin I O Change binary Inputs outputs Analog Change binary inputs outputs or AS i Line 1 Slave Info Display select slave and OK Config Change configuration Select a slave with the cursor buttons in the Lifelist ...

Page 93: ...ges remain only until the PROFINET IO controller starts up There is then a restart with the configured parameter values If the PROFINET IO controller is connected the values are overwritten only when the controller next starts up Keypad Display AS i Line 1 Lifelist Display select slave and OK Config Change configuration Parameter Change parameters or AS i Line 1 Slave Info Display select slave and...

Page 94: ...ansfer Calls can be transferred to the slave with the String Transfer function The messages returned by the slave are displayed Note Note that changes remain only until the PROFINET IO controller starts up If a PROFINET IO controller is connected the values are overwritten again immediately Note Not all slaves support string transfer To find out which functions your slave supports refer to the dat...

Page 95: ...button opens the follow on menu in which you can change the values Exceptions The Status and Statistics menus have no display function Change the values with the up down cursor keys To transfer the changed values to the slave press the OK button WBM String Transfer Tab Parameter Function Command You can choose from the following calls S Read_Identification_String with profile 7 4 S Read_Diagnostic...

Page 96: ...ge Address Tab On this page you can change the addresses of the individual slaves Parameter Function Old slave address Select the slave whose address you want to change New slave address Select the new slave address you want to assign to the slave the free addresses are displayed 5 2 16 2 Change ID1 Keypad Display AS i Line 1 Change ID1 Set ID1 only for slave 0 WBM Change ID1 Tab Parameter Functio...

Page 97: ...Automatic Addressing If you select this option a new slave added to the AS i line with AS i address 0 is assigned the next free address Disable this option once you have connected all required slaves Keypad Display AS i Line 1 Address help enable disable WBM Automatic Addressing Tab Parameter Function Automatic addressing Enables disables addressing support ...

Page 98: ...h the help of the GSDML file Warning You can change the configuration of the IE AS i LINK during operation when there is a connection to the PROFINET IO controller or write process data of the real process The change in the configuration or to process data can trigger unexpected reac tions in the process that can lead to death serious injury or damaged property Consider the consequences before you...

Page 99: ...S SIMATIC STEP 7 SIMATIC S7 S SIMATIC NCM PC The relevant functions for configuring the IE AS i LINK are identical in STEP 7 and NCM PC The STEP 7 functions described below also apply to NCM PC To configure with the GSDML file STEP 7 V5 4 or higher is required GSDML file When configuring with a third party product or optionally with STEP 7 you have to import the module specific data of the IE AS i...

Page 100: ...T IO Gateway IE AS i Link PN IO GSD V1 0 V2 0 Functions that depend on the PROFINET IO controller The configuration of the Ethernet ports and the topology supported by firmware version 2 0 of the IE AS i LINK can only be used if the link is connected to a PROFINET IO controller with enhanced diagnostics capability for example with an S7 400 CPU with firmware version V5 0 or higher When configuring...

Page 101: ...uring the IE AS i LINK Placing the link in the PROFINET IO system 4 Select the IE AS i LINK in the catalog of HW Config in PROFINET IO Gateway IE AS i Link PN IO 6GK1 411 2ABx0 V1 0 or V2 0 The IE AS i LINK is available as double master order number 2AB20 or as single master order number 2AB10 5 Placing the link in the PROFINET IO system In the lower part of the configuration table the modules are...

Page 102: ... the following slots are assigned placeholder modules for 62 A B slaves AS i addr of the I O modules 1A B 2A etc With a double master the number of the AS i line is preceded by square brackets AS i addr 1 1A 1 B 1 2A etc With a double master the placeholder module 31B is followed by the proxy for AS i line 2 with the name 2 This is followed in turn by the placeholder modules for the 62 slaves of l...

Page 103: ...for the IP cycle Setting the number of update cycles with missing I O data Configuring ports Port 1 and Port 2 This function is available on the IE AS i LINK as of firmware version V2 0 When you double click on row 3 or row 4 AS i addr X1P1 or X1P2 in the configuration table opens the properties dialog of Port 1 or Port 2 of the LAN interface of the IE AS i LINK You can set the following parameter...

Page 104: ...f the essential master data of the module Entering a comment S Addresses tab Setting the diagnostic address of the AS i line S Packing Here you can pack the address areas reserved on the link for the AS i slaves Reducing the size of the address areas optimizes the memory available on the controller In the default assignment with placeholder modules an area of 1 byte is reserved for each I O module...

Page 105: ...us diagnostic interrupts see also Section 9 2 2 Line diagnostics AS i powerfail short to ground I O error Configuration diagnostics extra slave Address programming Here you can enable or disable automatic or manual address programming for the underlying AS i line see also Section 10 1 6 2 2 Configuring and Assigning Parameters to the AS i Slaves Configuration of the I O modules for the AS i slaves...

Page 106: ...onfiguration of the I O module in this tab Figure 6 2 The Properties Dialog of an AS i Slave Configuration Tab and open Slave Selection Dialog You can select the I O module to be used in two different ways Module drop down list box This contains the following slave types The AS i placeholder AS i Standard Slave Universal AS i A B Slave Universal Siemens modules arranged according to order number ...

Page 107: ...s Unused addresses are grayed out depending on the type of slave being used You can change displayed start addresses over the keyboard Digital addresses Reserve max address space option This option is relevant if you want to pack the address area of the AS i line on which this module is located later see also Section 6 2 1 Configuring Properties of the AS i Line Packing Enable this option if you w...

Page 108: ...ration are transferred to the IE AS i LINK again every time the PROFINET IO controller starts up and that you have documented the configuration of the AS i slaves in your STEP 7 project Configuration also means use of less I O addresses S Diagnostic addr tab Setting the diagnostic address of the AS i slave Selecting the I O modules If you do not want to adopt the default assignment of the IE AS i ...

Page 109: ...es dialog click the Browse button to select the path and GSDML file you want to install 5 Select the file in the list and confirm with the Install button 6 Complete installation with the Close button 6 3 2 Configuring the IE AS i LINK Placing the link in the PROFINET IO system Select the IE AS i LINK in the hardware catalog of HW Config with PROFINET IO Gateway IE AS i Link PN IO and place it in t...

Page 110: ...already have priority in the AS i slave settings configured on the IE AS i LINK module Parameter Assignment for the IE AS i LINK By double clicking on the IE AS i LINK icon in the PROFINET IO system you open the properties dialog of the IE AS i LINK Here you can set the following parameters S General tab Here you can assign the PROFINET device name and the device number enable the option Assign IP...

Page 111: ... Properties dialog has three tabs available in which you can set the following properties S General tab Here you can change the name of the module S Addresses tab Here you can change the start addresses of the inputs and outputs S Parameter tab Here you can change the IDs of the I O modules I O Code ID Code ID1 Code ID2 Code The I O and ID codes set the type and length of the data for specific sla...

Page 112: ... modules for digital or analog values with inputs and or outputs in sizes between 1 byte and 4 words are available For each AS i slave that occupies more than 4 bits for example analog slaves you can reserve I O address space by selecting a suitable analog module For a two channel analog input slave for example the analog module Ana Slave 2 words I is suitable To configure the slave modules open t...

Page 113: ...ter This chapter contains the information you require to access the AS Interface from the IO controller via the IE AS i LINK The transfer of the following data is described S Digital values and analog values using the cyclic PROFINET IO services S Analog values and data records using the acyclic PROFINET IO services Real time communication RT is supported as of version 1 of the IE AS i LINK ...

Page 114: ...FINET IO controller AS i slave 2 AS i slave 1 AS i slave n ÍÍÍÍ ÍÍÍÍ ÍÍÍÍ ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ AS i slaves ÍÍÍ ÍÍÍ ÎÎÎ ÍÍÍ ÍÍÍ ÎÎÎ ÎÎÎ ÍÍÍ ÍÍÍ ÎÎÎ ÎÎÎ PROFINET AS Interface IE AS i LINK Cyclic services Read analog values with data record Write analog values with data record Write digital and analog values Acyclic services Read digital and analog values Interface to the PROFINET IO controller PROFINET IO...

Page 115: ...e bits of the AS i slave depends on the selected type of configuration Access when the GSDML file or STEP 7 is used for configuration unpacked If you configure with the GSDML file or use STEP 7 to configure access to the digital data without packing is byte oriented One byte is assigned to every AS i digital slave The assignment of the AS i terminals AS i digital slaves to the data bits of the ass...

Page 116: ...dress assigned to the slave When accessing the digital bits of the AS i slave there is however no I O error 7 2 2 Special Feature of AS i Analog Slaves If you use slaves complying with CTT 1 5 the I O bits may be used for special transfer functions For more detailed information refer to the documentation of the relevant AS i slave The following applies to these protocol bits S In the input directi...

Page 117: ...ed by the IE AS i LINK In this case the analog value transfer must be implemented by the user program Analog data is accessed in SIMATIC S7 using word commands Example If you have configured a module Ana Slave 2 words AI with I O address 256 for a slave you can access the second analog channel of the slave with the STEP 7 command L PIW 258 If you have configured a module Ana Slave 1 word Q with I ...

Page 118: ... cyclic data transfer the acyclic services of PROFINET IO allow special jobs to be used for sending output data to the IO devices or receiving input data of the IO devices The acyclic services are used on the IE AS i LINK for the data record interface see Chapter 8 Access to analog data using acyclic services can be selected for example to save I O address space on the SIMATIC S7 In the default co...

Page 119: ...s the AS i master supplies 0x7FFFH as the substitute value 7 3 4 to 7 3 7 7 3 B to 7 3 F 7 4 1 to 7 4 F 7 A 9 7 A 8 ID1 6 7 A 8 ID1 7 7 A 5 and 7 5 5 and B A 5 if you have analog input With analog slaves complying with the following profiles the AS i master supplies 0x0000H as the substitute value 7 3 0 to 7 3 3 7 3 8 to 7 3 A 7 A A 7 A 8 ID1 3 4 5 7 A 5 and 7 5 5 and B A 5 if you have transparent...

Page 120: ... response of the AS i master completely from your user program AS i calls are read and written using the acyclic services of PROFINET IO You can do this in the user program of the PROFINET IO controllers with the RecordDataRead read data record and RecordDataWrite write data record services PROFINET IO controller AS i slave 2 AS i slave 1 AS i slave n ÍÍÍÍ ÍÍÍÍ ÍÍÍÍ ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ AS i slaves ÍÍÍ ...

Page 121: ...2 53 For PC IO Base programming interface pnio_ _read write ID I O address or diagnostic address of the required slot of the IE AS i LINK S Call to an AS i line Here you specify the I O address or the diagnostic address of the required line slot 0 or 100 as a HEX value S Call to an AS slave Here you specify the I O address or diagnostic address of the required AS i slave slot 1 63 or 101 163 as a ...

Page 122: ... length of the data sent with write data record is specified depending on the call Make sure that you select an adequately large buffer The buffer may be larger than the number of bytes used S Data Defines the address of the send receive buffer in the user program Return value The return values of the AS i LINK can be evaluated by the user program in SIMATIC S7 with the system function block SFB52...

Page 123: ...ended ID1 code 0AH The AS i slave address cannot be set 0BH The AS i slave address cannot be stored permanently 21H The AS i slave address is incorrect 22H The AS i slave is not activated not in LAS 23H Error on the AS Interface 24H The call not permitted in the current status of the AS i master 25H An AS i slave with address 0 exists 26H The AS i slave has illegal configuration data I O or ID cod...

Page 124: ...the master profile M4 of the AS i master specification The IE AS i LINK can be configured completely by the PROFINET IO controller using calls Which calls can be executed can be found in the following two tables S Table 8 4 lists the calls for the AS i line level S Table 8 5 lists the calls for the AS i Slave level S Table 8 6 contains the calls for the AS i slave level that are supported only by ...

Page 125: ...ead 85 Entire configuration LAS CDI parameters flags Section 8 2 1 5 Set_LPS_PCD_PP_Flags Write 86 Entire configuration LPS PCD parameters flags Section 8 2 1 6 Set_Operation_Mode Write 17 Mode Section 8 2 1 7 Set_Offline_Mode Write 18 Mode Section 8 2 1 8 Change_Slave_Address Write 20 Slave addresses Section 8 2 1 9 Set_Auto_Addr_Enable Write 21 Mode Section 8 2 1 10 Write_Extended_ID Code_1 Writ...

Page 126: ...6 Read_Extended_ID Code_2 Read 35 ID2 code Section 8 2 2 17 Read_Status Read 80 Status of the AS i slave error flags Section 8 2 2 18 Get_Write_Parameter_Echo Read 81 Parameter echo value Section 8 2 2 19 Write_Analog_Output_Data Write 82 Analog output data of the AS i slave Section 8 2 2 20 Read_Analog_Output_Data Read 83 Analog input data of the AS i slave Section 8 2 2 21 Read_AS i_Slave_Errorc...

Page 127: ...tten only to the C PLUG Existing value are overwritten in other words the parameters of all AS i slaves are configured In the factory setting the bits of the AS i slave parameters on the AS i master all have the value 1 The RecordDataWrite service index 7 does not contain any user data For information on parameters and the IDs of the Configuration I O configuration ID code ID1 code and ID2 code 5 ...

Page 128: ...list of permanent AS i slaves LPS When this call is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart on the AS i master This call is not made in the protected mode Note If you use CPUs from the SIMATIC S7 system as the PROFINET IO controller then dependent on the configuration in STEP 7 these may send a complete AS i slave configuration to...

Page 129: ...ure of the RecordDataWrite service Index 12 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 Slave 7 7A Slave 6 6A Slave 5 5A Slave 4 4A Slave 3 3A Slave 2 2A Slave 1 1A Slave 0 0A 3 Slave 15 15A Slave 14 14A Slave 13 13A Slave 12 12A Slave 11 11A Slave 10 10A Slave 9 9A Slave 8 8A 4 Slave 23 23A Slave 22 22A Slave 21 21A Slave 20 20A Slave 19 19A ...

Page 130: ...0 20A LAS slave 19 19A LAS slave 18 18A LAS slave 17 17A LAS slave 16 16A 5 LAS slave 31 31A LAS slave 30 30A LAS slave 29 29A LAS slave 28 28A LAS slave 27 27A LAS slave 26 26A LAS slave 25 25A LAS slave 24 24A 6 LAS slave 7B LAS slave 6B LAS slave 5B LAS slave 4B LAS slave 3B LAS slave 2B LAS slave 1B LAS slave 0B 7 LAS slave 15B LAS slave 14B LAS slave 13B LAS slave 12B LAS slave 11B LAS slave ...

Page 131: ...6B LPS slave 5B LPS slave 4B LPS slave 3B LPS slave 2B LPS slave 1B LPS slave 0B 23 LPS slave 15B LPS slave 14B LPS slave 13B LPS slave 12B LPS slave 11B LPS slave 10B LPS slave 9B LPS slave 8B 24 LPS slave 23B LPS slave 22B LPS slave 21B LPS slave 20B LPS slave 19B LPS slave 18B LPS slave 17B LPS slave 16B 25 LPS slave 31B LPS slave 30B LPS slave 29B LPS slave 28B LPS slave 27B LPS slave 26B LPS ...

Page 132: ...FFLINE_READY 7 reserved Meaning of the Flags Flag Meaning CONFIG_OK This flag is set when the desired configured and actual configuration match LDS_0 This flag is set when an AS i slave exists with address 0 AUTO_ADDR_ASSIGN This flag is set when the automatic address programming is possible in other words SET_AUTO_ADDR_ENABLE 1 and there is no incorrect slave connected to the AS i Interface AUTO_...

Page 133: ... OFFLINE This flag is set when the mode is to changed to OFFLINE or this mode has already been adopted AUTO_ADDR_ENABLE This flag indicates whether the automatic address programming is enabled BIT 1 or disabled BIT 0 by the user Ground short The flag is set when there is a short to ground on the AS i cable EPROM_OK This flag is set when the EEPROM of the device is OK ...

Page 134: ...Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 LAS slave 7 7A LAS slave 6 6A LAS slave 5 5A LAS slave 4 4A LAS slave 3 3A LAS slave 2 2A LAS slave 1 1A LAS Slave 0 0A 3 LAS slave 15 15A LAS slave 14 14A LAS slave 13 13A LAS slave 12 12A LAS slave 11 11A LAS slave 10 10A LAS slave 9 9A LAS slave 8 8A 4 LAS slave 23 23A LAS slave 22 22A LAS slave 21 21A LAS slave 20 20A LAS slave 19 19A LAS...

Page 135: ... 1B ID_CODE slave 1B 77 ID1_Code slave 1B ID2_Code slave 1B 78 I O configuration slave 2B ID_CODE slave 2B 79 ID1_Code slave 2B ID2_Code slave 2B 136 I O configuration slave 31B ID_CODE slave 31B 137 ID1_Code slave 31B ID2_Code slave 31B 138 Reserved 0x00 Parameter slave 1 1A Parameter 2 2A Parameter 3 3A 139 P3 P2 P1 P0 P3 P2 P1 P0 Parameter 30 30A Parameter 31 31A 153 P3 P2 P1 P0 P3 P2 P1 P0 154...

Page 136: ...1 Flag 2 Bit Number Meaning Bit Number Meaning 0 CONFIG_OK 0 PERIPHERY_OK 1 LDS_0 1 DATA_EXCHANGE_ACTIVE 2 AUTO_ADDR_ASSIGN 2 OFFLINE 3 AUTO_ADDR_AVAIL 3 AUTO_ADDR_ENABLE 4 CONFIG_MODE 4 Ground short 5 NORMAL_MODE 5 EPROM_OK 6 APF 6 reserved 7 OFFLINE_READY 7 reserved The meaning of the flags is the same as in the Get_LPS_LAS_LDS_LPF_Flags job Section 8 2 1 4 ...

Page 137: ...master starts up S The flags that determine the operating status of the AS i master following start up Note If you use CPUs from the SIMATIC S7 system as the PROFINET IO controller then dependent on the configuration in STEP 7 these may send a complete AS i slave configuration to the IE AS i LINK during startup Use of the call described here is then generally unnecessary Exceptions There are some ...

Page 138: ...e 19B LPS slave 18B LPS slave 17B LPS slave 16B 9 LPS slave 31B LPS slave 30B LPS slave 29B LPS slave 28B LPS slave 27B LPS slave 26B LPS slave 25B LPS slave 24B 10 I O configuration slave 0 ID_CODE slave 0 11 ID1_Code slave 0 ID2_Code slave 0 12 I O configuration slave 1 ID_CODE slave 1 13 ID1_Code slave 1 ID2_Code slave 1 72 I O configuration slave 31 ID_CODE slave 31 73 ID1_Code slave 31 ID2_Co...

Page 139: ... 1 LDS_0 1 DATA_EXCHANGE_ACTIVE 2 AUTO_ADDR_ASSIGN 2 OFFLINE 3 AUTO_ADDR_AVAIL 3 AUTO_ADDR_ENABLE 4 CONFIG_MODE 4 Ground short 5 NORMAL_MODE 5 EPROM_OK 6 APF 6 reserved 7 OFFLINE_READY 7 reserved In the table the rows of the flags whose values change the mode of the AS i master CONFIG_MODE AUTO_ADDR_ENABLE are shown in white The values of the other flags gray in the table have no significance for ...

Page 140: ... AS i slaves in which there are differences between the expected and actual configuration are also activated The OPERATION MODE bit is stored permanently in other words it is retained following a cold warm restart The following bit assignment applies to the operating mode S Protected mode 0 S Configuration mode 1 When you change from the configuration mode to the protected mode there is a warm res...

Page 141: ... phase in which there is a search for the existing AS i slaves and newly added AS i slaves are entered in the LDS or LAS S In the management phase jobs from the user such as writing parameters are executed Offline mode In offline mode the IE AS i LINK only processes jobs from the user jobs that bring about an immediate response on an AS i slave are rejected as errors There is no cyclic data exchan...

Page 142: ...AS i slave address old 0 to AS i slave address new This change can only be made when the following conditions are fulfilled 1 An AS i slave with AS i slave address old exists 2 If the old AS i slave address is not equal to 0 then no other AS i slave with address 0 can be connected at the same time 3 The AS i slave address new must have a valid value 4 An AS i slave with AS i slave address new must...

Page 143: ...AS i slaves of a line is enabled or disabled See also Section 10 1 S Mode 0 Set_Auto_Addr_Enable disabled S Mode 1 Set_Auto_Addr_Enable enabled The Set_Auto_Addr_Enable bit is stored permanently in other words it is retained after a warm hot restart on the AS i master Structure of the RecordDataWrite service Index 21 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 ...

Page 144: ...th address 0 can be written directly over the AS i cable The AS i master passes on the extended ID1 code to the AS i slave without any plausibility check The ID1 code is stored permanently on the AS i slave The ID1 code is stored temporarily on the AS i master in CDI RAM Structure of the RecordDataWrite service Index 24 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00...

Page 145: ...nnel 3 or slave 1B channel 3 8 9 Slave 1 channel 4 or slave 1B channel 4 242 243 Slave 31 channel 1 or slave 31A channel 1 244 245 Slave 31 channel 2 or slave 31A channel 2 246 247 Slave 31 channel 3 or slave 31B channel 3 248 249 Slave 31 channel 4 or slave 31B channel 4 Mapping of the analog values in the data record when accessing the entire line You can use analog value access with the entire ...

Page 146: ...Records AS i slave address Initial addresses for analog values in data record 25 or 26 1 2 2 10 3 18 4 26 5 34 6 42 7 50 8 58 9 66 10 74 11 82 12 90 13 98 14 106 15 114 16 122 17 130 18 138 19 146 20 154 21 162 22 170 23 178 24 186 25 194 26 202 27 210 28 218 29 226 30 234 31 242 Examples of access Access to analog channel 1 of slave 7 has an offset of 50 Access to analog channel 1 of slave 30B ha...

Page 147: ...00 1 Version_lo 0x00 2 3 Slave 1 channel 1 or slave 1A channel 1 4 5 Slave 1 channel 2 or slave 1A channel 2 6 7 Slave 1 channel 3 or slave 1B channel 1 8 9 Slave 1 channel 4 or slave 1B channel 2 242 243 Slave 31 channel 1 or slave 31A channel 1 244 245 Slave 31 channel 2 or slave 31A channel 2 246 247 Slave 31 channel 3 or slave 31B channel 1 248 249 Slave 31 channel 4 or slave 31B channel 2 You...

Page 148: ...sponse of an existing slave was not received Bad slave frame Slave response of a slave is mutilated or corrupt I O error Slave signals Peripheral Fault in the response to Read_Status Protocol error Error in data transfer according to CTT1 5 for example bad or missing toggle bit Bad master frame AS i master detects an error in its own send frame by checking the receive line Structure of the RecordD...

Page 149: ...or High word low byte 28 Summator Bad master frame Low word high byte 29 Low word Low byte 30 Slave 7 7A Slave 6 6A Slave 5 5A Slave 4 4A Slave 3 3A Slave 2 2A Slave 1 1A Slave 0 0A 31 Slave 15 15A Slave 14 14A Slave 13 13A Slave 12 12A Slave 11 11A Slave 10 10A Slave 9 9A Slave 8 8A 32 Slave 23 23A Slave 22 22A Slave 21 21A Slave 20 20A Slave 19 19A Slave 18 18A Slave 17 17A Slave 16 16A 33 Slave...

Page 150: ...2 High byte 3 AS i Power Fail Low byte 4 High byte 5 Ground short Low byte 6 High word high byte 7 Summator High word low byte 8 Summator Slave failure Low word high byte 9 Low word Low byte 10 High word high byte 11 Summator High word low byte 12 Summator Missing slave frame Low word high byte 13 Low word Low byte 14 High word high byte 15 Summator High word low byte 16 Summator Bad slave frame L...

Page 151: ...Slave 15 15A Slave 14 14A Slave 13 13A Slave 12 12A Slave 11 11A Slave 10 10A Slave 9 9A Slave 8 8A 32 Slave 23 23A Slave 22 22A Slave 21 21A Slave 20 20A Slave 19 19A Slave 18 18A Slave 17 17A Slave 16 16A 33 Slave 31 31A Slave 30 30A Slave 29 29A Slave 28 28A Slave 27 27A Slave 26 26A Slave 25 25A Slave 24 24A 34 Slave 7B Slave 6B Slave 5B Slave 4B Slave 3B Slave 2B Slave 1B Slave 0B 35 Slave 15...

Page 152: ...ing on the power supply on the IE AS i LINK After the job the AS i master changes to the offline mode and then changes to the normal mode warm restart on the AS i master For some AS i slave profiles combined transaction type the AS i master manages the AS i slave parameter assignment itself In this case the parameters in the call are ignored Note If you use CPUs from the SIMATIC S7 system as the P...

Page 153: ...t_Permanent_Parameter Meaning This call reads out slave specific parameters stored on the IE AS i LINK The job cannot be used for all slaves of the combined transaction type Structure of the RecordDataRead service Index 4 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 Parameter 0x0 P3 P2 P1 P0 3 Reserved 0x00 ...

Page 154: ...status value in the response as parameter echo The response can deviate from the value that has just been written according to the AS i master specification 2 Exceptions There are some AS i slave types with which the AS i master itself manages the slave parameter assignment The configured parameters for these AS i slaves are always the same FH For these slaves the AS i master handles the AS i slav...

Page 155: ...l the current parameter of an AS i slave is read by the IE AS i LINK This value must not be confused with the parameter echo Section 8 2 2 19 that the AS i slave returns as response to the Write_Parameter job Structure of the RecordDataRead service Index 6 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 Parameter 0x0 P3 P2 P1 P0 3 Reserved 0x0...

Page 156: ...aning of the configuration data is described in 2 If the addressed AS i slave does not support an extended ID code 1 2 the value FH must be specified When this call is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart on the AS i master A negative confirmation does not mean that the parameters are not entered in the EEPROM of the IE AS i LI...

Page 157: ...addressed AS i slave S I O configuration S ID code S ID1 code S ID2 code This data is read from the EEPROM of the AS i master or from the C PLUG if this is inserted The configuration data is specified by the manufacturer of the AS i slave The meaning of the configuration data is described in 2 Structure of the RecordDataRead service Index 9 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bi...

Page 158: ... of an addressed AS i slave obtained by the AS i master on the AS Interface S I O configuration S ID code S ID1 code S ID2 code The configuration data is specified by the manufacturer of the AS i slave The meaning of the configuration data is described in 2 Structure of the RecordDataRead service Index 11 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0...

Page 159: ... by the AS i master in byte 2 The maximum number of parameter bytes is 220 If the AS i slave sends a string longer than 220 bytes the AS i master aborts the string transfer and terminates the job with an error The received data are then not made available to the user program As long as the string transfer is active there is no user analog data exchange with the addressed AS i slave Structure of th...

Page 160: ...rameter bytes to be sent to the AS i slave is calculated by the AS i master from byte 2 The maximum number of parameter bytes is 220 The remaining information in the string is not evaluated by the AS i master and is passed on to the AS i slave transparently As long as the string transfer is active there is no user analog data exchange with the addressed AS i slave Structure of the RecordDataWrite ...

Page 161: ... is signaled by the AS i master in byte 2 number of diagnostic bytes If the AS i slave sends a string longer than 220 bytes the AS i master aborts the string transfer and terminates the job with an error The received data are then not made available to the user program As long as the string transfer is active there is no user analog data exchange with the addressed AS i slave Structure of the Reco...

Page 162: ... sends a string longer than 220 bytes the AS i master aborts the string transfer and terminates the job with an error The received data are then not made available to the user program As long as the string transfer is active there is no user analog data exchange with the addressed AS i slave Note As an exception with this call the bytes contained in the bits Follows and Valid are also transferred ...

Page 163: ...t by the user program The CTT2 request is replied to by the addressed AS i slave with a CTT2 response This response can be fetched with the Read CTT2 request call The structure of the CTT2 request or CTT2 response code index always begins with string byte 1 For more detailed information refer to the relevant AS i slave description As long as the string transfers are handled on AS i there is no cyc...

Page 164: ...te 2 Only the last CTT2 response is read back If several Write_CTT2 string jobs are sent in succession older responses are lost The structure of the CTT2 request or CTT2 response code index always begins with string byte 1 For more detailed information refer to the relevant AS i slave description As long as strings are being transferred on AS i there is no cyclic analog data transfer with the addr...

Page 165: ...on Meaning With this call the I O configuration of an AS i slave can be read out directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode Structure of the RecordDataRead service Index 33 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 I O configuration 3 Reserved 0x00 ...

Page 166: ...ID Code Meaning With this call the ID code of an AS i slave can be read out directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode Structure of the RecordDataRead service Index 34 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 ID code 3 Reserved 0x00 ...

Page 167: ... Code_1 Meaning With this call the extended ID1 code of an AS i slave can be read out directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode Structure of the RecordDataRead service Index 24 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 ID1 code 3 Reserved 0x00 ...

Page 168: ... Code_2 Meaning With this call the extended ID2 code of an AS i slave can be read out directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode Structure of the RecordDataRead service Index 35 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 0x0 ID2 code 3 Reserved 0x00 ...

Page 169: ...nternal slave address comparison recognizes that the stored address is not the same as the entry in the address register S 1 Parity error detected This flag is set when the AS i slave has recognized a parity error in a received frame since the last read and delete status job I O error detected An AS i slave can set this flag when it has detected and error for example wire break in the attached I O...

Page 170: ... values of an AS i slave are output as the response to a Write_Parameter job The echo value of an AS i slave originates from the last parameter call sent to this AS i slave If several Get_Write_Parameter_Echo jobs are sent the older echo values are lost Structure of the RecordDataRead service Index 81 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 ...

Page 171: ...utput_Data Meaning This call writes the analog output data of an AS i slave Structure of the RecordDataWrite service Index 82 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 3 Channel 1 of the analog slave 4 5 Channel 2 of the analog slave 6 7 Channel 3 of the analog slave 8 9 Channel 4 of the analog slave 10 11 Reserved 0x0000 ...

Page 172: ...Input_Data Meaning This call reads the analog input data of an AS i slave Structure of the RecordDataRead service Index 83 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Version_hi 0x00 1 Version_lo 0x00 2 3 Channel 1 of the analog slave 4 5 Channel 2 of the analog slave 6 7 Channel 3 of the analog slave 8 9 Channel 4 of the analog slave 10 11 Reserved 0x0000 ...

Page 173: ...t received Bad slave frame Slave response of a slave is mutilated or corrupt I O error Slave signals Peripheral Fault in the response to Read_Status Protocol error Error in data transfer according to CTT1 5 for example bad or missing toggle bit Bad master frame optional AS i master detects an error in its own send frame by checking the receive line Structure of the RecordDataRead service Index 98 ...

Page 174: ...ponse of an existing slave was not received Bad slave frame Slave response of a slave is mutilated or corrupt I O error Slave signals Peripheral Fault in the response to Read_Status Protocol error Error in data transfer according to CTT1 5 for example bad or missing toggle bit Bad master frame optional AS i master detects an error in its own send frame by checking the receive line Structure of the...

Page 175: ...nnel diagnostic information for all submodules of PROFINET IO devices there is already diagnostic integration in STEP 7 The system function block SFB 54 is available for receiving interrupts For information on SFB54 refer to the block helps of STEP 7 9 2 Interrupts Interrupts can divided into the following groups S Remove insert module interrupts Remove insert module interrupts can be evaluated in...

Page 176: ... diagnostics PROFINET IO format ID 8000H Slave specific diagnostic interrupts for example slave I O error are signaled over the logical I address or the diagnostic address of the relevant slot slot 1 63 101 163 Line specific diagnostic interrupts for example AS i Powerfail are signaled over the logical I O address or diagnostic address of the line proxy module slot 0 or 100 Notice The IE AS i LINK...

Page 177: ... 31 33 63 S An unconfigured AS i slave was detected S Error involving a configured entered in the LPS AS i slave for which no I O module was inserted in HW Config 0011H AS i Powerfail Line proxy slot 0 100 8000H entire line AS i master detects a problem in the power supply for example wire break 001AH External error periphery error 0 63 or 100 163 8000H entire line The AS i slave signals an error ...

Page 178: ...g function you can replace failed AS i slaves extremely simply Notice Remember that automatic address programming is only possible in the following situations The function is enabled The IE AS i Link is in the protected mode Only one AS i slave has failed The sections below explain how to replace failed AS i slaves using the automatic address programming function Detecting a Defective AS i Slave I...

Page 179: ...ror Possible Cause Remedy SF lit IE AS i LINK signals remove in sert module interrupts or diagno stic information to the PROFINET IO controller Causes Parameter assignment configuration errors on PROFI NET or on the AS Interface Check the SF APF and CER LEDs in the AS i line block Evaluate the bits in the slave dia gnostic information to identify the error in greater detail BF LED lit indicates an...

Page 180: ...onfi gured Configure the IE AS i LINK A configured AS i slave has failed evaluate the slave display on the display Replace the defective AS i slave or reconfigure the IE AS i LINK if the AS i slave is not required An unconfigured slave was con nected to the AS i cable Remove the AS i slave or reconfi gure the IE AS i LINK An AS i slave was connected whose configuration data I O con figuration ID c...

Page 181: ...unconfigured AS i slaves from the AS i cable Automatic address programming does not work although AUP was previously lit The configuration data I O confi guration ID code of the replaced AS i slave do not match the va lues of the original slave Check whether the correct repla cement slave was used Compare the information from the manufacturer about configuration data If you want to replace the ori...

Page 182: ...tions are also available over the display or WBM Symbols in column 3 M4 Symbol Meaning X Function exists Function does not exist Table A 2 No Function or Call on the Host Interface symbolic representation M4 Comment Function implemented by see Section 1 Image Status Read_IDI X By access to the I O data of the IE AS i LINK by the PROFINET IO controller 2 Status Write_ODI Image X By access to the I ...

Page 183: ...et_LDS X see Section 8 2 16 0 Status Get_Flags X see Section 8 2 16 1 Status Flag Get_Flag_Config_OK X see Section 8 2 16 2 Status Flag Get_Flag_LDS 0 X see Section 8 2 16 3 Status Flag Get_Flag_Auto_Address_Assign X see Section 8 2 16 4 Status Flag Get_Flag_Auto_Prog_Available X see Section 8 2 16 5 Status Flag Get_Flag_Configuration_Active X see Section 8 2 16 6 Status Flag Get_Flag_Normal_Opera...

Page 184: ... Resp Cmd_Read_Ext_ID Code_2 Addr IDCOD2 X see Section 8 2 23 Status S_List Get_LPF X see Section 8 2 24 Status Write_Extended_ID Code_11 S_Ext_ID C ode_1 X see Section 8 2 25 AImage Status Read_AIDI X see Section 8 2 26 Status Write_AODI AImage X see Section 8 2 27 String Status Read_ParamStr S_Addr X see Section 8 2 28 Status Write_ParamStr S_Addr String X see Section 8 2 29 String Status Read_D...

Page 185: ...pe 5 integrated X How the AS i cycle time depends on the number of connected slaves The AS i cycle time can be calculated using the following formula tcycl 1 number of activated AS i slaves x 154 ms Note If two AS i slaves with extended addressing mode occupy the same address for example address 5A and address 5B this slave pair is calculated as one AS i slave in the above formula The reason for t...

Page 186: ...on Zum Taubengarten 52 D 63571 Gelnhausen Germany Tel 49 6051 473212 Fax 49 6051 473282 The AS i technology is promoted by the AS Interface Association e V Internet address of the AS International Association e V http www as interface net 3 4 SIMATIC NET Industrial Communication for Automation and Drives Catalog IK PI Siemens AG SIMATIC Products for Totally Integrated Automation and Micro Automati...

Page 187: ...on A D SC IC Postfach 4848 D 90327 Nuremberg Germany Area of Application The product meets the following requirements Area of Application Requirements Emission Immunity Industrial area EEN 61000 6 4 Class A EN 61000 6 2 If the product is used in a domestic area it may interfere with other devices Installation Instructions The product meets the requirements providing you adhere to the instructions ...

Page 188: ...lure of the AS i power supply unit AS i AS Interface Actuator sensor interface A network system for the lowest field area of the automation range It is suitable for networking sensors and actuators with control devices previously SINEC S1 AS i A B slave AS i A B slaves use the extended addressing mode Pairs of A B slaves can be assigned to one address on the AS Interface by organizing addresses in...

Page 189: ...nt and their address range AS i standard slaves and AS i A B slaves with the extended addressing mode AS i standard slave An AS i standard slave always occupies one address on the AS Interface with this address organization up to 31 AS i standard slaves can be attached to the AS Interface CDI Configuration data image The CDI contains the current copies of the I O configuration input output confi g...

Page 190: ... bits of slaves that have not been detected are reset zero The AS i master stores this list in volatile memory LPF List of periphery faults This list contains the information whether or not a periphery fault has occurred for each activated slave bit is set If no periphery fault has occurred the bit is reset zero The AS i master stores this list in volatile memory LPS List of projected slaves A bit...

Page 191: ... PROFINET GSDML contain device descriptions of PROFINET IO devices The use of GSD files makes it easier to configure the IO device and AS i slaves GSDML file The GSDML file contains the device database and is written in XML format for PROFINET IOCS IOPS Input Output Consumer State Input Output Provider State Data status that is transferred for each PN IO submodule for consumer and provider SIMATIC...

Page 192: ...guration interrupt 175 Configuration mode 39 140 Connector contacts 20 Connector section 19 Cycle time AS Interface 185 D Data exchange between IO controller and AS i slave 113 Data exchange phase 141 Data record interface description of the calls 124 Device name changing 42 Device name PROFINET change 53 changing 43 Diagnostic data records 177 Diagnostic interrupt 105 175 176 Display section 19 E...

Page 193: ...9 P Packing the address areas 104 Parameter assignment data record 122 PICS 182 Ports configuring properties 103 Power supply unit 11 Print Settings 52 PROFINET connector for 23 PROFINET device name change 53 changing 43 PROFINET IO controller 115 device 13 master available master functions 182 Protected mode 40 140 R Read data record 120 call 121 Real time communication RT 113 Return value data r...

Reviews: