Device Manual AS-i Profinet gateway AC1401 AC1402 Master profile: M4 Firmware release: 2.5.3 7390701_03_UK 2014-02-07 English > ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Contents Contents 1 On this manual 1.1 1.2 1.3 1.4 What do the symbols and formats mean? ...........................................................................5 What devices are described in this manual? .......................................................................5 How is this documentation structured? ................................................................................6 Notes on how to get started .................................................................................................6 2 Safety instructions 2.1 2.2 2.3 2.4 2.5 System description 3.2 3.1.1 3.1.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 4 4.2 4.3 4.4 2 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.2.1 4.2.2 4.2.3 4.2.4 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.4.1 4.4.2 4.4.3 12 Intended use ......................................................................................................................12 Permitted use ............................................................................................................................. 12 Prohibited use ............................................................................................................................ 13 Information concerning the device .....................................................................................14 Where is what on the AS-i device?............................................................................................. 14 Required accessories ................................................................................................................. 15 Ethernet configuration interface.................................................................................................. 15 Voltage supply concepts............................................................................................................. 16 Profinet fieldbus interface ........................................................................................................... 21 SD card slot ................................................................................................................................ 21 Diagnostic LEDs ......................................................................................................................... 21 Display........................................................................................................................................ 22 Key functions .............................................................................................................................. 23 Operation 4.1 7 What previous knowledge is required? ................................................................................7 Please note! .........................................................................................................................8 Start-up behaviour of the controller......................................................................................9 Safety instructions on the mounting ...................................................................................10 Safety instructions on the installation.................................................................................10 3 3.1 4 25 Display (representation, setting, navigation) ......................................................................26 What is what in the display? ....................................................................................................... 27 Division of the display in areas ................................................................................................... 28 Navigation .................................................................................................................................. 36 Control element description ........................................................................................................ 39 Online helps ............................................................................................................................... 56 Screen saver .............................................................................................................................. 56 Switch language ......................................................................................................................... 56 Web server .........................................................................................................................58 General....................................................................................................................................... 58 Connection concepts .................................................................................................................. 59 Recommended browsers............................................................................................................ 61 Operating instructions ................................................................................................................ 61 Getting started....................................................................................................................64 Connect the unit ......................................................................................................................... 64 Use QR code to access the device ............................................................................................ 66 Connect and address the AS-i slaves ........................................................................................ 67 Set up Profinet............................................................................................................................ 69 Set up configuration interface ..................................................................................................... 69 Sensor functions ................................................................................................................70 How does it work? (sequence of actions) ................................................................................... 70 Quick setup ................................................................................................................................ 73 Set up the AS-i master + slaves ................................................................................................. 81 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Contents 4.4.4 4.4.5 4.4.6 5 System ....................................................................................................................................... 96 Interfaces.................................................................................................................................. 107 Online Support Center (OSC)................................................................................................... 116 Fieldbus Profinet 5.1 5.2 5.3 5.4 5.2.1 5.2.2 5.3.1 5.3.2 5.3.3 5.4.1 5.4.2 5.4.3 6 GSDML file .......................................................................................................................118 Parameter data ................................................................................................................119 Parameter data: compact mode ............................................................................................... 119 Parameter data: flexible mode.................................................................................................. 120 Process data ....................................................................................................................121 Cyclic data ................................................................................................................................ 121 The Profinet modules ............................................................................................................... 122 Acyclic data .............................................................................................................................. 126 Alarms ..............................................................................................................................131 Alarms ...................................................................................................................................... 131 Diagnosis alarms ...................................................................................................................... 131 Notes for the Step7 programmer .............................................................................................. 131 Annex 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.4.1 6.4.2 6.4.3 6.4.4 6.4.5 6.5.1 6.5.2 6.5.3 6.6.1 117 132 Approval tests / certifications ...........................................................................................132 Technical data ..................................................................................................................133 Housing .................................................................................................................................... 133 Display elements ...................................................................................................................... 133 Operation.................................................................................................................................. 134 Power supply connections ........................................................................................................ 134 Interfaces.................................................................................................................................. 135 Address assignment in Ethernet networks ......................................................................136 Fieldbus Profinet ..............................................................................................................137 The cyclic process data ............................................................................................................ 138 The acyclic process data .......................................................................................................... 150 The command channels ........................................................................................................... 192 I&M data ................................................................................................................................... 269 Fieldbus alarms ........................................................................................................................ 271 AS-i master ......................................................................................................................283 AS-i master flags ...................................................................................................................... 284 Master control flags .................................................................................................................. 285 Master status byte .................................................................................................................... 285 AS-i slaves .......................................................................................................................286 Profiles of AS-i slaves............................................................................................................... 287 Information on AS-i ..........................................................................................................297 7 Glossary of Terms 298 8 Index 309 9 ifm weltweit • ifm worldwide • ifm à l’échelle internationale 315 3 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 On this manual 1 2014-02-07 What do the symbols and formats mean? On this manual What do the symbols and formats mean? ................................................................................................5 What devices are described in this manual? ............................................................................................5 How is this documentation structured? ....................................................................................................6 Notes on how to get started......................................................................................................................6 6919 This manual can be downloaded free of charge from ifm's website: www.ifm.com > Service > Download © All rights reserved by ifm electronic gmbh. No part of this manual may be reproduced and used without the consent of ifm electronic gmbh. All product names, pictures, companies or other brands used on our pages are the property of the respective rights owners: • AS-i is the property of the AS-International Association, (® www.as-interface.net) • CAN is the property of the CiA (CAN in Automation e.V.), Germany (® www.can-cia.org) • CODESYS™ is the property of the 3S – Smart Software Solutions GmbH, Germany (® www.codesys.com) • DeviceNet™ is the property of the ODVA™ (Open DeviceNet Vendor Association), USA (® www.odva.org) • EtherNet/IP® is the property of the ®ODVA™ • IO-Link® (® www.io-link.com) is the property of the ®PROFIBUS Nutzerorganisation e.V., Germany • Microsoft® is the property of the Microsoft Corporation, USA (® www.microsoft.com) • PROFIBUS® is the property of the PROFIBUS Nutzerorganisation e.V., Germany (® www.profibus.com) • PROFINET® is the property of the ®PROFIBUS Nutzerorganisation e.V., Germany • Windows® is the property of the ®Microsoft Corporation, USA 4 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 On this manual 2014-02-07 What do the symbols and formats mean? > 1.1 What do the symbols and formats mean? 203 The following symbols or pictograms illustrate the notes in our instructions: WARNING Death or serious irreversible injuries may result. CAUTION Slight reversible injuries may result. NOTICE Property damage is to be expected or may result. Important notes concerning malfunctions or disturbances Other remarks ► ... Request for action > Reaction, result ... ® ... "see" abc Cross-reference 123 0x123 0b010 Decimal number Hexadecimal number Binary number [...] Designation of pushbuttons, buttons or indications > 1.2 What devices are described in this manual? 6921 This manual describes the AS-i gateway family from ifm electronic gmbh: · Article numbers AC1401 + AC1402 · AC1401 has 1 AS-i master AC1402 has 2 AS-i masters according to AS-i specification 3.0 (M4 master profile) · With a firmware version 2.5.3 or higher · As gateway between AS-i and Profinet 5 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 On this manual 2014-02-07 How is this documentation structured? > 1.3 How is this documentation structured? 4373 This documentation is a combination of different types of manuals. It is for beginners and also a reference for advanced users. How to use this manual: · Refer to the table of contents to select a specific subject. · Using the index you can also quickly find a term you are looking for. · At the beginning of a chapter we will give you a brief overview of its contents. · Abbreviations and technical terms Annex. In case of malfunctions or uncertainties please contact the manufacturer at: www.ifm.com > Select your country > [Contact]. We want to become even better! Each separate section has an identification number in the top right corner. If you want to inform us about any inconsistencies, indicate this number with the title and the language of this documentation. Thank you very much for your support! We reserve the right to make alterations which can result in a change of contents of the documentation. You can find the current version on ifm's website at: www.ifm.com > Service > Download > 1.4 Notes on how to get started 6922 Information on how to get started can be found in chapter Getting started (→ 64). Click here for the installation and wiring information: supplied installation instructions or on ifm's-homepage: www.ifm.com > Select your country > [Data sheet search] > (article number.) > [Operating instructions] Information on basic settings can be found in chapters Operation (→ 25) and Quick setup (→ 73). 6 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Safety instructions 2 2014-02-07 What previous knowledge is required? Safety instructions What previous knowledge is required? ....................................................................................................7 Please note! ..............................................................................................................................................8 Start-up behaviour of the controller ..........................................................................................................9 Safety instructions on the mounting .......................................................................................................10 Safety instructions on the installation .....................................................................................................10 213 > 2.1 What previous knowledge is required? 215 This document is intended for people with knowledge of control technology and PLC programming with IEC 61131-3. To program the PLC, the people should also be familiar with the CODESYS software. The document is intended for specialists. These specialists are people who are qualified by their training and their experience to see risks and to avoid possible hazards that may be caused during operation or maintenance of a product. The document contains information about the correct handling of the product. Read this document before use to familiarise yourself with operating conditions, installation and operation. Keep the document during the entire duration of use of the device. Adhere to the safety instructions. 7 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Safety instructions 2014-02-07 Please note! > 2.2 Please note! 6091 11212 No characteristics are warranted with the information, notes and examples provided in this manual. With the drawings, representations and examples given no responsibility for the system is assumed and no application-specific particularities are taken into account. ► The manufacturer of the machine/equipment is responsible for ensuring the safety of the machine/equipment. ► Follow the national and international regulations of the country in which the machine/installation is to be placed on the market! WARNING Non-observance of these instructions can lead to property damage or bodily injury! ifm electronic gmbh does not assume any liability in this regard. ► The acting person must have read and understood the safety instructions and the corresponding chapters in this manual before working on and with this device. ► The acting person must be authorised to work on the machine/equipment. ► The acting person must have the qualifications and training required to perform this work. ► Adhere to the technical data of the devices! You can find the current data sheet on ifm's homepage at: www.ifm.com > Select your country > [Data sheet search] > (article number.) > [Technical data in PDF format] ► Note the installation and wiring information as well as the functions and features of the devices! supplied installation instructions or on ifm's homepage: www.ifm.com > Select your country > [Data sheet search] > (article number.) > [Operating instructions] ► Please note the corrections and notes in the release notes for the existing documentation, available on the ifm website: www.ifm.com > Select your country > [Data sheet search] > (article number.) > [Operating instructions] 8 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Safety instructions 2014-02-07 Start-up behaviour of the controller > 2.3 Start-up behaviour of the controller 6827 WARNING Danger due to unintentional and dangerous start of machine or plant sections! ► When creating the program, the programmer must ensure that no unintentional and dangerous start of machines or plant sections after a fault (e.g. e-stop) and the following fault elimination can occur! Realise restart inhibit! ► In case of an error, set the outputs concerned to FALSE in the program! A restart can, for example, be caused by: • Voltage restoration after power failure • reset after watchdog response because of too long a cycle time • error elimination after an E-stop To ensure a safe behaviour of the controller: ► monitor the voltage supply in the application program. ► In case of an error switch off all relevant outputs in the application program. ► Additionally monitor relay contacts which can cause hazardous movements in the application program (feedback). ► If necessary, ensure that welded relay contacts in the application project cannot trigger or continue hazardous movements. 9 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Safety instructions 2014-02-07 Safety instructions on the mounting > 2.4 Safety instructions on the mounting 6936 NOTICE Danger caused by moisture, dust, shocks, overheating. Damage or failure of the unit possible! · Moisture can destroy the electronics. ► Use the unit in a condensation-free environment. · Dust deposits obstruct the necessary circulation of air for heat dissipation. ► Ensure that the device is not used in a dust-laden environment. If this cannot be avoided, you must clean the device accordingly as often as necessary. ® Installation instructions > chapter: Maintenance, repair and disposal. · Vibrations and shocks may damage the device. ► Meet the requirements of the technical specification. ► The air circulation through the vents must not be hampered. Allow min. 30 mm of clear space above and below the device when installing it. According to the technical specifications (® data sheet) you can operate the unit in a wide operating temperature range. Because of the additional internal heating the housing walls can have high perceptible temperatures when touched in hot environments. This is normal and no cause for a complaint. > 2.5 Safety instructions on the installation 6937 NOTICE Short circuit, incorrect wiring possible. Consequence: malfunction of the machine/plant in which the device is installed! ► Electrical installation tasks must be carried out by a qualified electrician. ► Disconnect power before connecting the device to avoid short circuits during installation. ► Connect the terminals according to the terminal marking. ► The supply voltage (SELV) must not be connected to protective earth. Therefore never connect the negative connection to the FE connection or to any other connection of the device. It must be ensured that the external voltage is generated and supplied according to the criteria for safety extra-low voltage (SELV), since this voltage is provided without further measures to supply the connected device, the sensors and the actuators. The wiring of all signals in connection with the SELV circuit of the device must also comply with the SELV criteria (safety extra-low voltage, safe electrical isolation from other electric circuits). If the supplied SELV voltage is externally grounded (SELV becomes PELV), the responsibility lies with the user and the respective national installation regulations must be complied with. All statements in this manual refer to the unit the SELV voltage of which is not grounded. 10 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Safety instructions 2014-02-07 Safety instructions on the installation The connection terminals may only be supplied with the signals indicated in the technical data or on the device label and only the approved accessories of ifm electronic gmbh may be connected. 11 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 3 2014-02-07 Intended use System description Intended use ...........................................................................................................................................12 Information concerning the device .........................................................................................................14 975 > 3.1 Intended use 5310 NOTICE Danger when device is overloaded or incorrectly used. The device and / or the associated machine / plant may be damaged or destroyed or may malfunction if the limits of the "Technical data" for this device are exceeded or if the device is used outside the specified "Intended use". ► Use the device only within the limits of the Technical data (→ 133) (® data sheet). ► Use the device only in accordance with the "Intended use". > 3.1.1 Permitted use 6928 You may use the device for the following purposes (= intended use): · as fieldbus gateway between the actuator-sensor-interface network and a higher-level controller (Profinet controller = host; e.g. PLC) via the Profinet fieldbus connection. The device provides the following features: · The AS-i Profinet gateway integrates the following elements: - AC1401: 1 AS-i master | AC1402: 2 AS-i masters - a web server - a Profinet interface with 2-port switch. · It controls the exchange of data to the sensor / actuator level. · It communicates with the higher-level control level via Profinet. · It visualises sensor/actuator data on the integrated web server. · It allows device configuration via the WEB server. 12 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Intended use > 3.1.2 Prohibited use 5320 In the following areas you must NOT use the device: · outdoors, · in wet environments, · beyond the limits of the Technical data (→ 133) (® data sheet). Tampering with the device can seriously affect the safety of operators and machinery. This is not permitted and leads to an exclusion of liability and warranty. 13 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > 3.2 Information concerning the device Where is what on the AS-i device? ........................................................................................................14 Required accessories .............................................................................................................................15 Ethernet configuration interface .............................................................................................................15 Voltage supply concepts.........................................................................................................................16 Profinet fieldbus interface .......................................................................................................................21 SD card slot ............................................................................................................................................21 Diagnostic LEDs .....................................................................................................................................21 Display ....................................................................................................................................................22 Key functions ..........................................................................................................................................23 5330 ® What devices are described in this manual? (→ 5) > 3.2.1 Where is what on the AS-i device? 8700 Legend: 1. unlocking key for detaching the device from a DIN rail 2. H1 status LED 3. Metallic housing IP 20 4. Display 5. 2 function keys 6. 4 arrow keys 7. X1 connector for AS-i 1, AS-i 2, functional earth 8. X2 connector for AUX (here with AUX jumper) 9. Slot for SD card (behind the front flap) 10. X3 Ethernet configuration interface (behind the front flap) 11. X7 Profinet interface 1 H4, H5: status LED 12. X6 Profinet interface 2 H2, H3: status LED Figure: Overview AS-i Profinet gateway 14 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > 3.2.2 Required accessories 6926 To be able to operate the device in a sensible way you need the following accessories (not supplied with the device): · · Depending on the selected voltage supply (® Voltage supply concepts (→ 16)) you need: § a power supply for the 24 V power supply (e.g. art. no. DN3011) § for each AS-i master one AS-i power supply each (e.g. art. no. AC1236) § a data decoupling module AC1250 (accessory, optional) AS-i slaves. > 3.2.3 Ethernet configuration interface 6982 · 1x RJ45, 10/100 Mbits/s (behind the front flap) · Protocols: HTTP, FTP, Telnet · Device connection designation = X3 15 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 System description Information concerning the device > 3.2.4 Voltage supply concepts General conditions ..................................................................................................................................16 Supply concept 1 ....................................................................................................................................17 Supply concept 2 ....................................................................................................................................18 Supply concept 3 ....................................................................................................................................19 6938 photo: Supply connections on the device top: X1 plug, 6 poles: for AS-i 1, AS-i 2 and FE pin 1 AS-i 2 + pin 2 AS-i 2 – pin 3 AS-i 1 + pin 4 AS-i 1 – pin 5 FE pin 6 n.c. bottom: X2 plug, 2 poles pin 1 AUX + 24 V pin 2 AUX 0 V The device family provides the 3 supply options described below: · · · Supply concept 1 (→ 17): § Device supply via AUX. § AS-i master 1 and AS-i master 2 are supplied via separate AS-i power supplies. Supply concept 2 (→ 18): § Device supply via AS-i 1. § AS-i 1 and AS-i 2 are supplied via separate AS-i power supplies. Supply concept 3 (→ 19): § All units (gateway, AS-i 1, AS-i 2) are supplied via one single voltage source: - 21.0...31.6 V at option (grounded or ungrounded) - or an AS-i power supply. > General conditions 8680 ® Adhere to the installation instructions! · AUX and AS-i are safely generated, touchable extra-low DC SELV voltages · AUX is in the range 18.0...32.0 V DC · AUX can be grounded (SELV Þ PELV) > 16 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device Supply concept 1 6941 · Device supply via AUX. · AS-i master 1 and AS-i master 2 are supplied via separate AS-i power supplies. ► AUX jumper must not be connected! Example: Supply concept 1 17 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 System description Information concerning the device > Supply concept 2 6946 · Device supply via AS-i 1. · AS-i 1 and AS-i 2 are supplied via separate AS-i power supplies. · The AUX jumper (supplied with the device) must be connected! · The AUX jumper covers the AUX connection of the device and thus prevents a simultaneous application of a voltage to the X2 plug. Photo: AUX jumper Example: Supply concept 2 18 Photo: AUX jumper, inserted in the device ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 System description Information concerning the device > Supply concept 3 6943 · All units (gateway, AS-i 1, AS-i 2) are supplied via one single voltage source: - 21.0...31.6 V at option (grounded or ungrounded) - or an AS-i power supply. · The AC1250 data decoupling module (accessory) must be connected! An external AC1250 data coupling module that is fixed to the device is absolutely required. The data decoupling module has the following tasks: · The module supplies the device with voltage. · The module generates a special AS-i voltage (data decoupled) for two AS-i networks beginning on the device, i.e.: § from a standard 24 V DC power supply § or from a 30 V DC power supply § or from a conventional AS-i power supply. The max. current per AS-i network is 4 A. Figure: AC1250 data decoupling module (accessory) Voltage U at the AUX+ and AUX- terminals of the data Result decoupling module 21.5 V DC < U < 30.0 V DC Power24 (not recommended) Limited AS-i cable length < 50 m Only AS-i slaves with special Power24 capability are allowed 30.0 V DC < U < 31.6 V DC or an AS-i power supply Standard AS-i (recommended) 19 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device Supply concept 3: here: Supply of 2 devices from AS-i power supply 8 A The power of the AS-i power supply can be distributed to the single AS-i lines as requested, provided that max. 4 A are applied to a single AS-i line. 20 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > 3.2.5 Profinet fieldbus interface 6984 The device has an interface to the fieldbus Profinet. It is an Ethernet-based fieldbus which can exchange the data in real time. · 2x RJ45, 10/100 Mbits/s · Protocol: Profinet RT (device), certified to PNO class B · Integrated 2-port switch (iRT compatible) · Device connection designations: - X6 (Profinet port 2) - X7 (Profinet port 1) · RJ45 sockets with 2 LEDs each (green/yellow) > 3.2.6 SD card slot 9135 There is an SD card slot behind the front flap of the device. The software of the device can be updated using an SD card. The following SD memory media can be used: · common SD storage media up to 32 Gbytes · the SDHC format is supported > 3.2.7 Diagnostic LEDs 7094 > Diagnostic LED: Basic device 6950 Diagnostic LED H1 Description green lights Device has started, warnings or error messages. Yellow flashes 0.5 Hz There is a warning but not an error message. Red flashes 2Hz There is an error message. > Diagnostic LED: Fieldbus Profibus 6951 Diagnostic LED Description H2 yellow flashes Reception of data H3 green lights Physical connection OK H4 yellow flashes Reception of data H5 green lights Physical connection OK > 21 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > 3.2.8 Display 7083 The device has a colour LC display via which it can be operated intuitively. The display has the following features: Technology LCD, colour Size 35 x 28 mm (1.8") resolution 220 x 176 pixels Colour depth 18 bits (= 262 144 possible colours) Description · graphic user interface with symbols · several languages can be selected Example: Menu screen [Quick setup] > [Project all] 22 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > 3.2.9 Key functions 6930 There are 6 membrane keys on the user interface of the device below the display: menu text for the left function key left function key menu text for the right function key right function key arrow keys for navigation or changing values > function keys 7090 2 function keys directly below the display are used for selecting functions, menu items or display levels. The labelling of the function keys in the navigation bar of the display shows the current meaning. If the function keys are not labelled, it has no function in the current situation. Example: · Use the left function key [Select] to start the ediot mode of the element marked in the display, e.g. to change a value. · Use the right function key [Back] to leave the current screen. The screen active before is displayed again. 23 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 System description 2014-02-07 Information concerning the device > Arrow keys 7091 4 Arrow keys are used for navigation or for changing values. Which keys can be activated in the current situation is shown in the navigation compass in the centre of the navigation bar. · With the [] key you navigate step by step upwards in the displayed menu. Or: The value to be edited is increased step by step. · With the [] key you navigate step by step downwards in the displayed menu. Or: The value to be edited is decreased step by step. · With the [] key you navigate step by step to the left in the displayed menu. · With the [] key you navigate step by step to the left in the displayed menu. 24 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 4 2014-02-07 Information concerning the device Operation Display (representation, setting, navigation) ..........................................................................................26 Web server .............................................................................................................................................58 Getting started ........................................................................................................................................64 Sensor functions .....................................................................................................................................70 7269 In this chapter we will describe · the user interface of the HMI, · the device settings, · the interfaces. 25 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > 4.1 Display (representation, setting, navigation) What is what in the display? ...................................................................................................................27 Division of the display in areas ...............................................................................................................28 Navigation ...............................................................................................................................................36 Control element description ....................................................................................................................39 Online helps ............................................................................................................................................56 Screen saver ..........................................................................................................................................56 Switch language .....................................................................................................................................56 14195 > When the device has been switched on it shows a basic screen with the status overview, e.g.: > The current function of the keys is displayed in the navigation bar above the function keys. > The intelligent message management generates priority-based diagnostic and error messages and supports the user during set-up. ► You can easily switch the displayed menu and messages to another language at any time ( Switch language (→ 56)). · 26 The graphics display in the device allows - intuitive operation - detailed system diagnosis ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Display (representation, setting, navigation) > 4.1.1 What is what in the display? 6954 The display contains the following basic elements: 1 Info bar 2 Main navigation bar 3 1. Subnavigation bar 4 2. Subnavigation bar 5 Focus 6 Navigation start point 7 Working area 8 Navigation compass 9 Navigation status bar Figure: Areas in the display The position and sizes of the info bar, main navigation bar, working area and navigation status line elements cannot be changed. 27 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > 4.1.2 Division of the display in areas Navigation bars .......................................................................................................................................29 Working area ..........................................................................................................................................32 Info bar....................................................................................................................................................34 Navigation status bar ..............................................................................................................................35 6994 28 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Navigation bars Main navigation bar ................................................................................................................................29 Focus ......................................................................................................................................................30 Navigation trail ........................................................................................................................................30 Subnavigation bars .................................................................................................................................31 7001 > Main navigation bar 6957 The main navigation bar is always visible. It is used for navigation via symbols. > The following symbols are displayed from left to right (if the respective option is available): Symbol Description Quick setup This is a container for the most important device functions: · automatic adoption of the slave configuration Project all · Set operating modes · setting the fieldbus · Set configuration interface · Address the AS-i slaves AS-i 1 AS-i line 1: - master - diagnosis - slaves AS-i 2 (optional) AS-i line 2: - master - diagnosis - slaves System System: - information - diagnosis - settings Interfaces Interfaces: - Configuration interface - Fieldbus Profibus Online support centre Online Support Center (OSC): Display of fault messages and warnings > All pictograms used are always displayed left-aligned within the main navigation bar and in the sequence shown above. > When the system has been started, the main navigation bar is displayed without focus. > The first click on any key sets the focus to the first left symbol. > The focus can always be only on one single symbol. 29 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) ► Navigate within the main navigation bar using the [] / [] arrow keys. > Navigation is not scrolling. If a border symbol has the focus, it is not possible to navigate beyond the border to get to the opposite border symbol. > Focus 6977 The focus is used for representing the navigation through the menus and pages. Confirm selection The focus frames the marked symbol or control element which the current operation of the device refers to. top: The symbol [AS-i 1] bottom: the button [Select] ► The focus is moved via the arrow keys. > During navigation only ONE symbol or control element can have the focus. > Navigation trail 6981 Each navigation step between the main navigation bar and the tab control element of a page is marked by a navigation trail. To recognise the navigation path there are two versions of each symbol. symbol without navigation trail (light background) this navigation element is not part of the navigation path symbol with navigation trail (dark background) this navigation element is part of the active navigation path The starting point is the initial point of the navigation trail. The user is thus shown the navigation path to a page. Example: symbol [AS-i 2] with navigation trail (dark background) becomes the starting point of navigation in the main navigation bar. The distance block connects the main navigation and subnavigation bars. Here the symbol [master settings] in the subnavigation bar has the focus. 30 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Subnavigation bars 6965 The subnavigation bars have the following features: · The subnavigation bar 1 is always displayed when the focus is on it or on a symbol of the main navigation bar for which a submenu has been defined. · The subnavigation bar 2 is always displayed when the focus is on it or on a symbol of the subnavigation bar 1 for which a submenu has been defined. · The subnavigation bars partially cover the working area. · Navigation is made via the symbols by means of the arrow keys. · The subnavigation bars change dynamically depending on the current menu structure. ► Navigate within the subnavigation bar using the [] / [] arrow keys. > Navigation is not scrolling. If a border symbol has the focus, it is not possible to navigate beyond the border to reach the opposite border symbol. > Symbols in the subnavigation bars 6966 Below an overview of the symbols in the subnavigation bars: Symbol Description AS-i master AS-i master setup AS-i slaves AS-i slaves Information show information Diagnosis show diagnosis settings make settings configuration interface configuration interface settings fieldbus interface Profinet interface settings 31 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Working area 6976 The working area is the space between the main navigation bar and the navigation bar. The working area can contain the following information: · the start screen · pages / subpages. During navigation the working area can partly be covered by the first or second subnavigation bar. > Splash screen 6991 > This screen appears as soon as the main navigation bar... - does not have the focus or - does not show a starting point marking. The working range of the spash screen shows a number of status messages. > Master operating mode AS-i 1 = Protected mode = normal operation = Project mode > optional (if available) master operating mode AS-i 2 > Setting : = gateway = Manual > Status of the connection to the fieldbus (here: Profibus): = active = not active ► Press any key to navigate. ► Use function key [Menu] to change to the user menu. ► Use function key [QR code] to display the QR code ( Use QR code to access the device (→ 66)). 32 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Splash screen 'Basic settings' 11226 A special splash screen in English is displayed in the following cases: - with first set-up, - after firmware update, - after data loss due to battery failure. > Question about the screen languare is displayed. ► Select screen language and confirm with [Next]. > Afterwards the screen dialogues will always be displayed in the selected language (in this example: German). > Question about date and time is displayed. ► Set and confirm date and time. > Question about setting of the network protocol is displayed. ► Set NTP parameters. ► End the settings with [Finish]. > The usual splash screen is displayed. 33 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Pages 8709 A page means the entire working area content of an action. Pages can be longer than the visible working area. This is indicated by scroll bars on the right side of the display. The content can be scrolled by means of the arrow keys (up/down). Control elements One or several control elements can be displayed on one page. Several control elements are always displayed one below the other. Example of the page "Project all" · Register [Project all] (highlighted in colour = has the focus) · checkbox [AS-i master 1] (here activated) · checkbox [AS-i master 2] (only for devices with 2 AS-i masters) · button [Start projection process] ► Navigate between several control elements on one page with the arrow keys ] und []. ► Use function key [Select] to open a control element for editting► Exit the editing mode: - acknowledge the changed values with function key [Select] or: - discard changes with the function key [Back] . ► Exit pages with function key [Back] or multiple []. > After exiting a page the previously active subnavigation bars are displayed again. > Info bar 6956 The info bar is always visible. It contains: - context information on the object with the focus (here: "Project all"). 34 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Context information 6996 The context information in the info bar supplies detailed information on the object in focus. > Context information of the right length is displayed statically. > If the text requires more space than is available in the info line, the text is scrolled according to the following scheme: § The first characters which can be displayed in the context information are statically displayed for approx. 4 seconds. § When the time has elapsed the text is scrolled to the left. § When the end of the text has been reached, the text starts again at the beginning after approx. 4 seconds. > Navigation status bar 6997 In the navigation status bar the following information is displayed: • the labelling of the function keys, • the navigation compass. The navigation status bar is always displayed. > Labellling of the function keys 6996 · The labelling of the function keys changes dynamically depending on the focus. · If a function key is not defined in a specific operating status of the device, its labelling field remains empty. > Navigation compass 6999 Via 4 arrow symbols the navigation compass indicates the possible use of the corresponding arrow buttons. If operation via one or several arrow keys is not possible (depending on the current operation status of the device), the corresponding arrows are hidden. 35 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > 4.1.3 Navigation Navigation elements ...............................................................................................................................36 General information on the navigation ...................................................................................................37 Navigation to a page...............................................................................................................................38 Navigation on a page..............................................................................................................................38 7004 > Navigation elements 7005 The following objects are available for navigation: · the main navigation bar (→ 29), · the Subnavigation bars (→ 31), · the tab control element (→ 40), · the slave selector control element (→ 43). 36 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Display (representation, setting, navigation) > General information on the navigation 7006 ► Use the arrow keys [] / [] to navigate within the currently active menu levels. ► Use the left function key [Select] or the arrow key [] to change to the next lower level. Use the right function key [Back] or the arrow key [] to change to the next higher level. > When passing from one navigation bar to another, the focus is always on the symbol linking both navigation bars. Example: 1 ► Use the arrow key [] to navigate to the symbol [AS-i 1] . > The symbol [AS-i 1]keeps the focus and shows the connection to the subnavigation bar 1. > In the subnavigation bar 1 the symbols of the possible functions for [AS-i 1] ( fig) are displayed. ► Use the function key [Select] or the arrow key [] to change to the subnavigation bar 1. 2 > The symbol [AS-i 1] keeps the navigation trail (the start point) to the subnavigation bar 1. > The symbol [diagnosis] keeps the focus ( fig). ► Use the arrow key [] to change to symbol [AS-i 1 master settings]. 3 > The symbol [AS-i 1 master settings] keeps the focus ( fig). ► ... n. ► Use the right function key [Back] or the arrow key [] to exit the subnavigation bar and change to the next higher navigation bar. > The focus follows the navigation trail. > The symbol [AS-i 1] again keeps the focus and only shows the connection to the subnavigation bar 1 ( fig). 37 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Navigation to a page 7010 Navigation to a page can only be made via the main navigation or subnavigation bars. Navigation to a page leaves a navigation trail in the main navigation bar and the subnavigation bars so that the path of navigation is identifiable. When the lowest menu level for accessing a page within the main menu and the submenu bars has been reached: > After actuating the left function key [Select] or the arrow key [] the page is displayed in the working area. > At the same time the subnavigation bars are hidden. When moving down, the focus always passes to the first left symbol of the lower level or (when reaching a page) to the first control element of the page. > Navigation on a page 7011 To navigate between the control elements on a page only the arrow keys [] / [] can be used. Within a page further navigation is only possible via • tab control element • slave selector control element. 38 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > 4.1.4 Control element description Tab control element ................................................................................................................................40 Button control element............................................................................................................................41 Checkbox control element ......................................................................................................................41 Listbox control element...........................................................................................................................42 Slave selector control element ...............................................................................................................43 Acknowledge control element ................................................................................................................49 Numerical control element ......................................................................................................................50 IP address control element .....................................................................................................................51 Date control element ..............................................................................................................................52 Time control element ..............................................................................................................................54 7013 39 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Tab control element 8737 A register groups associated control elements. Tab control elements are part of the navigation. Example: > When a menu with tab control elements is opened, the focus is on the first tab on the left. > The tab in focus has an orange background > The info bar shows the name of the active tab (e.g.: Operating modes). > or show that other tabs can be found to the left Symbols or right of the visible tabs. > Page shows control elements belonging to the tab in focus. Tabs can have the following coloured backgrounds: = tab in focus = tab is active = tab is not active Operation: 1 2 3. ► Change to menu screen with register > Register appears > Focus is on the left tab > Working area shows page belonging to the tab in focus ► Use Arrow key [] / [] to select the requested tab > Selected tab gets focus (orange background) > Content below the register is adapted to tab in focus ► Use function key [Select] to change to screen belonging to the active tab > Register remains visible when changing to the screen > Active tab gets grey background 4. ► Change requested settings / read diagnostic data 5 ► Use function key [Back] to change to the register. > 40 Active tab gets focus (orange background). ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Button control element 14196 A button allows the operator to execute a defined function once. The label on the button defines the function which is executed when activating the button. Example: Operation: 1. ► Use arrow keys [] / [] to select the button > 2 Selected button gets an orange frame ► Use function key [Select] to activate the selected button. > The function is executed > Checkbox control element 7038 Allows activating/deactivating of a parameter. A checkbox control element consists of a checkbox and the associated label. As many checkboxes as wanted can be activated/deactivated independently on one screen. Example: Operation: 1 ► Use Arrow key [] / [] to select a checkbox > Selected checkbox gets the focus (orange frame) or 2 ► Use function key [Select] to activate/deactivate selected checkbox > Status change is displayed: = checkbox is activated OR: = checkbox is deactivated Activating/deactivating a checkbox is not always immediately effective.The change often has to be confirmed additionally by pressing a button (e.g. [Apply], [Apply selection]! 41 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Listbox control element 7042 A listbox provides a number of defined values. The operator can select a value from this range (= selection 1 from n). A listbox control element consists of a listbox and a description (optional) Example: = listbox without description = listbox with description Operation: 1 2. ► Use Arrow key [] / [] to select a listbox > Selected listbox gets the focus (orange frame) > Listbox shows preset/avtive value (e.g.: Gateway) ► function key [Select] Open the listbox > 3 4 42 Selected listbox shows the selectable values ► Use Arrow key [] / [] to select the requested value in the listbox. > Selected value gets an orange background > Use function key [Select] to apply the selected value. OR: Use function key [Back] to cancel the process and close the listbox. Listbox shows selected value. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Slave selector control element Overview slave status .............................................................................................................................44 Overview free slave addresses ..............................................................................................................46 7018 There are two versions of the slave selector control elements: Overview slave status - present - configuration fault - peripheral fault - double-addressing fault Overview free slave addresses - for readdressing Slave selector control elements are part of the navigation. The slave selector control element represents the maximum possible extension of an AS-i network. > Each possible slave address is shown as a symbol. There are: - the single symbol (double height) and - the A or B symbol (single height). > A and B symbols are always displayed in pairs. > The A/B pair is displayed as soon as an A or B slave is used on this address. > The single symbol is displayed if neither an A nor a B slave is used on this address. > The info bar shows the AS-i master number and the AS-i slave address of the selected slave. > Initially the focus is on the symbol for the AS-i master operating mode. ► In the slave selector control element you can navigate in the field using the arrow keys [], [], [], []. 43 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Display (representation, setting, navigation) > Overview slave status 6992 Example: Slave selector control element with slave status overview > · On the slave addresses 0, 2B and 5 the projected slaves are missed. · On the slave addresses 1B, 12 and 31 the slaves signal periphery faults. · Slave 5 has been selected and thus has the focus. · The attribute of the selected slave is displayed in the attribute field at the bottom on the right. Here: slave 5 signals configuration error Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode > Slave status: colour code + symbols 11236 single slave A/B slave Colour Description Grey No slave found: slave address neither in the LPS nor in the LDS green Slave is in LAS Red Yellow Configuration error type 1: - slave is projected (in LPS) but not found (in LDS) Slave signals a peripheral fault pink Slave address exists several times (double address) grey red Configuration error type 2: - the found slave (in LDS) is not projected (in LPS) - the found slave has another profile than projected ( below "Special examples") (focus) > Attribute to this slave is displayed in the attribute field. From [Quick setup]: ► Use function key [Select] to go to page [Overview free slave addresses]. From [AS-i] > [Slaves]: ► Use function key [Select] to go to ... - indication of the slave data - slave information, - slave settings. ► Use the arrow keys [], [], [], [] to mark the requested slave (focus). ► Select the slave with the focus using the left function key [Select] for display and / or parameterisation of the slave. 44 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation > 2014-02-07 Display (representation, setting, navigation) In the attribute field (below the slave selector symbol) the attribute of the selected slave is displayed, e.g. "configuration error", "periphery fault", ... ► Use the right function key [Back] to return to the last navigation level (navigation bar or tab control element). > Meaning of the colour combinations 11237 Symbol Colour Meaning grey red grey Configuration error type 2: single slave is projected (in LPS) but not found (in LDS) Instead, a new A slave with the same address was installed. grey grey red Configuration error type 2: single slave is projected (in LPS) but not found (in LDS) Instead, a new B slave with the same address was installed. grey red Configuration error type 2: A or B slave is projected (in LPS) but not found (in LDS). Instead, a new single slave with the same address was installed. 45 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Overview free slave addresses 6993 Example: Slave selector control element with overview of the free addresses for single slaves This image appears after choosing "change slave address" ( chapter Change addresses of individual AS-i slaves (→ 79)). Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode > Free slave addresses: colour code + symbols 11239 Colour Description grey turquoise blue 46 Priority Slave address is already used. -- Address is free according to LDS (= no slave found), however: address belongs already to a stored projection (= application profile). 1 Address is free according to LDS (= no slave found). Address is not used in a stored projection (= application profile). 2 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Meaning of the colour combinations 11240 Symbol Colour grey blue Description Slave address is already used. Slave to be addressed is a single slave: § Single address is free. blue blue Slave to be addressed is an A/B slave: blue grey Slave to be addressed is an A/B slave: grey blue Slave to be addressed is an A/B slave: § § § A and B addresses are free. A address is free, B address is used. A address is used, B address is free. Slave to be addressed is a single slave: turquoise turquoise turquoise § Address is free according to LDS, however: § Address is already used in a stored projection. Slave to be addressed is an A/B slave: § A address and B address are free according to LDS, however: § Both addresses are already used in a stored projection. Slave to be addressed is an A/B slave: turquoise grey § A address is free according to LDS, however: § A address is already used in a stored projection. § B address is used. Slave to be addressed is an A/B slave: grey turquoise § B address is free according to LDS, however: § B address is already used in a stored projection. § A address is used. Slave to be addressed is an A/B slave: turquoise blue § A address and B address are free according to LDS, however: § Address is already used in a stored projection. § B address is free and is not used in a stored projection. Slave to be addressed is an A/B slave: blue turquoise § A address and B address are free according to LDS, however: § B address is already used in a stored projection. § A address is free and is not used in a stored projection. 47 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Change slave address 11241 ► In the screen [Overview slave status] use the arrow keys [], [], [], [] to select the slave whose address is to be changed. ► Select the slave marked with the focus using function key [Select] . When coming from > / > : Tab [Data] of the selected slave is active. ► Use several times the [] Tab [Setup] to select. ► Use function key [Select] or [] to go to the button [Change slave address] ► Use function key [Select] to activate the button [Change slave address] > The page [Overview free slave addresses] is displayed. ► Use the arrow keys [], [], [], [] to select the new address for the marked slave. ► Use function key [Select] to accept the new address. > A safety query is displayed. ► Use the function key [OK] to confirm the operation OR: Use the function key [Cancel] to cancel the operation. After function key [Cancel] : > screen [Overview free slave addresses] is displayed to select another address. OR: After function key [OK] : > / > : when coming from Tab [Setup] of the selected slave is active. OR: : When coming from page [Overview slave status] is displayed. ► Use several times the function key [Back] to go to the start screen. 48 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Acknowledge control element 7033 An acknowledgement is a safety query. The safety query covers the complete working area. In the navigation status bar (highlighted in light blue) the function keys are labelled according to the question in the text. Example: Slave address is to be changed from 1a to 1b. After function key [Back] : > changes are discarded. > Return to the data change page. OR: After function key [Select] : > changes are accepted and saved. > Further procedures can follow. 49 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Numerical control element 7046 The numerical control element allows to enter integral numerical values. The value range depends on the context. Numerical control elements are part of the following control elements: · IP address control element (→ 51) · Date control element (→ 52) · Time control element (→ 54) Example: Operation: corresponding control elements 50 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > IP address control element 7047 The IP address control element allows to enter IP addresses in the format w.x.y.z. An IP control element consists of 4 segments ( Numerical control element (→ 50)) which are separated by dots. The following value ranges apply for the individual segments: initials Designation w Value range 0...255 Network share x y 0...255 0...255 z Host share 0...255 Example: Operation: 1. 2. ► Use Arrow key [] / [] to select the IP address control element > Selected IP address control element gets focus (orange frame) > IP address control element shows valid IP address ► Use the function key [Select] to start the editing mode. > 3. Right segment gets focus (orange frame) [screenshot] ► Use Arrow key [] / [] to set the requested value in increments. Pressing the arrow key [] / [] and keeping it pressed allows to cover large value ranges. > 4. Segment shows new value ► Use Arrow key [] / [] to select the segment to be editted. > Selected segment gets focus (orange frame) 5. ► Repeat steps 3 and 4 until all segments have the requested value. 6. ► Use function key [Select] to confirm the set values and to leave the edit mode. OR: Use function key [Back] to reset the set values and to leave the edit mode. > IP address control element shows valid IP address. The change of an IP address is not always immediately effectiveThe change often has to be confirmed additionally by pressing a button (e.g. [Apply], [Apply selection]! > 51 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) Date control element 14197 The date control element allows to enter a date in the format YYYY-MM-DD (see table). A date control element consists of 3 segments ( Numerical control element (→ 50)) which are separated by hyphens. The following value ranges apply for the individual segments: initials Designation Value range YYYY Year 0000...9999 MM month 1...12 DD tag 1...31 Example: Operation: 1. 2. ► Use Arrow key [] / [] to select the date control element > Selected date control element gets focus (orange frame) > Date control elements shows current date ► Use the function key [Select] to start the editing mode. > 3. Right segment gets focus (orange frame) ► Use Arrow key [] / [] to set the requested value in increments. Pressing the arrow key [] / [] and keeping it pressed allows to cover large value ranges. > 4. Segment shows new value ► Use Arrow key [] / [] to select the segment to be editted. > Selected segment gets focus (orange frame) 5. ► Repeat steps 3 and 4 until all segments have the requested value. 6. ► Use function key [Select] to confirm the set values and to leave the edit mode. OR: Use function key [Back] to reset the set values and to leave the edit mode. > 52 Date control elements shows effective date ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) The change of a date is not always effective immediately.The change often has to be confirmed additionally by pressing a button (e.g. [Apply], [Apply selection]! 53 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > Time control element 14198 The time control element allows the entry of a time in the format HH:MM:SS. A time control element consists of 3 segments ( Numerical control element (→ 50)) which are separated by colons. The following value ranges apply for the individual segments: initials Designation Value range HH Hour 0...23 MM Minute 0...59 SS )* Second 0...59 Legend: )* Number field cannot be edited, is set automatically Example: Operation: 1. 2. ► Use Arrow key [] / [] to select the time control element > Selected time control element gets focus (orange frame) > Time control element shows the current time ► Use the function key [Select] to start the editing mode. ► Segment in the centre gets focus (orange frame) 3. ► Use Arrow key [] / [] to set the requested value in increments. Pressing the arrow key [] / [] and keeping it pressed allows to cover large value ranges. > 4. Segment shows new value ► Use Arrow key [] / [] to select the segment to be editted. > Selected segment gets focus (orange frame) 5. ► Repeat steps 3 and 4 until all segments have the requested value. 6. ► Use function key [Select] to confirm the set values and to leave the edit mode. OR: Use function key [Back] to reset the set values and to leave the edit mode. > 54 Time control element shows the valid time ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) The change of a time is not always immediately effective. The change often has to be confirmed additionally by pressing a button (e.g. [Apply], [Apply selection]). 55 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Display (representation, setting, navigation) > 4.1.5 Online helps 7055 The following help systems are available to the user: - Online Support Center ( Online Support Center (OSC) (→ 116)) > 4.1.6 Screen saver 7065 The screen saver extends the service life of the colour display. If no key on the device is pressed for 10 minutes, the screen saver switches off the display. The operator can activate/deactivate the screen saver ( Set display behaviour). > 4.1.7 Switch language 9137 Sequence from the start screen: ► > > Tab [System settings] > group [Language] Detailed description: 1. ► Use [] or [] to switch to the symbol [System]. 2. ► Use [] > [] to switch to the symbol [Settings]. 3. [System settings] [Language] 4. [English] [] 5. [Select] ► Use the function key [Select] to go to Tab [System settings] . > The menu screen [System settings] is displayed. > Focus is on the Tab [System settings] . ► Use several times [] to go to the group [Language] button. > Focus is on the [Sprache]. > The listbox shows the current language. ► Use the function key [Select] to open the [Sprache]. > A list of the possible languages opens. The focus shows the current language. ► Use [] or [] to mark the requested language. 6. ► Use the function key [Select] to select the new language. > 7. [Select] The listbox shows the newly set language. ► Use [] to mark the button [Select] . ► Use the function key [Select] to activate the new language. 56 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 8. 2014-02-07 Display (representation, setting, navigation) [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > That's it! 57 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > 4.2 Web server General ...................................................................................................................................................58 Connection concepts ..............................................................................................................................59 Recommended browsers........................................................................................................................61 Operating instructions .............................................................................................................................61 7068 The devices of the ifm device family AC142n have an integrated web server. It generates a web surface which allows remote access to all device functions via an internet browser. Via an Ethernet network the operator can easily configure, parameterise and monitor the device in permanent operation. > 4.2.1 General 7069 The operating concept of the web interface follows the same philosophy as the operating concept of the local display. The web interface uses § the same menu items § the same menu structure and § the same symbols as the graphic user interface of the local display. In addition, it offers the following functions: > § 58 Download the device description file (GSDML file) ( Download device description (→ 113)) ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > 4.2.2 Connection concepts 7071 The configuration interface X3 has to be connected with a computer with web browser to offer access to the web interface of the AC142n. The AC142n supports the following connection types: · Direct link ( Direct link (→ 59)) · Connection via Ethernet network ( Connection via Ethernet network (→ 60)) > Direct link 12551 To establish a direct connection to the device, proceed as follows: ► Connect configuration interface X3 of the device with the Ethernet interface of the PC/laptop ► Activate control field [Obtain an IP address automatically] ( Ethernet configuration interface (→ 108)) > Splash screen > [Interfaces] > [Configuration interface] > [IP-Setup] > [IP address] shows the assigned IP address of the AC142n ► If necessary, activate option [Obtain an IP address automatically] in the TCP/IP features of the PC/laptop ( Operating instructions operating system, Note) > Connection between AC142n and PC/laptop is made 59 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > Connection via Ethernet network 12553 To create a connection to the unit via an Ethernet network, the AC142n has to be connected with a coupling element (e.g. Ethernet switch, WLAN router). Proceed as follows: Preparations: ► Activate DHCP function of the Ethernet switch/WLAN router Option 1: Fieldbus and web interface data are transmitted via different networks ► Connect configuration interface X3 via Ethernet cable with the Ethernet switch/WLAN router. ► Activate [Obtain an IP address automatically] ( Ethernet configuration interface (→ 108)) ► Connect PC/laptop with the Ethernet switch or: Connect PC/laptop wireless with the WLAN router ► If necessary, activate the option [Obtain an IP address automatically] in the IP settings of the PC/computer > Connection between AC142n and PC/laptop is made > Option 2: Transmit fieldbus and web interface data via the same network 4183 ► Connect configuration interface X3 with the fieldbus interface X7 ► Connect fieldbus interface X6 with the Ethernet switch ► Activate [Obtain an IP address automatically] ( Ethernet configuration interface (→ 108)) ► Connect PC/laptop with the Ethernet switch ► If necessary, activate the option [Obtain an IP address automatically] in the IP settings of the PC/computer > 60 Connection between AC140n and PC/laptop is made ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > 4.2.3 Recommended browsers 7070 Use one of the following Internet browsers to correctly display the HTML pages of the web interface: § Microsoft Internet Explorer (from version 8.0) § Mozilla Firefox (from version 3.5) > 4.2.4 Operating instructions 7072 To access the web interface of the AS-i device, proceed as follows: ► PClLaptop/mobile device: Start Internet browser ► Internet browser: Enter IP address of the AS-i device in the address line (e.g. 192.168.82.2) > Internet browser displays the start page of the web interface > Browser displays contents of the menu [setup] > Web interface: Navigation 14193 In the web interface the pointer device (e.g. PC mouse, touch pad) replaces the following key function: § Navigation function of the arrow keys [], [], [], [] § Selection function of the function keys [Selection] und [Back] Example: To call > proceed as follows ► Position cursor in the main navigation bar on symbol [System] > Symbol [System] gets focus > Subnavigation bar 1 appears > Navigation trail shows current position in the menu tree (System) ► Place cursor in subnavigation bar 1 on symbol [Diagnosis] > Symbol [Diagnosis] gets focus ► Mouse click on symbol [Diagnosis] > Web browser shows contents of the menu [Diagnosis] > Navigation trail shows current position in the menu tree ([System] > [Diagnosis]) 61 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > Web interface: Password protection 14187 The web server has a simple password protection to prevent unwanted or unauthorised changes to the device settings via the web interface. When the web interface is accessed, a status bar at the top shows if the user is logged in or logged out: Symbol Description = User is logged in. > Access to device settings > Access to diagnosis and information data = User is logged out. > No access to device settings > Access to diagnosis and information data The password protection cannot be deactivated! The password cannot be changed! In the logged out state an error message is displayed when a user in the web interface accesses a menu with device settings. > Log in at the web interface 14221 To log in at the web interface, proceed as follows: 1. ► Start web interface ( Operating instructions (→ 61)) > 2. Status line with status message is displayed at the top of the web interface ► Enter the password in the field [Password:] The password is: CAFE To prevent unauthorised access to the device settings, deactivate password stoare function of the web browser! ► Log into the web interface by clicking [Login] > Status bar shows changed status > User has unlimited access to all menus and functions of the web interface An error message is given when the wrong password is entered. ► Repeat password! 62 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Web server > Disconnect from web interface 14276 To log out of the web interface proceed as follows: 1 ► Start web interface > 2 Status line with status message is displayed at the top of the web interface ► Log out of the web interface by clicking [Logout] > Status bar shows changed status > User can only access menus in the web interface containing diagnostic and information data NOTE The user stays logged into the web interface even when the web browser is closed and then restarted. To prevent unauthorised access to the device settings: ► After finishing the access via the web browser manually log out of the device web interface! ► When passwort memory function of the web browser is not deactivated: Delete all saved passwords in the browser settings! 63 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Getting started > 4.3 Getting started 8999 > 4.3.1 Connect the unit 9000 > Voltage supply, AS-i, functional earth 9001 Device is supplied via ... AUX ► Remove the AUX jumper from the X2 socket and replace it with a 2-pole Combicon connector. AS-i 1 Data decoupling ► Verify that the AUX jumper is inserted in the X2 device socket. ► Remove the AUX jumper and the Combicon connector from the X1 and X2 device sockets. ► Connect the AUX voltage, ► Connect the AS-i voltage(s) the AS-i voltage and the and the functional earth as functional earth as indicated indicated on the terminals. on the terminals. ► Connect the AC1250 data decoupling module (accessory) to the X1 and X2 device sockets. ► Connect the AUX voltage, the AS-i network(s) and the functional earth as indicated on the terminals of the AC1250. Details ® Supply concept 1 (→ 17) 64 Details ® Supply concept 2 (→ 18) Details ® Supply concept 3 (→ 19) ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Getting started > Profinet interface 9002 Is the device to be connected to Profinet? Yes No ► Integrate the device into the Profinet system via the X6 (port 2) and/or X7 (port 1) Ethernet ports according to the requested topology. --- Details Profinet fieldbus interface (→ 21) > Configuration interface 9003 Should it be possible to access the configuration interface via an Ethernet network, e.g. to the web server functionality? yes no Is the Ethernet network the afore-mentioned Profinet network? --- yes no ► Establish a connection between the X3 configuration interface and any free Ethernet port of the Profinet network. ► Establish a connection between the X3 configuration interface and any free Ethernet port of the network. --- Unless one of the X6 or X7 Profinet ports of the device is used, a connection can also be made to this port. ® Where is what on the AS-i device? (→ 14) 65 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Getting started > 4.3.2 Use QR code to access the device 12284 A QR code (Quick Response Code) allows access to the web interface of the device using a smartphone or tablet pc. Requirements: > § AS-i device is connected to a wireless-LAN router with switch functionality. ( Connection concepts (→ 59)) § The smartphone/table is connected to the wireless-LAN router. § The smartphone has a camera function § An app for reading QR codes is installed on the smartphone. When switched on, the display shows the status screen. ► Select function key [QR code] > Display shows QR code: ► If required: Activate wireless LAN function on the smartphone. ► Start smartphone app to read QR codes ► Read QR code > 66 Smparthone shows the device web interface ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Getting started > 4.3.3 Connect and address the AS-i slaves 9004 Have the AS-i slaves already been addressed? Yes no How are the AS-i slaves to be addressed? --- via the AC1144/54 AS-i addressing unit (accessory) Address the AS-i slaves: --- Operating instructions of the addressing unit AC1144 or AC1154 via the AS-i master (1) ► Connect ONE AS-i slave to be addressed to the appropriate AS-i network (AS-i 1 or AS-i 2) according to the respective installation instructions. Menu operation: --- --- --- ► Connect the AS-i slaves according to the appropriate installation instructions to the AS-i network(s). ► > Tab [Addressing AS-i 1] or Tab [Addressing AS-i 2] ► Mark the current address of the newly connected AS-i slave in the slave selection. On delivery each AS-i slave has the address 0. ► Use the function key [Select] to start the editing mode. > Selection of the free AS-i addresses is displayed. ► Mark the requested target address in the selection of the free AS-i addresses. --- ► Use function key [Select] to confirm the set values and to leave the edit mode. OR: Use function key [Back] to reset the set values and to leave the edit mode. --- > A safety query is displayed. ► Use the function key [OK] to confirm the operation OR: Use the function key [Cancel] to cancel the operation. further information Have all AS-i slaves been addressed? Yes no Menu operation: ► > [Project all] back to (1) ► Select the AS-i master to be projected. 67 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation ► Use arrow key [] to mark button [Start projection process] and function key [Select] to activate. > AS-i master accepts the found slaves (LDS) in the list of the projected slaves (LPS). Manually address slave Change addresses of individual AS-i slaves (→ 79) Quick Setup Quick setup (→ 73) 68 2014-02-07 Getting started ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Getting started > 4.3.4 Set up Profinet 9007 Note the description of the Profinet interface on the Profinet controller. ► Copy the GSDML file of the respective fieldbus configuration program into the suitable directory ( Download device description (→ 113), operating instructions fieldbus configuration program). ► Define the data to be transmitted of the device and of the connected AS-i systems in the programming software for the Profinet master system. · In the Profinet controller, virtual slots are assigned to the addressed inputs / outputs via AS-i. ► Define Profinet modules. ► Set device-specific parameters. ► Finish set-up: System behaviour ► Define the system behaviour in the fieldbus configuration program, e.g. response monitoring (watchdog) etc. Save ► Save the configuration. ► Transmit the configuration to the Profinet controller. Start ► Start Profinet controller. If there is communication on the fieldbus: ► Use > > > Tab [Profinet data] to display the settings configured in the fieldbus master on the AS-i master. > 4.3.5 Set up configuration interface 9006 In case of doubt or problems please contact your system administrator. Sequence from the start screen: ► > Detailed description: ® chapter Ethernet configuration interface (→ 108) 69 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4 Sensor functions 9009 > 4.4.1 How does it work? (sequence of actions) AS-i: Project all .......................................................................................................................................70 Set operating modes ..............................................................................................................................70 Select the operating mode of the AS-i master........................................................................................70 AS-i: Change slave address ...................................................................................................................71 Display: Switch language .......................................................................................................................71 Interface: Set the configuration interface................................................................................................71 Interface: Profinet settings ......................................................................................................................71 Update device firmware ..........................................................................................................................72 9010 > AS-i: Project all 9015 Sequence from the start screen: ► > Tab [Project all] > Select master > [Start projection process] Detailed description: ® chapter config all (→ 74) > Set operating modes 9014 ► > Tab [Operation modes] > Select operating mode Detailed description: ® chapter Set operating modes (→ 74) > Select the operating mode of the AS-i master 9041 Sequence from the start screen: ► or > Detailed description: ® chapter Select the operating modes for AS-i master 70 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > AS-i: Change slave address 9024 Sequence from the start screen: ► > Tab [Addressing AS-i 1] or [Addressing AS-i 2] Detailed description: Change addresses of individual AS-i slaves (→ 79) OR: ► or > Detailed description: Set up the AS-i slaves > Display: Switch language 9017 Sequence from the start screen: ► > > Tab [System settings] Detailed description: ® chapter Switch language (→ 56) > Interface: Set the configuration interface 9022 Sequence from the start screen: ► > Tab [Configuration interface] Detailed description: via [Quick setup] ® chapter Set the configuration interface (→ 77) via [Interfaces] > [Configuration interface] ® chapter Ethernet configuration interface (→ 108) > Interface: Profinet settings 9020 Sequence from the start screen: ► > Tab [Profinet] Detailed description: ® chapter Profinet settings (→ 76) 71 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Update device firmware 13545 To update the device firmware, proceed as follows: ► Download firmware file from the website of ifm electronic gmbh > Select country > [Data sheet search] > article no. > [Software Download] ► Copy file into the root directory of the SD card ► Separate device from the circuit ► Insert SD card with the new firmware into the SD card slot SD card slot (→ 21) ► Press the following buttons simultaneously ( Figure): § left function key § Arrow key [] § Arrow key [] ► Keep keys pressed and connect AC142n with circuit > Keep keys pressed until the screen [ifm Recovery] appears ( figure) ► Use [] / [] to select the option [Install from SD] ► Start the update process with [OK] ► Follow the instructions on the display 72 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4.2 Quick setup config all..................................................................................................................................................74 Set operating modes ..............................................................................................................................74 Profinet settings ......................................................................................................................................76 Set the configuration interface ................................................................................................................77 Change addresses of individual AS-i slaves ..........................................................................................79 7273 Symbol Description quick setup This is a container for the primary device functions: · automatic adoption of the slave configuration Project all · setting the operating modes · setting the fieldbus · setting the configuration interface · address the AS-i slaves 73 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > config all 8973 The AS-i master always works with only those AS-i slaves that are in its list of projected slaves. As soon as there are deviations, the AS-i master excludes this slave address from processing. Added slaves are recognised but not integrated in the program sequence. With [Project all] the AS-i master accepts the configuration of all AS-i slaves currently found in the bus into its memory. This function is useful as soon as a change has been made in the AS-i network, e.g.: - AS-i slave replaced with another profile than before - dynamic change of attachments with own AS-i slaves - static restructuring of the machine/plant Sequence from the start screen: ► > Tab [Project all] Detailed description: ► Use [] or [] to switch to the symbol [Quick setup]. 1. 2. 3. [Project all] ► Use [] to change to Tab [Project all] . ► Use [] to change to check box [AS-i master 1] AS-i master 1 ► Use function key [Select] to activate the check box to select this master. 4 OR: (option) ► Use [] to change to check box [AS-i master 2] AS-i master 2 ► Use function key [Select] to activate the check box to select this master. 5. [Start projection process] ► Use [] to change to button [Start projection process] ► Use function key [Select] to start projection. > 6. AS-i master accepts the found slaves (LDS) in the list of the projected slaves (LPS). [Back] ► Use several times the function key [Back] to go to the start screen. 7. > That's it! > Set operating modes 8974 Sequence from the start screen ► > Tab [Operation modes] Detailed description: ► Use [] or [] to switch to the symbol [Quick setup]. 1 2 [Project all] ► Use [] to change to Tab [Project all] 3. [Operation modes] ► Use [] to change to Tab [Operation modes] 74 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > 4. 5. [AS-i master 1] Displays the following groups: § group [AS-i master 1] § group [AS-i master 2] (option) § group [Output access] ► Use [] to change to group [AS-i master 1] ► Mark the requested parameter with [] / []. ► Activate or deactivate the parameter with function key [Select] . > 6. Project mode The change is immediately effective. = projection mode The configuration in the AS-i network can be projected. = protected mode normal operation; projection is not possible. 7 No slave reset = operating mode change without slave reset After the operating mode has changed, the AS-i slaves continue working without interruption. = operating mode change with slave reset After the operating mode has changed, the slaves are reset before they start operating normally again. 8 [AS-i master 2] ► Repeat steps 5 - 7 for AS-i master 2 (optional) 9. [Output access] Select from a list which instance is authorised to control the outputs of the AS-i slaves, e.g.: [Gateway] = fieldbus master [Manually] = HMI [Gateway] [] ► Use [] to change to group [Output access] > Focus is on the [Ausgangskontrolle]. > The listbox shows the current responsibility. Example: [Gateway] ► Use button [Select] to open the [Output acces] 10. > List of the possible responsibilities opens. The focus shows the current responsibility. ► Use [] or [] to highlight the current responsibility. 11. ► Use function key [Select] to select the new responsibility. > 12. [Select] The listbox shows the reset responsibility. ► Use [] to highlight button [Select] ► Use function key [Select] to activate the new responsibility. 13. [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > That's it! > 75 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions Profinet settings 8976 Here you set the parameters of the fieldbus interface Profinet. Sequence from the start screen: ► > Tab [Profinet] Detailed description: ► Use [] or [] to switch to the symbol [Quick setup]. 1. 2. [Project all] ► Use [] to go to Tab [Project all] . 3. [Profinet] ► Use [] twice to go to Tab [Profinet] . > 4. Displays the following groups: § group [IP address] § group [Subnet mask] § group [Gateway address] ► Use [] to select the requested page. 5. 6. [IP address] IP address of the AS-i master (change IP address control element (→ 51)) 7. [Subnet mask] Subnet mask (change IP address control element (→ 51)) Address assignment in Ethernet networks (→ 136) 8. [Gateway address] 9. [Accept] IP address of the router (change IP address control element (→ 51)) ► Use [] to go to button [Accept] . ► Use function key [Select] to activate the changes. 10. [Back] ► Use several times the function key [Back] to go to the start screen. > 76 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set the configuration interface 8991 Here you set the parameters of the Ethernet configuration interface (X3 port). Sequence from the start screen: > Tab [Configuration interface] Detailed description: ► Use [] or [] to switch to the symbol [Quick setup]. 1. 2. [Project all] ► Use [] to change to Tab [Project all] 3. [Configuration interface] ► Use [] several times to change to Tab [Configuration interface] > 4 § group [IP address] § group [Subnet mask] § group [Gateway address] ► Use [] to select the requested page. 5 6 Displays the following groups: Optain IP address autom. > check box [Optain IP address autom.]: Display of the current setting. § = IP address indicated below is valid. § When valid IP address of the DHPC server was indicated: = The device will obtain the IP address from the DHCP server. § If no DHCP server has been found: = The IP address was created at random by means of the Zeroconf protocol from the following address range: 169.254.nnn.nnn Subnet mask for this = 255.255.0.0 ► Activate or deactivate the parameter with function key [Select] . ► The change is immediately effective. 7 8 IP status: Static [IP address] 169.254.144.209 > Display status of the IP connection: § "DHCP" = Dynamic Host Configuration Protocol The device will obtain the IP address from the DHCP server. § "Zeroconf" = Zero Configuration Networking The IP address generates an IP address by means of the Zeroconf protocol § "Static" = manually defined IP address The IP address is not obtained automatically. The device statically uses the following IP address: Interface IP address (Change value IP address control element (→ 51), only possible if [Optain IP address autom.] = ) 77 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions 9. [Subnet mask] 255.255.0.0 Subnet mask (Change value IP address control element (→ 51), only possible if [Optain IP address autom.] = ) 10. [Gateway address] 0.0.0.0 11. [Accept] IP address of the DHCP server (change IP address control element (→ 51)) ► Use [] to button [Accept] go to ► Use [Select] to activate the changes. 12. [Back] ► Use several times the function key [Back] to go to the start screen. > 78 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Change addresses of individual AS-i slaves 8992 Here you can change the addresses of individual AS-i slaves. Sequence from the start screen: ► > Tab [Addressing AS-i 1] or [Addressing AS-i 2] Detailed description: ► Use [] or [] to switch to the symbol [Quick setup]. 1. 2. [Project all] ► Use [] to change to Tab [Project all] 3. [Addressing AS-i 1] ► Use [] several times to change to Tab [Addressing AS-i 1] or [Addressing AS-i 2] (option). 4. [Overview slave status] > Display page [Overview slave status]: Description Overview slave status (→ 44) > Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode ► Use [] / [] to mark the slave address to be changed. ► Use function key [Select] to select this slave 79 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 5 2014-02-07 Sensor functions [Overview free slave addresses] > Display page [Overview free slave addresses]: Description Overview free slave addresses (→ 46) > Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode ► Use [] / [] to mark the requested target address to which the AS-i slave is to be changed. ► Use function key [Select] to accept the new address. > 6 A safety query is displayed. ► Use the function key [OK] to confirm the operation OR: Use the function key [Cancel] to cancel the operation. [Cancel] After function key [Cancel] : 7 > Page [Overview free slave addresses] is displayed to select another address. ► Continue with step 5 OR: 8 [OK] After function key [OK] : > Page [Overview slave status] is displayed. If as a consequence of this measure the current configuration does no longer correspond to the saved configuration: > 9. 80 "Configuration error" error message is displayed. [Back] ► Use several times the function key [Back] to go to the start screen. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4.3 Set up the AS-i master + slaves Master set-up ..........................................................................................................................................82 Diagnosis ................................................................................................................................................85 AS-i Slaves set-up ..................................................................................................................................87 8955 Symbol Description Main navigation bar AS-i 1 AS-i line 1: - master - diagnosis - slaves AS-i 2 (optional) AS-i line 2: - master - diagnosis - slaves Subnavigation bar 1 AS-i master AS-i master settings Diagnosis show diagnosis AS-i slaves AS-i slaves 81 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set up the AS-i master 8996 Sequence from the start screen ► or > Detailed description: ® following chapters > Operating modes in the AS-i master 8934 What operating modes are available in the AS-i master? The master of the device can be used in the following operating modes: Operating mode Meaning Use Protected mode The AS-i master communicates only with those AS-i slaves that were correctly projected (= that are entered in the list of projected slaves, LPS) Useful if the removal or adding of AS-i slaves is not to affect the running AS-i system. The AS-i master constantly monitors if the constellation of the AS-i slaves in the network is identical with the saved projection. Changes to the projected constellation of the slaves are indicated as an error message: > "Slave missing" or "Slave not projected" If a faulty slave is replaced with a slave of the same type (with the address 0), the system detects the replacement, adopts the new slave and assigns it the address of the faulty slave. Projection mode The AS-i master communicates with all Only makes sense in case of planned AS-i slaves whose address is not equal changes to the AS-i system. to '0'. · The user can freely select the operating modes. · The operating modes do not change automatically. > In principle, changes to the slaves which are connected to the master via AS-i are immediately detected. 82 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions Set up the AS-i master 8938 Sequence from the start screen: ► or > Detailed description: 1. , ► Use [] > [] to go to symbol [AS-i 1 master settings]. 2. 3. ► Use [] or [] to switch to the symbol [AS-i master]. [AS-i master setup] ► Open the menu with the function key [Select] or with []. > > 4. 5. 6. Project mode No slave reset [Start projection process] Automatic addressing § check box [Project mode] § check box [No slave reset] (operating mode change without slave reset) § button [Start projection process] § check box [Automatic addressing] (address slave automatically) § check box [Double address detection] § check box [Earth fault detection] Focus is on the checkbox [Project mode] ► Activate or deactivate the parameter with function key [Select] . § = Projection mode § = Protected mode ► Activate or deactivate the parameter with function key [Select] . § = operating mode change without slave reset § = operating mode change with slave reset ► Use button [Start projection process] to start projection. > 7. Displays the following parameters: AS-i master accepts the found slaves (LDS) in the list of the projected slaves (LPS). ► Activate or deactivate the parameter with function key [Select] . § = new AS-i slave with address 0 automatically gets the next free slave address § = address new slaves manually chapter Set up the AS-i slaves 83 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation 8. 9. Sensor functions Double address detection Earth fault detection ► Activate or deactivate the parameter with function key [Select] . § = Detect double AS-i slave addresses in the AS-i network § = Do not detect double AS-i slave addresses in the AS-i network ► Activate or deactivate the parameter with function key [Select] . § § 10. [Back] > = detect earth fault in the AS-i system = do not detect earth fault in the AS-i system chapter Show evaluation of the voltage supply The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > 84 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > AS-i diagnosis 9039 Sequence from the start screen: or ► > Detailed description: ® following chapters > Show / delete error counter 9042 Sequence from the start screen: ► or > > tab [Error counters] Detailed description: Here the device shows the counter reading of the following errors since the last reset. ► Set all counter readings to zero with button [Reset] . > Display error counter telegrams > Display error counter configuration > Display error counter voltage < 22.5 V > Display error counter voltage < 19.0 V > Display error counter earth faults ► Use several times the function key [Back] to go to the start screen. > Show error messages of the slaves 9087 Sequence from the start screen: ► or > > tab [Errors / slave] Detailed description: Here the device shows the counter reading of the error messages of all slaves since the last reset: Address = address of the AS-i slave S/A = error counter of a single or A slave on this address B = error counter of a B slave on this address ► Use [Select] or [] to switch to the slave list. ► Use [] / [] to scroll in the slave list. ► Use several times the function key [Back] to go to the start screen. 85 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Show evaluation of the voltage supply 9088 Sequence from the start screen: ► or > > tab [Power supply] Detailed description: Here the device displays the status of the voltage supply: Parameter Meaning Contents Power supply: method of the device supply ® chapter Power supply concepts (→ page 16) Aux = separated supply AS-i and AUX 24 V AS-i = supply only from AS-i network 1 Power24 = supply from data decoupling module AS-i voltage: AS-i voltage measured DC earth fault: evaluation of the network symmetry value in [V] (green) = AS-i network is symmetrical (yellow) = AS-i network is asymmetrical (red) = AS-i network has earth fault = graphical display of the network symmetry ► Use several times the function key [Back] to go to the start screen. > Show performance of the AS-i master 9089 Sequence from the start screen: ► or > > tab [Performance] Detailed description: Here the device shows the number of the active AS-i slaves and the cycle times for each AS-i master since the last reset: > Display number of the active AS-i slaves on the AS-i master. > Display of the shortest cycle time. > Display of the longest cycle time. > Display of the current cycle time. ► Use the button [Reset] to delete the shortest and longest time measurement. ► Use several times the function key [Back] to go to the start screen. 86 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set up the AS-i slaves 9037 Sequence from the start screen: ► or > Detailed description: 1. or ► Use [] or [] to switch to the symbol [AS-i master]. 2. ► Use [] to go to the symbol [Diagnostics]. 3. ► Use [] to go to the [Slaves] symbol. ► Use the function key [Select] to open the slave control field. 4. [Overview slave status] > Display [Overview slave status]: 0 1 2 3 4 5 6 7 8 9 A 0x B A 1x B A 2x B A 3x B Config error Description ® Overview slave status (→ page 44) > Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode ► Mark the slave address to be changed with [] / []. ► Use the function key [Select] to select this slave Continuation following chapters 87 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > AS-i: Displays slave data 10934 Detailed description: (continued) 5. 6. [Data] > 88 § group [Inputs] (depending on the slave type) § group [Outputs] (depending on the slave type) § group [Parameter input] [Inputs] [Outputs] if digital slave: analogue slave: [Parameter input] > chapter Slave data: digital slaveif chapter Slave data: analogue slave Displays parameter input: binary and hexadecimal display of the values = bit is deactivated = bit is activated [Back] ► Use several times the function key [Back] to go to the start screen. > > Use tab [Data] to display the following groups: That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Slave data: digital slave 10939 Detailed description: (continued) [Inputs] > Displays input values: binary and hexadecimal display of the values = bit is switched off = bit is switched on WARNING Risk of personal injury! Risk of material damage to the machine/plant! If the jog mode is deactivated: After changing the slave outputs the output values remain on the changed values. The output values only change in the following cases: · manual new setting of the outputs via Slave Setup, · start the PLC program and the program processes the outputs (available only for devices with PLC), · deactivate and restart the device. ► Secure the concerned area. ► Only trained personnel is allowed to set outputs manually. ► Change the inverted outputs again immediately to the original values after the end of the test! 89 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions [Outputs] > Displays output values: binary and hexadecimal display of the values = bit is switched off = bit is switched on ► check box [Jog mode]: = Output bits changed subsequently remain in their current state until another manual selection. = Output bits changed subsequently are only inverted while the [] / [] button is pressed. NOTE! Activating or deactivating the jog mode does NOT change the output signals! ► Use the function key [Select] to start the editing mode. > The ready-to-edit bit has a coloured frame. ► Use [] or [] to mark the requested bit. ► Use [] or [] to invert the marked bit. § : If Jog mode = change will become permanently effective once the edit mode is exited. § : If Jog mode = change is only effective while the [] / [] button is being pressed. ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. [Parameter input] 90 > Displays parameter input: binary and hexadecimal display of the values = bit is switched off = bit is switched on ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Slave data: analogue slave 10940 Detailed description: (continued) [Inputs] > Displays input values (if input slave): decimal display of analogue values per channel valid bit and overflow bit: = bit is switched off = bit is switched on [Outputs] > displays analogue values (if output slave): bit [analogue state]: = bit is switched off = bit is switched on decimal display of analogue values per channel ► Use the function key [Select] to start the editing mode. ► Use [] or [ to mark the requested digit. ► Use [] / [] to set the requested value. Permissible values: 0...9 ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. [Parameter input] > Displays the parameter input: binary and hexadecimal display of the values = bit is switched off = bit is switched on 91 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > AS-i: Displays the slave information 10935 Detailed description: (continued) ► Use [] to go to tab [Information] . 5. 6. 7. 8. [Information] > [AS-i slave status] [AS-i slave profile] Displays the following groups: § group [AS-i slave status] § group [AS-i slave profile] > Displays the selected slave address > Displays the slave status: Colours chapter Overview slave status (→ page 44) > Displays the slave profile (hexadecimal): IO, ID, ID2, ID1 [Back] ► Use several times the function key [Back] to go to the start screen. 9. > That's it! AS-i: Slave settings 10936 Detailed description: (continuation) ► Use [] to go to tab [Setup] . 5. 6. 92 [Setup] > Displays the following groups: § button [Change slave address] continue chapter Change slave address § group [Parameter output] continue chapter Change slave parameters § group [ID1] continue chapter Change slave ID 1 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Change slave address 10944 Detailed description: (continued) 7. [Change slave address] ► Use the function key [Select] or [] to go to the button [Change slave address] . ► Use the button [Change slave address] to go to the page [Overview free slave addresses]. 8. [Overview free slave addresses] > Display [Overview free slave addresses]: 0 1 2 3 4 5 6 7 8 9 A 0x B A 1x B A 2x B A 3x B Description Overview free slave addresses (→ page 46) > Display AS-i master operating mode: = AS-i master in protected mode = AS-i master in projection mode ► Use [] / [] to mark the requested target address to which the AS-i slave is to be changed. ► Use the function key [Select] to accept the new address. > 9. A safety query is displayed. ► Use the function key [OK] to confirm the operation OR: Use the function key [Cancel] to cancel the operation. [Cancel] After function key [Cancel] : 10. > Page [Overview free slave addresses] is displayed to select another address. ► Continue with step 5. OR: 11. [OK] After function key [OK] : > Device changes to tab [Data] . If as a consequence of this measure the current configuration does no longer correspond to the saved configuration: > 12. "Configuration error" message is displayed. [Back] ► Use several times the function key [Back] to go to the start screen. > That's it! 93 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions Change slave parameters 10945 Detailed description: (continued) 7. [Parameter output] ► Use [] to go to group [Parameter output]. > 8. [Select] Displays the slave parameter output: binary and hexadecimal display of the values = bit is switched off = bit is switched on ► Use the function key [Select] to start the editing mode. > The ready-to-edit bit has a coloured frame. ► Use [] or [] to mark the requested bit. ► Use [] or [] to invert the marked bit. = bit is switched off = bit is switched on ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. 9. [Back] ► Use several times the function key [Back] to go to the start screen. > 94 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Change slave ID 1 10952 Detailed description: (continued) [ID1] 7. ► Use [] to go to group [ID1]. > 8. [Select] Displays the slave profile (ID1): Hexadecimal display of the values ► Use the function key [Select] to start the editing mode. > Selection of the possible values is displayed. ► Use [] / [] to set the requested value. ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. > The change is immediately effective. If as a consequence of this measure the current configuration does no longer correspond to the saved configuration: > 9. "Configuration error" message is displayed. [Back] ► Use several times the function key [Back] to go to the start screen. > That's it! > 95 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4.4 System System information .................................................................................................................................96 System set-up .........................................................................................................................................97 System diagnosis .................................................................................................................................106 8957 Symbol Description Main navigation bar system System: - information - settings - diagnosis Subnavigation bar 1 Information show information settings make settings Diagnosis show diagnosis > System information 7281 Sequence from the start screen: ► > Detailed description: (Only display, entries cannot be edited) > Display of the model identification of the device, e.g. AC140n > Display of the serial number of the device > Display of the version number of the system software > Display of the version number of the main board ► Use several times the function key [Back] to go to the start screen. 96 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > System set-up 7274 Sequence from the start screen: ► > Detailed description: ® following chapters > System settings 10955 In this menu you can make the following settings: - Set the AS-i output access - Switch language - Set display behaviour Sequence from the start screen: ► > > tab [System settings] Detailed description: 1. ► Use [] or [] to switch to the symbol [System]. 2. ► Use [] > [] to go to symbol [Settings]. 3. [System settings] 4. ► Open the menu with the function key [Select] or with []. > Menu screen [System settings] is displayed. > Focus is on tab [System settings] . > Displays the following groups: § group [Output access] continue chapter Set the AS-i output access § group [Language] continue chapter Switch languagegroup [Display Behaviour] continue chapter Set display behaviour Set the AS-i output access 9100 The AS-i outputs may only be controlled by exactly one instance, e.g.: - gateway: the fieldbus master controls the outputs. - manual: the HMI controls the outputs. Here you can select which instance is to be responsible for the control of the outputs of the AS-i slaves. Sequence from the start screen: 97 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation ► 2014-02-07 Sensor functions > > tab [System settings] > group [Output access] Detailed description: (continuation) 4. [Output access] [Gateway] [] ► Use [] to go to the group [Output access] button. > Focus is on the listbox [Output access] . > The listbox shows the current responsibility. ► Use the [Select] to open the listbox [Output access] 5. > List of the possible responsibilities opens. The focus shows the current responsibility. ► Use [] or [] to mark the requested responsibility. 6. ► Use the function key [Select] to select new resonsibility. > 7. [Accept selection] The listbox shows the reset responsibility. ► Use [] to mark the button [Accept selection] . ► Use the function key [Select] to activate the new responsibility. 8. [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > 98 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Switch language 7088 Here you can select the language in which the texts are to be displayed. Prerequisite Function Key combination > previous language [] + [] next language [] + [] The system has been started. OR: Sequence from the start screen: ► > > tab [System settings] > group [Language] Detailed description: (continuation) [Language] 4. ► Use several times [] to go to the group [Language] button. [English] [] 5. [Select] > Focus is on the listbox [Language]. > The listbox shows the current language. ► Use the function key [Select] to open the listbox [Language]. > A list of the possible languages opens. The focus shows the current language. ► Use [] or [] to mark the requested language. 6. ► Use the function key [Select] to select the new language. > 7. [Accept selection] The listbox shows the newly set language. ► Use [] to mark the button [Accept selection] . ► Use the function key [Select] to activate the new language. 8. [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > That's it! 99 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Set display behaviour 9107 Here you can set how the display is to behave when it has not been used for a while. Sequence from the start screen: ► > > tab [System settings] > group [Display Behaviour] Detailed description: (continuation) 4. [Display Behaviour] ► Mit [] zur group [Display Behaviour] wechseln. > 5. Anzeige des aktuellen Display-Verhaltens: - check box Screen saver - check box Fallback to start screen ► Activate or deactivate the parameter with function key [Select] . Screen saver screen saver is activated: > When the set time has elapsed the display switches off. The current menu position does not change. ► For reactivation: press any key. screen saver is deactivated: > 6. Fallback to start screen The display remains switched on. ► Activate or deactivate the parameter with function key [Select] . fallback to start screen is activated: > When the set time has elapsed, the display automatically changes to the start screen. fallback to start screen is deactivated: > 7. [Back] > The current menu position does not change. The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > 100 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set the clock (RTC) 10954 RTC = Real Time Clock In this menu you can set the real-time clock Sequence from the start screen: ► > > tab [System settings] > tab [Clock] Detailed description: 1. ► Use [] or [] to switch to the symbol [System]. 2. ► Use [] > [] to go to symbol [Settings]. 3. [System settings] ► Open the menu with the function key [Select] or with []. > Menu screen [System settings] is displayed. > Focus is on tab [System settings] . ► Use [] to go to tab [Clock] . 4. > Displays the following groups: § group [Time] continue chapter Set time § group [Date] continue chapter Set date § group [Network Time Protocol] continue chapter Set Network Time Protocol (NTP) 101 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Set time 10963 Here you set the time of the real-time clock. Sequence from the start screen: ► > > tab [System settings] > tab [Clock] > group [Time] Detailed description: (continued) [Time] 4. ► Use [] to go to group [Time]. > 5. [Select] Displays the current time. ► Use the function key [Select] to start the editing mode. > The ready-to-edit bit has a coloured frame. ► Use [] or [] to mark the requested number group. ► Use the arrow keys [] / [] to increment or decrement the selected digit. The step from the highest to the lowest values and vice versa is made without gap. ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. 6. [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > 102 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Set date 10967 Here you set the date of the real-time clock. Sequence from the start screen: ► > > tab [System settings] > tab [Clock] > group [Date] Detailed description: (continued) [Date] 4. ► Use [] to go to group [Date]. > 5. [Select] Displays the current date. ► Use the function key [Select] to start the editing mode. > The ready-to-edit digit has a coulored frame. ► Use [] or [] to mark the requested number group. ► Use the arrow keys [] / [] to increment or decrement the selected digit. The step from the highest to the lowest values and vice versa is made without gap. ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. 6. [Back] > The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > That's it! 103 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set Network Time Protocol (NTP) 10969 Here you set if and how the real-time clock of the device is to adopt the time of an NTP time server. If NTP was activated, the time is adjusted via the Ethernet interface. The NTP server must be accessible in the same Ethernet network. Sequence from the start screen: ► > > tab [System settings] > tab [Clock] > group [Network Time Protocol] Detailed description: (continued) 4. [Network Time Protocol] ► Use [] to go to group [Network Time Protocol]. > 5. 6. Activate NTP Displays the following elements: § check box [Activate NTP] § parameter [NTP status] § parameter [IP address] (IP address of the NTP server) § parameter [NTP offset] § button [Accept selection] ► Activate or deactivate the parameter with function key [Select] . = time of the RTC is set locally in the device = devices synchronises its RTC with the time of the NTP time server [NTP status] ► Status indication of the interface to the NTP server: = NTP not active = NTP waiting = NTP active [IP address] 0.0.0.0 > Displays the IP address of the NTP server NOTE: Change only possible if... = activate NTP AND button [Accept selection] was activated. ► Use the function key [Select] to start the editing mode. > The ready-to-edit digit has a coulored frame. ► Use [] or [] to mark the requested number group. ► Use the arrow keys [] / [] to increment or decrement the selected digit. The step from the highest value to the lowest value and vice versa is made without gap. (e.g. 255 0 or 0 255). ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. 104 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions [NTP offset] [no offset] [] 7. > Displays the offset of RTC in the device as compared to the time in the web interface PC NOTE: Change only possible if... = activate NTP AND button [Accept selection] was activated. ► Use the function key [Select] to open the listbox. ► Use [] / [] to set the requested value. Possible values: UTC - 12 hours ... UTC + 12 hours ► Use the function key [Select] to accept the change. OR: Use the function key [Back] to discard the change. In both cases: exit the editing mode. [Back] > 8. The change is immediately effective. ► Use several times the function key [Back] to go to the start screen. > That's it! > > System reset 8977 Sequence from the start screen: ► > > Tab [Reset] Detailed description: > Focus is on button [Restart] . ► Use function key [Select] to activate button [Restart] . > A safety query is displayed.. ► Use the function key [OK] to confirm the operation OR: Use the function key [Cancel] to cancel the operation. > After [OK] : The device behaves like after power on (cold start). The splash screen is displayed. > After [Cancel] : Back to image [Reset] . 105 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > System diagnosis 9053 Sequence from the start screen: ► > Detailed description: Group [Power-on time (YY-DDD hh:mm)]: > Display of the total power-on time > Display power-on time since the last power-on / restart > Display power-on time of the display (due to the screen saver it is usually shorter than the total power-on time) Group [Other] > Display current device temperature in [°C] > Display of the method of device supply (Aux / AS-i / PowerModul) ► Use several times the function key [Back] to go to the start screen. 106 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4.5 Interfaces Ethernet configuration interface ...........................................................................................................108 Fieldbus interface Profinet ....................................................................................................................110 9055 Symbol Description Main navigation bar Interfaces Interfaces: - Configuration interface - Fieldbus Profibus Subnavigation bar 1 configuration interface configuration interface settings fieldbus interface Profinet interface settings Sub-Navigationsleiste 2 Information show information settings make settings Diagnosis show diagnosis 107 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Ethernet configuration interface 7279 Here you set the parameters of the Ethernet configuration interface (X3 port). Sequence from the start screen: ► > Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to change to symbol [Configuration interface] 3. ► Open the menu with the function key [Select] or with []. 4 > § group [IP address] § group [Subnet mask] § group [Gateway address] ► Use [] to select the requested page. 5 6 Displays the following groups: Optain IP address autom. > check box [Optain IP address autom.]: Display of the current setting. § = IP address indicated below is valid. § When valid IP address of the DHPC server was indicated: = The device will obtain the IP address from the DHCP server. § If no DHCP server has been found: = The IP address was created at random by means of the Zeroconf protocol from the following address range: 169.254.nnn.nnn Subnet mask for this = 255.255.0.0 ► Activate or deactivate the parameter with function key [Select] . ► The change is immediately effective. 7 108 IP status: Static > Display status of the IP connection: § "DHCP" = Dynamic Host Configuration Protocol The device will obtain the IP address from the DHCP server. § "Zeroconf" = Zero Configuration Networking The IP address generates an IP address by means of the Zeroconf protocol § "Static" = manually defined IP address The IP address is not obtained automatically. The device statically uses the following IP address: ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions 8 [IP address] 169.254.144.209 Interface IP address (Change value IP address control element (→ 51), only possible if [Optain IP address autom.] = ) 9. [Subnet mask] 255.255.0.0 Subnet mask (Change value IP address control element (→ 51), only possible if [Optain IP address autom.] = ) down 10. [Gateway address] 0.0.0.0 11. [Accept] IP address of the DHCP server (change IP address control element (→ 51)) ► Use [] to button [Accept] go to ► Use [Select] to activate the changes. 12. [Back] ► Use several times the function key [Back] to go to the start screen. > That's it! 109 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Fieldbus interface Profinet Profinet information ..............................................................................................................................110 Set up Profinet ......................................................................................................................................114 Profibus diagnosis ................................................................................................................................115 7276 Symbol Description Main navigation bar Interfaces Interfaces: - Configuration interface - Fieldbus Profibus Subnavigation bar 1 fieldbus interface Profinet interface settings Sub-Navigationsleiste 2 Information show information Diagnosis show diagnosis Settings make settings > Profinet information 9121 Symbol Description Main navigation bar Interfaces Interfaces: - Configuration interface - Fieldbus Profibus Subnavigation bar 1 fieldbus interface Profinet interface settings Sub-Navigationsleiste 2 Information 110 show information ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Show Profinet I&M information 9116 Sequence from the start screen: ► > > > Tab [I&M information] Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to go to symbol [Profinet interface]. 3. ► Use [] to go to symbol [Information]. [I&M information] 4. ► Use [] to go toTab [I&M information] . > Information on the interface driver is displayed. (Only display, entries cannot be edited) Parameters 5. Manufacturer ID > Displays the manufacturer ID 6. Order number > Displays the device article number, e.g.: AC1401 7. SN > Displays the serial number 8. HW version > Displays the hardware version 9. SW version > Displays the software version 10. Revision no. > Displays the revision number 11. Profile ID > Displays the profile ID 12. Profile type > Displays the profile type 13. I&M version > Displays the I&M version 14. [Back] ► Use several times the function key [Back] to go to the start screen. 111 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Display Profinet data 9119 Sequence from the start screen: ► > > > tab [Profinet data] Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to mark the symbol [Profinet interface]. 3. ► Use [] to mark the symbol [Information]. 4. [I&M information] ► Use [] to mark the tab [I&M information] . 5. [Profinet data] ► Use [] to mark the tab [Profinet data] . > 6. 7. 8. 112 [Device information] Further information on the interface driver is displayed. (Only display, entries cannot be edited) ► Use [] to go to the group [Device information]. MAC ID > Display of the MAC ID of the AS-i master Interface name > Display of the interface name IP address > Display of the IP address of the AS-i master Device type > Display of the device type [Host information] ► Use [] to go to the group [Host information]. IP address > Display of the IP address of the Profinet controller Host name > Display of the interface name of the Profinet controller [Back] ► Use several times the function key [Back] to go to the start screen. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Module configuration 14192 Sequence from the start screen: ► > > > Tab [Module configuration] Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to go to symbol [Profinet interface]. 3. ► Use [] to go to symbol [Information]. 4. [Information] ► Use [] to go toTab [Information] . 5. [Module configuration] ► Use [] to go to Tab [Module configuration] . > More information on the current module configuration is shown. (Only display, entries cannot be edited) [Back] ► Use function key [Back] several times to go to the start screen. 6. > Download device description 14188 This function is only available when the device is accessed via the web browser. ► Device with web-enabled processor ( Connection concepts (→ 59)) ► Start web browser ( Recommended browsers (→ 61)) 1. > > ► Successively move the mouse pointer over the symbols [Interfaces] > [< Profinet>] > [Information] ► Mouse click on symbol [Information] 2. [GSDML file] ► Mouse click on Tab [GSDML file] > 3. [Download GSDML file] Menu screen [GSDML file] appears ► Mouse click on link [Download GSDML file] > Dialogue window [Save as] appears ► Select desired memory location ► Save the file with [OK] 113 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Operation Sensor functions > Set up Profinet 9123 We recommend to set up the fieldbus in the Profinet controller and to assign the configuration to the AS-i master. Sequence from the start screen: ► > > Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to go to symbol [Profinet interface]. 3. ► Use [] to go to symbol [Settings]. 4. [Select] ► Open the menu with the function key [Select] or with []. > 5. Displays the following groups: § group [IP address] § group [Subnet mask] § group [Gateway address] ► Use [] to select the requested page. 6. 7. [IP address] 192.178.18.247 IP address of the AS-i master (change IP address control element (→ 51)) 8. [Subnet mask] 255.255.0.0 Subnet mask (change IP address control element (→ 51)) Address assignment in Ethernet networks (→ 136) 9. [Gateway address] 192.178.87.193 10. [Accept] IP address of the router (change IP address control element (→ 51)) ► Use [] to go to the button [Accept] . ► Use function key [Select] to activate the changes. 11. [Back] ► Use several times the function key [Back] to go to the start screen. > 114 That's it! ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > Profinet diagnosis 9126 Sequence from the start screen: ► > > Detailed description: 1. ► Use [] or [] to go to the symbol [Interfaces]. 2. ► Use [] to switch to the symbol [Profinet interface]. 3. ► Use [] to switch to the symbol [diagnosis]. 4. [Select] ► Open the menu with the function key [Select] or with []. 5. [Profinet connection status] > Display group [Profinet connection status] (Only display, entries cannot be edited) > Display of the Profinet status information > Display of the status of the fieldbus interfaces: = no connection to the Profinet controller = communication with Profinet controller in progress 6. Status port 2 (X6): Status port 1 (X7): 7. [Back] ► Use several times the function key [Back] to go to the start screen. > 115 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Operation 2014-02-07 Sensor functions > 4.4.6 Online Support Center (OSC) 7058 OSC = Online Support Center The OSC summarises all fault indications and warnings in the display. Sequence from the start screen: ► > Displays all fault messages The focus is on the listbox [filter]. ► Use the function key [Select] to open the listbox. Example: AS-i configuration errors in the OSC ► Mark the requested parameter with [] / []. - All - AS-i 1 - AS-i 2 (if available) - System ► Use function key [Select] to confirm the set values and to leave the edit mode. OR: Use function key [Back] to reset the set values and to leave the edit mode. > Display of the fault messages and warnings according to the filter setting. ► Use [] / [] to scroll in the messages. ► Use several times the function key [Back] to go to the start screen. > 116 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Fieldbus Profinet 5 2014-02-07 Sensor functions Fieldbus Profinet GSDML file ...........................................................................................................................................118 Parameter data .....................................................................................................................................119 Process data .........................................................................................................................................121 Alarms...................................................................................................................................................131 8936 PROFINET (Process Field Network) is the open Industrial Ethernet Standard of Profibus & Profinet International (PI) for automation. Profinet uses TCP/IP and IT standards, is real-time Ethernet compatible and enables the integration of fieldbus systems. The Profinet concept has a modular design, so that the user can choose the functionality himself. This is basically different as regards the type of data exchange, to meet the requirements regarding the speed. For Profinet, there are the two perspectives Profinet-CBA and Profinet-IO: · Profinet-CBA (Component Based Automation) is intended for the component-based communication via TCP/IP and the real-time communication for real-time requirements in modular plant construction. Both ways of communication can be used in parallel. · Profinet-IO has been created for real-time (RT) and synchronous communication IRT (IRT = isochronous real-time) with the decentralised periphery. The designations RT and IRT only describe the real-time characteristics in the communication within Profinet-IO. www.profibus.com (umbrella organisation) 117 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet GSDML file 5.1 GSDML file 7244 To represent the Profinet gateway in a fieldbus projection software (e.g. Siemens Step7) a GSDML file is provided. The GSDML file for the ifm AS-i Profinet gateway AC140n is stored in the device and can be loaded to the configuration PC via the web interface ( Download device description (→ 113)). All parameter and process data which is valid for the device is defined in the GSDML file. On the Siemens Step7 object manager: The object manager is part of the hardware configuration in Step7. It provides the device catalogue containing all devices which are available for projection. The catalogue consists of two parts. All non Siemens devices are listed in "Profinet – Further fieldbus devices". These devices are described using GSDML files which are imported into Step7. The following illustration shows the device representation in the projection software using its GSDML file: 118 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Parameter data > 5.2 Parameter data 9140 The parameter data enable an individual setting of the system. The parameter data is set via slot 0 of the system. In the Siemens Step7 configuration tool "HW-Config." the parameter data is accessed by double-click on slot 0 of the device. All necessary settings can be made in the tab [Parameters]. > 5.2.1 Parameter data: compact mode 10865 Parameters Values analogue channels per input slave 4 channels* 2 channels 1 channel analogue channels per output slave 4 channels* 2 channels 1 channel failsafe state clear outputs* hold outputs Description Number of the analogue channels per slave Clear outputs = all AS-i outputs are switched off in case of an interrupted Profinet connection (value = 0). Hold outputs = the outputs stay in their last status. Disable = the Profinet alarm data is NOT written to the AS-i system. Profinet alarms disable enable* Swap IO mapping slot 1...4 disabled* enabled Slave mapping of the bytes of the binary data: Enabled: slave n+1 / slave n Disabled: slave n / slave n+1 slave 1 AS-i master 1* … slave 15 AS-i master 1* slave 17 AS-i master 1 … slave 31 AS-i master 1 Via these parameters it is possible to define the order of the analogue input slaves represented on Profinet. This requires that an input data with a length of 4 words has been defined in slot 5. 1st analog input slave … 31th analog input slave slave 1 AS-i master 2 … slave 31 AS-i master 2 1st analog output slave … 31th analog output slave AS-i param. download Enable = the Profinet alarm data is written to the AS-i system. For each AS-i analogue slave 4 words of data are reserved. slave 1 AS-i master 1 … slave 16 AS-i master 1 slave 17 AS-i master 1* … slave 31 AS-i master 1* Via these parameters it is possible to define the order of the analogue output slaves represented on Profinet. This requires that an analogue output data area with a length of 4 words has been defined in slot 6. slave 1 AS-i master 2 … slave 31 AS-i master 2 For each AS-i analogue slave 4 words of data are reserved. disable* enable Disable = the following AS-i parameter data is NOT written to the AS-i system. Enable = the following AS-i parameter data is written to the AS-i system. 119 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Parameter data Parameters Values Description param. slave 1(A) AS-i master 1 … param. slave 31(A) AS-i master 1 param. slave 1B AS-i master 1 … param. slave 31B AS-i master 1 param. slave 1(A) AS-i master 2 … param. slave 31(A) AS-i master 2 P3..P0 = 2#0000 / 16#0 P3..P0 = 2#0001 / 16#1 … P3..P0 = 2#0111 / 16#7** … P3..P0 = 2#1111 / 16#F* parameter data of the AS-i slaves The set values are only activated when the parameter "AS-i param. download" is set to the value "Enable". param. slave 1B AS-i master 2 … param. slave 31B AS-i master 2 * default setting ** default setting for A/B slaves > 5.2.2 Parameter data: flexible mode 10891 Parameters failsafe state Values Description clear outputs* hold outputs Clear outputs = all AS-i outputs are switched off in case of an interrupted Profinet connection (value = 0). Hold outputs = the outputs stay in their last status. Profinet alarms disabled enabled* Swap IO mapping slot 1...4 yes* no AS-i param. download disable* enable Disabled = the Profinet alarm data is NOT written to the AS-i system. Enabled = the Profinet alarm data is written to the AS-i system. Slave mapping of the bytes of the binary data: yes: slave n+1 / slave n no: slave n / slave n+1 Disable = the following AS-i parameter data is NOT written to the AS-i system. Enable = the following AS-i parameter data is written to the AS-i system. param. slave 1(A) AS-i master 1 … param. slave 31(A) AS-i master 1 param. slave 1B AS-i master 1 … param. slave 31B AS-i master 1 param. slave 1(A) AS-i master 2 … param. slave 31(A) AS-i master 2 param. slave 1B AS-i master 2 … param. slave 31B AS-i master 2 * default setting ** default setting for A/B slaves 120 P3..P0 = 2#0000 / 16#0 P3..P0 = 2#0001 / 16#1 … P3..P0 = 2#0111 / 16#7** … P3..P0 = 2#1111 / 16#F* parameter data of the AS-i slaves The set values are only activated when the parameter "AS-i param. download" is set to the value "Enable". ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Fieldbus Profinet 2014-02-07 Process data > 5.3 Process data Cyclic data ............................................................................................................................................121 The Profinet modules ...........................................................................................................................122 Acyclic data ..........................................................................................................................................126 7249 The AS-i Profinet gateway AC140n provides a wide range of process data on the Profinet page. The process data can be accessed in 2 different ways: · Cyclic process data access · Acyclic process data access > 5.3.1 Cyclic data 9005 The cyclic process data is, as the name suggests, cyclically updated via the fieldbus mechanisms. For this, it must be defined in the fieldbus configuration which data with which lengths in which address areas of the host controller are to be used. So-called slots contain each the process data of several AS-i slaves. The following tables show the available fieldbus modules defined in the GSDML file. 121 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data > 5.3.2 The Profinet modules 8739 > Compact mode 9209 Slot / module 1 Description Value range Digital input/output data master 1 for single and A slaves ® Slot 1 - binary inputs/outputs of single/A slaves on AS-i master 1 (→ 138) all S/A slaves AS-i 1 S/A slaves 01…07 AS-i 1 S/A slaves 01…15 AS-i 1 S/A slaves 01…23 AS-i 1 2 Digital input/output data master 2 for single and A slaves ® Slot 2 -binary inputs/outputs of single/A slaves on AS-i master 2 (→ 139) all S/A slaves AS-i 2 S/A slaves 01…07 AS-i 2 S/A slaves 01…15 AS-i 2 S/A slaves 01…23 AS-i 2 3 Digital input/output data master 1 for B slaves ® Slot 3 – binary inputs/outputs of B slaves on AS-i master 1 (→ 140) all B slaves AS-i 1 B slaves 01…07 AS-i 1 B slaves 01…15 AS-i 1 B slaves 01…23 AS-i 1 4 Digital input/output data master 2 for B slaves ® Slot 4 – binary inputs/outputs of B slaves on AS-i master 2 (→ 141) all B slaves AS-i 2 B slaves 01…07 AS-i 2 B slaves 01…15 AS-i 2 B slaves 01…23 AS-i 2 5 Analogue input data 4 words configurable via device parameters ® Slot 5 - analogue inputs on AS-i master 1/2 (→ 142) 8 words 12 words 16 words 20 words 24 words 28 words 32 words 36 words 40 words 44 words 48 words 52 words 56 words 60 words 76 words 92 words 108 words 124 words 6 122 Analogue output data 4 words ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Slot / module Process data Description Value range configurable via device parameters ® Slot 6 - analogue outputs on AS-i master 1/2 (→ 143) 8 words 12 words 16 words 20 words 24 words 28 words 32 words 36 words 40 words 44 words 48 words 52 words 56 words 60 words 76 words 92 words 108 words 124 words 123 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data > Flexible mode 9210 Slot / module Description 1 Digital input/output data AS-i master 1 for single and A slaves Slot 1 - binary inputs/outputs of single/A slaves on AS-i master 1 (→ 138) Value range all S/A slaves AS-i 1 S/A slaves 01…07 AS-i 1 S/A slaves 01…15 AS-i 1 S/A slaves 01…23 AS-i 1 2 Digital input/output data AS-i master 2 for single and A slaves Slot 2 -binary inputs/outputs of single/A slaves on AS-i master 2 (→ 139) all S/A slaves AS-i 2 S/A slaves 01…07 AS-i 2 S/A slaves 01…15 AS-i 2 S/A slaves 01…23 AS-i 2 3 Digital input/output data AS-i master 1 for B slaves Slot 3 – binary inputs/outputs of B slaves on AS-i master 1 (→ 140) all B slaves AS-i 1 B slaves 01…07 AS-i 1 B slaves 01…15 AS-i 1 B slaves 01…23 AS-i 1 4 Digital input/output data AS-i master 2 for B slaves Slot 4 – binary inputs/outputs of B slaves on AS-i master 2 (→ 141) all B slaves AS-i 2 B slaves 01…07 AS-i 2 B slaves 01…15 AS-i 2 B slaves 01…23 AS-i 2 101...131*) Analogue data on AS-i master 1 configurable via device parameters Slot 1ss/2ss – flex modules for analogue slaves (→ 149) S/A slave, analogue input, 1 channel B slave, analogue input, 1 channel S/A slave, analogue input, 2 channels B slave, analogue input, 2 channels single slave, analogue input, 4 channels or: A slave, analogue input, 2 channels and B slave, analogue input, 2 channels S/A slave, analogue output, 1 channel B slave, analogue output, 1 channel S/A slave, analogue output, 2 channels B slave, analogue output, 2 channels single slave, analogue output, 4 channels or: A slave, analogue output, 2 channels and B slave, analogue output, 2 channels S/A slave, analogue input and output, 1 channel B slave, analogue input and output, 1 channel S/A slave, analogue input and output, 2 channels B slave, analogue input and output, 2 channels single slave, analogue input and output, 4 channels or: A slave, analogue input and output, 2 channels and B slave, analogue input and output, 2 channels 201...231*) 124 analogue data on AS-i master 2 S/A slave, analogue input, 1 channel ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data Slot / module Description Value range configurable via device parameters Slot 1ss/2ss – flex modules for analogue slaves (→ 149) B slave, analogue input, 1 channel S/A slave, analogue input, 2 channels B slave, analogue input, 2 channels single slave, analogue input, 4 channels or: A slave, analogue input, 2 channels and B slave, analogue input, 2 channels S/A slave, analogue output, 1 channel B slave, analogue output, 1 channel S/A slave, analogue output, 2 channels B slave, analogue output, 2 channels single slave, analogue output, 4 channels or: A slave, analogue output, 2 channels and B slave, analogue output, 2 channels S/A slave, analogue input and output, 1 channel B slave, analogue input and output, 1 channel S/A slave, analogue input and output, 2 channels B slave, analogue input and output, 2 channels single slave, analogue input and output, 4 channels or: A slave, analogue input and output, 2 channels and B slave, analogue input and output, 2 channels *) 1ss = AS-i master 1 2ss = AS-i master 2 ss = slave address 125 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Fieldbus Profinet 2014-02-07 Process data > 5.3.3 Acyclic data 9070 By means of the acyclic process data IO devices can be parameterised or configured, or status information can be read. The acyclic process data is not automatically updated in the host controller but has to be explicitly transmitted via special commands. Details ® chapter The acyclic process data (→ 150) For the Siemens Simatic system this is done via the system function blocks · SFB 52 "RDREC" to read acyclic process data, · SFB 53 "WRREC" to write acyclic process data. on the use of these function blocks ® Step7 online help. 126 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data > Acyclic process data: overview 8752 Revision: 2012-02-07 The indices on slot 0, subslot 1, are used as follows: Index [dec] From byte no. [dec] To byte no. [dec] DS Access r = read w = write Number of words 0 -- -- reserved for system start -- -- -- 1 0 43 Read system information DS1 r 22 30 0 239 System command request channel -- r/w 120 31 0 239 System command reply channel -- r 120 32 0 69 M1 digital slave inputs 1(A)…31(A) and 1B…31B (1 byte per slave) + M1 master flags (status AS-i master and exec.-ctl. flags and host flags) DS2 r 35 33 0 149 M1 analogue slave inputs 1(A)…15(B) DS3 r 75 34 0 159 M1 analogue slave inputs 16(A)…31(B) DS4 r 80 35 0 63 M1 digital slave outputs 1(A)…31(A) and 1B…31B (1 byte per slave) DS5 r/w 32 36 0 119 M1 analogue slave outputs 1(A)…15(B) DS6 r/w 60 37 0 127 M1 analogue slave outputs 16(A)…31(B) DS7 r/w 64 38 0 63 M1 status flags analogue outputs 1(A)…31(A) and 1B…31B DS8 r 32 39 0 31 M1 LAS, LDS, LPF, LCE DS9 r 16 40 0 7 M1 LPS DS10 r 4 41 0 127 M1 current configuration data (CDI) DS11 r 64 42 0 127 M1 projected configuration data (PCD) DS12 r 64 43 0 63 M1 input parameter image (1 byte per slave) DS13 r 32 44 0 63 M1 output parameter image (1 byte per slave) DS14 r/w 32 46 0 131 M1 slave error counter, configuration error counter, AS-i cycle counter DS15 r 66 62 0 239 M1 command request channel -- r/w 120 63 0 239 M1 command reply channel -- r 120 64 0 69 M2 digital slave inputs 1(A)…31(A) and 1B…31B (1 byte per slave) + M2 master flags (status AS-i master and exec.-ctl. flags and host flags) DS2 r 35 65 0 149 M2 analogue slave inputs 1(A)…15(B) DS3 r 75 66 0 159 M2 analogue slave inputs 16(A)…31(B) DS4 r 80 67 0 63 M2 digital slave outputs 1(A)…31(A) and 1B…31B (1 byte per slave) DS5 r/w 32 68 0 119 M2 analogue slave outputs 1(A)…15(B) DS6 r/w 60 69 0 127 M2 analogue slave outputs 16(A)…31(B) DS7 r/w 64 70 0 63 M2 status flags analogue outputs 1(A)…31(A) and 1B…31B DS8 r 32 71 0 31 M2 LAS, LDS, LPF, LCE DS9 r 16 72 0 7 M2 LPS DS10 r 4 73 0 127 M2 current configuration data (CDI) DS11 r 64 74 0 127 M2 projected configuration data (PCD) DS12 r 64 Contents 127 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data Index [dec] From byte no. [dec] To byte no. [dec] DS Access r = read w = write Number of words 75 0 63 M2 input parameter image (1 byte per slave) DS13 r 32 76 0 63 M2 output parameter image (1 byte per slave) DS14 r/w 32 78 0 131 M2 slave error counter, configuration error counter, AS-i cycle counter DS15 r 66 94 0 239 M2 command request channel -- r/w 120 95 0 239 M2 command reply channel -- r 120 DS = data set no. 1 = AS-i master 1 2 = AS-i master 2 128 Contents ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data > Overview system command channel 11098 11078 Command [hex] Command [dec] 0101 257 Quick setup AS-i master 1 (and AS-i master 2, if available) 0103 259 Select user language 0104 260 Display settings Description Note Details chapter System commands (→ 193) > Overview AS-i command channel 7250 Command [hex] Command [dec] 0001 1 0003 3 0004 4 Change the list of the projected AS-i slaves (LPS) 0005 5 set the operating mode of the AS-i master 0006 6 readdress a connected AS-i slave 0007 7 set the auto addressing mode of the AS-i master 0009 9 change the extended ID code 1 in the connected AS-i slave 000A 10 change PCD 000D 13 AS-i master supply voltage, symmetry, earth fault 0015 21 read ID string of an AS-i slave with profile S-7.4 0019 25 Set test mode 001A 26 read AS-i master info 001C 28 Deactivation of the slave reset when changing to the protected mode 0021 33 read diagnosis string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0022 34 read parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0023 35 write parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0024 36 CTT2 standard read: Acyclic standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0025 37 CTT2 standard write: Acyclic standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0026 38 CTT2 vendor specific read: acyclic manufacturer-specific read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0027 39 CTT2 vendor specific write: acyclic manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0040 64 CTT2 device group read: Acyclic devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0041 65 CTT2 device group write: Acyclic devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) Description Note write parameters to a connected AS-i slave adopt and save currently connected AS-i slaves in the configuration With this command the fieldbus connection is reset. The device must be rebooted! ConfDataInput Slave Projected Configuration Data and LDS LPS Slave profile S-7.4 129 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Process data Command [hex] Command [dec] 0042 Description Note 66 CTT2 vendor specific selective read from buffer: Selective standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0043 67 CTT2 vendor specific selective write from buffer: Selective standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0044 68 CTT2 vendor specific selective read: Selective manufacturer-specific read call of an AS-i slave with CTT2 CTT2 slave profile *) profile 0045 69 CTT2 vendor specific selective write: Selective manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0046 70 CTT2 device group selective read: Selective devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0047 71 CTT2 device group selective write: Selective devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0049 73 CTT2 vendor specific exchange: Manufacturer-specific data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004A 74 CTT2 device group exchange: Devicegroup data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004B 75 CTT2 device group selective read from buffer: Manufacturer-specific write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) 004C 76 CTT2 device group selective write from buffer: Devicegroup write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) Details chapter AS-i master commands (→ 202) CTT chapter Combined transaction – Use of analogue channels in the gateway depending on the slave profile (→ 295) *) CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 130 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Fieldbus Profinet Alarms > 5.4 Alarms Alarms...................................................................................................................................................131 Diagnosis alarms ..................................................................................................................................131 Notes for the Step7 programmer ..........................................................................................................131 9142 Details ® chapter Fieldbus alarms (→ 271) > 5.4.1 Alarms 8872 Details chapter Fieldbus alarms (→ 271) > 5.4.2 Diagnosis alarms 9144 Diagnosis alarms are used where an error or event occurs in the device, e.g.: - AS-i configuration error or - a periphery fault on an AS-i slave Details ® chapter Diagnosis alarms (→ 272) > As soon as a device has detected a diagnosis alarm, the alarm is automatically transmitted to the fieldbus master. > When a diagnosis alarm arrives in the fieldbus master, an interrupt of the cyclic program (OB1) processing is automatically generated. > In this case the Simatic operating system calls the OB82 (diagnosis alarm OB) which allows specific alarm processing. > 5.4.3 Notes for the Step7 programmer 8888 The ingoing and outgoing diagnosis alarms are always signalled via the OB82. ► The OB2 must at least have been created but must not be empty. > If the OB82 does not exist, the S7 will go to STOP for each alarm. > The LED [SF] on S7 starts to light with the first incoming alarm and goes out with the last incoming alarm. 131 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 6 2014-02-07 Approval tests / certifications Annex Approval tests / certifications ................................................................................................................132 Technical data ......................................................................................................................................133 Address assignment in Ethernet networks ...........................................................................................136 Fieldbus Profinet ...................................................................................................................................137 AS-i master ...........................................................................................................................................283 AS-i slaves ............................................................................................................................................286 Information on AS-i ...............................................................................................................................297 7156 > 6.1 Approval tests / certifications 7157 Software-relevant certifications: · AS-i master profile M4 according to AS-i specification 3.0 · Fieldbus certification: Profinet class B 132 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Technical data > 6.2 Technical data Housing.................................................................................................................................................133 Display elements ..................................................................................................................................133 Operation ..............................................................................................................................................134 Power supply connections ....................................................................................................................134 Interfaces ..............................................................................................................................................135 9011 > 6.2.1 Housing 9044 Housing Degrees of protection IP 20 Material Aluminium, steel sheet, Makrolon Dimensions (W x H x D) 93 x 125 x 98 mm > 6.2.2 Display elements 9045 Display Technology LCD, colour Size 35 x 28 mm (1.8“) Resolution 220 x 176 pixels Colour depth 18 bits (= 262 144 possible colours) Visualisation · · graphical user interface for intuitive operation available in several languages LED Possible colours red, green, yellow Designation H1 133 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Technical data > 6.2.3 Operation 9046 Membrane keys Function keys 2x Navigation keys / arrow keys 4x > 6.2.4 Power supply connections 9047 AS-i 1, AS-i 2, FE connection plug-in, 6 poles, Combicon Designation X1 24 V voltage supply connection plug-in, 2 poles, Combicon Designation X2 · DC earth fault detection · Evaluation and indication of the AS-i symmetry 134 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Technical data > 6.2.5 Interfaces 9048 11070 Ethernet configuration interface Connection 1x RJ45 Transmission 10/100 Mbits/s Protocol HTTP, FTP, Telnet Designation X3 11071 Ethernet fieldbus interface Connection 2x RJ45 Transmission 10/100 Mbits/s Typical values: Transfer times: 0.7...1.4 ms Jitter 0.7 ms Protocol Profinet RT (device), class B Services and data · Acyclic Profinet services incl. AS-i command channel · Profinet I&M data (identification and maintenance) · Profinet flash function for identification · GSDML file Switch Integrated 2-port switch (iRT compatible) Designation X6 (Profinet port 2) X7 (Profinet port 1) 11072 SD card slot Media common SD storage media up to 32 Gbytes Format SDHC format is supported 135 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Address assignment in Ethernet networks > 6.3 Address assignment in Ethernet networks 14436 > NOTE In the Ethernet network every IP address MUST be unique. The following IP addresses are reserved for network-internal purposes and are therefore not allowed as an address for participants: nnn.nnn.nnn.0 | nnn.nnn.nnn.255. Only network participants whose subnet mask is identical and whose IP addresses are identical with respect to the subnet mask can communicate with each other. Rule: If part of the subnet mask = 255, the corresponding IP address parts must be identical. If part of the subnet mask = 0, the corresponding IP address parts must be different. If the subnet mask = 255.255.255.0, 254 participants communicating with each other are possible in the network. If the subnet mask = 255.255.0.0, 256x254 = 65 024 participants communicating with each other are possible in the network. In the same physical network different subnet masks of the participants are allowed. They form different groups of participants which cannot communicate with groups of participants having other subnet masks. In case of doubt or problems please contact your system administrator. Examples: Participant A IP address Participant A Subnet mask Participant B IP address Participant B Subnet mask Communication of participants possible? 192.168.82.247 255.255.255.0 192.168.82.10 255.255.255.0 Yes, 254 participants possible 192.168.82.247 255.255.255.0 192.168.82.247 255.255.255.0 No (same IP address) 192.168.82.247 255.255.255.0 192.168.82.10 255.255.0.0 No (different subnet mask) 192.168.82.247 255.255.255.0 192.168.116.10 255.255.255.0 No (different IP address range: 82 vs. 116) 192.168.222.213 255.255.0.0 192.168.222.123 255.255.0.0 Yes, 65 024 participants possible 192.168.111.213 255.255.0.0 192.168.222.123 255.255.0.0 Yes, 65 024 participants possible 192.168.82.247 255.255.255.0 192.168.82.0 255.255.255.0 no; the whole network is disturbed because the IP address xxx.xxx.xxx.0 is not allowed 136 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > 6.4 Fieldbus Profinet 8896 PROFINET (Process Field Network) is the open Industrial Ethernet Standard of Profibus & Profinet International (PI) for automation. Profinet uses TCP/IP and IT standards, is real-time Ethernet compatible and enables the integration of fieldbus systems. The Profinet concept has a modular design, so that the user can choose the functionality himself. This is basically different as regards the type of data exchange, to meet the requirements regarding the speed. For Profinet, there are the two perspectives Profinet-CBA and Profinet-IO: · Profinet-CBA (Component Based Automation) is intended for the component-based communication via TCP/IP and the real-time communication for real-time requirements in modular plant construction. Both ways of communication can be used in parallel. · Profinet-IO has been created for real-time (RT) and synchronous communication IRT (IRT = isochronous real-time) with the decentralised periphery. The designations RT and IRT only describe the real-time characteristics in the communication within Profinet-IO. www.profibus.com (umbrella organisation) 137 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > 6.4.1 The cyclic process data 8742 > Slot 1 - binary inputs/outputs of single/A slaves on AS-i master 1 8743 Slot / module 1 Description Value range Binary inputs and outputs of single or A slaves, connected to AS-i master 1 all S/A slaves AS-i 1 16 S/A slaves 01…07 AS-i 1 4 S/A slaves 01…15 AS-i 1 8 S/A slaves 01…23 AS-i 1 12 Byte no. Bits 7...4 Bits 3...0 1 Master 1 signals Slave 1(A) 2 Slave 2(A) Slave 3(A) 3 Slave 4(A) Slave 5(A) 4 Slave 6(A) Slave 7(A) 5 Slave 8(A) Slave 9(A) 6 Slave 10(A) Slave 11(A) 7 Slave 12(A) Slave 13(A) 8 Slave 14(A) Slave 15(A) 9 Slave 16(A) Slave 17(A) 10 Slave 18(A) Slave 19(A) 11 Slave 20(A) Slave 21(A) 12 Slave 22(A) Slave 23(A) 13 Slave 24(A) Slave 25(A) 14 Slave 26(A) Slave 27(A) 15 Slave 28(A) Slave 29(A) 16 Slave 30(A) Slave 31(A) Data length [byte] > Master1 signals 8744 Bits 4...7 of the first data byte contain master signals. Their contents differ depending on the direction of transmission. The first byte of the digital input data contains the "master flags" which provide the status information of the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 AS-i power fail (19 V) configuration error in the AS-i system AS-i master offline Periphery fault The first byte of the digital output data contains control information for the AS-i master: > 138 Bit 7 Bit 6 Bit 5 Bit 4 reserved reserved reserved reserved ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Slot 2 -binary inputs/outputs of single/A slaves on AS-i master 2 8745 Slot / module 2 Description Value range Binary inputs and outputs of single or A slaves, connected to AS-i master 2 (available only for devices with 2 AS-i masters) all S/A slaves AS-i 2 16 S/A slaves 01…07 AS-i 2 4 S/A slaves 01…15 AS-i 2 8 S/A slaves 01…23 AS-i 2 12 Byte no. Bits 7...4 Bits 3...0 1 Master 2 signals Slave 1(A) 2 Slave 2(A) Slave 3(A) 3 Slave 4(A) Slave 5(A) 4 Slave 6(A) Slave 7(A) 5 Slave 8(A) Slave 9(A) 6 Slave 10(A) Slave 11(A) 7 Slave 12(A) Slave 13(A) 8 Slave 14(A) Slave 15(A) 9 Slave 16(A) Slave 17(A) 10 Slave 18(A) Slave 19(A) 11 Slave 20(A) Slave 21(A) 12 Slave 22(A) Slave 23(A) 13 Slave 24(A) Slave 25(A) 14 Slave 26(A) Slave 27(A) 15 Slave 28(A) Slave 29(A) 16 Slave 30(A) Slave 31(A) Data length [byte] > Master 2 signals 8744 Bits 4...7 of the first data byte contain master signals. Their contents differ depending on the direction of transmission. The first byte of the digital input data contains the "master flags" which provide the status information of the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 AS-i power fail (19 V) configuration error in the AS-i system AS-i master offline Periphery fault The first byte of the digital output data contains control information for the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 reserved reserved reserved reserved 139 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Slot 3 – binary inputs/outputs of B slaves on AS-i master 1 8748 Slot / module 3 Description Value range Data length [byte] Binary inputs/outputs of B slaves, connected to AS- all B slaves AS-i 1 i master 1 B slaves 01…07 AS-i 1 16 B slaves 01…15 AS-i 1 8 B slaves 01…23 AS-i 1 12 Byte no. Bits 7...4 Bits 3...0 1 Master 1 signals Slave 1B 2 Slave 2B Slave 3B 3 Slave 4B Slave 5B 4 Slave 6B Slave 7B 5 Slave 8B Slave 9B 6 Slave 10B Slave 11B 7 Slave 12B Slave 13B 8 Slave 14B Slave 15B 9 Slave 16B Slave 17B 10 Slave 18B Slave 19B 11 Slave 20B Slave 21B 12 Slave 22B Slave 23B 13 Slave 24B Slave 25B 14 Slave 26B Slave 27B 15 Slave 28B Slave 29B 16 Slave 30B Slave 31B 4 > Master1 signals 8744 Bits 4...7 of the first data byte contain master signals. Their contents differ depending on the direction of transmission. The first byte of the digital input data contains the "master flags" which provide the status information of the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 AS-i power fail (19 V) configuration error in the AS-i system AS-i master offline Periphery fault The first byte of the digital output data contains control information for the AS-i master: 140 Bit 7 Bit 6 Bit 5 Bit 4 reserved reserved reserved reserved ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Slot 4 – binary inputs/outputs of B slaves on AS-i master 2 8749 Slot / module 4 Description Value range Data length [byte] Binary inputs/outputs of B slaves, connected to AS- all B slaves AS-i 2 i master 2 B slaves 01…07 AS-i 2 (available only for devices with 2 AS-i masters) 16 B slaves 01…15 AS-i 2 8 B slaves 01…23 AS-i 2 12 Byte no. Bits 7...4 Bits 3...0 1 Master 2 signals Slave 1B 2 Slave 2B Slave 3B 3 Slave 4B Slave 5B 4 Slave 6B Slave 7B 5 Slave 8B Slave 9B 6 Slave 10B Slave 11B 7 Slave 12B Slave 13B 8 Slave 14B Slave 15B 9 Slave 16B Slave 17B 10 Slave 18B Slave 19B 11 Slave 20B Slave 21B 12 Slave 22B Slave 23B 13 Slave 24B Slave 25B 14 Slave 26B Slave 27B 15 Slave 28B Slave 29B 16 Slave 30B Slave 31B 4 > Master 2 signals 8744 Bits 4...7 of the first data byte contain master signals. Their contents differ depending on the direction of transmission. The first byte of the digital input data contains the "master flags" which provide the status information of the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 AS-i power fail (19 V) configuration error in the AS-i system AS-i master offline Periphery fault The first byte of the digital output data contains control information for the AS-i master: Bit 7 Bit 6 Bit 5 Bit 4 reserved reserved reserved reserved 141 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Slot 5 - analogue inputs on AS-i master 1/2 8750 Analogue input data is transmitted via the modules in slot 5. Each input value is transmitted as a 16-bit value. The valid and overflow flags which each analogue AS-i input slaves provides for each channel are NOT represented here. Slot / module 5 Description Value range Analogue inputs of up to 31 single or A slaves, connected to AS-i master 1 or 2 (master 2 available only for devices with 2 AS-i masters) Analogue channels per input slave = 1 1 / 2 / 4 words per AS-i slave Define number of analogue channels and slave number by means of device parameters. Data length [word] 60 The first channel of the slave addresses 1 to (maximum) 30 of masters 1 and 2 is transmitted. The assignment of the slaves is fixed, the configuration in the device parameters is not effective. Analogue channels per input slave = 2 124 Channels 1 and 2 of the slave addresses 1 to 31 of masters 1 and 2 are transmitted. The assignment of the slaves is fixed, the configuration in the device parameters is not effective. Analogue channels per input slave = 4 0...124 4 channels (16 bits each) of up to 31 slaves on AS-i master 1 and/or AS-i master 2 are transmitted. Selection of the slaves to be transmitted via the device parameterx. Analogue input slave. Table: 1 or 2 channels per analogue slave (→ 144) and Table: 4 channels per analogue slave (→ 148) show all possible combinations of data for the parameter. For the parameter setting of the device an alternative representation of analogue slaves can be used by means of a Profibus projection software (Slot 1ss/2ss – flex modules for analogue slaves (→ 149)). 142 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Slot 6 - analogue outputs on AS-i master 1/2 8751 Analogue output data is transmitted via the modules in slot 6. Each output value is transmitted as a 16-bit value. Slot / module 6 Description Value range Analogue outputs of up to 31 single or A Analogue channels per output slave = slaves, connected to AS-i master 1 or 2 (master 1 2 available only for devices with 2 AS-i The first channel of the slave addresses 1 to masters) (maximum) 30 of masters 1 and 2 is 1 / 2 / 4 words per AS-i slave transmitted. Define number of analogue channels and slave number by means of device parameters. Data length [word] max. 60 The assignment of the slaves is fixed, the configuration in the device parameters is not effective. Analogue channels per output slave = 2 max. 124 Channels 1 and 2 of slaves 1 to 31 of masters 1 and 2 are transmitted. The assignment of the slaves is fixed, the configuration in the device parameters is not effective. Analogue channels per output slave = 4 0...124 4 channels (16 bits each) of up to 31 slaves on AS-i master 1 and/or AS-i master 2 are transmitted. Selection of the slaves to be transmitted via the device parameterx. Analogue input slave. Table: 1 or 2 channels per analogue slave (→ 144) and Table: 4 channels per analogue slave (→ 148) show all possible combinations of data for the parameter. For the parameter setting of the device an alternative representation of analogue slaves can be used by means of a Profibus projection software (Slot 1ss/2ss – flex modules for analogue slaves (→ 149)). 143 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Table: 1 or 2 channels per analogue slave 9025 The following table shows all possible combinations of data for the parameters: · Analogue channels per input slave = 1 · Analogue channels per input slave = 2 · Analogue channels per output slave = 1 · Analogue channels per output slave = 2 Setting of the device parameters Word 144 Analogue channels per input | output slave = 1 Analogue channels per input | output slave = 2 1 Master 1 / Slave 1(A) / Channel 1 Master 1 / Slave 1(A) / Channel 1 2 Master 1 / Slave 2(A) / Channel 1 Master 1 / Slave 1(A) / Channel 2 3 Master 1 / Slave 3(A) / Channel 1 Master 1 / Slave 2(A) / Channel 1 4 Master 1 / Slave 4(A) / Channel 1 Master 1 / Slave 2(A) / Channel 2 5 Master 1 / Slave 5(A) / Channel 1 Master 1 / Slave 3(A) / Channel 1 6 Master 1 / Slave 6(A) / Channel 1 Master 1 / Slave 3(A) / Channel 2 7 Master 1 / Slave 7(A) / Channel 1 Master 1 / Slave 4(A) / Channel 1 8 Master 1 / Slave 8(A) / Channel 1 Master 1 / Slave 4(A) / Channel 2 9 Master 1 / Slave 9(A) / Channel 1 Master 1 / Slave 5(A) / Channel 1 10 Master 1 / Slave 10(A) / Channel 1 Master 1 / Slave 5(A) / Channel 2 11 Master 1 / Slave 11(A) / Channel 1 Master 1 / Slave 6(A) / Channel 1 12 Master 1 / Slave 12(A) / Channel 1 Master 1 / Slave 6(A) / Channel 2 13 Master 1 / Slave 13(A) / Channel 1 Master 1 / Slave 7(A) / Channel 1 14 Master 1 / Slave 14(A) / Channel 1 Master 1 / Slave 7(A) / Channel 2 15 Master 1 / Slave 15(A) / Channel 1 Master 1 / Slave 8(A) / Channel 1 16 Master 1 / Slave 16(A) / Channel 1 Master 1 / Slave 8(A) / Channel 2 17 Master 1 / Slave 17(A) / Channel 1 Master 1 / Slave 9(A) / Channel 1 18 Master 1 / Slave 18(A) / Channel 1 Master 1 / Slave 9(A) / Channel 2 19 Master 1 / Slave 19(A) / Channel 1 Master 1 / Slave 10(A) / Channel 1 20 Master 1 / Slave 20(A) / Channel 1 Master 1 / Slave 10(A) / Channel 2 21 Master 1 / Slave 21(A) / Channel 1 Master 1 / Slave 11(A) / Channel 1 22 Master 1 / Slave 22(A) / Channel 1 Master 1 / Slave 11(A) / Channel 2 23 Master 1 / Slave 23(A) / Channel 1 Master 1 / Slave 12(A) / Channel 1 24 Master 1 / Slave 24(A) / Channel 1 Master 1 / Slave 12(A) / Channel 2 25 Master 1 / Slave 25(A) / Channel 1 Master 1 / Slave 13(A) / Channel 1 26 Master 1 / Slave 26(A) / Channel 1 Master 1 / Slave 13(A) / Channel 2 27 Master 1 / Slave 27(A) / Channel 1 Master 1 / Slave 14(A) / Channel 1 28 Master 1 / Slave 28(A) / Channel 1 Master 1 / Slave 14(A) / Channel 2 29 Master 1 / Slave 29(A) / Channel 1 Master 1 / Slave 15(A) / Channel 1 30 Master 1 / Slave 30(A) / Channel 1 Master 1 / Slave 15(A) / Channel 2 31 Master 1 / Slave 31(A) / Channel 1 Master 1 / Slave 16(A) / Channel 1 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Setting of the device parameters Word Analogue channels per input | output slave = 1 Analogue channels per input | output slave = 2 32 Master 1 / Slave 32(A) / Channel 1 Master 1 / Slave 16(A) / Channel 2 33 Master 1 / Slave 33(A) / Channel 1 Master 1 / Slave 17(A) / Channel 1 34 Master 1 / Slave 34(A) / Channel 1 Master 1 / Slave 17(A) / Channel 2 35 Master 1 / Slave 35(A) / Channel 1 Master 1 / Slave 18(A) / Channel 1 36 Master 1 / Slave 36(A) / Channel 1 Master 1 / Slave 18(A) / Channel 2 37 Master 1 / Slave 37(A) / Channel 1 Master 1 / Slave 19(A) / Channel 1 38 Master 1 / Slave 38(A) / Channel 1 Master 1 / Slave 19(A) / Channel 2 39 Master 1 / Slave 39(A) / Channel 1 Master 1 / Slave 20(A) / Channel 1 40 Master 1 / Slave 40(A) / Channel 1 Master 1 / Slave 20(A) / Channel 2 41 Master 1 / Slave 41(A) / Channel 1 Master 1 / Slave 21(A) / Channel 1 42 Master 1 / Slave 42(A) / Channel 1 Master 1 / Slave 21(A) / Channel 2 43 Master 1 / Slave 43(A) / Channel 1 Master 1 / Slave 22(A) / Channel 1 44 Master 1 / Slave 44(A) / Channel 1 Master 1 / Slave 22(A) / Channel 2 45 Master 1 / Slave 45(A) / Channel 1 Master 1 / Slave 23(A) / Channel 1 46 Master 1 / Slave 46(A) / Channel 1 Master 1 / Slave 23(A) / Channel 2 47 Master 1 / Slave 47(A) / Channel 1 Master 1 / Slave 24(A) / Channel 1 48 Master 1 / Slave 48(A) / Channel 1 Master 1 / Slave 24(A) / Channel 2 49 Master 1 / Slave 49(A) / Channel 1 Master 1 / Slave 25(A) / Channel 1 50 Master 1 / Slave 50(A) / Channel 1 Master 1 / Slave 25(A) / Channel 2 51 Master 1 / Slave 51(A) / Channel 1 Master 1 / Slave 26(A) / Channel 1 52 Master 1 / Slave 52(A) / Channel 1 Master 1 / Slave 26(A) / Channel 2 53 Master 1 / Slave 53(A) / Channel 1 Master 1 / Slave 27(A) / Channel 1 54 Master 1 / Slave 54(A) / Channel 1 Master 1 / Slave 27(A) / Channel 2 55 Master 1 / Slave 55(A) / Channel 1 Master 1 / Slave 28(A) / Channel 1 56 Master 1 / Slave 56(A) / Channel 1 Master 1 / Slave 28(A) / Channel 2 57 Master 1 / Slave 57(A) / Channel 1 Master 1 / Slave 29(A) / Channel 1 58 Master 1 / Slave 58(A) / Channel 1 Master 1 / Slave 29(A) / Channel 2 59 Master 1 / Slave 59(A) / Channel 1 Master 1 / Slave 30(A) / Channel 1 60 Master 1 / Slave 60(A) / Channel 1 Master 1 / Slave 30(A) / Channel 2 61 -- Master 1 / Slave 31(A) / Channel 1 62 -- Master 1 / Slave 31(A) / Channel 2 63 -- Master 2 / Slave 1(A) / Channel 1 64 -- Master 2 / Slave 1(A) / Channel 2 65 -- Master 2 / Slave 2(A) / Channel 1 66 -- Master 2 / Slave 2(A) / Channel 2 67 -- Master 2 / Slave 3(A) / Channel 1 68 -- Master 2 / Slave 3(A) / Channel 2 69 -- Master 2 / Slave 4(A) / Channel 1 70 -- Master 2 / Slave 4(A) / Channel 2 71 -- Master 2 / Slave 5(A) / Channel 1 72 -- Master 2 / Slave 5(A) / Channel 2 145 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Setting of the device parameters Word 146 Analogue channels per input | output slave = 1 Analogue channels per input | output slave = 2 73 -- Master 2 / Slave 6(A) / Channel 1 74 -- Master 2 / Slave 6(A) / Channel 2 75 -- Master 2 / Slave 7(A) / Channel 1 76 -- Master 2 / Slave 7(A) / Channel 2 77 -- Master 2 / Slave 8(A) / Channel 1 78 -- Master 2 / Slave 8(A) / Channel 2 79 -- Master 2 / Slave 9(A) / Channel 1 80 -- Master 2 / Slave 9(A) / Channel 2 81 -- Master 2 / Slave 10(A) / Channel 1 82 -- Master 2 / Slave 10(A) / Channel 2 83 -- Master 2 / Slave 11(A) / Channel 1 84 -- Master 2 / Slave 11(A) / Channel 2 85 -- Master 2 / Slave 12(A) / Channel 1 86 -- Master 2 / Slave 12(A) / Channel 2 87 -- Master 2 / Slave 13(A) / Channel 1 88 -- Master 2 / Slave 13(A) / Channel 2 89 -- Master 2 / Slave 14(A) / Channel 1 90 -- Master 2 / Slave 14(A) / Channel 2 91 -- Master 2 / Slave 15(A) / Channel 1 92 -- Master 2 / Slave 15(A) / Channel 2 93 -- Master 2 / Slave 16(A) / Channel 1 94 -- Master 2 / Slave 16(A) / Channel 2 95 -- Master 2 / Slave 17(A) / Channel 1 96 -- Master 2 / Slave 17(A) / Channel 2 97 -- Master 2 / Slave 18(A) / Channel 1 98 -- Master 2 / Slave 18(A) / Channel 2 99 -- Master 2 / Slave 19(A) / Channel 1 100 -- Master 2 / Slave 19(A) / Channel 2 101 -- Master 2 / Slave 20(A) / Channel 1 102 -- Master 2 / Slave 20(A) / Channel 2 103 -- Master 2 / Slave 21(A) / Channel 1 104 -- Master 2 / Slave 21(A) / Channel 2 105 -- Master 2 / Slave 22(A) / Channel 1 106 -- Master 2 / Slave 22(A) / Channel 2 107 -- Master 2 / Slave 23(A) / Channel 1 108 -- Master 2 / Slave 23(A) / Channel 2 109 -- Master 2 / Slave 24(A) / Channel 1 110 -- Master 2 / Slave 24(A) / Channel 2 111 -- Master 2 / Slave 25(A) / Channel 1 112 -- Master 2 / Slave 25(A) / Channel 2 113 -- Master 2 / Slave 26(A) / Channel 1 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Setting of the device parameters Word Analogue channels per input | output slave = 1 Analogue channels per input | output slave = 2 114 -- Master 2 / Slave 26(A) / Channel 2 115 -- Master 2 / Slave 27(A) / Channel 1 116 -- Master 2 / Slave 27(A) / Channel 2 117 -- Master 2 / Slave 28(A) / Channel 1 118 -- Master 2 / Slave 28(A) / Channel 2 119 -- Master 2 / Slave 29(A) / Channel 1 120 -- Master 2 / Slave 29(A) / Channel 2 121 -- Master 2 / Slave 30(A) / Channel 1 122 -- Master 2 / Slave 30(A) / Channel 2 123 -- Master 2 / Slave 31(A) / Channel 1 124 -- Master 2 / Slave 31(A) / Channel 2 147 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Table: 4 channels per analogue slave 8765 The following table shows the structure of the data image for the setting of the parameters: · Analogue channels per input slave = 4 · Analogue channels per output slave = 4 Offset Word no. 148 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB 2 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Slot 1ss/2ss – flex modules for analogue slaves 9211 In the Profibus projection software each individual analogue input/output slave can be represented as a separate slot for the following ranges. § Slots 101...131 for analogue slaves on AS-i master 1 § Slots 201...232 for analogue slaves on AS-i master 2 In the flex module representation the first digit identifies the AS-i master the analogue slave is assigned to. The two following digits stand for the address of the analogue AS-i slave. Example: Slot 223 = analogue slave with address 23 on AS-i master 2 These slots can contain the following modules in a freely selectable combination: Description Module name 1 channel analogue input (single or A slave) 1 channel analogue input (B slave) 2 channels analogue input (single or A slave) 2 channels analogue input (B slave) 4 channels analogue input (single or A/B slave) 1 channel analogue output (single or A slave) 1 channel analogue output (B slave) 2 channels analogue output (single or A slave) 2 channels analogue output (B slave) 4 channels analogue output (single or A/B slave) 1 channel bidirectional analogue (single or A slave) 1 channel bidirectional analogue (B slave) 2 channels bidirectional analogue (single or A slave) 2 channels bidirectional analogue (B slave) 4 channels bidirectional analogue (single or A/B slave) Slave type Channel no. Single or A slave 0 B slave 0 Single or A slave 0+1 B slave 0+1 single slave 0…3 Slave input/output Input or: A slave B slave 0+1 0+1 single or A slave 0 B slave 0 single or A slave 0+1 B slave 0+1 single slave 0…3 output or: A slave B slave 0+1 0+1 single or A slave 0 B slave 0 single or A slave 0+1 B slave 0+1 single slave 0…3 input and output or: A slave B slave 0+1 0+1 149 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 6.4.2 2014-02-07 Fieldbus Profinet The acyclic process data In this section Acyclic process data: overview ............................................................................................................151 Acyclic process data: Profinet ..............................................................................................................152 Index 01 / DS1 – Read system information ..........................................................................................153 Index 30 – Command channel request to the device ...........................................................................153 Index 31 – Command channel response from the device ....................................................................153 Index 32 / DS2 – Digital inputs and master flags of the slaves on AS-i master 1 ................................154 Index 33 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 1 .........................................155 Index 34 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 1 .......................................157 Index 35 / DS5 – Digital inputs and master flags of the slaves on AS-i master 1 ................................159 Index 36 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 1 .......................................160 Index 37 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 1 .....................................161 Index 38 / DS8 – Status of the analogue output data of the slaves 1...31 on the AS-i master 1 .........162 Index 39 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 1 ...................................................164 Index 40 / DS10 – LPS slave list on AS-i master 1 .............................................................................165 Index 41 / DS11 – current configuration data CDI of the slaves on AS-i master 1 ..............................166 Index 42 / DS12 – projected configuration data (PCD) of the slaves on AS-i master 1 .......................167 Index 43 / DS13 – Image of the input parameters of the slaves on AS-i master 1 ..............................168 Index 44 / DS14 – Image of the output parameters of the slaves on AS-i master 1 ............................169 Index 46 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 11 Index 62 – Command channel request on AS-i master 1 ....................................................................171 Index 63 – command channel reply from AS-i master 1 ......................................................................171 Index 64 / DS2 – binary inputs and master flags of the slaves on AS-i master 2 ................................172 Index 65 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 2 .........................................173 Index 66 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 2 .......................................175 Index 67 / DS5 – binary outputs of the slaves on AS-i master 2 ..........................................................177 Index 68 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 2 .......................................177 Index 69 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 2 .....................................179 Index 70 / DS8 – status of the analogue output data of the slaves 1...31 on the AS-i master 2..........179 Index 71 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 2 ...................................................182 Index 72 / DS10 – LPS slave list on AS-i master 2 ..............................................................................183 Index 73 / DS11 – current CDI configuration data of the slaves on AS-i master 2 ..............................184 Index 74 / DS12 – projected PCD configuration data of the slaves on AS-i master 2 .........................185 Index 75 / DS13 – image of the input parameters of the slaves on AS-i master 2 ..............................186 Index 76 / DS14 – image of the output parameters of the slaves on AS-i master 2 ............................186 Index 78 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 21 Index 94 – Command channel request on AS-i master 2 ....................................................................190 Index 63 – Command channel reply from AS-i master 2 .....................................................................190 Error codes of the acyclic services .......................................................................................................191 7164 150 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Acyclic process data: overview 8752 Revision: 2012-02-07 The indices on slot 0, subslot 1, are used as follows: Index [dec] From byte no. [dec] To byte no. [dec] DS Access r = read w = write Number of words 0 -- -- reserved for system start -- -- -- 1 0 43 Read system information DS1 r 22 30 0 239 System command request channel -- r/w 120 31 0 239 System command reply channel -- r 120 32 0 69 M1 digital slave inputs 1(A)…31(A) and 1B…31B (1 byte per slave) + M1 master flags (status AS-i master and exec.-ctl. flags and host flags) DS2 r 35 33 0 149 M1 analogue slave inputs 1(A)…15(B) DS3 r 75 34 0 159 M1 analogue slave inputs 16(A)…31(B) DS4 r 80 35 0 63 M1 digital slave outputs 1(A)…31(A) and 1B…31B (1 byte per slave) DS5 r/w 32 36 0 119 M1 analogue slave outputs 1(A)…15(B) DS6 r/w 60 37 0 127 M1 analogue slave outputs 16(A)…31(B) DS7 r/w 64 38 0 63 M1 status flags analogue outputs 1(A)…31(A) and 1B…31B DS8 r 32 39 0 31 M1 LAS, LDS, LPF, LCE DS9 r 16 40 0 7 M1 LPS DS10 r 4 41 0 127 M1 current configuration data (CDI) DS11 r 64 42 0 127 M1 projected configuration data (PCD) DS12 r 64 43 0 63 M1 input parameter image (1 byte per slave) DS13 r 32 44 0 63 M1 output parameter image (1 byte per slave) DS14 r/w 32 46 0 131 M1 slave error counter, configuration error counter, AS-i cycle counter DS15 r 66 62 0 239 M1 command request channel -- r/w 120 63 0 239 M1 command reply channel -- r 120 64 0 69 M2 digital slave inputs 1(A)…31(A) and 1B…31B (1 byte per slave) + M2 master flags (status AS-i master and exec.-ctl. flags and host flags) DS2 r 35 65 0 149 M2 analogue slave inputs 1(A)…15(B) DS3 r 75 66 0 159 M2 analogue slave inputs 16(A)…31(B) DS4 r 80 67 0 63 M2 digital slave outputs 1(A)…31(A) and 1B…31B (1 byte per slave) DS5 r/w 32 68 0 119 M2 analogue slave outputs 1(A)…15(B) DS6 r/w 60 69 0 127 M2 analogue slave outputs 16(A)…31(B) DS7 r/w 64 70 0 63 M2 status flags analogue outputs 1(A)…31(A) and 1B…31B DS8 r 32 71 0 31 M2 LAS, LDS, LPF, LCE DS9 r 16 72 0 7 M2 LPS DS10 r 4 73 0 127 M2 current configuration data (CDI) DS11 r 64 74 0 127 M2 projected configuration data (PCD) DS12 r 64 Contents 151 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Index [dec] From byte no. [dec] To byte no. [dec] DS Access r = read w = write Number of words 75 0 63 M2 input parameter image (1 byte per slave) DS13 r 32 76 0 63 M2 output parameter image (1 byte per slave) DS14 r/w 32 78 0 131 M2 slave error counter, configuration error counter, AS-i cycle counter DS15 r 66 94 0 239 M2 command request channel -- r/w 120 95 0 239 M2 command reply channel -- r 120 Contents DS = data set no. 1 = AS-i master 1 2 = AS-i master 2 > Acyclic process data: Profinet 11205 Index [dec] from byte no. [dec] to byte no. [dec] DS Access: r = read w = write Number of words AFF016 0 64 I&M0 data (absolutely necessary for fieldbus certification) Chapter I&M 0 – Profinet certification (→ 270) -- r 32 AFF116 0 64 I&M1 data (designation of the device in the plant) -- r/w 32 AFF216 0 64 I&M2 data (when was the device installed?) -- r/w 32 AFF316 0 64 I&M3 data (additional information provided by the manufacturer) -- r/w 32 AFF416 0 64 I&M4 data -- r/w 32 152 Contents ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 01 / DS1 – Read system information 8753 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Article number ) (byte 0) = "A" Article number ) (byte 1) = “C" 1 1 Article number ) (byte 2) = "1" Article number 1) (byte 3) = "4" 2 Article number 1) (byte 4) = A1 Article number 1) (byte 5) = A2 3 Device number 2) (byte 1) = G1 Device number 2) (byte 0) = G2 4 Serial number 3) (byte 0, MSB) Serial number 3) (byte 1) 5 Serial number 3) (byte 2) Serial number 3) (byte 3) 6 Serial number 3) (byte 4) Serial number 3) (byte 5) 7 Serial number 3) (byte 6) Serial number 3) (byte 7) 8 Serial number 3) (byte 8) Serial number 3) (byte 9) 9 Serial number 3) (byte 10) Serial number 3) (byte 11, LSB) 10 Software type Software Version (Major Version) 11 Software Version (Minor Version) Software Version (Build Version) 0 5 1 0 1 12 Operating hours ) Total (byte 0, MSB) Operating hours 5) Total (byte 1) 13 Operating hours 5) Total (byte 2) Operating hours 5) Total (byte 3, LSB) 14 Operating hours 5) Uptime (byte 0, MSB) Operating hours 5) Uptime (byte 1) 15 Operating hours 5) Uptime (byte 2) Operating hours 5) Uptime (byte 3, LSB) 16 Operating hours 5) PLC (byte 0, MSB) Operating hours 5) PLC (byte 1) 17 Operating hours 5) PLC (byte 2) Operating hours 5) PLC (byte 3, LSB) 18 Operating hours 5) display (byte 0, MSB) Operating hours 5) display (byte 1) 19 Operating hours 5) display (byte 2) Operating hours 5) display (byte 3, LSB) 20 Device temperature 6) (byte 0, MSB) Device temperature 6) (byte 1, LSB) 21 reserved Number of AS-i masters 1 ) Article number: "AC14" + A1 + A2 as character string, e.g. "AC1401" ) Device number: G1 + G2 as character string, e.g. "AB" ) Serial number: 12-digit character string 5 ) Operating hours: in seconds, Unsigned Double word (32 bit) 6 ) Device temperature: in 1/100 °C, signed Word (16 bit), e.g. 4232 = 42.32 °C 2 3 LSB: Least Significant Bit/Byte MSB: Most Significant Bit/Byte > Index 30 – Command channel request to the device 11234 The command channels (→ 192) > System commands (→ 193) > Index 31 – Command channel response from the device 11234 The command channels (→ 192) > System commands (→ 193) 153 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 32 / DS2 – Digital inputs and master flags of the slaves on AS-i master 1 8754 Offset Word no. > 154 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): D3...D0 reserved reserved 1 reserved slave 3(A): D3...D0 reserved slave 2(A): D3...D0 2 reserved slave 5(A): D3...D0 reserved slave 4(A): D3...D0 3 reserved slave 7(A): D3...D0 reserved slave 6(A): D3...D0 4 reserved slave 9(A): D3...D0 reserved slave 8(A): D3...D0 5 reserved slave 11(A): D3...D0 reserved slave 10(A): D3...D0 6 reserved slave 13(A): D3...D0 reserved slave 12(A): D3...D0 7 reserved slave 15(A): D3...D0 reserved slave 14(A): D3...D0 8 reserved slave 17(A): D3...D0 reserved slave 16(A): D3...D0 9 reserved slave 19(A): D3...D0 reserved slave 18(A): D3...D0 10 reserved slave 21(A): D3...D0 reserved slave 20(A): D3...D0 11 reserved slave 23(A): D3...D0 reserved slave 22(A): D3...D0 12 reserved slave 25(A): D3...D0 reserved slave 24(A): D3...D0 13 reserved slave 27(A): D3...D0 reserved slave 26(A): D3...D0 14 reserved slave 29(A): D3...D0 reserved slave 28(A): D3...D0 15 reserved slave 31(A): D3...D0 reserved slave 30(A): D3...D0 16 reserved slave 1B: D3...D0 reserved reserved 17 reserved slave 3B: D3...D0 reserved slave 2B: D3...D0 18 reserved slave 5B: D3...D0 reserved slave 4B: D3...D0 19 reserved slave 7B: D3...D0 reserved slave 6B: D3...D0 20 reserved slave 9B: D3...D0 reserved slave 8B: D3...D0 21 reserved slave 11B: D3...D0 reserved slave 10B: D3...D0 22 reserved slave 13B: D3...D0 reserved slave 12B: D3...D0 23 reserved slave 15B: D3...D0 reserved slave 14B: D3...D0 24 reserved slave 17B: D3...D0 reserved slave 16B: D3...D0 25 reserved slave 19B: D3...D0 reserved slave 18B: D3...D0 26 reserved slave 21B: D3...D0 reserved slave 20B: D3...D0 27 reserved slave 23B: D3...D0 reserved slave 22B: D3...D0 28 reserved slave 25B: D3...D0 reserved slave 24B: D3...D0 29 reserved slave 27B: D3...D0 reserved slave 26B: D3...D0 30 reserved slave 29B: D3...D0 reserved slave 28B: D3...D0 31 reserved slave 31B: D3...D0 reserved slave 30B: D3...D0 32 AS-i master status flags AS-i master flags (→ 284) 33 Execution control flags Master control flags (→ 285) 34 Host flags Master status byte (→ 285) ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Index 33 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 1 8756 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...4 analogue input data of single slave 1 or of (slave 1A and slave 1B) 5...9 analogue input data of single slave 2 or of (slave 2A and slave 2B) 10...14 analogue input data of single slave 3 or of (slave 3A and slave 3B) 15...19 analogue input data of single slave 4 or of (slave 4A and slave 4B) 20...24 analogue input data of single slave 5 or of (slave 5A and slave 5B) 25...29 analogue input data of single slave 6 or of (slave 6A and slave 6B) 30...34 analogue input data of single slave 7 or of (slave 7A and slave 7B) 35...39 analogue input data of single slave 8 or of (slave 8A and slave 8B) 40...44 analogue input data of single slave 9 or of (slave 9A and slave 9B) 45...49 analogue input data of single slave 10 or of (slave 10A and slave 10B) 50...54 analogue input data of single slave 11 or of (slave 11A and slave 11B) 55...59 analogue input data of single slave 12 or of (slave 12A and slave 12B) 60...64 analogue input data of single slave 13 or of (slave 13A and slave 13B) 65...69 analogue input data of single slave 14 or of (slave 14A and slave 14B) 70...74 analogue input data of single slave 15 or of (slave 15A and slave 15B) 2 1 0 155 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Details of the 5-word areas 8758 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB n+4 TIB -- TIA -- TOB -- TOA -- O3 V3 O2 V2 O1 2 1 0 V1 O0 V0 Legend: On overflow bit 1 bit 0 = data is in the valid range 1 = data is in the invalid range (especially in case of input modules when the measuring range is not reached or exceeded) TIx transfer to the slave (transfer Input) 1 bit from master profile M4 onwards: 0 = slave transmits input data as a value (15 bits long, plus sign) 1 = slave transmits input data as a bit pattern (16 bits long, no sign) TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) Vn valid bit 1 bit 0 = values in channel n are invalid 1 = values in channel n are valid Output data must be valid (Vn = 1) to be enabled in the AS-i slave! 156 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 34 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 1 8759 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...4 analogue input data of single slave 16 or of (slave 16A and slave 16B) 5...9 analogue input data of single slave 17 or of (slave 17A and slave 17B) 10...14 analogue input data of single slave 18 or of (slave 18A and slave 18B) 15...19 analogue input data of single slave 19 or of (slave 19A and slave 19B) 20...24 analogue input data of single slave 20 or of (slave 20A and slave 20B) 25...29 analogue input data of single slave 21 or of (slave 21A and slave 21B) 30...34 analogue input data of single slave 22 or of (slave 22A and slave 22B) 35...39 analogue input data of single slave 23 or of (slave 23A and slave 23B) 40...44 analogue input data of single slave 24 or of (slave 24A and slave 24B) 45...49 analogue input data of single slave 25 or of (slave 25A and slave 25B) 50...54 analogue input data of single slave 26 or of (slave 26A and slave 26B) 55...59 analogue input data of single slave 27 or of (slave 27A and slave 27B) 60...64 analogue input data of single slave 28 or of (slave 28A and slave 28B) 65...69 analogue input data of single slave 29 or of (slave 29A and slave 29B) 70...74 analogue input data of single slave 30 or of (slave 30A and slave 30B) 75...79 analogue input data of single slave 31 or of (slave 31A and slave 31B) 2 1 0 157 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Details of the 5-word areas 8758 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB n+4 TIB -- TIA -- TOB -- TOA -- O3 V3 O2 V2 O1 2 1 0 V1 O0 V0 Legend: On overflow bit 1 bit 0 = data is in the valid range 1 = data is in the invalid range (especially in case of input modules when the measuring range is not reached or exceeded) TIx transfer to the slave (transfer Input) 1 bit from master profile M4 onwards: 0 = slave transmits input data as a value (15 bits long, plus sign) 1 = slave transmits input data as a bit pattern (16 bits long, no sign) TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) Vn valid bit 1 bit 0 = values in channel n are invalid 1 = values in channel n are valid Output data must be valid (Vn = 1) to be enabled in the AS-i slave! 158 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 35 / DS5 – Digital inputs and master flags of the slaves on AS-i master 1 8761 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): D3...D0 reserved reserved 1 reserved slave 3(A): D3...D0 reserved slave 2(A): D3...D0 2 reserved slave 5(A): D3...D0 reserved slave 4(A): D3...D0 3 reserved slave 7(A): D3...D0 reserved slave 6(A): D3...D0 4 reserved slave 9(A): D3...D0 reserved slave 8(A): D3...D0 5 reserved slave 11(A): D3...D0 reserved slave 10(A): D3...D0 6 reserved slave 13(A): D3...D0 reserved slave 12(A): D3...D0 7 reserved slave 15(A): D3...D0 reserved slave 14(A): D3...D0 8 reserved slave 17(A): D3...D0 reserved slave 16(A): D3...D0 9 reserved slave 19(A): D3...D0 reserved slave 18(A): D3...D0 10 reserved slave 21(A): D3...D0 reserved slave 20(A): D3...D0 11 reserved slave 23(A): D3...D0 reserved slave 22(A): D3...D0 12 reserved slave 25(A): D3...D0 reserved slave 24(A): D3...D0 13 reserved slave 27(A): D3...D0 reserved slave 26(A): D3...D0 14 reserved slave 29(A): D3...D0 reserved slave 28(A): D3...D0 15 reserved slave 31(A): D3...D0 reserved slave 30(A): D3...D0 16 reserved slave 1B: D3...D0 reserved reserved 17 reserved slave 3B: D3...D0 reserved slave 2B: D3...D0 18 reserved slave 5B: D3...D0 reserved slave 4B: D3...D0 19 reserved slave 7B: D3...D0 reserved slave 6B: D3...D0 20 reserved slave 9B: D3...D0 reserved slave 8B: D3...D0 21 reserved slave 11B: D3...D0 reserved slave 10B: D3...D0 22 reserved slave 13B: D3...D0 reserved slave 12B: D3...D0 23 reserved slave 15B: D3...D0 reserved slave 14B: D3...D0 24 reserved slave 17B: D3...D0 reserved slave 16B: D3...D0 25 reserved slave 19B: D3...D0 reserved slave 18B: D3...D0 26 reserved slave 21B: D3...D0 reserved slave 20B: D3...D0 27 reserved slave 23B: D3...D0 reserved slave 22B: D3...D0 28 reserved slave 25B: D3...D0 reserved slave 24B: D3...D0 29 reserved slave 27B: D3...D0 reserved slave 26B: D3...D0 30 reserved slave 29B: D3...D0 reserved slave 28B: D3...D0 31 reserved slave 31B: D3...D0 reserved slave 30B: D3...D0 159 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 36 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 1 8763 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...3 analogue output data of single slave 1 or of (slave 1A and slave 1B) 4...7 analogue output data of single slave 2 or of (slave 2A and slave 2B) 8...11 analogue output data of single slave 3 or of (slave 3A and slave 3B) 12...15 analogue output data of single slave 4 or of (slave 4A and slave 4B) 16...19 analogue output data of single slave 5 or of (slave 5A and slave 5B) 20...23 analogue output data of single slave 6 or of (slave 6A and slave 6B) 24...27 analogue output data of single slave 7 or of (slave 7A and slave 7B) 28...31 analogue output data of single slave 8 or of (slave 8A and slave 8B) 32...35 analogue output data of single slave 9 or of (slave 9A and slave 9B) 36...39 analogue output data of single slave 10 or of (slave 10A and slave 10B) 40...43 analogue output data of single slave 11 or of (slave 11A and slave 11B) 44...47 analogue output data of single slave 12 or of (slave 12A and slave 12B) 48...51 analogue output data of single slave 13 or of (slave 13A and slave 13B) 52...55 analogue output data of single slave 14 or of (slave 14A and slave 14B) 56...59 analogue output data of single slave 15 or of (slave 15A and slave 15B) 2 1 0 > Details 4 channels per analogue slave 8765 The following table shows the structure of the data image for the setting of the parameters: · Analogue channels per input slave = 4 · Analogue channels per output slave = 4 Offset Word no. 160 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB 2 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 37 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 1 8766 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...3 analogue output data of single slave 16 or of (slave 16A and slave 16B) 4...7 analogue output data of single slave 17 or of (slave 17A and slave 17B) 8...11 analogue output data of single slave 18 or of (slave 18A and slave 18B) 12...15 analogue output data of single slave 19 or of (slave 19A and slave 19B) 16...19 analogue output data of single slave 20 or of (slave 20A and slave 20B) 20...23 analogue output data of single slave 21 or of (slave 21A and slave 21B) 24...27 analogue output data of single slave 22 or of (slave 22A and slave 22B) 28...31 analogue output data of single slave 23 or of (slave 23A and slave 23B) 32...35 analogue output data of single slave 24 or of (slave 24A and slave 24B) 36...39 analogue output data of single slave 25 or of (slave 25A and slave 25B) 40...43 analogue output data of single slave 26 or of (slave 26 and slave 26B) 44...47 analogue output data of single slave 27 or of (slave 27 and slave 27B) 48...51 analogue output data of single slave 28 or of (slave 28 and slave 28B) 52...55 analogue output data of single slave 29 or of (slave 29 and slave 29B) 56...59 analogue output data of single slave 30 or of (slave 30 and slave 30B) 60...63 analogue output data of single slave 31 or of (slave 31and slave 31B) 2 1 0 > Details 4 channels per analogue slave 8765 The following table shows the structure of the data image for the setting of the parameters: · Analogue channels per input slave = 4 · Analogue channels per output slave = 4 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB 2 1 0 161 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 38 / DS8 – Status of the analogue output data of the slaves 1...31 on the AS-i master 1 8768 Offset Word no. 162 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 0 reserved 1 Status of the analogue output data of single slave 1 or of (slave 1A and slave 1B) 2 Status of the analogue output data of single slave 2 or of (slave 2A and slave 2B) 3 Status of the analogue output data of single slave 3 or of (slave 3A and slave 3B) 4 Status of the analogue output data of single slave 4 or of (slave 4A and slave 4B) 5 Status of the analogue output data of single slave 5 or of (slave 5A and slave 5B) 6 Status of the analogue output data of single slave 6 or of (slave 6A and slave 6B) 7 Status of the analogue output data of single slave 7 or of (slave 7A and slave 7B) 8 Status of the analogue output data of single slave 8 or of (slave 8A and slave 8B) 9 Status of the analogue output data of single slave 9 or of (slave 9A and slave 9B) 10 Status of the analogue output data of single slave 10 or of (slave 10A and slave 10B) 11 Status of the analogue output data of single slave 11 or of (slave 11A and slave 11B) 12 Status of the analogue output data of single slave 12 or of (slave 12A and slave 12B) 13 Status of the analogue output data of single slave 13 or of (slave 13A and slave 13B) 14 Status of the analogue output data of single slave 14 or of (slave 14A and slave 14B) 15 Status of the analogue output data of single slave 15 or of (slave 15A and slave 15B) 16 Status of the analogue output data of single slave 16 or of (slave 16A and slave 16B) 17 Status of the analogue output data of single slave 17 or of (slave 17A and slave 17B) 18 Status of the analogue output data of single slave 18 or of (slave 18A and slave 18B) 19 Status of the analogue output data of single slave 19 or of (slave 19A and slave 19B) 20 Status of the analogue output data of single slave 20 or of (slave 20A and slave 20B) 21 Status of the analogue output data of single slave 21 or of (slave 21A and slave 21B) 22 Status of the analogue output data of single slave 22 or of (slave 22A and slave 22B) 23 Status of the analogue output data of single slave 23 or of (slave 23A and slave 23B) 24 Status of the analogue output data of single slave 24 or of (slave 24A and slave 24B) 25 Status of the analogue output data of single slave 25 or of (slave 25A and slave 25B) 26 Status of the analogue output data of single slave 26 or of (slave 26A and slave 26B) 27 Status of the analogue output data of single slave 27 or of (slave 27A and slave 27B) 28 Status of the analogue output data of single slave 28 or of (slave 28A and slave 28B) 29 Status of the analogue output data of single slave 29 or of (slave 29A and slave 29B) 30 Status of the analogue output data of single slave 30 or of (slave 30A and slave 30B) 31 Status of the analogue output data of single slave 31 or of (slave 31A and slave 31B) 32 reserved 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Details of the words shown above: Offset Word no. n bit 15 14 13 12 11 10 9 8 -- TOB -- TOA -- OVB -- OVA 7 6 5 4 3 2 1 0 reserved Legend: OVx output valid 1 bit channel-independent bit "output data valid" from the slave: CTT1: 0 = more than 3.5 s have elapsed since the last update of the output values 1 = slave requests new output data within the next 3 s CTT2…CTT5: 0 = slave receives no new output data 1 = slave receives new output data Only valid for analogue output slaves. For input slaves set OVx = "0"! TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) 163 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 39 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 1 8770 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 0...3 LAS / list of active slaves 4...7 LDS / list of detected slaves 8...11 LPF / list of slaves with periphery faults 12...15 LCE / list of slaves with configuration errors 4 3 2 1 0 > Details of the slave lists 8772 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0 *) n+1 31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) n+2 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res. n+3 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B *) LAS and LPS have no slave 0, therefore this bit is set to 0! 164 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 40 / DS10 – LPS slave list on AS-i master 1 8773 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 List of projected slaves LPS 0...3 > Details of the slave lists 8772 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0 *) n+1 31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) n+2 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res. n+3 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B *) LAS and LPS have no slave 0, therefore this bit is set to 0! 165 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 41 / DS11 – current configuration data CDI of the slaves on AS-i master 1 8775 bit Offset Word no. 15 14 13 ID2 code 166 12 11 10 9 8 7 ID1 code 6 5 ID code 0 slave 0 *) 1 slave 1(A) 2 slave 2(A) 3 slave 3(A) 4 slave 4(A) 5 slave 5(A) 6 slave 6(A) 7 slave 7(A) 8 slave 8(A) 9 slave 9(A) 10 slave 10(A) 11 slave 11(A) 12 slave 12(A) 13 slave 13(A) 14 slave 14(A) 15 slave 15(A) 16 slave 16(A) 17 slave 17(A) 18 slave 18(A) 19 slave 19(A) 20 slave 20(A) 21 slave 21(A) 22 slave 22(A) 23 slave 23(A) 24 slave 24(A) 25 slave 25(A) 26 slave 26(A) 27 slave 27(A) 28 slave 28(A) 29 slave 29(A) 20 slave 30(A) 31 slave 31(A) 32 reserved 33 slave 1B 34 slave 2B 35 slave 3B 4 3 2 1 IO code 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet bit Offset Word no. 15 14 13 12 ID2 code 11 10 9 8 7 ID1 code 6 5 4 3 ID code 36 slave 4B 37 slave 5B 38 slave 6B 39 slave 7B 40 slave 8B 41 slave 9B 42 slave 10B 43 slave 11B 44 slave 12B 45 slave 13B 46 slave 14B 47 slave 15B 48 slave 16B 49 slave 17B 50 slave 18B 51 slave 19B 52 slave 20B 53 slave 21B 54 slave 22B 55 slave 23B 56 slave 24B 57 slave 25B 58 slave 26B 59 slave 27B 60 slave 28B 61 slave 29B 62 slave 30B 63 slave 31B 2 1 0 IO code *) contents for slave 0 only valid in CDI > Index 42 / DS12 – projected configuration data (PCD) of the slaves on AS-i master 1 8779 Data structure Index 41 / DS11 – current configuration data CDI of the slaves on AS-i master 1 (→ 166) (CDI) 167 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 43 / DS13 – Image of the input parameters of the slaves on AS-i master 1 8781 Offset Word no. 168 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 reserved slave 1(A): P3...P0 reserved reserved 1 reserved slave 3(A): P3...P0 reserved slave 2(A): P3...P0 2 reserved slave 5(A): P3...P0 reserved slave 4(A): P3...P0 3 reserved slave 7(A): P3...P0 reserved slave 6(A): P3...P0 4 reserved slave 9(A): P3...P0 reserved slave 8(A): P3...P0 5 reserved slave 11(A): P3...P0 reserved slave 10(A): P3...P0 6 reserved slave 13(A): P3...P0 reserved slave 12(A): P3...P0 7 reserved slave 15(A): P3...P0 reserved slave 14(A): P3...P0 8 reserved slave 17(A): P3...P0 reserved slave 16(A): P3...P0 9 reserved slave 19(A): P3...P0 reserved slave 18(A): P3...P0 10 reserved slave 21(A): P3...P0 reserved slave 20(A): P3...P0 11 reserved slave 23(A): P3...P0 reserved slave 22(A): P3...P0 12 reserved slave 25(A): P3...P0 reserved slave 24(A): P3...P0 13 reserved slave 27(A): P3...P0 reserved slave 26(A): P3...P0 14 reserved slave 29(A): P3...P0 reserved slave 28(A): P3...P0 15 reserved slave 31(A): P3...P0 reserved slave 30(A): P3...P0 16 reserved slave 1B: P3...P0 reserved reserved 17 reserved slave 3B: P3...P0 reserved slave 2B: P3...P0 18 reserved slave 5B: P3...P0 reserved slave 4B: P3...P0 19 reserved slave 7B: P3...P0 reserved slave 6B: P3...P0 20 reserved slave 9B: P3...P0 reserved slave 8B: P3...P0 21 reserved slave 11B: P3...P0 reserved slave 10B: P3...P0 22 reserved slave 13B: P3...P0 reserved slave 12B: P3...P0 23 reserved slave 15B: P3...P0 reserved slave 14B: P3...P0 24 reserved slave 17B: P3...P0 reserved slave 16B: P3...P0 25 reserved slave 19B: P3...P0 reserved slave 18B: P3...P0 26 reserved slave 21B: P3...P0 reserved slave 20B: P3...P0 27 reserved slave 23B: P3...P0 reserved slave 22B: P3...P0 28 reserved slave 25B: P3...P0 reserved slave 24B: P3...P0 29 reserved slave 27B: P3...P0 reserved slave 26B: P3...P0 30 reserved slave 29B: P3...P0 reserved slave 28B: P3...P0 31 reserved slave 31B: P3...P0 reserved slave 30B: P3...P0 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 44 / DS14 – Image of the output parameters of the slaves on AS-i master 1 8783 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): P3...P0 reserved reserved 1 reserved slave 3(A): P3...P0 reserved slave 2(A): P3...P0 2 reserved slave 5(A): P3...P0 reserved slave 4(A): P3...P0 3 reserved slave 7(A): P3...P0 reserved slave 6(A): P3...P0 4 reserved slave 9(A): P3...P0 reserved slave 8(A): P3...P0 5 reserved slave 11(A): P3...P0 reserved slave 10(A): P3...P0 6 reserved slave 13(A): P3...P0 reserved slave 12(A): P3...P0 7 reserved slave 15(A): P3...P0 reserved slave 14(A): P3...P0 8 reserved slave 17(A): P3...P0 reserved slave 16(A): P3...P0 9 reserved slave 19(A): P3...P0 reserved slave 18(A): P3...P0 10 reserved slave 21(A): P3...P0 reserved slave 20(A): P3...P0 11 reserved slave 23(A): P3...P0 reserved slave 22(A): P3...P0 12 reserved slave 25(A): P3...P0 reserved slave 24(A): P3...P0 13 reserved slave 27(A): P3...P0 reserved slave 26(A): P3...P0 14 reserved slave 29(A): P3...P0 reserved slave 28(A): P3...P0 15 reserved slave 31(A): P3...P0 reserved slave 30(A): P3...P0 16 reserved slave 1B: P3...P0 reserved reserved 17 reserved slave 3B: P3...P0 reserved slave 2B: P3...P0 18 reserved slave 5B: P3...P0 reserved slave 4B: P3...P0 19 reserved slave 7B: P3...P0 reserved slave 6B: P3...P0 20 reserved slave 9B: P3...P0 reserved slave 8B: P3...P0 21 reserved slave 11B: P3...P0 reserved slave 10B: P3...P0 22 reserved slave 13B: P3...P0 reserved slave 12B: P3...P0 23 reserved slave 15B: P3...P0 reserved slave 14B: P3...P0 24 reserved slave 17B: P3...P0 reserved slave 16B: P3...P0 25 reserved slave 19B: P3...P0 reserved slave 18B: P3...P0 26 reserved slave 21B: P3...P0 reserved slave 20B: P3...P0 27 reserved slave 23B: P3...P0 reserved slave 22B: P3...P0 28 reserved slave 25B: P3...P0 reserved slave 24B: P3...P0 29 reserved slave 27B: P3...P0 reserved slave 26B: P3...P0 30 reserved slave 29B: P3...P0 reserved slave 28B: P3...P0 31 reserved slave 31B: P3...P0 reserved slave 30B: P3...P0 > Index 46 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 1 8785 169 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Offset Word no. 170 bit 15 14 13 12 11 10 9 8 7 6 0 error counter in slave 0 1 error counter in slave 1(A) 2 error counter in slave 2(A) 3 error counter in slave 3(A) 4 error counter in slave 4(A) 5 error counter in slave 5(A) 6 error counter in slave 6(A) 7 error counter in slave 7(A) 8 error counter in slave 8(A) 9 error counter in slave 9(A) 10 error counter in slave 10(A) 11 error counter in slave 11(A) 12 error counter in slave 12(A) 13 error counter in slave 13(A) 14 error counter in slave 14(A) 15 error counter in slave 15(A) 16 error counter in slave 16(A) 17 error counter in slave 17(A) 18 error counter in slave 18(A) 19 error counter in slave 19(A) 20 error counter in slave 20(A) 21 error counter in slave 21(A) 22 error counter in slave 22(A) 23 error counter in slave 23(A) 24 error counter in slave 24(A) 25 error counter in slave 25(A) 26 error counter in slave 26(A) 27 error counter in slave 27(A) 28 error counter in slave 28(A) 29 error counter in slave 29(A) 20 error counter in slave 30(A) 31 error counter in slave 31(A) 32 reserved 33 error counter in slave 1B 34 error counter in slave 2B 35 error counter in slave 3B 36 error counter in slave 4B 37 error counter in slave 5B 38 error counter in slave 6B 39 error counter in slave 7B 5 4 3 2 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Offset Word no. Fieldbus Profinet bit 15 14 13 12 11 10 9 8 7 6 40 error counter in slave 8B 41 error counter in slave 9B 42 error counter in slave 10B 43 error counter in slave 11B 44 error counter in slave 12B 45 error counter in slave 13B 46 error counter in slave 14B 47 error counter in slave 15B 48 error counter in slave 16B 49 error counter in slave 17B 50 error counter in slave 18B 51 error counter in slave 19B 52 error counter in slave 20B 53 error counter in slave 21B 54 error counter in slave 22B 55 error counter in slave 23B 56 error counter in slave 24B 57 error counter in slave 25B 58 error counter in slave 26B 59 error counter in slave 27B 60 error counter in slave 28B 61 error counter in slave 29B 62 error counter in slave 30B 63 error counter in slave 31B 64 AS-i cycle counter 65 configuration error counter 5 4 3 2 1 0 > Index 62 – Command channel request on AS-i master 1 8787 chapter The command channels (→ 192) > AS-i master commands (→ 202) > Index 63 – command channel reply from AS-i master 1 8787 chapter The command channels (→ 192) > AS-i master commands (→ 202) 171 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 64 / DS2 – binary inputs and master flags of the slaves on AS-i master 2 available only for devices with 2 AS-i masters 8754 Offset Word no. > 172 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): D3...D0 reserved reserved 1 reserved slave 3(A): D3...D0 reserved slave 2(A): D3...D0 2 reserved slave 5(A): D3...D0 reserved slave 4(A): D3...D0 3 reserved slave 7(A): D3...D0 reserved slave 6(A): D3...D0 4 reserved slave 9(A): D3...D0 reserved slave 8(A): D3...D0 5 reserved slave 11(A): D3...D0 reserved slave 10(A): D3...D0 6 reserved slave 13(A): D3...D0 reserved slave 12(A): D3...D0 7 reserved slave 15(A): D3...D0 reserved slave 14(A): D3...D0 8 reserved slave 17(A): D3...D0 reserved slave 16(A): D3...D0 9 reserved slave 19(A): D3...D0 reserved slave 18(A): D3...D0 10 reserved slave 21(A): D3...D0 reserved slave 20(A): D3...D0 11 reserved slave 23(A): D3...D0 reserved slave 22(A): D3...D0 12 reserved slave 25(A): D3...D0 reserved slave 24(A): D3...D0 13 reserved slave 27(A): D3...D0 reserved slave 26(A): D3...D0 14 reserved slave 29(A): D3...D0 reserved slave 28(A): D3...D0 15 reserved slave 31(A): D3...D0 reserved slave 30(A): D3...D0 16 reserved slave 1B: D3...D0 reserved reserved 17 reserved slave 3B: D3...D0 reserved slave 2B: D3...D0 18 reserved slave 5B: D3...D0 reserved slave 4B: D3...D0 19 reserved slave 7B: D3...D0 reserved slave 6B: D3...D0 20 reserved slave 9B: D3...D0 reserved slave 8B: D3...D0 21 reserved slave 11B: D3...D0 reserved slave 10B: D3...D0 22 reserved slave 13B: D3...D0 reserved slave 12B: D3...D0 23 reserved slave 15B: D3...D0 reserved slave 14B: D3...D0 24 reserved slave 17B: D3...D0 reserved slave 16B: D3...D0 25 reserved slave 19B: D3...D0 reserved slave 18B: D3...D0 26 reserved slave 21B: D3...D0 reserved slave 20B: D3...D0 27 reserved slave 23B: D3...D0 reserved slave 22B: D3...D0 28 reserved slave 25B: D3...D0 reserved slave 24B: D3...D0 29 reserved slave 27B: D3...D0 reserved slave 26B: D3...D0 30 reserved slave 29B: D3...D0 reserved slave 28B: D3...D0 31 reserved slave 31B: D3...D0 reserved slave 30B: D3...D0 32 AS-i master status flags AS-i master flags (→ 284) 33 Execution control flags Master control flags (→ 285) 34 Host flags Master status byte (→ 285) ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Index 65 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 2 available only for devices with 2 AS-i masters 8756 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...4 analogue input data of single slave 1 or of (slave 1A and slave 1B) 5...9 analogue input data of single slave 2 or of (slave 2A and slave 2B) 10...14 analogue input data of single slave 3 or of (slave 3A and slave 3B) 15...19 analogue input data of single slave 4 or of (slave 4A and slave 4B) 20...24 analogue input data of single slave 5 or of (slave 5A and slave 5B) 25...29 analogue input data of single slave 6 or of (slave 6A and slave 6B) 30...34 analogue input data of single slave 7 or of (slave 7A and slave 7B) 35...39 analogue input data of single slave 8 or of (slave 8A and slave 8B) 40...44 analogue input data of single slave 9 or of (slave 9A and slave 9B) 45...49 analogue input data of single slave 10 or of (slave 10A and slave 10B) 50...54 analogue input data of single slave 11 or of (slave 11A and slave 11B) 55...59 analogue input data of single slave 12 or of (slave 12A and slave 12B) 60...64 analogue input data of single slave 13 or of (slave 13A and slave 13B) 65...69 analogue input data of single slave 14 or of (slave 14A and slave 14B) 70...74 analogue input data of single slave 15 or of (slave 15A and slave 15B) 2 1 0 173 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Details of the 5-word areas 8758 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB n+4 TIB -- TIA -- TOB -- TOA -- O3 V3 O2 V2 O1 2 1 0 V1 O0 V0 Legend: On overflow bit 1 bit 0 = data is in the valid range 1 = data is in the invalid range (especially in case of input modules when the measuring range is not reached or exceeded) TIx transfer to the slave (transfer Input) 1 bit from master profile M4 onwards: 0 = slave transmits input data as a value (15 bits long, plus sign) 1 = slave transmits input data as a bit pattern (16 bits long, no sign) TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) Vn valid bit 1 bit 0 = values in channel n are invalid 1 = values in channel n are valid Output data must be valid (Vn = 1) to be enabled in the AS-i slave! 174 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 66 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 2 available only for devices with 2 AS-i masters 8759 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...4 analogue input data of single slave 16 or of (slave 16A and slave 16B) 5...9 analogue input data of single slave 17 or of (slave 17A and slave 17B) 10...14 analogue input data of single slave 18 or of (slave 18A and slave 18B) 15...19 analogue input data of single slave 19 or of (slave 19A and slave 19B) 20...24 analogue input data of single slave 20 or of (slave 20A and slave 20B) 25...29 analogue input data of single slave 21 or of (slave 21A and slave 21B) 30...34 analogue input data of single slave 22 or of (slave 22A and slave 22B) 35...39 analogue input data of single slave 23 or of (slave 23A and slave 23B) 40...44 analogue input data of single slave 24 or of (slave 24A and slave 24B) 45...49 analogue input data of single slave 25 or of (slave 25A and slave 25B) 50...54 analogue input data of single slave 26 or of (slave 26A and slave 26B) 55...59 analogue input data of single slave 27 or of (slave 27A and slave 27B) 60...64 analogue input data of single slave 28 or of (slave 28A and slave 28B) 65...69 analogue input data of single slave 29 or of (slave 29A and slave 29B) 70...74 analogue input data of single slave 30 or of (slave 30A and slave 30B) 75...79 analogue input data of single slave 31 or of (slave 31A and slave 31B) 2 1 0 175 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Details of the 5-word areas 8758 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB n+4 TIB -- TIA -- TOB -- TOA -- O3 V3 O2 V2 O1 2 1 0 V1 O0 V0 Legend: On overflow bit 1 bit 0 = data is in the valid range 1 = data is in the invalid range (especially in case of input modules when the measuring range is not reached or exceeded) TIx transfer to the slave (transfer Input) 1 bit from master profile M4 onwards: 0 = slave transmits input data as a value (15 bits long, plus sign) 1 = slave transmits input data as a bit pattern (16 bits long, no sign) TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) Vn valid bit 1 bit 0 = values in channel n are invalid 1 = values in channel n are valid Output data must be valid (Vn = 1) to be enabled in the AS-i slave! 176 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 67 / DS5 – binary outputs of the slaves on AS-i master 2 available only for devices with 2 AS-i masters 8761 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): D3...D0 reserved reserved 1 reserved slave 3(A): D3...D0 reserved slave 2(A): D3...D0 2 reserved slave 5(A): D3...D0 reserved slave 4(A): D3...D0 3 reserved slave 7(A): D3...D0 reserved slave 6(A): D3...D0 4 reserved slave 9(A): D3...D0 reserved slave 8(A): D3...D0 5 reserved slave 11(A): D3...D0 reserved slave 10(A): D3...D0 6 reserved slave 13(A): D3...D0 reserved slave 12(A): D3...D0 7 reserved slave 15(A): D3...D0 reserved slave 14(A): D3...D0 8 reserved slave 17(A): D3...D0 reserved slave 16(A): D3...D0 9 reserved slave 19(A): D3...D0 reserved slave 18(A): D3...D0 10 reserved slave 21(A): D3...D0 reserved slave 20(A): D3...D0 11 reserved slave 23(A): D3...D0 reserved slave 22(A): D3...D0 12 reserved slave 25(A): D3...D0 reserved slave 24(A): D3...D0 13 reserved slave 27(A): D3...D0 reserved slave 26(A): D3...D0 14 reserved slave 29(A): D3...D0 reserved slave 28(A): D3...D0 15 reserved slave 31(A): D3...D0 reserved slave 30(A): D3...D0 16 reserved slave 1B: D3...D0 reserved reserved 17 reserved slave 3B: D3...D0 reserved slave 2B: D3...D0 18 reserved slave 5B: D3...D0 reserved slave 4B: D3...D0 19 reserved slave 7B: D3...D0 reserved slave 6B: D3...D0 20 reserved slave 9B: D3...D0 reserved slave 8B: D3...D0 21 reserved slave 11B: D3...D0 reserved slave 10B: D3...D0 22 reserved slave 13B: D3...D0 reserved slave 12B: D3...D0 23 reserved slave 15B: D3...D0 reserved slave 14B: D3...D0 24 reserved slave 17B: D3...D0 reserved slave 16B: D3...D0 25 reserved slave 19B: D3...D0 reserved slave 18B: D3...D0 26 reserved slave 21B: D3...D0 reserved slave 20B: D3...D0 27 reserved slave 23B: D3...D0 reserved slave 22B: D3...D0 28 reserved slave 25B: D3...D0 reserved slave 24B: D3...D0 29 reserved slave 27B: D3...D0 reserved slave 26B: D3...D0 30 reserved slave 29B: D3...D0 reserved slave 28B: D3...D0 31 reserved slave 31B: D3...D0 reserved slave 30B: D3...D0 > Index 68 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 2 available only for devices with 2 AS-i masters 8763 177 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...3 analogue output data of single slave 1 or of (slave 1A and slave 1B) 4...7 analogue output data of single slave 2 or of (slave 2A and slave 2B) 8...11 analogue output data of single slave 3 or of (slave 3A and slave 3B) 12...15 analogue output data of single slave 4 or of (slave 4A and slave 4B) 16...19 analogue output data of single slave 5 or of (slave 5A and slave 5B) 20...23 analogue output data of single slave 6 or of (slave 6A and slave 6B) 24...27 analogue output data of single slave 7 or of (slave 7A and slave 7B) 28...31 analogue output data of single slave 8 or of (slave 8A and slave 8B) 32...35 analogue output data of single slave 9 or of (slave 9A and slave 9B) 36...39 analogue output data of single slave 10 or of (slave 10A and slave 10B) 40...43 analogue output data of single slave 11 or of (slave 11A and slave 11B) 44...47 analogue output data of single slave 12 or of (slave 12A and slave 12B) 48...51 analogue output data of single slave 13 or of (slave 13A and slave 13B) 52...55 analogue output data of single slave 14 or of (slave 14A and slave 14B) 56...59 analogue output data of single slave 15 or of (slave 15A and slave 15B) 2 1 0 > Details 4 channels per analogue slave 8765 The following table shows the structure of the data image for the setting of the parameters: · Analogue channels per input slave = 4 · Analogue channels per output slave = 4 Offset Word no. 178 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB 2 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 69 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 2 available only for devices with 2 AS-i masters 8766 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0...3 analogue output data of single slave 16 or of (slave 16A and slave 16B) 4...7 analogue output data of single slave 17 or of (slave 17A and slave 17B) 8...11 analogue output data of single slave 18 or of (slave 18A and slave 18B) 12...15 analogue output data of single slave 19 or of (slave 19A and slave 19B) 16...19 analogue output data of single slave 20 or of (slave 20A and slave 20B) 20...23 analogue output data of single slave 21 or of (slave 21A and slave 21B) 24...27 analogue output data of single slave 22 or of (slave 22A and slave 22B) 28...31 analogue output data of single slave 23 or of (slave 23A and slave 23B) 32...35 analogue output data of single slave 24 or of (slave 24A and slave 24B) 36...39 analogue output data of single slave 25 or of (slave 25A and slave 25B) 40...43 analogue output data of single slave 26 or of (slave 26 and slave 26B) 44...47 analogue output data of single slave 27 or of (slave 27 and slave 27B) 48...51 analogue output data of single slave 28 or of (slave 28 and slave 28B) 52...55 analogue output data of single slave 29 or of (slave 29 and slave 29B) 56...59 analogue output data of single slave 30 or of (slave 30 and slave 30B) 60...63 analogue output data of single slave 31 or of (slave 31and slave 31B) 2 1 0 > Details 4 channels per analogue slave 8765 The following table shows the structure of the data image for the setting of the parameters: · Analogue channels per input slave = 4 · Analogue channels per output slave = 4 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 n Analogue value channel 0 of single slave x or channel 0 of slave xA n+1 Analogue value channel 1 of single slave x or channel 1 of slave xA n+2 Analogue value channel 2 of single slave x or channel 0 of slave xB n+3 Analogue value channel 3 of single slave x or channel 1 of slave xB 2 1 0 > Index 70 / DS8 – status of the analogue output data of the slaves 1...31 on the AS-i master 2 available only for devices with 2 AS-i masters 8768 179 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Offset Word no. 180 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 0 reserved 1 Status of the analogue output data of single slave 1 or of (slave 1A and slave 1B) 2 Status of the analogue output data of single slave 2 or of (slave 2A and slave 2B) 3 Status of the analogue output data of single slave 3 or of (slave 3A and slave 3B) 4 Status of the analogue output data of single slave 4 or of (slave 4A and slave 4B) 5 Status of the analogue output data of single slave 5 or of (slave 5A and slave 5B) 6 Status of the analogue output data of single slave 6 or of (slave 6A and slave 6B) 7 Status of the analogue output data of single slave 7 or of (slave 7A and slave 7B) 8 Status of the analogue output data of single slave 8 or of (slave 8A and slave 8B) 9 Status of the analogue output data of single slave 9 or of (slave 9A and slave 9B) 10 Status of the analogue output data of single slave 10 or of (slave 10A and slave 10B) 11 Status of the analogue output data of single slave 11 or of (slave 11A and slave 11B) 12 Status of the analogue output data of single slave 12 or of (slave 12A and slave 12B) 13 Status of the analogue output data of single slave 13 or of (slave 13A and slave 13B) 14 Status of the analogue output data of single slave 14 or of (slave 14A and slave 14B) 15 Status of the analogue output data of single slave 15 or of (slave 15A and slave 15B) 16 Status of the analogue output data of single slave 16 or of (slave 16A and slave 16B) 17 Status of the analogue output data of single slave 17 or of (slave 17A and slave 17B) 18 Status of the analogue output data of single slave 18 or of (slave 18A and slave 18B) 19 Status of the analogue output data of single slave 19 or of (slave 19A and slave 19B) 20 Status of the analogue output data of single slave 20 or of (slave 20A and slave 20B) 21 Status of the analogue output data of single slave 21 or of (slave 21A and slave 21B) 22 Status of the analogue output data of single slave 22 or of (slave 22A and slave 22B) 23 Status of the analogue output data of single slave 23 or of (slave 23A and slave 23B) 24 Status of the analogue output data of single slave 24 or of (slave 24A and slave 24B) 25 Status of the analogue output data of single slave 25 or of (slave 25A and slave 25B) 26 Status of the analogue output data of single slave 26 or of (slave 26A and slave 26B) 27 Status of the analogue output data of single slave 27 or of (slave 27A and slave 27B) 28 Status of the analogue output data of single slave 28 or of (slave 28A and slave 28B) 29 Status of the analogue output data of single slave 29 or of (slave 29A and slave 29B) 30 Status of the analogue output data of single slave 30 or of (slave 30A and slave 30B) 31 Status of the analogue output data of single slave 31 or of (slave 31A and slave 31B) 32 reserved 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Details of the words shown above: Offset Word no. n bit 15 14 13 12 11 10 9 8 -- TOB -- TOA -- OVB -- OVA 7 6 5 4 3 2 1 0 reserved Legend: OVx output valid 1 bit channel-independent bit "output data valid" from the slave: CTT1: 0 = more than 3.5 s have elapsed since the last update of the output values 1 = slave requests new output data within the next 3 s CTT2…CTT5: 0 = slave receives no new output data 1 = slave receives new output data Only valid for analogue output slaves. For input slaves set OVx = "0"! TOx transfer from the slave (transfer output) 1 bit from master profile M4 onwards: 0 = slave receives output data as a value (15 bits long, plus sign) 1 = slave receives output data as a bit pattern (16 bits long, no sign) 181 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 71 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 2 available only for devices with 2 AS-i masters 8770 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 0...3 LAS / list of active slaves 4...7 LDS / list of detected slaves 8...11 LPF / list of slaves with periphery faults 12...15 LCE / list of slaves with configuration errors 4 3 2 1 0 > Details of the slave lists 8772 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0 *) n+1 31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) n+2 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res. n+3 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B *) LAS and LPS have no slave 0, therefore this bit is set to 0! 182 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 72 / DS10 – LPS slave list on AS-i master 2 available only for devices with 2 AS-i masters 8773 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 List of projected slaves LPS 0...3 > Details of the slave lists 8772 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0 *) n+1 31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) n+2 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res. n+3 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B *) LAS and LPS have no slave 0, therefore this bit is set to 0! 183 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 73 / DS11 – current CDI configuration data of the slaves on AS-i master 2 available only for devices with 2 AS-i masters 8775 bit Offset Word no. 15 14 13 ID2 code 184 12 11 10 9 8 7 ID1 code 6 5 ID code 0 slave 0 *) 1 slave 1(A) 2 slave 2(A) 3 slave 3(A) 4 slave 4(A) 5 slave 5(A) 6 slave 6(A) 7 slave 7(A) 8 slave 8(A) 9 slave 9(A) 10 slave 10(A) 11 slave 11(A) 12 slave 12(A) 13 slave 13(A) 14 slave 14(A) 15 slave 15(A) 16 slave 16(A) 17 slave 17(A) 18 slave 18(A) 19 slave 19(A) 20 slave 20(A) 21 slave 21(A) 22 slave 22(A) 23 slave 23(A) 24 slave 24(A) 25 slave 25(A) 26 slave 26(A) 27 slave 27(A) 28 slave 28(A) 29 slave 29(A) 20 slave 30(A) 31 slave 31(A) 32 reserved 33 slave 1B 34 slave 2B 4 3 2 1 IO code 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet bit Offset Word no. 15 14 13 12 ID2 code 11 10 9 8 7 ID1 code 6 5 4 3 ID code 35 slave 3B 36 slave 4B 37 slave 5B 38 slave 6B 39 slave 7B 40 slave 8B 41 slave 9B 42 slave 10B 43 slave 11B 44 slave 12B 45 slave 13B 46 slave 14B 47 slave 15B 48 slave 16B 49 slave 17B 50 slave 18B 51 slave 19B 52 slave 20B 53 slave 21B 54 slave 22B 55 slave 23B 56 slave 24B 57 slave 25B 58 slave 26B 59 slave 27B 60 slave 28B 61 slave 29B 62 slave 30B 63 slave 31B 2 1 0 IO code *) contents for slave 0 only valid in CDI > Index 74 / DS12 – projected PCD configuration data of the slaves on AS-i master 2 8780 available only for devices with 2 AS-i masters Structure of the data ® Index 73 / DS11 – current CDI configuration data of the slaves on AS-i master 2 (→ 184) (CDI) 185 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Index 75 / DS13 – image of the input parameters of the slaves on AS-i master 2 available only for devices with 2 AS-i masters 8781 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): P3...P0 reserved reserved 1 reserved slave 3(A): P3...P0 reserved slave 2(A): P3...P0 2 reserved slave 5(A): P3...P0 reserved slave 4(A): P3...P0 3 reserved slave 7(A): P3...P0 reserved slave 6(A): P3...P0 4 reserved slave 9(A): P3...P0 reserved slave 8(A): P3...P0 5 reserved slave 11(A): P3...P0 reserved slave 10(A): P3...P0 6 reserved slave 13(A): P3...P0 reserved slave 12(A): P3...P0 7 reserved slave 15(A): P3...P0 reserved slave 14(A): P3...P0 8 reserved slave 17(A): P3...P0 reserved slave 16(A): P3...P0 9 reserved slave 19(A): P3...P0 reserved slave 18(A): P3...P0 10 reserved slave 21(A): P3...P0 reserved slave 20(A): P3...P0 11 reserved slave 23(A): P3...P0 reserved slave 22(A): P3...P0 12 reserved slave 25(A): P3...P0 reserved slave 24(A): P3...P0 13 reserved slave 27(A): P3...P0 reserved slave 26(A): P3...P0 14 reserved slave 29(A): P3...P0 reserved slave 28(A): P3...P0 15 reserved slave 31(A): P3...P0 reserved slave 30(A): P3...P0 16 reserved slave 1B: P3...P0 reserved reserved 17 reserved slave 3B: P3...P0 reserved slave 2B: P3...P0 18 reserved slave 5B: P3...P0 reserved slave 4B: P3...P0 19 reserved slave 7B: P3...P0 reserved slave 6B: P3...P0 20 reserved slave 9B: P3...P0 reserved slave 8B: P3...P0 21 reserved slave 11B: P3...P0 reserved slave 10B: P3...P0 22 reserved slave 13B: P3...P0 reserved slave 12B: P3...P0 23 reserved slave 15B: P3...P0 reserved slave 14B: P3...P0 24 reserved slave 17B: P3...P0 reserved slave 16B: P3...P0 25 reserved slave 19B: P3...P0 reserved slave 18B: P3...P0 26 reserved slave 21B: P3...P0 reserved slave 20B: P3...P0 27 reserved slave 23B: P3...P0 reserved slave 22B: P3...P0 28 reserved slave 25B: P3...P0 reserved slave 24B: P3...P0 29 reserved slave 27B: P3...P0 reserved slave 26B: P3...P0 30 reserved slave 29B: P3...P0 reserved slave 28B: P3...P0 31 reserved slave 31B: P3...P0 reserved slave 30B: P3...P0 > Index 76 / DS14 – image of the output parameters of the slaves on AS-i master 2 available only for devices with 2 AS-i masters 8783 186 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 reserved slave 1(A): P3...P0 reserved reserved 1 reserved slave 3(A): P3...P0 reserved slave 2(A): P3...P0 2 reserved slave 5(A): P3...P0 reserved slave 4(A): P3...P0 3 reserved slave 7(A): P3...P0 reserved slave 6(A): P3...P0 4 reserved slave 9(A): P3...P0 reserved slave 8(A): P3...P0 5 reserved slave 11(A): P3...P0 reserved slave 10(A): P3...P0 6 reserved slave 13(A): P3...P0 reserved slave 12(A): P3...P0 7 reserved slave 15(A): P3...P0 reserved slave 14(A): P3...P0 8 reserved slave 17(A): P3...P0 reserved slave 16(A): P3...P0 9 reserved slave 19(A): P3...P0 reserved slave 18(A): P3...P0 10 reserved slave 21(A): P3...P0 reserved slave 20(A): P3...P0 11 reserved slave 23(A): P3...P0 reserved slave 22(A): P3...P0 12 reserved slave 25(A): P3...P0 reserved slave 24(A): P3...P0 13 reserved slave 27(A): P3...P0 reserved slave 26(A): P3...P0 14 reserved slave 29(A): P3...P0 reserved slave 28(A): P3...P0 15 reserved slave 31(A): P3...P0 reserved slave 30(A): P3...P0 16 reserved slave 1B: P3...P0 reserved reserved 17 reserved slave 3B: P3...P0 reserved slave 2B: P3...P0 18 reserved slave 5B: P3...P0 reserved slave 4B: P3...P0 19 reserved slave 7B: P3...P0 reserved slave 6B: P3...P0 20 reserved slave 9B: P3...P0 reserved slave 8B: P3...P0 21 reserved slave 11B: P3...P0 reserved slave 10B: P3...P0 22 reserved slave 13B: P3...P0 reserved slave 12B: P3...P0 23 reserved slave 15B: P3...P0 reserved slave 14B: P3...P0 24 reserved slave 17B: P3...P0 reserved slave 16B: P3...P0 25 reserved slave 19B: P3...P0 reserved slave 18B: P3...P0 26 reserved slave 21B: P3...P0 reserved slave 20B: P3...P0 27 reserved slave 23B: P3...P0 reserved slave 22B: P3...P0 28 reserved slave 25B: P3...P0 reserved slave 24B: P3...P0 29 reserved slave 27B: P3...P0 reserved slave 26B: P3...P0 30 reserved slave 29B: P3...P0 reserved slave 28B: P3...P0 31 reserved slave 31B: P3...P0 reserved slave 30B: P3...P0 > Index 78 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 2 available only for devices with 2 AS-i masters 8785 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 187 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Offset Word no. 188 bit 15 14 13 12 11 10 9 8 7 6 0 error counter in slave 0 1 error counter in slave 1(A) 2 error counter in slave 2(A) 3 error counter in slave 3(A) 4 error counter in slave 4(A) 5 error counter in slave 5(A) 6 error counter in slave 6(A) 7 error counter in slave 7(A) 8 error counter in slave 8(A) 9 error counter in slave 9(A) 10 error counter in slave 10(A) 11 error counter in slave 11(A) 12 error counter in slave 12(A) 13 error counter in slave 13(A) 14 error counter in slave 14(A) 15 error counter in slave 15(A) 16 error counter in slave 16(A) 17 error counter in slave 17(A) 18 error counter in slave 18(A) 19 error counter in slave 19(A) 20 error counter in slave 20(A) 21 error counter in slave 21(A) 22 error counter in slave 22(A) 23 error counter in slave 23(A) 24 error counter in slave 24(A) 25 error counter in slave 25(A) 26 error counter in slave 26(A) 27 error counter in slave 27(A) 28 error counter in slave 28(A) 29 error counter in slave 29(A) 20 error counter in slave 30(A) 31 error counter in slave 31(A) 32 reserved 33 error counter in slave 1B 34 error counter in slave 2B 35 error counter in slave 3B 36 error counter in slave 4B 37 error counter in slave 5B 38 error counter in slave 6B 39 error counter in slave 7B 5 4 3 2 1 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Offset Word no. Fieldbus Profinet bit 15 14 13 12 11 10 9 8 7 6 40 error counter in slave 8B 41 error counter in slave 9B 42 error counter in slave 10B 43 error counter in slave 11B 44 error counter in slave 12B 45 error counter in slave 13B 46 error counter in slave 14B 47 error counter in slave 15B 48 error counter in slave 16B 49 error counter in slave 17B 50 error counter in slave 18B 51 error counter in slave 19B 52 error counter in slave 20B 53 error counter in slave 21B 54 error counter in slave 22B 55 error counter in slave 23B 56 error counter in slave 24B 57 error counter in slave 25B 58 error counter in slave 26B 59 error counter in slave 27B 60 error counter in slave 28B 61 error counter in slave 29B 62 error counter in slave 30B 63 error counter in slave 31B 64 AS-i cycle counter 65 configuration error counter 5 4 3 2 1 0 189 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Index 94 – Command channel request on AS-i master 2 available only for devices with 2 AS-i masters 8787 chapter The command channels (→ 192) > AS-i master commands (→ 202) > Index 63 – Command channel reply from AS-i master 2 available only for devices with 2 AS-i masters 8787 chapter The command channels (→ 192) > AS-i master commands (→ 202) 190 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Error codes of the acyclic services 9215 In the application program standard function blocks are used for the acyclic data exchange between a fieldbus IO controller and a fieldbus IO device (e.g. ifm AS-i Profinet gateway AC140n). Siemens S7 controllers provide two standard function blocks: SFB52 RDREC for reading acyclic data SFB53 WRREC for writing acyclic data Both function blocks provide a 32-bit value informing about any problems during processing via the parameter "status": Byte n Byte n+1 Byte n+2 Byte n+3 Bits 31…24 Bits 23…16 Bits 15…8 Bits 7…0 error code error decode error code 1 error code 2 The following error messages for acyclic services have been implemented in the ifm device: Error number [hex] Error name Description 8180 A200 PNIO_RW_APP_MODUL_FAILURE error when executing the command 8180 B100 PNIO_RW_WRITE_LENGTH_ERROR too many bytes to be written to the resource 8180 B600 PNIO_RW_ACCESS_DENIED the access to a resource was blocked (e.g. outputs if not in the gateway mode) 8180 B700 PNIO_RW_ACCESS_INVALID_LENGTH more bytes are to be read than are provided by the resource 8180 C300 PNIO_RW_RESOURCE_UNAVAILABLE the resource does not provide any data DE80 A900 IORDRES_RW_APP_FEATURE_UNSUPPORTED the selected resource is not supported DF80 B100 IOWRRES_RW_WRITE_LENGTH_ERROR the number of bytes to be written is too high DF80 B200 IOWRRES_RW_ACCESS_INVALID_SLOT the selected slot is invalid 191 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > 6.4.3 The command channels In this section System commands ...............................................................................................................................193 Overview AS-i command channel ........................................................................................................197 Principle of the command channels .....................................................................................................199 Principle of the command channels .....................................................................................................201 AS-i master commands ........................................................................................................................202 Next chapter System commands ...............................................................................................................................193 8789 There is a total of 3 command channels for data mapping: Command channel Index ¹) System 30 Request to the AS-i device for commands which concern the system 31 Reply to the AS-i device to the command received in index 30 62 Request to AS-i master 1 63 Reply to master 1 to the command received in index 62 94 Request to AS-i master 2 95 Reply to master 2 to the command received in index 94 AS-i master 1 AS-i master 2 Command description ¹) Index description chapter The acyclic process data (→ 150) > 192 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > System commands Overview system commands................................................................................................................193 Command 257 (0x0101) – Quick set-up AS-i master 1 (and AS-i master 2) .......................................194 Command 259 (0x0103) – select user language .................................................................................194 Command 260 (0x0104) – display settings ..........................................................................................196 11077 > Overview system commands 11078 Command [hex] Command [dec] 0101 257 Quick setup AS-i master 1 (and AS-i master 2, if available) 0103 259 Select user language 0104 260 Display settings Description Note 193 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 257 (0x0101) – Quick set-up AS-i master 1 (and AS-i master 2) 11079 The command "blocks" further processing as long as the quick set-up needs. That means that the WRREC command signals "busy" until the function result is available. This may take a few seconds. > Command request channel (fieldbus master >>> device) 11080 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 2 5 4 3 2 reserved 1 0 M2 M1 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 3...119 Legend: M1 AS-i master 1 1 bit 0 = "Quick set-up" command is NOT executed on the master 1 = "Quick set-up" command is executed on the master M2 AS-i master 2 1 bit 0 = "Quick set-up" command is NOT executed on the master 1 = "Quick set-up" command is executed on the master UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11081 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 5 4 3 2 1 2 reserved Command status (→ 200) 3 command error code AS-i master 2 command error code AS-i master 1 0 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 > Possible command error codes 11087 Value [hex] Meaning 00 no error 03 slave with address 0 connected 18 master is not in the protected mode > Command 259 (0x0103) – select user language 11089 194 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Via the command the user lanaguage for the local HMI and the web interface can be set. The language setting always refers to both user interfaces. > Command request channel (fieldbus master >>> device) 11090 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0 UID 1 command number 2 MSG_ID 3...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 2 1 0 Legend: MSG_ID User language 1 word 0x4445 = DE, German 0x454E = EN, English (default) 0x4652 = FR, French UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11095 Value [hex] Meaning 00 no error 01 Language is unknown or not available in this software version 195 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 260 (0x0104) – display settings 11099 > Command request channel (fieldbus master >>> device) 11100 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 2 5 4 3 2 reserved 1 0 RS DS The area is completely ignored. It does not matter whether the data area exists or what data is contained. 3...119 Legend: DS screen saver 1 bit 0 = no screen saver for local display 1 = screen saver for local display activated RS return to splash screen 1 bit 0 = when the time has elapsed, device remains on current page 1 = when the time has elapsed, devices changes to the splash screen UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 2 5 4 3 2 1 0 Command status (→ 200) reserved 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11101 There are no error messages for this command. 196 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Overview AS-i command channel 7250 Command [hex] Command [dec] 0001 1 0003 3 0004 4 Change the list of the projected AS-i slaves (LPS) 0005 5 set the operating mode of the AS-i master 0006 6 readdress a connected AS-i slave 0007 7 set the auto addressing mode of the AS-i master Description Note write parameters to a connected AS-i slave adopt and save currently connected AS-i slaves in the configuration With this command the fieldbus connection is reset. The device must be rebooted! ConfDataInput Slave Projected Configuration Data and LDS LPS 0009 9 change the extended ID code 1 in the connected AS-i slave 000A 10 change PCD 000D 13 AS-i master supply voltage, symmetry, earth fault 0015 21 read ID string of an AS-i slave with profile S-7.4 0019 25 Set test mode 001A 26 read AS-i master info 001C 28 Deactivation of the slave reset when changing to the protected mode 0021 33 read diagnosis string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0022 34 read parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0023 35 write parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0024 36 CTT2 standard read: Acyclic standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0025 37 CTT2 standard write: Acyclic standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0026 38 CTT2 vendor specific read: acyclic manufacturer-specific read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0027 39 CTT2 vendor specific write: acyclic manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0040 64 CTT2 device group read: Acyclic devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0041 65 CTT2 device group write: Acyclic devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0042 66 CTT2 vendor specific selective read from buffer: Selective standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0043 67 CTT2 vendor specific selective write from buffer: Selective standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0044 68 CTT2 vendor specific selective read: Selective manufacturer-specific read call of an AS-i slave with CTT2 CTT2 slave profile *) profile 0045 69 CTT2 vendor specific selective write: Selective manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0046 70 CTT2 device group selective read: Selective devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) Slave profile S-7.4 197 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Command [hex] Command [dec] 0047 Description Note 71 CTT2 device group selective write: Selective devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0049 73 CTT2 vendor specific exchange: Manufacturer-specific data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004A 74 CTT2 device group exchange: Devicegroup data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004B 75 CTT2 device group selective read from buffer: Manufacturer-specific write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) 004C 76 CTT2 device group selective write from buffer: Devicegroup write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) Details chapter AS-i master commands (→ 202) CTT chapter Combined transaction – Use of analogue channels in the gateway depending on the slave profile (→ 295) *) CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 198 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Principle of the command channels 8794 Command request channel (fieldbus master >>> device) bit Offset Word no. 15 14 13 12 11 10 9 8 7 6 0 user ID 1 command number 2...119 command parameters 5 4 3 2 1 0 5 4 3 2 1 0 Command response channel (device >>> fieldbus master) bit Offset Word no. 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number Command status (→ 200) reserved 2 3 command error code 4...119 reply data to the command Unused bytes receive invalid values from old command replies. DO NOT evaluate! Sequence: 1. The fieldbus master in the host PLC executes an acyclic write signal on a command request channel (system, AS-i master 1, AS-i masterD 2). For Siemens-S7 this is done via the standard function block SFB53 (WRREC): The acyclic writing should be edge-triggered: via a rising edge of the request signal of the POU. 2. The device (fieldbus device) receives the command request and executes the command. The BUSY signal of the WRREC remains on TRUE as long as the command is processed in the fieldbus device. 3. As soon as the device has completely processed the command, the busy signal of the SFB53 returns to FALSE. Simultaneously the reply data of the command is available in the device. 4. The reply data can now be read by the fieldbus master via an acyclic reading call on the command reply channel belonging to the command request channel. For Siemens-S7 this is done via the standard function block SFB52 (RDREC): 5. The device receives the read request and provides the reply data to the SFB52. On the basis of the user ID the fieldbus master checks if the reply data received belongs to the request sent before. NOTE There is exactly one buffer for each fieldbus master accessing the device. When a new WRREC command is sent via the SFB53 (WRREC) and the command request channel, the new reply in the command reply channel overwrites the data of the previous command. Unused bytes receive invalid values from old command replies. DO NOT evaluate! 199 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Command status 8795 Status code [hex] Status 00 OK 01 FAILED 02 TO timeout error: the command was cancelled due to timeout. 03 UC unknown command: the transmitted command number is not known in the system. 200 Description Command execution was successful. Response data is available and valid. Error when executing the command. The exact cause of the error occurred is stated in the command-specific error code. The response data is not valid. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Principle of the command channels 13543 Command request channel (fieldbus master >>> device) Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 user ID 1 command number 2...119 command parameters 5 4 3 2 1 0 5 4 3 2 1 0 Command response channel (device >>> fieldbus master) Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 2 Command status (→ 200) reserved 3 command error code 4...119 reply data to the command Unused bytes receive invalid values from old command replies. DO NOT evaluate! 201 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > AS-i master commands Overview AS-i master commands ........................................................................................................203 Error codes of the AS-i master commands ..........................................................................................205 Command 01 (0x0001) – change parameters of an AS-i slave ...........................................................207 Command 03 (0x0003) – project currrent AS-i network .......................................................................209 Command 04 (0x0004) – change LPS .................................................................................................210 Command 05 (0x0005) – change the operating mode of the AS-i master...........................................210 Command 06 (0x0006) – change AS-i slave address ..........................................................................212 Command 07 (0x0007) – set the auto address mode of the AS-i master ............................................214 Command 09 (0x0009) – change extended ID code 1 in the AS-i slave .............................................215 Command 10 (0x000A) – change PCD ................................................................................................217 Command 13 (0x000D) – AS-i master power supply, symmetry, earth fault .......................................220 Command 21 (0x0015) – read ID string of an AS-i slave (S-7.4).........................................................222 Command 25 (0x0019) – set test mode ...............................................................................................225 Command 26 (0x001A) – read AS-i master info ..................................................................................227 Command 28 (0x001C) – no slave reset when changing to the protected mode ................................229 Command 33 (0x0021) – read diagnosis string of an AS-i slave (S-7.4) .............................................230 Command 34 (0x0022) – read parameter string of an AS-i slave (S-7.4) ............................................232 Command 35 (0x0022) – write parameter string of an AS-i slave (S-7.4) ...........................................234 Command 36 (0x0024) – CTT2 standard read ....................................................................................237 Command 37 (0x0025) – CTT2 standard write ....................................................................................239 Command 38 (0x0026) – CTT2 vendor specific read ..........................................................................241 Command 39 (0x0027) – CTT2 vendor specific write ..........................................................................243 Command 64 (0x0040) – CTT2 device group read ..............................................................................245 Command 65 (0x0041) – CTT2 device group write .............................................................................247 Command 66 (0x0042) – CTT2 vendor specific selective read from buffer.........................................249 Command 67 (0x0043) – CTT2 vendor specific selective write from buffer ........................................251 Command 68 (0x0044) – CTT2 vendor specific selective read ...........................................................253 Command 69 (0x0045) – CTT2 vendor specific selective write ...........................................................255 Command 70 (0x0046) – CTT2 device group selective read...............................................................257 Command 71 (0x0047) – CTT2 device group selective write ..............................................................259 Command 73 (0x0049) – CTT2 vendor specific exchange ..................................................................261 Command 74 (0x004A) – CTT2 device group exchange .....................................................................263 Command 75 (0x004B) – CTT2 device group selective read from buffer ............................................265 Command 76 (0x004C) – CTT2 device group selective write from buffer ...........................................267 8797 202 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Overview AS-i master commands 8798 The commands described in this chapter refer to the AS-i master. · In case of a single master system always the command channel of the first AS-i master is to be used. · In case of a double master system the AS-i master is addressed by using the first or second command channel. 7250 Command [hex] Command [dec] 0001 1 0003 3 0004 4 Change the list of the projected AS-i slaves (LPS) 0005 5 set the operating mode of the AS-i master 0006 6 readdress a connected AS-i slave 0007 7 set the auto addressing mode of the AS-i master 0009 9 change the extended ID code 1 in the connected AS-i slave 000A 10 change PCD 000D 13 AS-i master supply voltage, symmetry, earth fault 0015 21 read ID string of an AS-i slave with profile S-7.4 0019 25 Set test mode 001A 26 read AS-i master info 001C 28 Deactivation of the slave reset when changing to the protected mode 0021 33 read diagnosis string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0022 34 read parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0023 35 write parameter string of an AS-i slave with profile S-7.4 Slave profile S-7.4 0024 36 CTT2 standard read: Acyclic standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0025 37 CTT2 standard write: Acyclic standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0026 38 CTT2 vendor specific read: acyclic manufacturer-specific read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0027 39 CTT2 vendor specific write: acyclic manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0040 64 CTT2 device group read: Acyclic devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0041 65 CTT2 device group write: Acyclic devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0042 66 CTT2 vendor specific selective read from buffer: Selective standard read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0043 67 CTT2 vendor specific selective write from buffer: Selective standard write call of an AS-i slave with CTT2 profile CTT2 slave profile *) Description Note write parameters to a connected AS-i slave adopt and save currently connected AS-i slaves in the configuration With this command the fieldbus connection is reset. The device must be rebooted! ConfDataInput Slave Projected Configuration Data and LDS LPS Slave profile S-7.4 203 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Command [hex] Command [dec] 0044 68 CTT2 vendor specific selective read: Selective manufacturer-specific read call of an AS-i slave with CTT2 CTT2 slave profile *) profile 0045 69 CTT2 vendor specific selective write: Selective manufacturer-specific write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0046 70 CTT2 device group selective read: Selective devicegroup read call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0047 71 CTT2 device group selective write: Selective devicegroup write call of an AS-i slave with CTT2 profile CTT2 slave profile *) 0049 73 CTT2 vendor specific exchange: Manufacturer-specific data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004A 74 CTT2 device group exchange: Devicegroup data exchange with an AS-i slave with CTTS profile CTT2 slave profile *) 004B 75 CTT2 device group selective read from buffer: Manufacturer-specific write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) 004C 76 CTT2 device group selective write from buffer: Devicegroup write/read call of an AS-i slave with CTTS profile CTT2 slave profile *) Description Note Details chapter AS-i master commands (→ 202) CTT chapter Combined transaction – Use of analogue channels in the gateway depending on the slave profile (→ 295) *) CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 204 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Error codes of the AS-i master commands General error codes ..............................................................................................................................205 CTT2 response codes ..........................................................................................................................206 8836 > General error codes 5682 Revision: 2010-10-25 Value [hex] Meaning 01 no slave response OR: master is in the offline mode when requesting the command 02 no slave with the old address found 03 slave with address 0 connected 04 slave with the new address already exists 05 error when deleting the old address 06 error when reading the IO configuration 07 error when writing the new address or extended ID code 1 08 new address could only be saved temporarily 09 extended ID code 1 could only be saved temporarily 0A the slave is not in the LAS 0B parameter or address invalid 0C faulty S-7.4 protocol sequence 0D S-7.4 protocol aborted (timeout) 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 0F AS-i slave has aborted the S-7.4 string 10 AS-i S-7.4 no longer connected (no longer in LAS) 11 another S-7.4 transfer to the addressed AS-i slave is already active 12 the previous segmented S-7.4 transfer was not yet completed 13 invalid S-7.4 data length 14 master is in the wrong operating mode *) 16 timeout during command processing 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode 18 master is not in the protected mode 19 master is not in the normal mode 20 command could not be processed within the specified time E0...EF error detected by AS-i slave; ® CTT2 response codes (→ 206) F0 invalid CTT2 command F1 invalid CTT2 response F2 7.5 data length longer than 30 bytes 205 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > CTT2 response codes 8931 If during a CTT2 command an error occurs in the AS-i slave, the slave can describe the error via an error code. The following value is stated in the "CTT2 response code" byte in the command response: Bit 7 6 ERR OK 5 4 3 2 1 0 reflected command number Legend: ERR error bit 1 bit 0 = no CTT2 error detected The following response bytes contain the requested data. 1 = CTT2 error when executing the command The following response byte contains the CTT2 error code. OK okay bit 1 bit 0 = CTT2 error detected The following response byte contains the CTT2 error code. 1 = no CTT2 error when executing the command The following response bytes contain the requested data. If the slave has detected a CTT2 error, the "CTT2 error code" is stated in the response data byte 0. ® following table: 5686 Revision: 2010-05-19 Value [hex] Meaning 00 no error 01 invalid index 02 invalid length 03 command not implemented 04 used; the command could not be completed in the specified time 05 command was not acknowledged 06 invalid sub-index 07 command 'Selective Read Request' is missing For most CTT2 commands*) the AS-i slave can send further 1...4 bytes for manufacturer-specific feedback in case of an error (® information of the slave manufacturer). This feedback is stated in the response data bytes 1...4. *) not available for the following commands: - command 36 (0x0024) – CTT2 standard read - command 37 (0x0025) – CTT2 standard write 206 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 01 (0x0001) – change parameters of an AS-i slave 8799 Requirement: The addressed AS-i master must be in the protected mode. ® Command 05 (0x0005) – change the operating mode of the AS-i master (→ 210) > Command request channel (fieldbus master >>> device) 11103 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 reserved 3 reserved 6 reserved 5 4 3 ST reserved 2 1 0 SLA new output parameter The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 207 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11104 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 reserved 4 reserved input parameter The area is completely ignored. It does not matter whether the data area exists or what data is contained. 5...119 > Possible command error codes 11105 Value [hex] 208 Meaning 00 no error 01 no slave response OR: master is in the offline mode when requesting the command 0A the slave is not in the LAS 0B parameter or address invalid 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 18 master is not in the protected mode ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 03 (0x0003) – project currrent AS-i network 8805 (= project all) Requirement: The addressed AS-i master must be in the projection mode. ® Command 05 (0x0005) – change the operating mode of the AS-i master (→ 210) With this command the fieldbus connection is reset. The device must be rebooted! > Command request channel (fieldbus master >>> device) 11107 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0 UID 1 command number 2...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 2 1 0 Legend: UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11109 Value [hex] Meaning 00 no error 03 slave with address 0 connected 19 master is not in the normal mode 209 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 04 (0x0004) – change LPS 8806 Requirement: The addressed AS-i master must be in the projection mode. ® Command 05 (0x0005) – change the operating mode of the AS-i master (→ 210) > Command request channel (fieldbus master >>> device) 11111 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 4 3 2 1 0 2 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) -- 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) 3 31 (A) 30(A) 29(A) 28(A) 27(A) 26(A) 4 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B -- 5 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11112 Value [hex] Meaning 00 no error 19 master is not in the normal mode > Command 05 (0x0005) – change the operating mode of the AS-i master 8807 210 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command request channel (fieldbus master >>> device) 11114 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 4 reserved 2 3 2 1 0 MOD The area is completely ignored. It does not matter whether the data area exists or what data is contained. 3...119 Legend: MOD operating mode 1 byte 00 = set master to the normal mode (protected mode) 01 = set master to the projection mode UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11115 Value [hex] Meaning 00 no error 03 slave with address 0 connected 211 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 06 (0x0006) – change AS-i slave address 8808 Requirement: The addressed AS-i master must be in the projection mode. ® Command 05 (0x0005) – change the operating mode of the AS-i master (→ 210) > Command request channel (fieldbus master >>> device) 11117 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 4 3 2 2 reserved reserved ST old SLA 3 reserved reserved ST new SLA 1 0 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 212 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11118 Value [hex] Meaning 00 no error 01 no slave response OR: master is in the offline mode when requesting the command 02 no slave with the old address found 03 slave with address 0 connected 04 slave with the new address already exists 05 error when deleting the old address 06 error when reading the extended ID code 1 07 error when writing the new address or extended ID code 1 08 new address could only be saved temporarily 09 extended ID code 1 could only be saved temporarily 0E invalid AS-i slave address 0 or 0B, or address 0 indicated twice 18 master is not in the protected mode 213 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 07 (0x0007) – set the auto address mode of the AS-i master 8811 > Command request channel (fieldbus master >>> device) 11120 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 reserved 2 4 3 2 1 0 AutoAd The area is completely ignored. It does not matter whether the data area exists or what data is contained. 3...119 Legend: AutoAd automatic addressing 1 byte 00 = deactivate automatic addressing 01 = activate automatic addressing UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 2 5 4 3 2 1 0 Command status (→ 200) reserved 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11101 There are no error messages for this command. 214 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 09 (0x0009) – change extended ID code 1 in the AS-i slave 8812 > Command request channel (fieldbus master >>> device) 11121 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 reserved 3 reserved 6 reserved 5 4 3 ST 2 1 0 SLA new extended ID code 1 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 215 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11121 Value [hex] 216 Meaning 00 no error 02 no slave with the old address found 03 slave with address 0 connected 05 error when deleting the old address 06 error when reading the extended ID code 1 07 error when writing the new address or extended ID code 1 09 extended ID code 1 could only be saved temporarily 0E invalid AS-i slave address 0 or 0B, or address 0 indicated twice 18 master is not in the protected mode 21 invalid ID code 1 (if bit 3 is set for A/B slave) ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 10 (0x000A) – change PCD 8814 > Command request channel (fieldbus master >>> device) 11125 Bit Offset Word no. 15 14 13 ID2 code 12 11 10 9 8 7 ID1 code 6 5 ID code 0 UID 1 command number 2 reserved 3 slave 1(A) 4 slave 2(A) 5 slave 3(A) 6 slave 4(A) 7 slave 5(A) 8 slave 6(A) 9 slave 7(A) 10 slave 8(A) 11 slave 9(A) 12 slave 10(A) 13 slave 11(A) 14 slave 12(A) 15 slave 13(A) 16 slave 14(A) 17 slave 15(A) 18 slave 16(A) 19 slave 17(A) 20 slave 18(A) 21 slave 19(A) 22 slave 20(A) 23 slave 21(A) 24 slave 22(A) 25 slave 23(A) 26 slave 24(A) 27 slave 25(A) 28 slave 26(A) 29 slave 27(A) 30 slave 28(A) 31 slave 29(A) 32 slave 30(A) 33 slave 31(A) 4 3 2 1 0 IO code 217 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Bit Offset Word no. 15 14 13 12 11 ID2 code 10 9 8 7 ID1 code 6 5 4 3 ID code 34 reserved 35 slave 1B 36 slave 2B 37 slave 3B 38 slave 4B 39 slave 5B 40 slave 6B 41 slave 7B 42 slave 8B 43 slave 9B 44 slave 10B 45 slave 11B 46 slave 12B 47 slave 13B 48 slave 14B 49 slave 15B 50 slave 16B 51 slave 17B 52 slave 18B 53 slave 19B 54 slave 20B 55 slave 21B 56 slave 22B 57 slave 23B 58 slave 24B 59 slave 25B 60 slave 26B 61 slave 27B 62 slave 28B 63 slave 29B 64 slave 30B 65 slave 31B 66...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 2 1 0 IO code Legend: UID > 218 user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11112 Value [hex] Meaning 00 no error 19 master is not in the normal mode 219 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 13 (0x000D) – AS-i master power supply, symmetry, earth fault 8815 > Command request channel (fieldbus master >>> device) 11107 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0 UID 1 command number 2...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 2 1 0 Legend: UID 220 user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11128 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 PM PS Command status (→ 200) reserved 2 5 command error code 3 reserved 4 reserved PF1 PF2 SE 5 voltage ASi+ to ASi- in [mV] 6 voltage FE to ASi- in [mV] 7 symmetry (-100...100) in [%] 8...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. EF Legend: EF earth fault 1 bit 0 = no earth fault is detected 1 = asymmetric supply voltage; classified as earth fault PF1 powerfail 22.5 V 1 bit 0 = no AS-i Power Fail (classic APF) 1 = AS-i voltage < 22.5 V There is an AS-i power fail (classic APF) PF2 powerfail 19 V 1 bit 0 = no AS-i Power Fail (24V APF) 1 = AS-i voltage < 19 V There is an AS-i power fail (24V APF) PM powermodule 1 bit 0 = no data decoupling module is connected 1 = a data decoupling module is connected PS powersource 1 bit 0 = the device is supplied from AUX 1 = the device is supplied from AS-i SE status earth fault detection 1 bit 0 = no earth fault detection possible (e.g. no AS-i voltage) 1 = earth fault detection provides valid data > Possible command error codes 11101 There are no error messages for this command. 221 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 21 (0x0015) – read ID string of an AS-i slave (S-7.4) 8822 > Command request channel (fieldbus master >>> device) 11130 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number reserved 2 6 reserved 5 4 3 ST 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 222 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11131 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 3 2 1 0 command error code 3 number of bytes received as from word no. 4 4 I/O 2D DT start reserved DT count number of parameter bytes to be read 6 7 4 Command status (→ 200) reserved 2 5 5 EDT Write ST reflected slave address Mux field E type EDT Read reserved reserved Diag reserved number of parameter bytes to be written 8 device-specific information manufacturer identification 9...m device-specific information device-specific information The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: 2D double data transfer 1 bit double data transfer (redundancy) possible 0 = simple data transfer 1 = double data transfer Diag number of parameter bytes to be read 1 byte number of parameter bytes to be written 1 byte slave supports the 7.4 diagnosis string 1 bit number of bytes which can be read as parameter string 00 = no parameter string readable 01...DBhex = 01...219dec = number of bytes number of bytes which can be written as parameter string 00 = no parameter string readable 01...DBhex = 01...219dec = number of bytes 0 = diagnosis string is not supported 1 = diagnosis string is supported DT-Count number of data triples 3 bits (information for the driver in the master) DT-Start start triple 3 bits (information for the driver in the master) E type slave function + data structure 5 bits characterises the slave as regards functionality and data structure EDT read reserved 3 bits reserved for later profiles EDT write reserved 3 bits reserved for later profiles device-specific information 1 byte as an option more bytes for the manufacturer-specific device description manufacturer identification 1 byte defined manufacturer number assigned by AS-International direction of data 1 bit direction of data for the devices with E type ¹ 3 I/O 00 = reserved 01 = transmitted values are measured values 02 = transmitted values are 16 digital bit values 03 = normal operation in 4-bit mode (4I/4O) 04...1Fhex = 04...31dec = reserved 0 = input 1 = output Mux field number of multiplexed data words 3 bits 0…3 number = value in "Mux field" +1 223 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex ST 2014-02-07 Fieldbus Profinet slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11132 Value [hex] 224 Meaning 00 no error 01 no slave response OR: master is in the offline mode when requesting the command 0D S-7.4 protocol aborted (timeout) 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 10 AS-i S-7.4 slave deleted from LAS during current transmission 11 another S-7.4 transfer to the addressed AS-i slave is already active 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 25 (0x0019) – set test mode 9214 > Command request channel (fieldbus master >>> device) 11134 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 SZ 2 4 3 2 1 MOD Loops 3 4 PS(0) res. ST SLA reserved Data 5 PS(1) res. ST SLA reserved Data reserved Data ... 6...(n+3) (n+4) 0 PS(n) res. ST SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (n+5)...119 Legend: Data slave data 4 bits only for test mode 4: slave output data loops master sequence loops 1 word quantity how often a master request sequence is repeated permitted values = 000116… FFFF16 FFFF16 = unlimited repetition MOD test mode 1 byte 00 = test mode 0: master passes the offline phase and returns to the normal operating mode. 01 = test mode 1: only available after power ON: if CPTE input = 0, the master permanently transmits "write parameter" to slave 15 02 = test mode 2: as in normal operation, however, slaves which have not responded 6 successive times are not deleted from the LDS 03 = test mode 3: master changes to the management phase, remains in this phase and accepts all known commands of the host system Only call this command once, not cyclically! 04 = test mode 4: master transmits the defined data cyclically No AS-i error check possible! PS parameter request 1 bit send command as data exchange / write parameter 0 = Data_Exchange Request (I4=0) 1 = Write_Parameter Request (I4=1) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) SZ sequence size 1 byte size of the request sequence permitted values = 1...121dez (01...79hex) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > 225 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Command reply channel (device >>> fieldbus master) 11135 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 3 command error code 4...(m+1) reflected command data (m+2)...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11126 Value [hex] 226 Meaning 00 no error 0B Invalid test mode identification indicated 14 Only for test mode 4: Master already started. Test mode can no longer be set. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 26 (0x001A) – read AS-i master info 8827 > Command request channel (fieldbus master >>> device) 11107 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 0 UID 1 command number 2...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. 2 1 0 Legend: UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 227 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11137 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 M12 4 MOD 5 master firmware version **), places before the decimal point 6 master firmware version **), decimal places 7...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. Legend: M12 number of AS-i masters 1 byte 00 = device has 1 AS-i master 01 = device has 2 AS-i masters MOD test mode 1 byte 00 = test mode 0: master passes the offline phase and returns to the normal operating mode. 01 = test mode 1: only available after power ON: if CPTE input = 0, the master permanently transmits "write parameter" to slave 15 02 = test mode 2: as in normal operation, however, slaves which have not responded 6 successive times are not deleted from the LDS 03 = test mode 3: master changes to the management phase, remains in this phase and accepts all known commands of the host system Only call this command once, not cyclically! 04 = test mode 4: master transmits the defined data cyclically No AS-i error check possible! **) data only valid if MOD = 0 (test mode = 0) > Possible command error codes 11101 There are no error messages for this command. 228 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 28 (0x001C) – no slave reset when changing to the protected mode 8828 When changing from the projection mode to the protected mode, all slaves are normally briefly reset (reset or offline phase). This may lead to problems when the system is running. In this case the "deactivation of the slave reset" prevents the short deactivation of the slave outputs during changing of the operating mode. > Command request channel (fieldbus master >>> device) 11139 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 5 4 reserved 2 3 2 1 0 OLP The area is completely ignored. It does not matter whether the data area exists or what data is contained. 3...119 Legend: OLP offline phase = slave reset 1 byte 00 = offline phase when changing over to the protected mode 01 = no offline phase when changing over to the protected mode UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11086 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 2 5 4 3 2 1 0 Command status (→ 200) reserved 3 command error code 4...119 The area is completely ignored. It does not matter whether the data area exists or what data is contained. > Possible command error codes 11101 There are no error messages for this command. 229 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 33 (0x0021) – read diagnosis string of an AS-i slave (S-7.4) 8829 > Command request channel (fieldbus master >>> device) 11130 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number reserved 2 6 reserved 5 4 3 ST 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 230 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11141 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5...m diagnosis byte n+1 reserved ST reflected slave address diagnosis byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11132 Value [hex] Meaning 00 no error 01 no slave response OR: master is in the offline mode when requesting the command 0D S-7.4 protocol aborted (timeout) 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 10 AS-i S-7.4 slave deleted from LAS during current transmission 11 another S-7.4 transfer to the addressed AS-i slave is already active 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode 231 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 34 (0x0022) – read parameter string of an AS-i slave (S-7.4) 8830 > Command request channel (fieldbus master >>> device) 11130 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number reserved 2 6 reserved 5 4 3 ST 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. > Command reply channel (device >>> fieldbus master) 11143 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 command error code 3 4 number of bytes received 5...m parameter byte n+1 reserved ST reflected slave address parameter byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST 232 1 Command status (→ 200) reserved 2 5 slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) 0 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Possible command error codes 11132 Value [hex] Meaning 00 no error 01 no slave response OR: master is in the offline mode when requesting the command 0D S-7.4 protocol aborted (timeout) 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 10 AS-i S-7.4 slave deleted from LAS during current transmission 11 another S-7.4 transfer to the addressed AS-i slave is already active 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode 233 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 35 (0x0022) – write parameter string of an AS-i slave (S-7.4) 8831 > Command request channel (fieldbus master >>> device) 11145 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 Number of bytes to be transmitted 3...m parameter byte n+1 6 reserved 5 4 3 ST 2 1 0 SLA parameter byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. The number of the bytes to be sent must be divisible by 2 since the system always transmits only multiples of 2 bytes in the S7.4 protocol. 234 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11143 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5...m parameter byte n+1 reserved ST reflected slave address parameter byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) 235 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Possible command error codes 11146 Value [hex] 236 Meaning 00 no error 0C 7.4 sequence failed. AS-i slave generated wrong 7.4 sequence 0D S-7.4 protocol aborted (timeout) 0E invalid AS-i slave address for the S-7.4 protocol (e.g. B slaves) 0F AS-i slave has aborted the S-7.4 string 10 AS-i S-7.4 slave deleted from LAS during current transmission 11 another S-7.4 transfer to the addressed AS-i slave is already active 12 the previous segmented S-7.4 transfer was not yet completed 13 invalid S-7.4 data length 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 36 (0x0024) – CTT2 standard read 8832 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11148 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 reserved 3 DL 6 reserved 5 4 3 ST 2 1 0 SLA IX The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 237 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 238 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 37 (0x0025) – CTT2 standard write 8848 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11152 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 DL IX 4...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 239 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11153 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 data byte 0 reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 240 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 38 (0x0026) – CTT2 vendor specific read 8849 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11148 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 reserved 3 DL 6 reserved 5 4 3 ST 2 1 0 SLA IX The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 241 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 242 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 39 (0x0027) – CTT2 vendor specific write 8850 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11152 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 DL IX 4...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 243 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11153 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 data byte 0 reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 244 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 64 (0x0040) – CTT2 device group read 8851 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11148 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 2 reserved 3 DL 6 reserved 5 4 3 ST 2 1 0 SLA IX The area is completely ignored. It does not matter whether the data area exists or what data is contained. 4...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 245 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 246 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 65 (0x0041) – CTT2 device group write 8852 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11152 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 DL IX 4...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 247 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11153 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 data byte 0 reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 248 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 66 (0x0042) – CTT2 vendor specific selective read from buffer 8853 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11159 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4...m reserved DL 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 249 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 250 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 67 (0x0043) – CTT2 vendor specific selective write from buffer 8855 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11162 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4 data byte 0 DL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 251 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11160 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 BL reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: BL block length 1 byte ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 252 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout command execution error ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 68 (0x0044) – CTT2 vendor specific selective read 8857 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11159 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4...m reserved DL 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 253 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 254 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 69 (0x0045) – CTT2 vendor specific selective write 8858 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11162 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4 data byte 0 DL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 255 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11160 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 BL reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: BL block length 1 byte ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 256 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout command execution error ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 70 (0x0046) – CTT2 device group selective read 8857 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11159 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4...m reserved DL 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 257 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 258 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 71 (0x0047) – CTT2 device group selective write 8860 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11162 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4 data byte 0 DL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 259 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11160 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 BL reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: BL block length 1 byte ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 260 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout command execution error ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 73 (0x0049) – CTT2 vendor specific exchange 8863 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11168 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 RL IX 4 data byte 0 WL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) RL read length 1 byte number of bytes to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. WL write length 1 byte number of bytes to be written permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) 261 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 262 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 74 (0x004A) – CTT2 device group exchange 8866 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11168 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 RL IX 4 data byte 0 WL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) RL read length 1 byte number of bytes to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. WL write length 1 byte number of bytes to be written permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) 263 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 264 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 75 (0x004B) – CTT2 device group selective read from buffer 8861 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11159 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4...m reserved DL 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 265 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11149 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received reserved ST reflected slave address 5 data byte 0 CTT2 response codes (→ 206) 6...m data byte n+1 data byte n The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 266 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK command execution error E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command 76 (0x004C) – CTT2 device group selective write from buffer 8862 CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5 > Command request channel (fieldbus master >>> device) 11162 Offset Word no. bit 15 14 13 12 11 10 9 8 7 0 UID 1 command number 6 reserved 5 4 3 2 reserved ST 3 SIX IX 4 data byte 0 DL 5...m data byte n+1 data byte n 2 1 0 SLA The area is completely ignored. It does not matter whether the data area exists or what data is contained. (m+1)...119 Legend: DL data length 1 byte number of bytes to be transferred permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) IX index 1 byte pointer to the page to be read permitted values: 00…FFhex = 0…255dec (® data sheet of the slave) SIX sub-index 1 byte pointer on element on this page (® data sheet of the slave) SLA slave address 5 bits 00…1Fhex = 0…31dec ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) UID user ID 1 word 0000…FFFFhex = 0…65535dec The user ID ensures clear identification of the commmand response data of the command request data sent before. The user can assign any user ID in the command request. The AS-i master reflects the user ID from the command request into the corresponding command response. 267 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Command reply channel (device >>> fieldbus master) 11160 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 0 reflected user ID 1 reflected command number 4 3 2 1 0 Command status (→ 200) reserved 2 5 command error code 3 4 number of bytes received 5 BL reserved ST reflected slave address CTT2 response codes (→ 206) The area is completely ignored. It does not matter whether the data area exists or what data is contained. 6...119 Legend: BL block length 1 byte ST slave type 1 bit 0 = single slave or A slave 1 = B slave (= addition of 20hex or 32dec to the slave address) > Possible command error codes 11150 Value [hex] 268 Meaning 00 no error 0A the slave is not in the LAS 14 invalid S-7.4 command 17 start requirements for S-7.4 command not met: - wrong slave profile (is not S-7.4) or: - slave is not in LAS or: - master is not in the Protected mode E1 CTT2_ACYCL_RD_NOK E2 CTT2_ACYCL_CMD_NOK invalid command E3 CTT2_ACYCL_RESP_NOK wrong response data or internal error E4 CTT2_ACYCL_WR_LEN_NOK wrong data length when writing E5 CTT2_ACYCL_STATE_NOK invalid state of the CTT2 state machine when executing the command E5 CTT2_ACYCL_STATE_RESET reset when executing the command E7 CTT2_ACYCL_RD_LEN_NOK wrong data length when reading E8 CTT2_ACYCL_RD_WR_LEN_NOK wrong data length when reading / writing EF CTT2_ACYCL_CMD_TIMEOUT timeout command execution error ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > 6.4.4 I&M data I&M data addressing .............................................................................................................................269 I&M 0 – Profinet certification.................................................................................................................270 8868 Data structures (= data records) have been defined for identification and maintenance (I&M) in this fieldbus. I&M 0 is absolutely necessary for the certification. > I&M data addressing 8869 Revision: 2011-11-16 The I&M data can be read from the device or write to the device with the following addressing: I&M Slot / module Sub-slot Index *) [hex] Length [bytes] Read Write Absolutely necessary I&M 0 0 1 AFF0 54 X -- X I&M 1 0 1 AFF1 54 X X -- I&M 2 0 1 AFF2 54 X X -- I&M 3 0 1 AFF3 54 X X -- I&M 4 0 1 AFF4 54 X X -- 269 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > I&M 0 – Profinet certification 8870 I&M 0 is absolutely necessary for the certification of the following fieldbusses: - Profibus - Profinet Date Bytes Contents Description Header 10 MANUFACTURER_ID 2 310 manufacturer ID of ifm ORDER_ID 20 AC14xx device order number (ASCII characters) unneeded characters are filled with 2016 (blank) SERIAL_NUMBER 16 HARDWARE_REVISION 2 e.g. AA SOFTWARE_REVISION 4 e.g. V1.0.2 manufacturer specific 12-character serial number of the device (ASCII) unneeded characters are filled with 2016 (blank) device version (2 ASCII characters) Bytes Meaning e.g. 0 software type (char): V : official release V 1 major version (uint8) 1 2 minor version (uint8) 0 3 build version (uint8) 2 REVISION_COUNTER 2 1...FFFF16 Revision counter of the device. If changes are made to the device data, the revision counter is incremented. Changes to the device data are for example the installation of a new firmware or changed device parameters. PROFILE_ID 2 F60016 ID for generic device PROFILE_SPECIFIC_TYPE 2 000016 no profiles are supported IM_VERSION 2 1.0 the current version of the I&M data (2x uint8) IM_SUPPORTED 2 0 only I&M0 is supported (uint16) 270 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > 6.4.5 Fieldbus alarms Alarms...................................................................................................................................................271 Diagnosis alarms ..................................................................................................................................272 8871 > Alarms 8872 Details chapter Fieldbus alarms (→ 271) 271 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Diagnosis alarms Device diagnosis alarms.......................................................................................................................273 AS-i diagnosis alarms ...........................................................................................................................273 Diagnosis data of the alarms ................................................................................................................274 Notes for the Step7 programmer ..........................................................................................................282 8873 Notes on the tables below: · Slot = 0 This corresponds to the host. In the ifm classic mapping model it is the AS-i master. Since in the classic mapping approach the module numbers are not assigned to the slave addresses, it is not possible to distribute data to other slots. · Sub-slot = 1 This is fixed; other sub-slots are not supported by many Profinet controllers. · Channel Channel = 0800016 This is fixed; other channels are not supported. · Channel property Channel property = 'diagnosis' · Alarm numbers They are in the manufacturer-specific range: 010016...7FFF16 272 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Device diagnosis alarms 8874 Alarm type ID [hex] Slot / sub-slot / channel [hex] Description Alarm parameter 0100 internal device system error cause of error ® alarm parameter 0 / 1 / 8000 cause of error 0101 excess temperature: temperature inside the device has exceeded the permitted max. value of 65 °. 0 / 1 / 8000 device temperature 0104 the gateway mode is deactivated 0 / 1 / 8000 -- > AS-i diagnosis alarms 8875 Alarm type ID [hex] Slot / sub-slot / channel [hex] Description Alarm parameters 0200 internal system error of an AS-i master M / 1 / 8000 master number, cause of error 0202 AS-i master was set to the projection mode M / 1 / 8000 master number 0203 new slave 0 was detected M / 1 / 8000 master number 0204 earth fault was detected M / 1 / 8000 master number, symmetry 0207 22.5 V AS-i power failure was detected (classic ASi power) M / 1 / 8000 master number 0208 19 V AS-i power failure was detected (Power24) M / 1 / 8000 master number 03(SLA) configuration error, too many slaves M / 1 / 8000 master number, slave address 04(SLA) configuration error, slave missing M / 1 / 8000 master number, slave address 05(SLA) configuration error, slave has wrong profile M / 1 / 8000 master number, slave address 06(SLA) periphery fault M / 1 / 8000 master number, slave address 07(SLA) double addressing fault M / 1 / 8000 master number, slave address Legend: M master no. 1 bit 0 = master 1 1 = master 2 SLA slave address 1 byte slaves 0(A)...31(A): 00…1Fhex = 0…31dec slaves 1B...31B: 21…3Fhex = 33…63dec Configuration and periphery faults are signalled in slot 1 for AS-i master 1 and in slot 2 for AS-i master 2. The subslot is always 1, the channel always 0x8000. The alarm type ID indicates ... - the type of error occurred (with the high byte of the alarm type ID) - the slave address causing the error (with the low byte of the alarm type ID). If there is more than one slave address causing an error, several alarms are sent. The alarms are independent of each other and remain set as long as the reason for the alarm exists. The following tables list the complete assignment of alarm type ID by error type and slave address. 273 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Diagnosis data of the alarms Alarm 0x0100 – internal device system error .......................................................................................274 Alarm 0x0101 – excess temperature....................................................................................................274 Alarm 0x0200 – internal system error in the AS-i master.....................................................................274 Alarm 0x0202 – AS-i master set to the projection mode ......................................................................275 Alarm 0x0203 – new slave 0 was detected ..........................................................................................275 Alarm 0x0204 – earth fault detected ....................................................................................................275 Alarm 0x0207 – 22.5 V AS-i power failure detected ............................................................................275 Alarm 0x0208 – 19 V AS-i power failure detected ...............................................................................276 Alarm 0x03ss – configuration error, too many slaves ..........................................................................277 Alarm 0x04ss – configuration error, slave is missing ...........................................................................278 Alarm 0x05ss – configuration error, slave has an incorrect profile ......................................................279 Alarm 0x06ss – periphery fault .............................................................................................................280 Alarm 0x07ss – double addressing fault ..............................................................................................281 8876 After an incoming alarm the data for the diagnosis is only available in the Profinet device until the outgoing alarm is received. Below you will find a description of which diagnosis data is available in the event of an alarm. > Alarm 0x0100 – internal device system error 8877 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 cause of error 0 Please ask your AS-i specialist for more details. > Alarm 0x0101 – excess temperature 8878 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 device temperature in [°C] 0 > Alarm 0x0200 – internal system error in the AS-i master 8879 Offset Word no. bit 15 14 13 12 11 10 9 8 reserved 0 cause of error 1 Legend: M master no. 1 bit 0 = master 1 1 = master 2 Please ask your AS-i specialist for more details. > 274 7 6 5 4 3 2 1 0 M ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet Alarm 0x0202 – AS-i master set to the projection mode 8881 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 reserved 0 0 M Legend: M master no. 1 bit 0 = master 1 1 = master 2 > Alarm 0x0203 – new slave 0 was detected 8882 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 reserved 0 0 M Legend: M master no. 1 bit 0 = master 1 1 = master 2 > Alarm 0x0204 – earth fault detected 8883 Offset Word no. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 reserved 0 0 M Symmetry 1 Legend: M master no. 1 bit 0 = master 1 1 = master 2 > Alarm 0x0207 – 22.5 V AS-i power failure detected 8886 Supply voltage of the AS-i master dropped below 22.5 V. Offset Word no. bit 15 14 13 12 11 10 9 8 reserved 0 7 6 5 4 3 2 1 0 M Legend: M master no. 1 bit 0 = master 1 1 = master 2 275 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x0208 – 19 V AS-i power failure detected 8887 Supply voltage of the AS-i master dropped below 19 V. Offset Word no. bit 15 14 13 12 11 10 9 8 reserved 0 Legend: M 276 master no. 1 bit 0 = master 1 1 = master 2 7 6 5 4 3 2 1 0 M ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x03ss – configuration error, too many slaves 9218 Alarm type ID [dec] [hex] 769 0301 770 Slave address Alarm type ID Slave address [dec] [hex] 1(A) 801 0321 1B 0302 2(A) 802 0322 2B 771 0303 3(A) 803 0323 3B 772 0304 4(A) 804 0324 4B 773 0305 5(A) 805 0325 5B 774 0306 6(A) 806 0326 6B 775 0307 7(A) 807 0327 7B 776 0308 8(A) 808 0328 8B 777 0309 9(A) 809 0329 9B 778 030A 10(A) 810 032A 10B 779 030B 11(A) 811 032B 11B 780 030C 12(A) 812 032C 12B 781 030D 13(A) 813 032D 13B 782 030E 14(A) 814 032E 14B 783 030F 15(A) 815 032F 15B 784 0310 16(A) 816 0330 16B 785 0311 17(A) 817 0331 17B 786 0312 18(A) 818 0332 18B 787 0313 19(A) 819 0333 19B 788 0314 20(A) 820 0334 20B 789 0315 21(A) 821 0335 21B 790 0316 22(A) 822 0336 22B 791 0317 23(A) 823 0337 23B 792 0318 24(A) 824 0338 24B 793 0319 25(A) 825 0339 25B 794 031A 26(A) 826 033A 26B 795 031B 27(A) 827 033B 27B 796 031C 28(A) 828 033C 28B 797 031D 29(A) 829 033D 29B 798 031E 30(A) 830 033E 30B 799 031F 31(A) 831 033F 31B 277 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x04ss – configuration error, slave is missing 9223 Alarm type ID [dec] [hex] 1025 0401 1026 Slave address Alarm type ID Slave address [dec] [hex] 1(A) 1057 0421 1B 0402 2(A) 1058 0422 2B 1027 0403 3(A) 1059 0423 3B 1028 0404 4(A) 1060 0424 4B 1029 0405 5(A) 1061 0425 5B 1030 0406 6(A) 1062 0426 6B 1031 0407 7(A) 1063 0427 7B 1032 0408 8(A) 1064 0428 8B 1033 0409 9(A) 1065 0429 9B 1034 040A 10(A) 1066 042A 10B 1035 040B 11(A) 1067 042B 11B 1036 040C 12(A) 1068 042C 12B 1037 040D 13(A) 1069 042D 13B 1038 040E 14(A) 1070 042E 14B 1039 040F 15(A) 1071 042F 15B 1040 0410 16(A) 1072 0430 16B 1041 0411 17(A) 1073 0431 17B 1042 0412 18(A) 1074 0432 18B 1043 0413 19(A) 1075 0433 19B 1044 0414 20(A) 1076 0434 20B 1045 0415 21(A) 1077 0435 21B 1046 0416 22(A) 1078 0436 22B 1047 0417 23(A) 1079 0437 23B 1048 0418 24(A) 1080 0438 24B 1049 0419 25(A) 1081 0439 25B 1050 041A 26(A) 1082 043A 26B 1051 041B 27(A) 1083 043B 27B 1052 041C 28(A) 1084 043C 28B 1053 041D 29(A) 1085 043D 29B 1054 041E 30(A) 1086 043E 30B 1055 041F 31(A) 1087 043F 31B 278 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x05ss – configuration error, slave has an incorrect profile 9224 Alarm type ID [dec] [hex] 1281 0501 1282 Slave address Alarm type ID Slave address [dec] [hex] 1(A) 1313 0521 1B 0502 2(A) 1314 0522 2B 1283 0503 3(A) 1315 0523 3B 1284 0504 4(A) 1316 0524 4B 1285 0505 5(A) 1317 0525 5B 1286 0506 6(A) 1318 0526 6B 1287 0507 7(A) 1319 0527 7B 1288 0508 8(A) 1320 0528 8B 1289 0509 9(A) 1321 0529 9B 1290 050A 10(A) 1322 052A 10B 1291 050B 11(A) 1323 052B 11B 1292 050C 12(A) 1324 052C 12B 1293 050D 13(A) 1325 052D 13B 1294 050E 14(A) 1326 052E 14B 1295 050F 15(A) 1327 052F 15B 1296 0510 16(A) 1328 0530 16B 1297 0511 17(A) 1329 0531 17B 1298 0512 18(A) 1330 0532 18B 1299 0513 19(A) 1331 0533 19B 1300 0514 20(A) 1332 0534 20B 1301 0515 21(A) 1333 0535 21B 1302 0516 22(A) 1334 0536 22B 1303 0517 23(A) 1335 0537 23B 1304 0518 24(A) 1336 0538 24B 1305 0519 25(A) 1337 0539 25B 1306 051A 26(A) 1338 053A 26B 1307 051B 27(A) 1339 053B 27B 1308 051C 28(A) 1340 053C 28B 1309 051D 29(A) 1341 053D 29B 1310 051E 30(A) 1342 053E 30B 1311 051F 31(A) 1343 053F 31B 279 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x06ss – periphery fault 9225 Alarm type ID [dec] [hex] 1537 0601 1538 Slave address Alarm type ID Slave address [dec] [hex] 1(A) 1569 0621 1B 0602 2(A) 1570 0622 2B 1539 0603 3(A) 1571 0623 3B 1540 0604 4(A) 1572 0624 4B 1541 0605 5(A) 1573 0625 5B 1542 0606 6(A) 1574 0626 6B 1543 0607 7(A) 1575 0627 7B 1544 0608 8(A) 1576 0628 8B 1545 0609 9(A) 1577 0629 9B 1546 060A 10(A) 1578 062A 10B 1547 060B 11(A) 1579 062B 11B 1548 060C 12(A) 1580 062C 12B 1549 060D 13(A) 1581 062D 13B 1550 060E 14(A) 1582 062E 14B 1551 060F 15(A) 1583 062F 15B 1552 0610 16(A) 1584 0630 16B 1553 0611 17(A) 1585 0631 17B 1554 0612 18(A) 1586 0632 18B 1555 0613 19(A) 1587 0633 19B 1556 0614 20(A) 1588 0634 20B 1557 0615 21(A) 1589 0635 21B 1558 0616 22(A) 1590 0636 22B 1559 0617 23(A) 1591 0637 23B 1560 0618 24(A) 1592 0638 24B 1561 0619 25(A) 1593 0639 25B 1562 061A 26(A) 1594 063A 26B 1563 061B 27(A) 1595 063B 27B 1564 061C 28(A) 1596 063C 28B 1565 061D 29(A) 1597 063D 29B 1566 061E 30(A) 1598 063E 30B 1567 061F 31(A) 1599 063F 31B 280 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex Fieldbus Profinet > Alarm 0x07ss – double addressing fault 9219 Alarm type ID [dec] [hex] 1793 0701 1794 Slave address Alarm type ID Slave address [dec] [hex] 1(A) 1825 0721 1B 0702 2(A) 1826 0722 2B 1795 0703 3(A) 1827 0723 3B 1796 0704 4(A) 1828 0724 4B 1797 0705 5(A) 1829 0725 5B 1798 0706 6(A) 1830 0726 6B 1799 0707 7(A) 1831 0727 7B 1800 0708 8(A) 1832 0728 8B 1801 0709 9(A) 1833 0729 9B 1802 070A 10(A) 1834 072A 10B 1803 070B 11(A) 1835 072B 11B 1804 070C 12(A) 1836 072C 12B 1805 070D 13(A) 1837 072D 13B 1806 070E 14(A) 1838 072E 14B 1807 070F 15(A) 1839 072F 15B 1808 0710 16(A) 1840 0730 16B 1809 0711 17(A) 1841 0731 17B 1810 0712 18(A) 1842 0732 18B 1811 0713 19(A) 1843 0733 19B 1812 0714 20(A) 1844 0734 20B 1813 0715 21(A) 1845 0735 21B 1814 0716 22(A) 1846 0736 22B 1815 0717 23(A) 1847 0737 23B 1816 0718 24(A) 1848 0738 24B 1817 0719 25(A) 1849 0739 25B 1818 071A 26(A) 1850 073A 26B 1819 071B 27(A) 1851 073B 27B 1820 071C 28(A) 1852 073C 28B 1821 071D 29(A) 1853 073D 29B 1822 071E 30(A) 1854 073E 30B 1823 071F 31(A) 1855 073F 31B 281 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 2014-02-07 Fieldbus Profinet > Notes for the Step7 programmer 8888 The ingoing and outgoing diagnosis alarms are always signalled via the OB82. ► The OB2 must at least have been created but must not be empty. > If the OB82 does not exist, the S7 will go to STOP for each alarm. > The LED [SF] on S7 starts to light with the first incoming alarm and goes out with the last incoming alarm. 282 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i master > 6.5 AS-i master 8900 Master = Handles the complete organisation on the bus. The master decides on the bus access time and polls the ®slaves cyclically. 283 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i master > 6.5.1 AS-i master flags 7160 Flag Flag name Description Initial value for PowerOn HER Hardware Error 1 (TRUE): a hardware error occured during the power-on self test 0 (FALSE) SER Software Error 1 (TRUE): Software error occured: Stack Overflow, Stack Underflow, Undefined Opcode, Instuction Fault, Illegal Access, Watchdog Timeout 0 (FALSE) HWDT Host Watchdog Timeout 1 (TRUE): Host watchdog was not triggered by the host within 200 ms; master changes to offline mode 0 (FALSE) TN Transmission Noise 1 (TRUE): Host has extended transmission break more than 5 times due to interference; transmission was forced despite interference 0 (FALSE) CM Configuration Missing 1 (TRUE): Configuration not yet fully received from host. Becomes FALSE as soon as PCD, PP and LPS were set 1 (TRUE) MFE Multiplexed Field Error 1 (TRUE): Error during transmission of a multiplexed data range (transmitted field number does not correspond to expected field number) 0 (FALSE) RDY1 First response buffer ready 1 (TRUE): Response buffer 1 is ready. A new command can be entered in command buffer 1. 0 (FALSE) RDY2 Second response buffer ready 1 (TRUE): Response buffer 2 is ready. A new command can be entered in command buffer 2. 0 (FALSE) COK Config_OK 1 (TRUE): Configuration of all AS-i slaves in the network complies with the projection data. 0 (FALSE) (CDI==PCD for all activated slaves) && (LDS==LPS==LAS) S0 LDS.0 1 (TRUE): Slave with address 0 found 0 (FALSE) ON Auto_Address_Assign 1 (TRUE): Autoaddressing possible 0 (FALSE) (Protected mode active && Autoaddress enable set from user and PCD=CDI and LDS is smaller or equal as LPS). AA Auto_Address_Available 1 (TRUE): All conditions required for autoaddressing are met. The master is waiting for slave 0. 0 (FALSE) CA Configuration_Active 0 (FALSE): Master in Protected Mode 1 (TRUE): Master in Configuration Mode 0 (FALSE) NOA Normal_Operation_Active 1 (TRUE): Master is in normal mode 0 (FALSE) (Master has communicated with min. one slave since the last offline phase.) APF Asi_Power_Fail 0 (FALSE): AS-i voltage OK 1 (TRUE): AS-i voltage too low 1 (TRUE) OR Offline_Ready 1 (TRUE): Master has passed through an offline phase and is waiting for: 0 (FALSE) NOT APF and a timeout of 1 s POK Periphery_OK 1 (TRUE): all elements of activated slaves within LPF are 0 0 (FALSE) AAE Auto_Address_Enable 1 (TRUE): Autoaddressing enabled 0 (FALSE) (Echo of Set_Auto_Address_Enable of host) DEA Data_Exchange_Active 1 (TRUE): Data exchange between master and slaves enabled (reflects DEA of 1 (TRUE) the host flags) MWD Master Watchdog Is inverted by the master as soon as host has inverted the HWD flag ( Output-Daten) 0 In communication operation with the host, this bit is toggled every 40...20 ms. 12…15 > 284 reserved reserved for M4 protocols --- ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i master 6.5.2 Master control flags 7161 Flag Flag name Description Initial value for PowerOn OFF Off-line 1 (TRUE): Execution Control of the master changes to offline mode. This flag is 0 (FALSE) used to implement the function Set_Offline_Mode() DEA Data_Exchange_Active 1 (TRUE): Data exchange between master and slaves enabled. This flag is used to implement the function Set_Data_Exchange_Active() 0 (FALSE) HWD Host Watchdog-Bit Is toggled by the host. The master monitors if a change of state takes place during timeout. If so, the master toggles the MWD bit (input data) 0 (FALSE) X reserved TBD 0 (FALSE) 12…15 End of Field End mark = Ahex Ahex > 6.5.3 Master status byte 7162 Flag State / error SER Serious software error Master is offline and can only be restarted via a reset. HER Hardware error (e.g. RAM error) was noted during power-on self test. Master is offline and can only be restarted via a reset. HWDT The watchdog monitoring of the host was not triggered again within 600 ms. Master changes to offline mode and waits for a reset of the offline flag by host. TN Host has extended transmission break more than 5 times due to interference. Transmission was forced after the sixth transmission break despite interference. CM Missing configuration The master is waiting for download of the configuration data. This flag is deleted (=0) as soon as the configuration was completely written. MFE Multiplexed Field Error. A wrong Multiplexed Output Field was sent by the host. Master changes to offline mode and waits for a reset of the offline flag by host. RDY1 RDY2 Ready flags of the response buffer 285 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > 6.6 AS-i slaves 8893 Slave = Passive participant on the bus, only replies on request of the ®master. Slaves have a clearly defined and unique ®address in the bus. 286 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > 6.6.1 Profiles of AS-i slaves Configuration data (CDI) of the slaves (slave profiles) .........................................................................288 Slave profiles for slaves with combined transaction .............................................................................295 Combined transaction – Use of analogue channels in the gateway depending on the slave profile ...295 8902 287 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Configuration data (CDI) of the slaves (slave profiles) Structure of the slave profile .................................................................................................................288 Description of the IO code for digital slaves .........................................................................................289 Description of the ID code (selection) ..................................................................................................289 Description of the extended ID code 1 .................................................................................................290 Description of the extended ID code 2 .................................................................................................290 Valid combinations IO code / ID code / extended ID code 2 ................................................................292 5346 The configuration data CDI (= Configuration Data Image) for single, A and B slaves is stored in a data word. The structure is shown below and is the same for all slaves. > Structure of the slave profile 5347 The slave profile has the following structure: S-[IO code].[ID code].[ext. ID code2] Bits 15...12 Bits 11...8 Bits 7...4 Bits 3...0 XID2 extended ID code 2 XID1 extended ID code 1 ID code ID code IO code I/O configuration 3rd figure in the slave profile is no part of the slave profile 2nd figure in the slave profile 1st figure in the slave profile can be changed by the user (AS-i slave v2.0 = Fhex *) Example: 1110bin = Ehex (AS-i slave v2.0 = Fhex *) AC2255 4 digital inputs, 2 digital outputs AS-i profile = S-7.A.E This results in the following configuration data of the slave: (e.g.) 0111bin = 7hex 1010bin = Ahex 0111bin = 7hex The corresponding CDI data word is: 11100111 10100111bin = E7A7hex *) AS-i slaves according to the AS-i specification 2.0 and older do not support the extended ID codes 1 and 2. In the master "Fhex" is stored for this configuration data. 288 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Description of the IO code for digital slaves 5349 Structure slave profile = S-[IO-Code].x.x IO code (hex) IO code (bits 3…0) 0 Function of the periphery bit D3 D2 D1 D0 0000 input input input input 1 0001 output input input input 2 0010 input / output input input input 3 0011 output output input input 4 0100 input / output input / output input input 5 0101 output output output input 6 0110 input / output input / output input / output input 7 0111 input / output input / output input / output input / output 8 1000 output output output output 9 1001 input output output output A 1010 input / output output output output B 1011 input input output output C 1100 input / output input / output output output D 1101 input input input output E 1110 input / output input / output input / output output F 1111 not allowed > Description of the ID code (selection) 5351 Structure slave profile = S-x.[ID-Code].x ID code (hex) ID code (bits 3…0) 0 0000 4 I/O connections for binary sensors and/or actuators with 1 signal each 1 0001 2 dual-signal I/O connections for binary sensors and/or actuators with 2 signals each A 1010 slave operates in the extended addressing mode (B slave or A/B slave) Description B 1011 slave corresponds to Safety-at-Work F 1111 manufacturer-specific device (cannot be replaced with products from other manufacturers) 289 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Description of the extended ID code 1 5353 Can be changed by the user, however not a part of the slave profile. Default value: Fh for single slaves 7h for A/B slaves The value is evaluated and checked by the master. The user can make an additional distinction between slaves which do not differ in the AS-i system, e.g. slaves with different ranges for current, voltage or frequency. This prevents damage when replacing slaves with a wrong performance range. > Description of the extended ID code 2 5355 > Extended ID code 2 for analogue slaves with profile 7.3.x 5357 The extended ID code 2 is used to specify complex slaves. Structure slave profile = S-7.3.[ext.ID code2] Bit 3 (8hex) Bit 2 (4hex) Bit 1 (2hex) Bit 0 (1hex) 0 0 1-channel slave 0 1 2-channel slave 1 0 4-channel slave 1 1 4-channel slave (if slave has no extended ID code) Meaning 0 transparent data exchange = binary bits 1 analogue value transmission 0 output slave 1 input slave The ID code 2 results from a combination of the options stated above. 290 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Extended ID code 2 for analogue slaves with profile 7.4.x 5358 The extended ID code 2 is used to specify complex slaves. Structure slave profile = S-7.3.[ext. ID code2] Bit 3 (8hex) 0 Bit 2 (4hex) 0 Bit 1 (2hex) Bit 0 (1hex) 0 0 1-channel slave 0 1 2-channel slave 1 0 4-channel slave 1 1 4-channel slave (if slave has no extended ID code) 0 0 4 binary inputs + 4 binary outputs Meaning 0 output slave 1 input slave The ID code 2 results from a combination of the options stated above. 291 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Valid combinations IO code / ID code / extended ID code 2 5359 Structure slave profile = S-[IO code].[ID code].[ext. ID code2] IO code (hex) ID code (hex) ext. ID code 2 (hex) 0…E not: 9, B, D 0 x binary I/O connections for sensors and actuators 0, 3, 8 1 x 1 or 2 binary sensors or actuators with 2 signals each (dual-signal devices) 0 1 x 4 binary inputs for 2 dual-signal sensors 0…E not: 2A A x slave operates in the "extended addressing mode" (B slave or A/B slave) 0 A E slave with extended address function: 4 binary inputs for 2 dual-signal sensors (e.g. I/O module AC2250) 0 B x slave corresponds to Safety-at-Work 0…E F x manufacturer-specific device (cannot be replaced by other products) 1 1 x single sensor with remote setting: 3 binary inputs + 1 binary output (e.g. sensor OC5226) 3 1 x 2 binary inputs for 1 dual-signal sensor AND 2 binary outputs for 1 dual-signal actuator 3 A x slave with extended address function 3 A 1 slave with extended address function: 2 binary inputs + 1 binary output 3 A 2 slave with extended address function: 4 binary inputs 6 0 x quick combined transaction type 5 of 8, 12 or 16 data bits by using 2, 3 or 4 slave addresses in a slave 7 0 F motor starter 2I + 2O (e.g. ZB0032) 7 0 E 4 binary inputs + 4 binary outputs (e.g. I/O module AC2251) 7 1 x interface for the transmission of 6...18-bit signals; analogue profile for combined transaction type 1; was replaced by S-7.3 7 2 x extended slave profile for the transmission of 6...18-bit signals; extended analogue profile for combined transaction type 1; was replaced by S-7.4 7 3 x slave profile for 16-bit transmission with integrated support in the master; integrated analogue profile for combined transaction type 1 (® Extended ID code 2 for analogue slaves with profile 7.3.x (→ 290)) 7 3 5 2 analogue outputs of 16 bits each (e.g. I/O module AC2618) 7 3 6 4 analogue outputs of 16 bits each (e.g. I/O module AC2518) 7 3 C 1 analogue input of 16 bits (e.g. sensor PPA020) 7 3 D 2 analogue inputs of 16 bits each (e.g. I/O module AC2616) 7 3 E 4 analogue inputs of 16 bits each (e.g. I/O module AC2516) 7 4 x extended slave profile for 16-bit transmission with integrated support in the master; integrated extended analogue profile for combined transaction type 1 (® Extended ID code 2 for analogue slaves with profile 7.4.x (→ 291)) 7 4 C RFID identification system for writing and reading RFID tags 15-bit data + 1-bit messages (e.g. DTA100) 7 A x slave operates in the "extended addressing mode" (B slave or A/B slave) 292 Meaning ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves IO code (hex) ID code (hex) ext. ID code 2 (hex) 7 A 5 slave operates in the "extended addressing mode" (B slave or A/B slave) combined slave; supports combined transaction type 2 7 A 7 slave operates in the "extended addressing mode" (B slave or A/B slave) 4 binary inputs + 4 binary outputs 7 A 8 slave operates in the "extended addressing mode" (B slave or A/B slave) 1 channel for combined transaction type 4 7 A 9 slave operates in the "extended addressing mode" (B slave or A/B slave) dual channel for combined transaction type 4 7 A A slave operates in the "extended addressing mode" (B slave or A/B slave) 8 binary inputs + 8 binary outputs 7 A E slave operates in the "extended addressing mode" (B slave or A/B slave); dual sensor with actuator interface (e.g. sensor AC2317); 2 binary inputs + 2 binary outputs 7 B x safety slave with non-safe outputs 7 B 0 safety slave with non-safe outputs; 2 safe binary inputs (e.g. I/O module AC005S) Meaning 7 B E safety sensor with non-safe outputs; 2 safe binary inputs AND 2 safe binary outputs AND 2 non-safe (relay) outputs (e.g. I/O module AC009S) 7 D x device for motor control (electromechanical) 7 D 0 electromechanical motor control with open sub-profile 7 D 1 electromechanical direct starter 7 D 2 electromechanical reverser 7 D 3 electromechanical direct starter with brake 7 D 4 electromechanical reverser with brake 7 D 5 electromechanical direct starter with accessories 7 D 6 electromechanical reverser with accessories 7 E x device for motor control (electronic) 7 E 0 electronic motor control with open sub-profile 7 E 1 electronic direct starter 7 E 2 electronic reverser 7 E 3 electronic direct starter with brake 7 E 4 electronic reverser with brake 7 E 5 electronic direct starter with accessories 7 E 6 electronic reverser with accessories 8 1 x 4 binary outputs for 2 dual-signal actuators B 1 x dual-signal actuator with feedback: 2 binary outputs + 2 binary inputs B A 5 slave operates in the "extended addressing mode" (B slave or A/B slave); supports combined transaction type 2 B A E slave operates in the "extended addressing mode" (B slave or A/B slave); 2 binary outputs + 2 binary inputs (e.g. AC2086 module) D 1 x single actuator with monitoring: 1 binary output + 3 binary inputs x = any value (0...F) 293 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves Devices with M4 master profile enable connection of slaves with more than 4 digital inputs/outputs. The transmission is combined: Part of the data transmission is carried out via the digital bits D0...D3, another part via the "analogue" channels. Info The more data is transmitted, the longer it takes until all data of a slave has been transmitted. Cycle time single slave = 5 ms Cycle time A/B slave (if address is only assigned to A or B slave) = 5 ms Cycle time A/B slave (if address is assigned to A and B slave) = 10 ms The cycle time for CTT transmission is a multiple of these values for individual data. CTT = Combined Transaction Type 294 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves > Slave profiles for slaves with combined transaction 5362 Structure slave profile = S-[IO-Code].[ID-Code].[ext.ID-Code2] Slave profile Master profile S-6.0 Assignment analogue channels in the device Binary bits D0…D3 Additional acyclic string data transaction Combined transaction CTT Number of channels Use analogue / binary M4 1I and 1O 2/3/4 x 4 binary inputs and 2/3/4 x 4 binary outputs –– no type 5 S-7.3 M3 1/2/4 I or 1/2/4 O 1/2/4 analogue inputs or 1/2/4 binary outputs –– no type 1 S-7.4 M3 1/2/4 I or 1/2/4 O 1/2/4 analogue inputs or 1/2/4 binary outputs 4 inputs or 4 outputs yes type 1 0…4 I and 0…4 O 0…4 analogue inputs or < 65 binary inputs and 0…4 analogue outputs or < 65 binary outputs 2 inputs and 2 outputs yes type 2 2 inputs and 1 output yes type 2 S-7.5.5 M4 S-7.A.5 M4 0…2 I and 0…2 O 0…2 analogue inputs or < 33 binary inputs and 0…2 analogue outputs or < 33 binary outputs S-7.A.7 M4 –– –– 4 inputs and 4 outputs no type 3 S-7.A.8 M4 1I 1 analogue input or < 17 binary inputs 1 output no type 4 S-7.A.9 M4 2I 2 analogue inputs or < 33 binary inputs –– no type 4 S-7.A.A M4 1I and 1O 8 binary inputs and 8 binary outputs –– no type 3 0…2 I and 0…2 O 0…2 analogue inputs or < 33 binary inputs and 0…2 analogue outputs or < 33 binary outputs –– yes type 2 S-B.A.5 M4 Legend colour pattern: binary inputs analogue inputs binary outputs analogue outputs > Combined transaction – Use of analogue channels in the gateway depending on the slave profile 5366 Transaction Slave profile Slave type Number channels Analogue input channels CH3 CH2 CH1 CH0 Analogue output channels Trans. CH3 CH2 CH1 CH0 Trans. 295 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Annex AS-i slaves Analogue input channels Analogue output channels Transaction Slave profile Slave type Number channels CH3 CH2 CH1 CH0 Trans. CH3 CH2 CH1 CH0 Trans. CTT5 6.0.x S 1 – – – b – – – – b – 7.3.C S 1 – – – a – – – – – – 7.3.D S 2 – – a a – – – – – – 7.3.E S 4 a a a a – – – – – – 7.3.4 S 1 – – – – – – – – a – 7.3.5 S 2 – – – – – – – a a – 7.3.6 S 4 – – – – – a a a a – 7.3.C S 1 – – – a – – – – – – 7.3.D S 2 – – a a – – – – – – 7.3.E S 4 a a a a – – – – – – 7.3.4 S 1 – – – – – – – – a – 7.3.5 S 2 – – – – – – – a a – 7.3.6 S 4 – – – – – a a a a – 7.4.4 S 1 – – – – – – – – a X 7.4.5 S 2 – – – – – – – a a X 7.4.6 S 4 – – – – – a a a a X 7.4.C S 1 – – – a X – – – – – 7.4.D S 2 – – a a X – – – – – 7.4.E S 4 a a a a X – – – – – 7.5.5 S 0…4 7.A.5 A 0…2 7.A.5 B 0…2 A – B – A 1 – B 1 – A 2 – B 2 A 1 – B 1 B.A.5 A 0…2 B.A.5 B 0…2 CTT1 CTT1 CTT2 CTT2 CTT3 7.A.7 CTT4 7.A.8 CTT4 7.A.9 CTT3 7.A.A CTT2 a b a – a b – b a a b a b X a b a b X b – – X a a a – b – b b – a b – a b – b b a b X a b a b X b – – X – only binary – – – – – – – – – – – – – – – – – – – – – – – – – – – b – – – – b – – b – – – – b – – – – – X – – a a b b – a b – X S = single slave a = analogue inputs/outputs (word) Trans. = transparent mode A = A slave b = binary inputs/outputs (bits) B = B slave – = not used a b a a b b – a b – X X X = additional acyclic transaction of strings for device, parameters, diagnosis Legend colour pattern: 296 a a – CHn = channel > b – b a a b a – – a b – only binary – a binary inputs analogue inputs binary outputs analogue outputs ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Annex 6.7 2014-02-07 Information on AS-i Information on AS-i 6278 Here you will find further information for a better understanding of AS-Interface. · E-learning program in the ifm download area: www.ifm.com > Service > Download > [AS-i Animations] > E-learning · Literature: www.as-interface.net > [THE SYSTEM] > [Publications] 297 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms 7 Glossary of Terms Symbols & Numeric A A/B slave AS-i slave with an A or B being appended to its address number and which may therefore be present twice on the ®master. > Acyclic data transmission In general data from the master are transmitted once per cycle to one each of the slaves (= cyclic data transmission). Data transmission only at certain events (e.g. when the device is switched on or when values have been changed) is called acyclic data transmission. > Address with a low current requirement. Loads with a greater energy requirement additionally receive a separate (black) flat cable for energy supply with 24 V DC. AS-Interface is a single master system. Up to 62 slaves can be connected per master. Each of these slaves needs an unambiguous address. The master cyclically polls (Polling)) all projected slaves and exchanges the up to 248 input data and 186 output data with them. www.as-interface.net AS-International Association (user association) > AS-i cycle An AS-i cycle contains the data exchange of up to 31 slaves plus a telegram inclusion phase plus, if required, a telegram management phase (® AS-i phases (status machine) (→ 298)). In the case of the extended addressing mode, two AS-i cycles are required for data transfer to all A/B slaves. > AS-i phases (status machine) This is the "name" of the bus participant. All participants need a unique address so that the signals can be exchanged without problem. > Application software Software specific to the application, implemented by the machine manufacturer, generally containing logic sequences, limits and expressions that control the appropriate inputs, outputs, calculations and decisions. > Architecture Specific configuration of hardware and/or software elements in a system. > AS-i The AS-Interface (AS-i = Actuator Sensor Interface) is a standard for fieldbus communication to EN 50295 and IEC 62026-2. It was developed for the connection of actuators and sensors with a simple wiring to replace the conventional parallel wiring. An unscreened two-wire yellow flat cable (max. 500 m) serves for data transmission as well as for voltage supply (24...30 V DC) for the communication electronics and for participants 298 · Offline phase: No AS-i data traffic takes place during initialisation. · Detection phase: In the detection phase, the AS-i master first of all searches for existing slaves - irrespective of whether they are projected or not. · Activation phase: In this phase, the found slaves are activated depending on the operating mode. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms · · · Data exchange phase: The AS-i master carries out cyclical data exchange with the activated slaves. Management phase: At the end of a cycle the AS-i master goes into the management phase, during which the master can send a command to a specific slave (if requested). Inclusion phase: After this, the AS-i master goes into the inclusion phase, during which it sends a command to a free slave address to detect new slaves. > ASIsafe The name for 'Safety at Work' used by Siemens. > Assembly Instance Assembly Instances are parameters of a logical connection (Connection). The describe which data at which length are to be transmitted between the communication nodes. The following Assembly Instances exist: · Input · Output · Configuration In a logical connection each of these Assembly Instances can only be used once . The Assembly Instance type Configuration must only be used once in an Assembly Instance for one and the same communication node. > B Baud Baud, abbrev.: Bd = unit for the data transmission speed. Do not confuse baud with "bits per second" (bps, bits/s). Baud indicates the number of changes of state (steps, cycles) per second over a transmission length. But it is not defined how many bits per step are transmitted. The name baud can be traced back to the French inventor J. M. Baudot whose code was used for telex machines. 1 MBd = 1024 x 1024 Bd = 1 048 576 Bd > Burst errors Burst errors are faults occurring depending on others. The class indicates the maximum permissible number of burst errors: Class 1 = high protection, Class 2 = lower protection etc. > Bus Serial data transmission of several participants on the same cable. > C CCDI CCDI = CTT Configuration Data Image = current CTT configuration Configuration of 7.4 and 7.5 slaves currently determined by the AS-i master: - Manufacturer ID, - Vendor ID, - Device ID, - Device Group ID. > CDI CDI = Configuration Data Image = current AS-i configuration The configuration of the connected AS-i slaves determined by the AS-i master: LDS and AS-i profiles (IO, ID, ID1, ID2) > CIP CIP = Common Industrial Protocol Object-oriented description of a communication protocol for industrial requirements. Presently used for the fieldbus systems DeviceNet, ControlNet and EtherNet/IP. > CODESYS ® CODESYS is a registered trademark of 3S – Smart Software Solutions GmbH, Germany. 'CODESYS for Automation Alliance' associates companies of the automation industry whose hardware devices are all programmed with the widely used IEC 61131-3 development tool ® CODESYS . Homepage ® www.codesys.com > Connection Describes the logical connection between 2 application objects. > ControllerE Master in the AS-i bus system of the generation E. 299 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms > CTT Data type e.g. CTT2 = Combined Transaction Type 2 ® Combined transaction – Use of analogue channels in the gateway depending on the slave profile (→ 295) Depending on the data type, values of different sizes can be stored. size in the memory min. value max. value BOOL FALSE TRUE 1 byte Cycle time BYTE 0 255 1 byte This is the time for one cycle. The following happens: WORD 0 65 535 2 bytes DWORD 0 4 294 967 295 4 bytes > · · PLC cycle: The PLC program performs one complete run. SINT -128 127 1 byte USINT 0 255 1 byte AS-i cycle: all AS-i slaves are updated (5...10 ms). The cycle time mainly depends on the AS-i slaves involved in the data exchange. Message errors and management phase may extend the cycle time (Þ no constant cycle time). INT -32 768 32 767 2 bytes UINT 0 65 535 2 bytes DINT -2 147 483 648 2 147 483 647 4 bytes UDINT 0 4 294 967 295 4 bytes > Cyclic data transmission Data are transmitted to one slave at a time by the master once per cycle. > Cyclical polling AS-i master cyclically polls the data of all slaves in the bus (see above). The data is updated in the master after max. 5 ms. If A/B slaves are used, the cycle time can be extended to 10 ms. > D Data image (AS-i) See ®process image; sum of all digital and analogue input and output data. As regards the time, the data image represents the current condition of each individual slave and NOT a consistent image of the entire AS-i network at an exact point in time. > Data type REAL -3.402823466 • STRING 1038 3.402823466 • 1038 4 bytes number of char. +1 > DeviceNet Fieldbus system for larger data volumes based on ®CAN technology, requires special cables, complex connection technology. Can be used e.g. as a supplier for AS-i over longer distances. Corresponding ®gateways are available. > DHCP DHCP = Dynamic Host Configuration Protocol = protocol for the dynamic configuration by the ®host. DHCP is a protocol that provides dynamic configuration of IP addresses and associated information. The protocol supports use of IP addresses which are only available in limited number by a centralised management of the address assignment. The participant logs on to a server with this service when it is switched on in a network for the first time. The server assigns a local free ®IP address to the participant. > Diagnosis During the diagnosis, the "state of health" of the device is checked. It is to be found out if and what faults are given in the device. Depending on the device, the inputs and outputs can also be monitored for their correct 300 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms function. - wire break, - short circuit, - value outside range. For diagnosis, configuration and log data can be used, created during the "normal" operation of the device. The correct start of the system components is monitored during the initialisation and start phase. Errors are recorded in the log file. For further diagnosis, self-tests can also be carried out. "optimum data transmission" on a non exclusive transmission medium. The concept was developed in 1972 and specified as IEEE 802.3 in 1985. > Explicit Messaging Acyclic data exchange between I/O scanner and I/O adapter based on the TCP/IP communication protocol. > F > DRAM FC DRAM = Dynamic Random Access Memory. Technology for an electronic memory module with random access (Random Access Memory, RAM). The memory element is a capacitor which is either charged or discharged. It becomes accessible via a switching transistor and is either read or overwritten with new contents. The memory contents are volatile: the stored information is lost in case of lacking operating voltage or too late restart. FC = flat cable. The yellow or black AS-i cable is meant. > > FE – functional earth Functional earth is a reference potential which is not connected to protective earth or only connected when special measures are taken. The functional earth serves as equalisation of potential for an ungrounded installation (e.g. ®SELV). > E Fieldbus EDS A ®bus for industrial applications: mechanically extremely robust and excellent data protection. EDS = Electronic Data Sheet An EDS is a device description fiile in ASCII format, comparable to the GSD or the GSDML file of Profibus or Profinet. > EMC EMC = Electro Magnetic Compatibility. According to the EC directive (2004/108/EEC) concerning electromagnetic compatibility (in short EMC directive) requirements are made for electrical and electronic apparatus, equipment, systems or components to operate satisfactorily in the existing electromagnetic environment. The devices must not interfere with their environment and must not be adversely influenced by external electromagnetic interference. > Ethernet Ethernet is a widely used, manufacturerindependent technology which enables data transmission in the network at a speed of 10...10 000 million bits per second (Mbps). Ethernet belongs to the family of so-called > Firmware System software, basic program in the device, virtually the runtime system. The firmware establishes the connection between the hardware of the device and the application program. The firmware is provided by the manufacturer of the controller as a part of the system and cannot be changed by the user. > Flash memory Flash ROM (or flash EPROM or flash memory) combines the advantages of semiconductor memory and hard disks. Similar to a hard disk, the data are however written and deleted blockwise in data blocks up to 64, 128, 256, 1024, ... bytes at the same time. Advantages of flash memories · The stored data are maintained even if there is no supply voltage. 301 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms · Due to the absence of moving parts, flash is noiseless and insensitive to shocks and magnetic fields. Disadvantages of flash memories · · A storage cell can tolerate a limited number of write and delete processes: • Multi-level cells: typ. 10 000 cycles • Single level cells: typ. 100 000 cycles Given that a write process writes memory blocks of between 16 and 128 Kbytes at the same time, memory cells which require no change are used as well. > FMEA FMEA = Failure Mode and Effects Analysis. Method of reliability engineering, to find potential weak points. Within the framework of quality or security management, the FMEA is used preventively to prevent faults and increase the technical reliability. > FRAM FRAM, or also FeRAM, means Ferroelectric Random Access Memory. The storage operation and erasing operation is carried out by a polarisation change in a ferroelectric layer. Advantages of FRAM as compared to conventional read-only memories: • non-volatile, • compatible with common EEPROMs, but: • access time approx. 100 ns, • nearly unlimited access cycles possible. > G Gateway Gateway = access, coupler. Gateways enable connection of completely different systems. Gateways are used when two incompatible network types are to be connected by converting the protocol of one system to the protocol of the other system. Example: connection between AS-i and higherlevel fieldbus systems such as ®Ethernet DP, ®DeviceNet, Interbus-S or other interfaces, e.g. RS-485. The device includes an AS-i master which is directly coupled to the ®host interface (e.g. Ethernet DP slave). > 302 Gateway transfer time The time that is needed for the input data in the DP-RAM of the AS-i master to be copied into the output data of the netX, and vice versa. The distance from DP-RAM to DP-RAM is decisive. > GPL GPL = General Public Licence. A licence issued by Free Software Foundation with copyleft for licensing of free software. The thus licensed program can be used for all purposes without any restriction. Commercial use is expressly permitted. > GSD Generic Station Description Describes the interface to the device to be connected to the fieldbus. You can find the current version of the GSD file on the ifm homepage: www.ifm.com > Service > Download e.g. for AC1375: ® GSD file for SmartLink AC1375 ® download the file ifm...07E5.gsd (... = version) > GSDML GSDML = Generic Station Description Markup Language. Description language which can describe the characteristics of a device family across several levels. In this XML scheme, as much as possible of the semantics of the ®GSD was adopted. > H HMI HMI = Human Machine Interface > Host The controller in the hierarchy above the AS-i master, e.g. a PLC or a processor. > ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms - greater data fields for parameter setting. www.io-link.com I > I&M I&M = Identification & Maintenance ® chapter I&M data (→ 269) ® Profibus Profile Guidelines Part 1: Identification & Maintenance Functions > I/O adapter IP address IP = Internet Protocol. The IP address is a number which is necessary to clearly identify an internet participant. For the sake of clarity the number is written in 4 decimal values, e.g. 127.215.205.156. > Decentralised device in an EtherNet/IP network (e.g. AC1421/AC1422) J > I/O scanner Jitter Coupling element for the connection of decentralised devices to an EtherNet/IP controller. Jitter means a slight fluctuation in accuracy in the transmission cycle when transmitting digital signals. More generally, jitter in transmission technology means an abrupt and undesired change of the signal characteristics. > ID ID = Identifier Name to differentiate the devices / participants connected to a system or the message packets transmitted between the participants. > Implicit Messaging Cyclic data exchange between I/O scanner and I/O adapter based on the UDP/IP communication protocol. Works based on the Producer-Consumer model, i.e. both communication nodes know the structure of the data to be exchanged before data transmission starts. > Instructions Superordinate word for one of the following terms: installation instructions, data sheet, user information, operating instructions, device manual, installation information, online help, system manual, programming manual, etc. > Intended use Use of a product in accordance with the information provided in the instructions for use. > L LAS List of Active Slaves. In this slave list the AS-i master enters the slaves detected as active for this master. > LDS List of Detected Slaves. In this slave list the AS-i master enters the slaves detected as present for this master. > LED LED = Light Emitting Diode. Light emitting diode, also called luminescent diode, an electronic element of high coloured luminosity at small volume with negligible power loss. > LFS List of Failed Slaves = list of slaves with configuration errors. In this slave list the AS-i master enters the slaves with a projection error on this master. > > IO-Link Link Point-to-point connection between 2 devices. The following transmission is possible: - binary signals or A link is a cross-reference to another part in the document or to an external document. > 303 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms LKCS LKCS = List of Known CTT Slaves In this list the CTT slaves (profile 7.4 and 7.5) which are indicated in the LDS and whose CTT configuration has already been read are entered. This list is independent of the LDS, LPS, LAS and LNACS. > LNACS LNACS = List of Not Activated CTT Slaves In this list, the CTT slaves (profiles 7.4 and 7.5) which have been detected as CTT slaves but not activated are entered. As soon as the slave is entered in the LAS, it is deleted from this list. These slaves only take part in the data exchange until the CTT configuration has been read. master per network line is allowed (®cyclical polling). > MBd MegaBaud Baud, abbrev.: Bd = unit for the data transmission speed. Do not confuse baud with "bits per second" (bps, bits/s). Baud indicates the number of changes of state (steps, cycles) per second over a transmission length. But it is not defined how many bits per step are transmitted. The name baud can be traced back to the French inventor J. M. Baudot whose code was used for telex machines. 1 MBd = 1024 x 1024 Bd = 1 048 576 Bd > MMI ® HMI (→ 302) > > LPS Modbus List of Projected Slaves. In this slave list the AS-i master enters the slaves projected for this master. The Modbus protocol is a communication protocol based on a ®master/slave architecture and was generated by Modicon (since 1994: Groupe Schneider) in 1979 for communication with its PLCs. In the industry, Modbus has become a de facto standard. Modbus/TCP is based on ®Ethernet TCP/IP. Modbus/TCP ports the protocol defined for the serial interface to TCP. The ®IP address clearly identifies each device in a network. Therefore the slave address was used to identify one of several logical units (unit IDs) in a physical device. To do so, the extended IP addressing is used. Example: 192.168.83.28.1 means unit ID 1 on IP address 192.168.83.28. > LSB Least Significant Bit/Byte > M MAC-ID MAC = Manufacturer‘s Address Code = manufacturer's serial number. ®ID = Identifier Every network card has a MAC address, a clearly defined worldwide unique numerical code, more or less a kind of serial number. Such a MAC address is a sequence of 6 hexadecimal numbers, e.g. "00-0C-6E-D002-3F". > Master Handles the complete organisation on the bus. The master decides on the bus access time and polls the ®slaves cyclically. > Master-slave communication AS-i strictly operates to the master-slave principle. The master polls all slaves one after the other in always the same order. Only one > MRAM MRAM = Magnetoresistive Random Access Memory The information is stored by means of magnetic storage elements. The property of certain materials is used to change their electrical resistance when exposed to magnetic fields. Advantages of MRAM as compared to conventional RAM memories: • non volatile (like FRAM), but: • access time only approx. 35 ns, • unlimited number of access cycles possible. > MSB Most Significant Bit/Byte 304 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms > O OSC OSC = Online Support Center Online Support Center (OSC) (→ 116) Help system in the device secondary side in the device (e.g. power supply to PELV specification). For this reason no separate PE conductor is required in a PELV system. It is allowed to ground circuits and / or bodies in a PELV system. > Pictogram > OSSD OSSD = Output Signal Switching Device = output signal of a switching device. Here: output signal of an AS-i safety monitor. > P Password AS-i controllerE: in the menu [System Setup], menu item [Password] the handling can be restricted or enabled. When delivered, the device is in the user mode. By entering an invalid password (e.g. 1000) all menu items which can change settings are blocked. > Pictograms are figurative symbols which convey information by a simplified graphic representation. (® chapter What do the symbols and formats mean? (→ 5)) > PLC configuration Part of the CODESYS user interface. ► The programmer tells the programming system which hardware is to be programmed. > CODESYS loads the corresponding libraries. > Reading and writing the periphery states (inputs/outputs) is possible. > PCCD Polling PCCD = Projected CTT Configuration Data. Configuration data for the 7.4 and 7.5 slaves stored in the device: • manufacturer ID, • vendor ID, • device ID, • device group ID. to poll = to count votes The controller master fetches the data from every participant in the system successively: > PCD PCD = Projected Configuration Data Configuration data stored in the device: LPS and AS-i profile (IO, ID, ID1, ID2) > PDM PDM = Process and Dialogue Module. Device for communication of the operator with the machine / plant. > 1. Master calls participant 1. 2. Participant 1 replies with its current data (actual values). 3. Master transfers more data (target values) to participant 1, if needed. 4. Participant 1 acknowledges reception of the data. etc. the same procedure for each further participant. AS-i, cyclical polling: AS-i master cyclically polls the data of all slaves in the bus (see above). The data is updated in the master after max. 5 ms. If A/B slaves are used, the cycle time can be extended to 10 ms. > PELV Power-on delay time PELV = Protective Extra Low Voltage Functional extra low voltage with safe separation, grounded variant of SELV. The specification as PELV system to IEC 364-4-41 covers a measure to protect against direct and indirect contact with dangerous voltages by a "safe separation" between primary and The time required by the controller K6 from the application of the voltage supply until all of the following targets are reached: · both AS-i networks have reached normal operation 305 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms · the master has read the configuration data of the CTTx slaves · the field buses can use the gateway (optional) · the PLC program was started (optional). > Process image Process image is the status of the inputs and outputs the PLC operates with within one cycle. · At the beginning of the cycle the PLC reads the conditions of all inputs into the process image. During the cycle the PLC cannot detect changes to the inputs. · During the cycle the outputs are only changed virtually (in the process image). · At the end of the cycle the PLC writes the virtual output states to the real outputs. & Profinet International (PI) for automation. Profinet uses TCP/IP and IT standards, is realtime Ethernet compatible and enables the integration of fieldbus systems. The Profinet concept has a modular design, so that the user can choose the functionality himself. This is basically different as regards the type of data exchange, to meet the requirements regarding the speed. For Profinet, there are the two perspectives Profinet-CBA and Profinet-IO: · Profinet-CBA (Component Based Automation) is intended for the component-based communication via TCP/IP and the real-time communication for real-time requirements in modular plant construction. Both ways of communication can be used in parallel. · Profinet-IO has been created for real-time (RT) and synchronous communication IRT (IRT = isochronous real-time) with the decentralised periphery. The designations RT and IRT only describe the real-time characteristics in the communication within Profinet-IO. > Profibus PROFIBUS (Process Field Bus) is a standard for fieldbus communication in automation technology. There are two versions of PROFIBUS, DP being the one most widely used. · · PROFIBUS-DP (decentralised periphery) for the control of sensors and actuators by a central controller in manufacturing engineering and for networking of several controllers among each other. Data rates up to 12 Mbits/s on twisted two-wire cables and/or fibre optics are possible. PROFIBUS-PA (process automation) is used for the control of measurement devices by a process control system in process technology and is suited for hazardous areas (zones 0 and 1). Only a limited current flows on the bus cables in an intrinsically safe circuit so that even in case of a problem no explosive sparks can occur. A disadvantage of PROFIBUS-PA is the relatively slow data transfer rate of 31.25 Kbits/s. ® www.profibus.com (umbrella organisation) > Profinet PROFINET (Process Field Network) is the open Industrial Ethernet Standard of Profibus 306 www.profibus.com (umbrella organisation) > R Redundant Redundancy is the presence of more than the necessary means so that a function unit performs a requested function or that data can represent information. Several kinds of redundancy are distinguished: · Functional redundancy aims at designing safety-related systems in multiple ways in parallel so that in the event of a failure of one component the others ensure the task. · In addition it is tried to separate redundant systems from each other with regard to space. Thus the risk that they are affected by a common interference is minimised. · Finally, components from different manufacturers are sometimes used to avoid that a systematic fault causes all redundant systems to fail (diverse redundancy). ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms The software of redundant systems should differ in the following aspects: • specification (different teams), • specification language, • programming (different teams), • programming language, • compiler. S SD card An SD memory card (short for Secure Digital Memory Card) is a digital storage medium that operates to the principle of flash storage. > > remanent Remanent data is protected against data loss in case of power failure. The run-time system for example automatically copies the remanent data to a flash memory as soon as the voltage supply falls below a critical value. If the voltage supply is available again, the run-time system loads the remanent data back to the RAM memory. The data in the RAM memory of a controller, however, is volatile and normally lost in case of power failure. > RPI RPI = Requested Packet Intervall > RTC RTC = Real Time Clock Provides (batter-backed) the current date and time. Frequent use for the storage of error message protocols. Self-test Test program that actively tests components or devices. The program is started by the user and takes a certain time. The result is a test protocol (log file) which shows what was tested and if the result is positive or negative. > SELV SELV = Safety Extra Low Voltage Active parts of safety extra low voltage circuits must neither be connected to ground nor to protective wires of other circuits. They must be safely separated from active parts with higher voltage. SELV circuit = secondary circuit (output voltage) which is rated and protected so that its voltages do not exceed a safe value in case of correct operation (of the power supply) or in case of a single fault (of the power supply). SELV circuits are separated from the input voltage (mains voltage) by double or enhanced insulation. The voltage value must not exceed 60 V DC (or 42.4 V AC). > > RTS RTS = Runtime System Runtime systems are basic versions of applications. These minimum versions are supplied with certain products to meet the prerequisites for the execution of the actual product or to be able to look at or use results generated by this product on other processors: making available all routines required to execute a program in a programming language, e.g. interactions with the runtime system, memory requirements, error routines, inputs and outputs. > Runtime system Basic program in the device, establishes the connection between the hardware of the device and the application program. > Single slave ®Slave whose address number may only occur once on the ®master. > Slave Passive participant on the bus, only replies on request of the ®master. Slaves have a clearly defined and unique ®address in the bus. > Slave configuration The following terms need to be distinguished... • AS-i projected configuration (PCD (→ 305)), • AS-i current configuration (CDI (→ 299)), • CTT projected configuration (PCCD (→ 305)), • CTT current configuration (CCDI (→ 299)). > 307 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Glossary of Terms Symbols Unit ID Pictograms are figurative symbols which convey information by a simplified graphic representation. (® chapter What do the symbols and formats mean? (→ 5)) ® Modbus > System variable Variable to which access can be made via IEC address or symbol name from the PLC. > T Target The target indicates the target system where the PLC program is to run. The target contains the files (drivers and if available specific help files) required for programming and parameter setting. > TCP The Transmission Control Protocol is part of the TCP/IP protocol family. Each TCP/IP data connection has a transmitter and a receiver. This principle is a connection-oriented data transmission. In the TCP/IP protocol family the TCP as the connection-oriented protocol assumes the task of data protection, data flow control and takes measures in the event of data loss. (compare: ®UDP) > U UDP UDP (User Datagram Protocol) is a minimal connectionless network protocol which belongs to the transport layer of the internet protocol family. The task of UDP is to ensure that data which is transmitted via the internet is passed to the right application. At present network variables based on CAN and UDP are implemented. The values of the variables are automatically exchanged on the basis of broadcast messages. In UDP they are implemented as broadcast messages, in CAN as PDOs. According to the protocol, these services are unconfirmed data transmission: it is not checked whether the receiver receives the message. Exchange of network variables corresponds to a "1 to n connection" (1 transmitter to n receivers). > 308 > Use, intended Use of a product in accordance with the information provided in the instructions for use. > W Watchdog In general the term watchdog is used for a component of a system which watches the function of other components. If a possible malfunction is detected, this is either signalled or suitable program branchings are activated. The signal or branchings serve as a trigger for other co-operating system components to solve the problem. ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Index 8 Index B Baud.....................................................................................................298 Burst errors ..........................................................................................298 Bus .......................................................................................................298 A Button control element...........................................................................40 A/B slave ..............................................................................................297 Acknowledge control element................................................................48 Acyclic data ..........................................................................................125 Acyclic data transmission ....................................................................297 Acyclic process data ............................................................................149 Error codes .................................................................................................. 190 C CCDI ....................................................................................................298 CDI .......................................................................................................298 Change addresses of individual AS-i slaves .........................................78 Change slave address .....................................................................47, 92 overview .............................................................................................. 126, 150 Change slave ID 1 .................................................................................94 Profinet ........................................................................................................ 151 Change slave parameters .....................................................................93 Address ................................................................................................297 Checkbox control element .....................................................................40 Address assignment in Ethernet networks ..........................................135 CIP .......................................................................................................298 Alarm 0x0100 – internal device system error ......................................273 CODESYS ...........................................................................................298 Alarm 0x0101 – excess temperature...................................................273 Combined transaction..........................................................................294 Alarm 0x0200 – internal system error in the AS-i master ...................273 Combined transaction – Use of analogue channels in the gateway depending on the slave profile ............................................................294 Alarm 0x0202 – AS-i master set to the projection mode.....................274 Alarm 0x0203 – new slave 0 was detected .........................................274 Alarm 0x0204 – earth fault detected ...................................................274 Alarm 0x0207 – 22.5 V AS-i power failure detected ...........................274 Alarm 0x0208 – 19 V AS-i power failure detected ..............................275 Alarm 0x03ss – configuration error, too many slaves .........................276 Alarm 0x04ss – configuration error, slave is missing ..........................277 Alarm 0x05ss – configuration error, slave has an incorrect profile .....278 Alarm 0x06ss – periphery fault ............................................................279 Alarm 0x07ss – double addressing fault .............................................280 Alarms ......................................................................................... 130, 270 Annex ...................................................................................................131 Application software.............................................................................297 Approval tests / certifications ...............................................................131 Architecture..........................................................................................297 Command 01 (0x0001) – change parameters of an AS-i slave ..........206 Command 03 (0x0003) – project currrent AS-i network......................208 Command 04 (0x0004) – change LPS ................................................209 Command 05 (0x0005) – change the operating mode of the AS-i master .............................................................................................................209 Command 06 (0x0006) – change AS-i slave address ........................211 Command 07 (0x0007) – set the auto address mode of the AS-i master .............................................................................................................213 Command 09 (0x0009) – change extended ID code 1 in the AS-i slave .............................................................................................................214 Command 10 (0x000A) – change PCD ...............................................216 Command 13 (0x000D) – AS-i master power supply, symmetry, earth fault ......................................................................................................219 Command 21 (0x0015) – read ID string of an AS-i slave (S-7.4) .......221 Command 25 (0x0019) – set test mode ..............................................224 Arrow keys .............................................................................................24 Command 257 (0x0101) – Quick set-up AS-i master 1 (and AS-i master 2) ..........................................................................................................193 AS-i ......................................................................................................297 Command 259 (0x0103) – select user language ................................193 Change slave address .................................................................................. 70 Command 26 (0x001A) – read AS-i master info .................................226 Displays slave data ....................................................................................... 87 Displays the slave information ...................................................................... 91 Project all ....................................................................................................... 69 Slave settings ................................................................................................ 91 AS-i cycle .............................................................................................297 AS-i diagnosis ........................................................................................84 AS-i diagnosis alarms ..........................................................................272 AS-i master ..........................................................................................282 AS-i master commands .......................................................................201 AS-i master flags .................................................................................283 AS-i phases (status machine)..............................................................297 AS-i slaves ...........................................................................................285 ASIsafe ................................................................................................298 Assembly Instance...............................................................................298 Command 260 (0x0104) – display settings .........................................195 Command 28 (0x001C) – no slave reset when changing to the protected mode ....................................................................................228 Command 33 (0x0021) – read diagnosis string of an AS-i slave (S-7.4) .............................................................................................................229 Command 34 (0x0022) – read parameter string of an AS-i slave (S-7.4) .............................................................................................................231 Command 35 (0x0022) – write parameter string of an AS-i slave (S-7.4) .............................................................................................................233 Command 36 (0x0024) – CTT2 standard read ...................................236 Command 37 (0x0025) – CTT2 standard write ...................................238 Command 38 (0x0026) – CTT2 vendor specific read .........................240 Command 39 (0x0027) – CTT2 vendor specific write .........................242 Command 64 (0x0040) – CTT2 device group read ............................244 Command 65 (0x0041) – CTT2 device group write ............................246 309 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Index Command 66 (0x0042) – CTT2 vendor specific selective read from buffer ....................................................................................................248 Command 67 (0x0043) – CTT2 vendor specific selective write from buffer ....................................................................................................250 Command 68 (0x0044) – CTT2 vendor specific selective read ..........252 Command 69 (0x0045) – CTT2 vendor specific selective write .........254 Command 70 (0x0046) – CTT2 device group selective read .............256 Command 71 (0x0047) – CTT2 device group selective write .............258 Command 73 (0x0049) – CTT2 vendor specific exchange.................260 Command 74 (0x004A) – CTT2 device group exchange....................262 Diagnosis data of the alarms ...............................................................273 Diagnostic LED Basic device .................................................................................................. 21 Fieldbus Profibus ........................................................................................... 21 Diagnostic LEDs ....................................................................................21 Direct link ...............................................................................................58 Disconnect from web interface ..............................................................62 Display ...................................................................................................22 Switch language ............................................................................................ 70 Display (representation, setting, navigation) .........................................26 Command 75 (0x004B) – CTT2 device group selective read from buffer .............................................................................................................264 Display elements .................................................................................132 Command 76 (0x004C) – CTT2 device group selective write from buffer .............................................................................................................266 Display Profinet data............................................................................111 Display power-on time .........................................................................105 Command channel...............................................................................191 Division of the display in areas ..............................................................26 Command status..................................................................................199 Download device description ...............................................................112 Compact mode ....................................................................................121 DRAM ..................................................................................................300 config all.................................................................................................73 Configuration data (CDI) of the slaves (slave profiles) .......................287 E Configuration interface ..........................................................................64 EDS......................................................................................................300 Connect and address the AS-i slaves ...................................................66 EMC .....................................................................................................300 Connect the unit.....................................................................................63 Error codes of the acyclic services ......................................................190 Connection...........................................................................................299 Error codes of the AS-i master commands .........................................204 Connection concepts .............................................................................58 Ethernet ...............................................................................................300 Connection via Ethernet network ..........................................................59 Ethernet configuration interface ....................................................14, 107 Context information................................................................................34 Explicit Messaging ...............................................................................300 Control element description ...................................................................38 Extended ID code 2 for analogue slaves with profile 7.3.x .................289 ControllerE ...........................................................................................299 Extended ID code 2 for analogue slaves with profile 7.4.x .................290 CTT ......................................................................................................299 Extended ID-Code 1 ............................................................................289 CTT2 response codes .........................................................................205 Extended ID-Code 2 ............................................................................289 Cycle time ............................................................................................299 Cyclic data ...........................................................................................120 F Cyclic data transmission ......................................................................299 FC ........................................................................................................300 Cyclic process data..............................................................................137 FE – functional earth ...........................................................................300 Cyclical polling .....................................................................................299 Fieldbus ...............................................................................................300 D Fieldbus alarms ...................................................................................270 Fieldbus interface Profinet ...................................................................109 Data image (AS-i) ................................................................................299 Fieldbus Profinet ......................................................................... 116, 136 Data type..............................................................................................299 Firmware ..............................................................................................300 Date control element..............................................................................51 Flash memory ......................................................................................300 Description of the extended ID code 1 ................................................289 Flexible mode ......................................................................................123 Description of the extended ID code 2 ................................................289 FMEA ...................................................................................................301 Description of the ID code (selection) .................................................288 Focus .....................................................................................................29 Description of the IO code for digital slaves ........................................288 FRAM ...................................................................................................301 Details 4 channels per analogue slave....................... 159, 160, 177, 178 Free slave addresses Details of the 5-word areas......................................... 155, 157, 173, 175 Details of the slave lists .............................................. 163, 164, 181, 182 Device diagnosis alarms......................................................................272 Device temperature .............................................................................105 DeviceNet ............................................................................................299 DHCP ...................................................................................................299 Diagnosis .............................................................................................299 Diagnosis alarms ........................................................................ 130, 271 310 colour code + symbols .................................................................................. 45 Free slave addresses, overview ............................................................45 function keys ..........................................................................................23 G Gateway ...............................................................................................301 Gateway transfer time .........................................................................301 General ..................................................................................................57 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Index General conditions.................................................................................15 Index 62 – Command channel request on AS-i master 1 ...................170 General error codes.............................................................................204 Index 63 – command channel reply from AS-i master 1 .....................170 General information on the navigation ..................................................36 Index 63 – Command channel reply from AS-i master 2 ....................189 Getting started .......................................................................................63 Index 64 / DS2 – binary inputs and master flags of the slaves on AS-i master 2 ...............................................................................................171 GPL ......................................................................................................301 GSD .....................................................................................................301 GSDML ................................................................................................301 GSDML file ..........................................................................................117 H HMI ......................................................................................................301 Host......................................................................................................301 Housing ................................................................................................132 How does it work? (sequence of actions) .............................................69 I I&M.......................................................................................................302 I&M 0 – Profinet certification................................................................269 I&M data...............................................................................................268 I&M data addressing............................................................................268 I/O adapter ...........................................................................................302 I/O scanner ..........................................................................................302 ID .........................................................................................................302 ID code.................................................................................................288 ifm weltweit • ifm worldwide • ifm à l’échelle internationale.................314 Implicit Messaging ...............................................................................302 Index 01 / DS1 – Read system information.........................................152 Index 30 – Command channel request to the device..........................152 Index 65 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 2 ...........................................................................................................172 Index 66 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 2 ...............................................................................................174 Index 67 / DS5 – binary outputs of the slaves on AS-i master 2 ........176 Index 68 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 2 ...............................................................................................176 Index 69 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 2 ...............................................................................................178 Index 70 / DS8 – status of the analogue output data of the slaves 1...31 on the AS-i master 2 ............................................................................178 Index 71 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 2 ..181 Index 72 / DS10 – LPS slave list on AS-i master 2 .............................182 Index 73 / DS11 – current CDI configuration data of the slaves on AS-i master 2 ...............................................................................................183 Index 74 / DS12 – projected PCD configuration data of the slaves on AS-i master 2 .......................................................................................184 Index 75 / DS13 – image of the input parameters of the slaves on AS-i master 2 ...............................................................................................185 Index 76 / DS14 – image of the output parameters of the slaves on AS-i master 2 ...............................................................................................185 Index 78 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 2 ...........................................................186 Index 94 – Command channel request on AS-i master 2 ...................189 info bar ...................................................................................................33 Information concerning the device ........................................................13 Index 31 – Command channel response from the device...................152 Information on AS-i ..............................................................................296 Index 32 / DS2 – Digital inputs and master flags of the slaves on AS-i master 1 ...............................................................................................153 Instructions ..........................................................................................302 Intended use ..................................................................................11, 302 Index 33 / DS3 – analogue inputs of slaves 1(A)...15(B) on AS-i master 1 ...........................................................................................................154 Interface Index 34 / DS4 – analogue inputs of slaves 16(A)...31(B) on AS-i master 1 ...............................................................................................156 Index 35 / DS5 – Digital inputs and master flags of the slaves on AS-i master 1 ...............................................................................................158 Profinet settings ............................................................................................. 70 Set the configuration interface ...................................................................... 70 Interfaces .................................................................................... 106, 134 IO code ................................................................................................288 Index 36 / DS6 – analogue outputs of slaves 1(A)...15(B) on AS-i master 1 ...............................................................................................159 IO-Link .................................................................................................302 Index 37 / DS7 – analogue outputs of slaves 16(A)...31(B) on AS-i master 1 ...............................................................................................160 IP address control element ....................................................................50 Index 38 / DS8 – Status of the analogue output data of the slaves 1...31 on the AS-i master 1 ............................................................................161 J Index 39 / DS9 – LAS, LDS, LPF, LCE slave lists on AS-i master 1 ..163 Index 40 / DS10 – LPS slave list on AS-i master 1 ............................164 Index 41 / DS11 – current configuration data CDI of the slaves on AS-i master 1 ...............................................................................................165 IP address............................................................................................302 Jitter .....................................................................................................302 K Key functions .........................................................................................23 Index 42 / DS12 – projected configuration data (PCD) of the slaves on AS-i master 1 .......................................................................................166 L Index 43 / DS13 – Image of the input parameters of the slaves on AS-i master 1 ...............................................................................................167 Labellling of the function keys ...............................................................34 Index 44 / DS14 – Image of the output parameters of the slaves on AS-i master 1 ...............................................................................................168 Index 46 / DS15 – slave error counter, configuration error counter, AS-i cycle counter on AS-i master 1 ...........................................................168 LAS ......................................................................................................302 LDS ......................................................................................................302 LED ......................................................................................................302 LFS ......................................................................................................302 311 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Index Link ......................................................................................................303 Overview system command channel...................................................128 Listbox control element..........................................................................41 Overview system commands...............................................................192 LKCS....................................................................................................303 LNACS .................................................................................................303 P Log in at the web interface ....................................................................61 Pages .....................................................................................................33 LPS ......................................................................................................303 Parameter data ....................................................................................118 compact mode ............................................................................................. 118 LSB ......................................................................................................303 flexible mode ............................................................................................... 119 M Password .............................................................................................304 MAC-ID ................................................................................................303 PCCD ...................................................................................................304 main navigation bar ...............................................................................28 Master ..................................................................................................303 Master 2 signals.......................................................................... 138, 140 Master control flags .............................................................................284 Master status byte ...............................................................................284 Master1 signals........................................................................... 137, 139 Master-slave communication ...............................................................303 MBd......................................................................................................303 Meaning of the colour combinations................................................44, 46 MMI ......................................................................................................303 Modbus ................................................................................................303 Module configuration ...........................................................................112 MRAM ..................................................................................................303 PCD .....................................................................................................304 PDM .....................................................................................................304 PELV ....................................................................................................304 Permitted use.........................................................................................11 Pictogram .............................................................................................304 Pictograms ...............................................................................................4 PLC configuration ................................................................................304 Please note! .............................................................................................7 Polling ..................................................................................................304 Power supply connections ...................................................................133 Power-on delay time ............................................................................305 Previous knowledge.................................................................................6 Principle of the command channels ........................................... 198, 200 MSB .....................................................................................................304 Process data ........................................................................................120 N Profibus ................................................................................................305 Process image .....................................................................................305 Navigation ..............................................................................................35 Profiles of AS-i slaves..........................................................................286 Navigation bars ......................................................................................28 Profinet.................................................................................................305 navigation compass ...............................................................................34 Profinet diagnosis ................................................................................114 Navigation elements ..............................................................................35 Profinet information..............................................................................109 Navigation on a page.............................................................................37 Profinet interface....................................................................................64 Navigation status bar .............................................................................34 Profinet settings .....................................................................................75 Navigation to a page..............................................................................36 Prohibited use ........................................................................................12 Navigation trail .......................................................................................29 Notes for the Step7 programmer ................................................ 130, 281 Q Numerical control element .....................................................................49 Quick setup ............................................................................................72 O R On this manual.........................................................................................3 Recommended browsers.......................................................................60 Online helps ...........................................................................................55 Online Support Center (OSC)..............................................................115 Operating instructions............................................................................60 Operating modes in the AS-i master .....................................................81 Operation .......................................................................................25, 133 Option 2 Transmit fieldbus and web interface data via the same network ................. 59 OSC .....................................................................................................304 OSSD ...................................................................................................304 Redundant ...........................................................................................305 remanent..............................................................................................306 Required accessories ............................................................................14 RPI .......................................................................................................306 RTC......................................................................................................306 RTS ......................................................................................................306 Runtime system ...................................................................................306 S Overview AS-i command channel .............................................. 128, 196 Safety instructions ...................................................................................6 Overview AS-i master commands .......................................................202 Safety instructions on the installation ......................................................9 Overview free slave addresses .............................................................45 Safety instructions on the mounting ........................................................9 Overview slave status............................................................................43 screen saver ..........................................................................................55 312 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 2014-02-07 Index SD card ................................................................................................306 Supply concept 3 ...................................................................................18 SD card slot ...........................................................................................20 Switch language ..............................................................................55, 98 Select the operating mode of the AS-i master ......................................69 Symbols ...............................................................................................307 Self-test ................................................................................................306 free slave addresses ..................................................................................... 45 SELV ....................................................................................................306 slave status .................................................................................................... 43 Sensor functions ....................................................................................69 Set date................................................................................................102 Set display behaviour ............................................................................99 Set Network Time Protocol (NTP) .......................................................103 Set operating modes .......................................................................69, 73 Set the AS-i output access ....................................................................97 Set the clock (RTC) .............................................................................100 Set the configuration interface ...............................................................76 Set time ................................................................................................101 Set up configuration interface ................................................................68 Set up Profinet ...............................................................................68, 113 Set up the AS-i master ....................................................................81, 82 Set up the AS-i master + slaves ............................................................80 Set up the AS-i slaves ...........................................................................86 Symbols in the subnavigation bars........................................................30 system....................................................................................................95 System commands ..............................................................................192 System description ................................................................................11 System diagnosis.................................................................................105 System information ................................................................................95 System reset ........................................................................................104 System settings .....................................................................................96 System set-up ........................................................................................96 System variable ...................................................................................307 T Tab control element ...............................................................................39 Table 1 or 2 channels per analogue slave ............................................................ 143 Show / delete error counter ...................................................................84 Show error messages of the slaves ......................................................84 Show evaluation of the voltage supply ..................................................85 Show performance of the AS-i master ..................................................85 Show Profinet I&M information ............................................................110 Single slave .........................................................................................306 Slave ....................................................................................................306 Slave addresses, free ............................................................................45 Slave configuration ..............................................................................307 Slave data analogue slave .............................................................................................. 90 digital slave .................................................................................................... 88 Slave profile .........................................................................................287 Slave profiles for slaves with combined transaction ...........................294 slave selector control element ...............................................................42 Slave status colour code + symbols .................................................................................. 43 overview ........................................................................................................ 43 Overview ........................................................................................................ 43 4 channels per analogue slave ................................................................... 147 Target...................................................................................................307 TCP ......................................................................................................307 Technical data .....................................................................................132 The acyclic process data .....................................................................149 The command channels ......................................................................191 The cyclic process data .......................................................................137 The Profinet modules ..........................................................................121 Time control element .............................................................................53 U UDP .....................................................................................................307 Unit ID ..................................................................................................307 Update device firmware .........................................................................71 Use QR code to access the device .......................................................65 Use, intended.......................................................................................307 V Slot 1 - binary inputs/outputs of single/A slaves on AS-i master 1 .....137 Valid combinations IO code / ID code / extended ID code 2...............291 Slot 1ss/2ss – flex modules for analogue slaves ................................148 Voltage supply concepts........................................................................15 Slot 2 -binary inputs/outputs of single/A slaves on AS-i master 2 ......138 Voltage supply, AS-i, functional earth ...................................................63 Slot 3 – binary inputs/outputs of B slaves on AS-i master 1 ...............138 Slot 4 – binary inputs/outputs of B slaves on AS-i master 2 ...............139 W Slot 5 - analogue inputs on AS-i master 1/2........................................141 watchdog..............................................................................................307 Slot 6 - analogue outputs on AS-i master 1/2 .....................................142 Watchdog .............................................................................................307 Splash screen ........................................................................................31 Web interface Splash screen 'Basic settings' ...............................................................32 Navigation ...................................................................................................... 60 Start-up behaviour of the controller .........................................................8 Password protection ...................................................................................... 61 Structure of the slave profile ................................................................287 Subnavigation bars ................................................................................30 Supply concept 1 ...................................................................................16 Supply concept 2 ...................................................................................17 Web server ............................................................................................57 What devices are described in this manual?...........................................4 What is what in the display? ..................................................................26 What previous knowledge is required? ...................................................6 313 ifm Device Manual AS-i Profinet Gateway (AC1401, AC1402) V2.5.3 Index Where is what on the AS-i device? .......................................................13 Working area .........................................................................................31 314 2014-02-07 9 ifm weltweit • ifm worldwide • ifm à l’échelle internationale Revision: 2012-10-18 8310 www.ifm.com • email: info@ifm.com Service hotline: 0800 / 16 16 16 (only Germany, Mo-Fr, 07.00...18.00 - 18.00 h) ifm Niederlassungen • Sales offices • Agences D ifm electronic gmbh Vertrieb Deutschland Niederlassung Nord • 31135 Hildesheim • Tel. 0 51 21 / 76 67-0 Niederlassung West • 45128 Essen • Tel. 02 01 / 3 64 75 -0 Niederlassung Mitte-West • 58511 Lüdenscheid • Tel. 0 23 51 / 43 01-0 Niederlassung Süd-West • 64646 Heppenheim • Tel. 0 62 52 / 79 05-0 Niederlassung Baden-Württemberg • 73230 Kirchheim • Tel. 0 70 21 / 80 86-0 Niederlassung Bayern • 82178 Puchheim • Tel. 0 89 / 8 00 91-0 Niederlassung Ost • 07639 Tautenhain • Tel. 0 36 601 / 771-0 ifm electronic gmbh • Friedrichstraße 1 • 45128 Essen A AUS B BR CH CN CND CZ DK E F FIN GB, IRL GR H I IL IND J MAL MEX N NL P PL RA, ROU ROK RP RUS S SGP SK THA TR UA USA ZA ifm electronic gmbh • 1120 Wien • Tel. +43 16 17 45 00 ifm efector pty ltd. • Mulgrave Vic 3170 • Tel. +61 3 00 365 088 ifm electronic N.V. • 1731 Zellik • Tel. +32 2 / 4 81 02 20 ifm electronic Ltda. • 03337-000, Sao Paulo SP • Tel. +55 11 / 2672-1730 ifm electronic ag • 4 624 Härkingen • Tel. +41 62 / 388 80 30 ifm electronic Co. Ltd. • 201203 Shanghai • Tel. +86 21 / 3813 4800 ifm efector Canada inc. • Oakville, Ontario L6K 3V3 • Tel. +1 800-441-8246 ifm electronic spol. s.r.o. • 25243 Průhonice • Tel. +420 267 990 211 ifm electronic a/s • 2605 BROENDBY • Tel. +45 70 20 11 08 ifm electronic s.a. • 08820 El Prat de Llobregat • Tel. +34 93 479 30 80 ifm electronic s.a. • 93192 Noisy-le-Grand Cedex • Tél. +33 0820 22 30 01 ifm electronic oy • 00440 Helsinki • Tel . +358 75 329 5000 ifm electronic Ltd. • Hampton, Middlesex TW12 2HD • Tel. +44 208 / 213-0000 ifm electronic monoprosopi E.P.E. • 15125 Amaroussio • Tel. +30 210 / 6180090 ifm electronic kft. • 9028 Györ • Tel. +36 96 / 518-397 ifm electronic s.a. • 20041 Agrate-Brianza (MI) • Tel. +39 039 / 68.99.982 Astragal Ltd. • Azur 58001 • Tel. +972 3 -559 1660 ifm electronic India Branch Office • Kolhapur, 416234 • Tel. +91 231-267 27 70 efector co., ltd. • Chiba-shi, Chiba 261-7118 • Tel. +81 043-299-2070 ifm electronic Pte. Ltd • 80250 Johor Bahru Johor • Tel. +60 7 / 331 5022 ifm efector S. de R. L. DE C. V. • Monterrey, N. L. 64630 • Tel. +52 81 8040-3535 Sivilingeniør J. F. Knudtzen A/S • 1396 Billingstad • Tel. +47 66 / 98 33 50 ifm electronic b.v. • 3843 GA Harderwijk • Tel. +31 341 / 438 438 ifm electronic s.a. • 4430-208 Vila Nova de Gaia • Tel. +351 223 / 71 71 08 ifm electronic sp. z o.o. • 40-524 Katowice • Tel. +48 32-608 74 54 ifm electronic s.r.l. • 1107 Buenos Aires • Tel. +54 11 / 5353 3436 ifm electronic Ltd. • 140-884 Seoul • Tel. +82 2 / 790 5610 Gram Industrial, Inc. • 1770 Mantilupa City • Tel. +63 2 / 850 22 18 ifm electronic • 105318 Moscow • Tel. +7 495 921-44-14 ifm electronic a b • 412 50 Göteborg • Tel. +46 325 / 661 500 ifm electronic Pte. Ltd. • Singapore 609 916 • Tel. +65 6562 8661/2/3 ifm electronic s.r.o. • 835 54 Bratislava • Tel. +421 2 / 44 87 23 29 Sang Chai Meter Co., Ltd. • Bangkok 10 400 • Tel. +66 2 / 616 80 51 ifm electronic Ltd. Sti. • 34381 Sisli/Istanbul • Tel. +90 212 / 210 50 80 TOV ifm electronic • 02660 Kiev • Tel. +380 44 501 8543 ifm efector inc. • Exton, PA 19341 • Tel. +1 610 / 5 24-2000 ifm electronic (Pty) Ltd. • 0157 Pretoria • Tel. +27 12 345 44 49 We reserve the right to make technical alterations without prior notice. We reserve the right to make technical alterations without prior notice. Nous nous réservons le droit de modifier les données techniques sans préavis.