Page 2
Preliminary note Legal and copyright information ................... 5 Purpose of the document ..................... 5 Explanation of Symbols ....................... 6 Overview: User documentation for AC1401/02 ..............7 Modification history ......................7 Safety instructions General safety instructions ....................8 Required background knowledge ..................8 Tampering with the unit ......................
Page 3
5.6.2 Interfaces: PROFINET interface ....................84 ifm system solutions ......................90 5.7.1 Notes on ifm system solutions ....................91 5.7.2 Show information about installed ifm apps ................. 92 5.7.3 Install single/basic app ....................... 93 5.7.4 Install multi app .......................... 94 5.7.5 Update ifm apps .........................
Page 4
AS-i Gateway with Profinet device interface 8.2.4 Display elements ........................112 8.2.5 Interfaces ..........................113 8.2.6 Programmable Logic Controller (PLC) ..................113 Address assignment in Ethernet networks ..............114 Configuration interface: connection concepts ..............115 8.4.1 Direct link ..........................115 8.4.2 Connection via Ethernet network ....................116 AS-i master ........................117 8.5.1 Operating modes of the AS-i master ..................
Page 6
AS-i Gateway with Profinet device interface > Explanation of Symbols 34171 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 note Non-compliance can result in malfunction or interference Information Supplementary note ►...
Page 7
AS-i Gateway with Profinet device interface > Overview: User documentation for AC1401/02 41793 ifm electronic provides the following user documentation for the models of the device class "AS-i Gateway mit Profinet-Device-Schnittstelle": Document Content / Description Data sheet Technical data of the device as a table ...
Page 8
AS-i Gateway with Profinet device interface Safety instructions Content General safety instructions ........................8 Required background knowledge ......................8 Tampering with the unit ..........................8 28333 > General safety instructions 41415 Read this document before setting up the product and keep it during the entire service life. Only use the product for its intended purpose.
Page 9
AS-i Gateway with Profinet device interface System description Content Intended use ............................10 Information concerning the device ......................11 28392...
Page 10
AS-i Gateway with Profinet device interface > Intended use Content Permitted use ............................10 Prohibited use ............................10 36928 > 3.1.1 Permitted use 41798 The device is designed for operation in a control cabinet. The device may only be used for the following purposes: ...
Page 11
AS-i Gateway with Profinet device interface > Information concerning the device Content Overview ..............................11 Operating elements ..........................12 Display elements ............................12 CODESYS PLC ............................12 Interfaces ..............................13 Required accessories ..........................13 36905 > 3.2.1 Overview 41724 Legend: Display Status LED (H1) 2 function keys 4 arrow keys Connector (X1) for AS-i 1, AS-i 2, functional earth...
Page 12
Applications that have been created with the IEC 61131-3 compliant programming software "CODESYS Development System" (from version V3.5. SP9 Patch 7 Hofix 3) System solutions that have been provided by ifm electronic Programmable Logic Controller (PLC) Technical data: →...
Page 13
AS-i Gateway with Profinet device interface > 3.2.5 Interfaces 36927 The device provides the following interfaces: > Ethernet configuration interface 41495 The configuration interface (X3) is located behind the front flap of the device. It allows the user to access the following device functions: ...
Page 14
AS-i Gateway with Profinet device interface Operation Content Control of the graphical user interface ....................14 Menu view...............................16 Page view ...............................19 Remote access ............................32 41713 > Control of the graphical user interface 41568 Below the display is the key panel with six membrane keys. The operator controls the graphical user interface of the device with these keys.
Page 15
AS-i Gateway with Profinet device interface > 4.1.1 Function keys 41476 The two function keys allow the operator to trigger specified actions (e.g. tick a checkbox). The function of the function keys changes depending on the context. The two text fields in the navigation status bar are associated with the function keys located directly below the display.
Page 16
AS-i Gateway with Profinet device interface > Menu view 41755 The menu view allows the user to select the menu page with the required control or display function. Legend: Info bar Main navigation bar Subnavigation bar 1 Subnavigation bar 2 Selected menu item (focus) Navigation status bar with ...
Page 17
AS-i Gateway with Profinet device interface > 4.2.2 Navigation aids 41748 The following screen elements help you navigate through the menu: > The info bar shows the navigation path of the selected menu symbol. > The navigation compass shows which navigation steps are possible from the current position. Legend: Info bar Navigation path to the focused menu element:...
Page 18
AS-i Gateway with Profinet device interface 6. ► Use [] to select the [Settings] menu symbol. > The focus is on the [Settings] menu symbol. ► Press the [Select] function key to go to the page view of the [Settings] menu item. >...
Page 19
AS-i Gateway with Profinet device interface > Page view 41786 The page view allows the user to select and execute a requested function. Legend: Info bar Main navigation bar Page Scroll bar Tab menu Page element with focus Navigation status bar with ...
Page 20
AS-i Gateway with Profinet device interface > 4.3.3 Description of the control elements Content Tab menu/Tab ............................21 Button ..............................22 Checkbox ..............................22 List ................................23 Slave selector ............................24 Confirmation message ..........................29 Numerical field ............................30 Binary field ..............................31 41586 A page consists of different control elements.
Page 21
AS-i Gateway with Profinet device interface > Tab menu/Tab 41675 A tab menu groups together the different functions of a menu page. A tab menu consists of at least two tabs. A tab combines related functions. Example: > The focused tab has an orange background >...
Page 22
AS-i Gateway with Profinet device interface > Button 41536 A button allows the operator to carry out a specified action once. The caption on the button describes the action. Example: Use: Select a button ► Use the arrow keys [] / [] to select a button. >...
Page 23
AS-i Gateway with Profinet device interface > List 41484 A list provides a set of defined values. The operator can select precisely one value from this set (= 1 of n selection). Examples: = list without caption = list with caption Use: Select a list ►...
Page 24
AS-i Gateway with Profinet device interface > Slave selector Content Overview of slave states .........................25 Overview of free slave addresses ......................27 41653 The slave selector is used to select an AS-i slave or an AS-i address. Legend: Indicator of AS-i master operating mode AS-i address symbol Highlighted AS-i address (focus) Status message of highlighted AS-i address...
Page 25
AS-i Gateway with Profinet device interface > Overview of slave states 41728 > The slave selector shows an overview of the slaves in the selected AS-i network. > The symbol colour signals the slave status. Meaning of symbols and colours: Slave status: colour code + symbols →...
Page 26
AS-i Gateway with Profinet device interface > Slave status: colour code + symbols 41652 Single slave A/B slave Colour Meaning grey No slave found: slave address is neither in the LPS nor in the LDS green Slave is activated ( in LAS) Configuration error type 1: slave is projected (in LPS) but was not found (in LDS) yellow...
Page 27
AS-i Gateway with Profinet device interface > Overview of free slave addresses 41729 In this overview, the slave selector shows the free and occupied AS-i addresses. > The symbol colour indicates the state of the AS-i address. Meaning of symbols and colours: →...
Page 28
AS-i Gateway with Profinet device interface > Free slave addresses: colour code + symbols 41493 Single slave A/B slave Colour Meaning Prio. grey Slave address is already used. turquoise Address is free according to LDS (= no slave found), however: address already belongs to a stored projection (= application profile).
Page 29
AS-i Gateway with Profinet device interface > Confirmation message 41606 The confirmation message is a security prompt. It appears when important changes are made to the system settings. The confirmation message shows the changes made. For the changes to become effective, they first need to be acknowledged by the operator.
Page 30
AS-i Gateway with Profinet device interface > Numerical field 41720 The numerical field allows the operator to enter integer values. The value range is context-specific. Numerical fields are part of the following GUI elements: Control element Example Meaning IP address Entry of an IP address (IPv4) in [w.x.y.z] format ...
Page 31
AS-i Gateway with Profinet device interface Adopt the set values ► Use [Select] function key to confirm the set values and to leave the edit mode. Use [Back] function key to reset the set values and to leave the edit mode. >...
Page 32
AS-i Gateway with Profinet device interface > Remote access Content General ..............................32 Recommended browsers ........................32 Operating instructions ..........................33 41775 The device has an integrated web server. It generates a web interface which allows remote access to all device functions via an web browser. The web-interface allows the operator to easily configure, parameterise and monitor the device in permanent operation via an ethernet-based network.
Page 33
AS-i Gateway with Profinet device interface > 4.4.3 Operating instructions 41723 > Web interface: Access 41681 ► PC / Laptop / mobile device: Start Internet browser. ► Internet browser: Enter IP address of the device in the address line (e.g. 192.168.82.2) >...
Page 34
the PC/laptop is restarted AC1401/02 is restarted To prevent unauthorised access to the device settings: ► Manually log off before you leave the web interface! (→ Disconnect from web interface (→ S. 35)) ►...
Page 35
AS-i Gateway with Profinet device interface > Disconnect from web interface 41457 To log out of the web interface: ► Start web interface > Status line with status message is displayed at the top of the web interface: ► Log out of the web interface by clicking [Logout] >...
Page 36
Start screen ............................36 Menu functions ............................37 Quick setup .............................38 AS-i 1 / AS-i 2 ............................47 System ..............................58 Interfaces ..............................80 ifm system solutions ..........................90 41740 This chapter describes the menu functions of the device’s graphical user interface. > Start screen 41690 When starting the device, the start screen of the graphical user interface appears (special case: →Start screen 'Basic settings'...
Page 37
AS-i Gateway with Profinet device interface > Menu functions 41739 The main navigation bar of the AC1401/02 provides access to the following menus: Symbol Description Access to the most important device functions →System (→ S. 58) Configuration and diagnostics of the AS-i 1 network (AS-i master, AS-i slaves) →AS-i 1 / AS-i 2...
Page 38
AS-i Gateway with Profinet device interface > Quick setup 41408 The [Quick setup] menu provides fast access to the most important device functions. Navigation path Functions → Quick setup: Project AS-i networks (→ S. 39) → Quick setup: Configure the operating mode of the AS-i masters (→...
Page 39
AS-i Gateway with Profinet device interface > 5.3.1 Quick setup: Project AS-i networks 41782 During projection adaptation, the AS-i master carries out the following actions: The configuration data of all detected AS-i slaves (LDS) is saved The detected AS-i slaves are added to the list of projected slaves (LPS) During a project a projection adaptation all output parameters of the unconnected AS-i slaves are reset to their default value in the AS-i master (single /A slaves = 0xF, B slaves = 0x7).
Page 40
AS-i Gateway with Profinet device interface > 5.3.2 Quick setup: Configure the operating mode of the AS-i masters 41778 Operating modes of the AS-i Information regarding the operating modes of an AS-i master:→ master (→ S. 118) To configure the operating modes of the AS-i masters: Select the menu page ►...
Page 41
AS-i Gateway with Profinet device interface > 5.3.3 Quick setup: Configure the output access 41783 Only one control instance at a time can have write access to the outputs of the connected AS-i slaves. The operator configures the control instance with the parameter [Output access]. To configure the control instance of the AS-i slave outputs: Select the menu page ►...
Page 42
AS-i Gateway with Profinet device interface > 5.3.5 Quick setup: Configure the PROFINET interface 41779 To configure the PROFINET-interface: Select menu page ► ► Select [Profinet] tab. Set IP parameters of the PROFINET-interface > Set following parameters as requested: Parameter Description Possible values [IP address]...
Page 43
AS-i Gateway with Profinet device interface > 5.3.6 Quick setup: Set the Configuration interface 41781 The device provides the following options for configuration of the Ethernet Configuration interface: The operator sets the interface parameters (IP address, network mask, Manual = gateway address) manually.
Page 44
AS-i Gateway with Profinet device interface Configure the IP parameters automatically ► Check [Optain IP address autom]. ► Press [Accept] to save the changes. > The device tries to obtain IP parameters from a DHCP server. > If the IP parameter configuration via DHCP server fails, the device will generate the IP parameters by means of the Zeroconf protocol.
Page 45
AS-i Gateway with Profinet device interface > 5.3.7 Quick setup: Address the AS-i slaves connected to AS-i Master 1 41764 To change the address of an AS-i slave connected to AS-i Master 1: Select the menu page ► ► Select [Addressing AS-i 1] tab. Select the AS-i slave >...
Page 46
AS-i Gateway with Profinet device interface > 5.3.8 Quick setup: Address the AS-i slaves connected to AS-i Master 2 41763 The procedure for addressing the AS-i slaves connected to AS-i Master 2 is the same as for Quick setup: Address the AS-i slaves addressing the AS-i slaves connected to AS-i Master 1 (→...
Page 47
AS-i Gateway with Profinet device interface > AS-i 1 / AS-i 2 41522 The [AS-i 1] and [AS-i 2] menus provide access to configuration functions of the AS-i networks. The [AS-i 2] menu is only available for devices with two AS-i masters! Navigation path Content AS-i master settings...
Page 48
AS-i Gateway with Profinet device interface > 5.4.1 AS-i 1 / AS-i 2: Master setup 41537 The menu item [Master setup] provides access to the configuration options of the selected AS-i master. > Set the operating mode of the AS-i master 41640 More information on the operating modes of the AS-i master: →...
Page 49
AS-i Gateway with Profinet device interface > Carry out a projection adaptation 41535 During projection adaptation, the AS-i master stores the configuration of all AS-i slaves currently found on the AS-i network in its memory and assigns a valid AS-i address to each of them. The projection adaptation can only be carried out in projection mode: ►...
Page 50
AS-i Gateway with Profinet device interface > 5.4.2 AS-i 1 / AS-i 2: Diagnosis 41538 The [Diagnosis] menu provides access to the diagnostic data of the selected AS-i network. > Display and reset the error counters 41445 To display and reset the AS-i error counters: Select the menu page >...
Page 51
AS-i Gateway with Profinet device interface > Display the voltage supply analysis 41502 To display the voltage supply analysis: Select the menu page > > ► ► Select [Power supply] tab. Display the voltage supply analysis > Page shows the following information: Name Description Possible values...
Page 52
AS-i Gateway with Profinet device interface > 5.4.3 AS-i 1 / AS-i 2: AS-i slaves 41539 The [AS-i Slaves] menu provides access to information and configuration options of the AS-i slaves. The scope of configuration options shown ([Data] and [Setup] tab) varies according to the status of the selected AS-i slaves.
Page 53
AS-i Gateway with Profinet device interface > Digital output 41465 Designation Description Example / Possible values [Outputs] Current values of the digital outputs (binary and hexadecimal representation) Data bit is switched off (0 / OFF) Data bit is switched on (1 / ON) ...
Page 54
AS-i Gateway with Profinet device interface > Change the digital output values manually 41602 WARNING! The manual change of digital output values may cause undesired consequences to the control process. > Risk of personal injury! > Risk of material damage to the machine/plant! The operator is responsible for any consequences caused by the manual change of the digital ouput values! ►...
Page 55
AS-i Gateway with Profinet device interface > Change the analogue output values manually 41598 To change the analogue output values of an AS-i slave manually: Enable manual access to the outputs ► Set [Output access] parameter = Manual (→Set the output access (→...
Page 56
AS-i Gateway with Profinet device interface > Change an AS-i slave address 41534 To change the address of an AS-i slave: Select the menu page > > ► ► Select an AS-i slave (→Slave selector (→ S. 24)). ► Select [Setup] tab. Change the address of the AS-i slave ►...
Page 57
AS-i Gateway with Profinet device interface > Change the Extended ID1 of the AS-i slave 41601 To set the Extended ID1 of an AS-i slave: Select the menu page > > ► ► Select an AS-i slave (→Slave selector (→ S. 24)). ►...
Page 58
AS-i Gateway with Profinet device interface > System 41700 The [System] menu provides access to functions that allow configuration of the system and the device-internal PLC. Navigation path Functions Device-internal PLC →System: Programmable Logic Controller (PLC) (→ S. 59) > System information →Show version information (→...
Page 59
Show target visualisation (→ S. 63) PLC diagnosis Show memory used → (→ S. 64) > > For information about the programming of the device-internal PLC with CODESYS, please refer to the programming manual: → www.ifm.com > product page > [Downloads]...
Page 60
[Version] CODESYS version e.g. 3.5.3.60 [Node name] Name of device in CODESYS project e.g. ifm SmartPLC StandardLine > Display information about PLC projects 41440 To obtain information about the CODESYS project stored on the device-internal PLC: Select the menu page >...
Page 61
AS-i Gateway with Profinet device interface > PLC: Settings 41801 The [Settings] menu item provides access to the PLC applications (apps) on the device. > Control a single PLC application 41576 [App x/y] – x ... number of the app displayed –...
Page 62
AS-i Gateway with Profinet device interface > Control PLC applications 41577 To control all PLC applications stored on the device: Select the menu page > > ► ► Select [All applications] tab. Display status information about the PLC applications > Page shows the following information: Designation Meaning...
Page 63
Using the CODESYS programming system, the user can optionally program a target visualisation to create an application-specific user interface for the display of AC1401/02. The target visualisation is loaded onto the device together with the CODESYS project, but it must be activated manually.
Page 64
AS-i Gateway with Profinet device interface > PLC: Diagnosis 41797 The [Diagnosis] menu item provides access to diagnostic data of the device-internal PLC. > Show memory used 41663 To display information about the memory capacity currently used: Select the menu page ►...
Page 65
Show version information > Page shows the following information: Name Description Possible values [Modell] Article number of the device e.g. AC1401/02 [SN] Serial number of the device e.g. 000000113034 [Build] Version number of the installed firmware e.g. 4.3.x [HW version] Version number of the device main board e.g.
Page 66
AS-i Gateway with Profinet device interface > 5.5.3 System: Setup 41670 The [Setup] menu item provides access to the configuration options of the system. > Set the output access 41645 To set the control instance for the outputs of the AS-i slaves: Select the menu page >...
Page 67
AS-i Gateway with Profinet device interface > Enable/Disable the device-internal PLC 41496 NOTICE! When disabling the device-internal PLC, all running PLC applications will be stopped. This could have undesirable effects on the controlled process if the PLC figures as the control unit for the AS-i slave outputs.
Page 68
AS-i Gateway with Profinet device interface > Adjust device cycle 41546 NOTICE! A device cycle that is too short can have undesirable effects on the correct transmission of the process and control data between the PLC and peripheral devices (higher-level PLC, AS-i slaves).
Page 69
AS-i Gateway with Profinet device interface > Switch the menu language 41701 To select the language of the GUI texts: Select the menu page > ► ► Select [System settings] tab. Select the menu language > The [Language] list shows the active language in which the GUI texts are displayed. ►...
Page 70
AS-i Gateway with Profinet device interface > Set the behaviour of the display 41651 To set the display behaviour (screen saver, behaviour in case of inactivity): Select the menu page > ► ► Select [System settings] tab. Set the behaviour of the display ►...
Page 71
AS-i Gateway with Profinet device interface > Set the system time 41412 The system time consists of date and time. The device provides the following options for setting the system time: The operator sets the date and time manually. Manual: ...
Page 72
AS-i Gateway with Profinet device interface Set the system time manually 41411 To set the system time manually: Select the menu page > ► ► Select [Clock] tab. Deactivate the NTP client of the device ► Uncheck [Activate NTP] (→Set the system time (→...
Page 73
AS-i Gateway with Profinet device interface > Synchronise the system time with an NTP server 41424 To synchronise the system time with an NTP server: To synchronise the system time and date via Network Time Protocol (NTP), connect the configuration interface of the device to an NTP server directly or over a network. Select the menu page >...
Page 74
AS-i Gateway with Profinet device interface > Adopt the system time of the PC 41563 To adopt the date and time of a PC/laptop: (→Remote access This function is only available via the web-interface of the device (→ S. 32)). Requirements: ►...
Page 75
AS-i Gateway with Profinet device interface > Clone device configuration 41593 This function is only available via the local user interface of the device! The device makes it possible to create an image of the current device configuration, to transfer it to another device and activate it there (clone).
Page 76
The SD card has to be formatted with the FAT32 file system. SD cards with other file systems are not recognised by the AC1401/02. To allow identification of the saved configuration the export file is saved using the following name convention: ifm_DevID_xxxxxxxxxxxx_YYYYMMDDhhmmss.iconf...
Page 77
AS-i Gateway with Profinet device interface > Import device configuration 41489 NOTICE! During the import the control functions of the device are not available. During the import the device reboots. > Risk of undesired system behaviour ► Do not import the device configuration during operation of the plant! NOTICE! An interruption of the import can lead to a faulty device configuration.
Page 78
► ► Select the [Diagnostic protocol] tab. Store diagnostic protocol ► Press the [Generate diagnostic protocol] button. > AC1401/02 generates diagnostic protocol. > The progress bar indicates the status of the process. > A dialogue window appears. ► Select file name and memory location and press [OK] to confirm.
Page 79
AS-i Gateway with Profinet device interface > 5.5.4 System: Diagnosis 9053: The [Diagnosis] menu item provides access to the diagnostic data of the device. > Display diagnostic data 41435 To display the diagnostic data of the device: Select menu page >...
Page 80
AS-i Gateway with Profinet device interface > Interfaces 41482 The [Interfaces] menu provides access to the configuration options of the device's interfaces. Navigation path Functions Configuration interface → Configure the IP parameters manually (→ S. 82) > Configure the IP parameters automatically →...
Page 81
AS-i Gateway with Profinet device interface > 5.6.1 Interfaces: Configuration interface 41481 The [Configuration interface] menu provides access to the settings of the Ethernet Configuration interface (port X3). > Notes on IP settings 41751 The device provides the following options for configuration of the Ethernet Configuration interface: ...
Page 82
AS-i Gateway with Profinet device interface > Configure the IP parameters manually 41608 To configure the IP parameters of the configuration interface manually: Select the menu page > ► ► Select [IP setup] tab. Deactivate the NTP client ► Uncheck [Obtain IP address autom.] (→Notes on IP settings (→...
Page 83
AS-i Gateway with Profinet device interface > Show Ethernet information 41660 To show Ethernet information regarding the configuration interface: Select the menu page > ► ► Select [Ethernet information] tab. Show Ethernet information > Page shows the following information: Name Description [MAC ID] MAC identification number of the interface...
Page 84
AS-i Gateway with Profinet device interface > 5.6.2 Interfaces: PROFINET interface 41486 The [PROFINET] menu provides access to information, settings and diagnostic data regarding the PROFINET interface. Navigation path Functions PROFINET information →Display I&M information (→ S. 85) > > →Display PROFINET data (→...
Page 85
AS-i Gateway with Profinet device interface > PROFINET: Information 41553 The menu item [Information] provides access to information regarding the PROFINET interface. > Display I&M information 41441 To display the I&M information (I&M = Identification & Maintenance): Select menu page ►...
Page 86
AS-i Gateway with Profinet device interface > Display PROFINET data 41461 In order to display the PROFINET parameters and the device-specific parameters: Select menu page > > ► ► Select [Profinet data] tab. Display PROFINET data > Page shows the following information: Designation Description Possible values...
Page 87
AS-i Gateway with Profinet device interface Designation Description Possible values Assignment of the slave nibble is swapped →Parameter data Detailed information on the device-specific parameters: (→ S. 132) > Display module configuration 41444 To display the active configuration of the PROFINET-modules: Select menu page >...
Page 88
AS-i Gateway with Profinet device interface > PROFINET: Setup 41552 The [Setup] menu item provides access to the configuration options of the PROFINET interface. > PROFINET interface 42064 We recommend installing the fieldbus on the PROFINET-controller and to adopt the configuration on the device.
Page 89
AS-i Gateway with Profinet device interface > PROFINET: Diagnosis 41554 The menu item [Diagnosis] provides access to the diagnostic data of the PROFINET interface: > Display diagnostic data 41443 In order to PROFINET-display the diagnostic data: Select menu page ► >...
Page 90
41480 This menu is only available via the web interface of AC1401/02. → Remote access (→ S. 32) The [ifm system solutions] menu provides access to information and installation options for ifm system solutions. Navigation path Functions ifm system solutions: Show information about installed ifm apps →...
Page 91
5.7.1 Notes on ifm system solutions 41753 With the AC1401/02, ifm electronic offers different system solutions for the simple implementation of typical applications. System solutions consist of applications which are processed by the device-internal CODESYS PLC. ifm system solutions and user-created Anwendungs must not be stored and run simultaneously on the AC1401/02! ►...
Page 92
Select menu page ► ► Select the [Information] tab. Show information about installed ifm apps > The browser window displays an overview of the installed ifm apps. The following information is displayed for each ifm app: Information Meaning [Name] Designation of the ifm system solution app...
Page 93
41487 Only one single app, basic app or CODESYS PLC application must be stored on the device. When installing a single/basic app, all ifm system solutions and CODESYS PLC applications stored on the device are deleted. To install a single or basic app on the device: Select menu page ►...
Page 94
AS-i Gateway with Profinet device interface > 5.7.4 Install multi app 41488 Maximum 5 multi apps must be stored on the device simultaneously. To install a multi app on the device: Requirements: > The basic app is installed and started (RUN state) (→ Install single/basic app (→...
Page 95
AS-i Gateway with Profinet device interface > 5.7.5 Update ifm apps 41682 The user can update an ifm system solution installed on the device by overwriting it with the new version of the ifm system solution. Naming convention for ifm apps: AppName_x.y.z.ifmapp AppName = name of the ifm app x.y.z =...
Page 96
AS-i Gateway with Profinet device interface Setup Content Connect the device to the periphery .......................96 Start screen 'Basic settings' ........................97 Update the firmware of the device ......................99 Connect and address AS-i slaves ......................103 Set up Profinet ............................103 Setup of the configuration interface ....................104 Exchange AS-i slave ..........................104 41644 This section provides information for setting up the device following mounting, electrical installation...
Page 97
AS-i Gateway with Profinet device interface > Start screen 'Basic settings' 41689 The 'Basic settings' start screen appears after the following actions/events: initial setup firmware update data loss due to battery failure The basic settings provide access to the GUI texts, system time, etc. The same operating notes as for the page view apply for the 'Basic settings' start screen Page view (→...
Page 98
AS-i Gateway with Profinet device interface Set the system time Option 1: Set the system time manually ► [Uhrzeit] and [Datum] indicate the current system time. ► Deactivate the checkbox [NT aktivieren]. > Status LED = ► In the group [Uhrzeit], set the desired clock time one position at a time.
Page 99
AS-i Gateway with Profinet device interface > Update the firmware of the device 41685 NOTICE! Interrupting a firmware update leads to a loss of the current system and fieldbus settings. > Risk of data loss! Export device ► Secure the device settings before carrying out a firmware update! (→ configuration (→...
Page 100
simultaneously and keep them pressed (→ picture). Connect the device to a circuit. ► Keep the keys pressed until the screen [ifm Recovery] appears (approx. 10 s). > Update the firmware ► Use the arrow keys [] / [] to select the menu item [Install from SD] (→...
Page 101
simultaneously and keep them pressed (→ picture). Connect the device to a circuit. ► Keep the keys pressed until the screen [ifm Recovery] appears (approx. 10 s). > Optional: adjust the IP parameters ► Use the arrow keys [] / [] to select the menu item [Network Setup].
Page 102
The display shows the [Network Setup] page with the new IP address. ► Leave the network setup with [Back]. > The display shows the [ifm Recovery] page. > Update the firmware ► Access the web interface of the device. >...
Page 103
AS-i Gateway with Profinet device interface Connect and address AS-i slaves 41575 To integrate AS-i slaves into an AS-i network that is controlled by one of the AS-i masters of the device: Connect and address the AS-i slave ► Connect ONE AS-i slave to be addressed to the requested AS-i network (AS-i 1 or AS-i 2) as described in the corresponding installation instructions.
Page 104
(→ S. 81)). > Exchange AS-i slave 41506 AC1401/02 makes it possible to replace an AS-i slave by a new AS-i slave in the operating mode "protected mode". Requirements: > The new and the old AS-i slave have the same device profile(→...
Page 105
AS-i Gateway with Profinet device interface Troubleshooting Content Status LED ............................105 Start screen: Status LEDs ........................106 Online diagnosis function ........................107 Online Support Center (OSC) ......................108 Display diagnostic protocol ........................110 41667 This chapter offers information regarding fault detection and troubleshooting. > Status LED 41692 The status LEDs of the device provide information about the current state of system components.
Page 106
AS-i Gateway with Profinet device interface > Start screen: Status LEDs 41688 (→Start screen The start screen of the graphic user interface proves the following status information (→ S. 36)): > 7.2.1 Status of the web interface 41707 Status LED Description Web interface offline...
Page 107
The device offers an online diagnosis function. It helps the user to find and eliminate the source of occuring failures and errors. > 7.3.1 Message types 41754 The online diagnostic function of AC1401/02 distinguishes 3 types of messages: Symbol Message type Meaning Error An error occurred;...
Page 108
AS-i Gateway with Profinet device interface > Online Support Center (OSC) 41718 The Online Support Center (OSC) displays detailed information about occuring events, failures and errors. The OSC has the following appearance: List to select a filter and name of the selected filter Message An message consists of error symbol, timestamp and detailed information about the errors...
Page 109
AS-i Gateway with Profinet device interface 7.4.2 OSC: Show message history 41733 The [History] tab lists all messages which occurred during the operating time of the device. The messages are shown in chronological order. The device displays messages regarding events, warnings and errors.
Page 110
AS-i Gateway with Profinet device interface > Display diagnostic protocol 41439 To get an overview of the configuration and the current OSC messages, the operator can store the diagnostic protocol in the system Store diagnostic protocol → (→ S. 78)
Page 112
AS-i Gateway with Profinet device interface > Technical data Content Housing..............................112 Power supply connections ........................112 Operation ..............................112 Display elements ..........................112 Interfaces ..............................113 Programmable Logic Controller (PLC) ....................113 34188 > 8.2.1 Housing 41477 Housing Degrees of protection IP20 Material Aluminium, steel sheet, Makrolon Dimensions (W x H x D) [mm] 93 x 128,2 x 106,2 >...
Page 114
AS-i Gateway with Profinet device interface > Address assignment in Ethernet networks 39571 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.
Page 115
AS-i Gateway with Profinet device interface > Configuration interface: connection concepts Content Direct link ..............................115 Connection via Ethernet network ......................116 41594 To be able to access the web interface and the programming interface of the device-internal PLC, the configuration interface (X3) must be connected to a computer. The device supports the following connection types: ...
Page 116
AS-i Gateway with Profinet device interface > 8.4.2 Connection via Ethernet network 41573 To establish a connection via a Ethernet network, the device has to be connected with a coupling element (e.g. Ethernet switch / WiFi router). Use one of the following options: >...
Page 117
AS-i Gateway with Profinet device interface > AS-i master Content Operating modes of the AS-i master ....................118 Master flags ............................120 41540 Master = Handles the complete organisation on the bus. The master decides on the bus access time and polls the →slaves cyclically.
Page 118
AS-i Gateway with Profinet device interface > 8.5.1 Operating modes of the AS-i master Content Protected mode ............................118 Projection mode ............................118 Switch operating modes ........................119 41721 The AS-i master can be operated in one of the following operating modes: > Protected mode 41761 In the operating mode "Protected mode"...
Page 119
AS-i Gateway with Profinet device interface > Switch operating modes 41702 The operator / programmer can switch the operating modes of the AS-i master as follows: Set the operating mode of the AS-i master per GUI / web interface (→ (→...
Page 120
AS-i Gateway with Profinet device interface > 8.5.2 Master flags 41738 The master flags contain information about the status of the AS-i master and the fieldbus host. The master flags are transmitted along with the input data of the digital AS-i slaves in the acyclic data set DS2 (→...
Page 121
AS-i Gateway with Profinet device interface > AS-i slaves Content Profiles of AS-i slaves ...........................122 41533 Slave = Passive participant on the bus, only replies on request of the →master. Slaves have a clearly defined and unique →address in the bus.
Page 122
AS-i Gateway with Profinet device interface > 8.6.1 Profiles of AS-i slaves Content Configuration data (CDI) of the slaves (slave profiles) .................123 Slave profiles for slaves with combined transaction ................129 Combined transaction – Use of analogue channels in the gateway depending on the slave profile ...129 41771...
Page 123
AS-i Gateway with Profinet device interface > Configuration data (CDI) of the slaves (slave profiles) Content Structure of the slave profile .........................123 Description of the IO code for digital slaves ..................124 Description of the ID code (selection) ....................124 Description of the extended ID code 1 ....................125 Description of the extended ID code 2 ....................125 Valid combinations IO code / ID code / extended ID code 2 ..............126 41591...
Page 124
AS-i Gateway with Profinet device interface > Description of the IO code for digital slaves 41588 Structure slave profile = S-[IO-Code].x.x Function of the periphery bit IO code IO code (bits 3…0) [hex] 0000 input input input input 0001 output input input input...
Page 125
AS-i Gateway with Profinet device interface > Description of the extended ID code 1 41585 Can be changed by the user, however not a part of the slave profile. Default value: 0xF for single slaves 0x7 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.
Page 126
AS-i Gateway with Profinet device interface > Valid combinations IO code / ID code / extended ID code 2 41677 Structure slave profile = S-[IO code].[ID code].[ext. ID code2] Ext. IO code ID code ID code 2 Meaning [hex] [hex] [hex] 0…E binary I/O connections for sensors and actuators...
Page 127
AS-i Gateway with Profinet device interface Ext. IO code ID code ID code 2 Meaning [hex] [hex] [hex] slave operates in the "extended addressing mode" (B slave or A/B slave) combined slave; supports combined transaction type 2 slave operates in the "extended addressing mode" (B slave or A/B slave) 4 binary inputs + 4 binary outputs slave operates in the "extended addressing mode"...
Page 128
AS-i Gateway with Profinet device interface 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. The more data is transmitted, the longer it takes until all data of a slave has been transmitted.
Page 129
AS-i Gateway with Profinet device interface > Slave profiles for slaves with combined transaction 41654 Structure slave profile = S-[IO-Code].[ID-Code].[ext.ID-Code2] Slave Master Assignment analogue channels in the Bits Additional Combined D0…D3 profile profile device acyclic string transaction data transaction Number of Use analogue / digital channels 2/3/4 x 4 binary inputs...
Page 131
AS-i Gateway with Profinet device interface > Fieldbus Profinet 41512 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.
Page 132
AS-i Gateway with Profinet device interface > 8.7.2 Parameter data 41785 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.
Page 133
AS-i Gateway with Profinet device interface Parameter Description Value range AS-i param. download Transmission of the slave Disable* = The following slave parameter data are parameters when downloading NOT downloaded to the device. The a configuration from the parameters set in the device apply. PROFINET projection software.
Page 134
AS-i Gateway with Profinet device interface > Parameters: Flexible mode 41807 Parameter Description Values Failsafe state Behaviour of the slave outputs if Clear All AS-i outputs are switched off in case an interrupted fieldbus outputs* = of an interrupted PROFINET connection is detected connection (value = 0).
Page 135
To represent the Profinet gateway in a fieldbus projection software (e.g. Siemens Step7) a GSDML file is provided. The GSDML file for the AS-i PROFINET gateway AC1401/02 is stored in the device and can be Download GSDML file loaded to the configuration PC via the web interface (→...
Page 136
Slot 4 – Digital inputs/outputs of B slaves, AS-i master 2 Digital input/output data AS-i Master 2 for B slaves (→ S. 139) Slot 7 - Inputs from AC1401/02 PLC → Data from the device-internal PLC to the higher-level (→ S. 151) fieldbus PLC →...
Page 137
Parameter can be configured via device parameters (→ data (→ S. 132)) → Slot 7 - Inputs from AC1401/02 PLC Data from the device-internal PLC to the higher-level (→ S. 151) fieldbus controller Slot 8 - Outputs to AC1401/02 PLC →...
Page 138
AS-i Gateway with Profinet device interface > Slot 1 – Digital inputs/outputs of single/A slaves, AS-i master 1 41656 Slot Description Value range Length [bytes] S/A slaves 01…07AS-i 1 = S/A slaves 1 to 7 of AS-i Master 1 Digital inputs/outputs of single or A slaves, connected to AS-i S/A slaves 01…15AS-i 1 = S/A slaves 1 to 15 of AS-i Master 1 master 1...
Page 139
AS-i Gateway with Profinet device interface > Slot 3 – Digital inputs/outputs of B slaves, AS-i master 1 41619 Slot Description Value range Length [bytes] B-slaves 01…07AS-i 1 = B slaves 1 to 7 of AS-i Master 1 Digital inputs/outputs of B slaves, connected to AS-i master 1 B-slaves 01…15AS-i 1 = B slaves 1 to 15 of AS-i Master 1 B-slaves 01…23AS-i 1 = B slaves 1 to 23 of AS-i Master 1...
Page 140
AS-i Gateway with Profinet device interface > Mapping of the digital input/output data 41746 The following table shows in which area of a byte the input/output data of each slave are transmitted. Byte Bits 4...7 Bits 0...3 Content S/A slaves 01...07 S/A slaves 01...15 S/A slaves 01...23 all S/A slaves...
Page 141
AS-i Gateway with Profinet device interface > Table: Master flags 41666 Bits 4...7 of the first byte of the digital input data contain the master flags. They provide information on the operating state of the AS-i master. Bit 7 Bit 6 Bit 5 Bit 4 Configuration error in the AS-i...
Page 142
AS-i Gateway with Profinet device interface > Slot 5 – Analogue input data 41634 Slot Length Description Value range [Words] Analogue inputs of up to 31 single or No analogue IN = module is disabled A slaves, connected to AS-i master 004 words = 4 words analogue inputs 1 or 2 (master 2 only available for devices with 2 AS-i masters)
Page 143
AS-i Gateway with Profinet device interface > Slot 6 – Analogue output data 41630 Length Slot Description Value range [Words] Analogue inputs of up to 31 single or No analogue outputs = module is disabled A slaves, connected to AS-i master 004 words = 4 words analogue outputs 1 or 2 (master 2 only available for devices with 2 AS-i masters)
Page 144
AS-i Gateway with Profinet device interface > Configuration of the analogue channels in the slots 5 ... 6 41605 The configuration of the device parameters [analogue channels per input slave] und [analogue channels per output slave] determines which analogue channels of the AS-i slaves are transferred. The following table shows the relevance of the parameter values that can be set: Parameter value Description...
Page 145
AS-i Gateway with Profinet device interface > Table: Fixed slave assignment for slots 5...6 41413 The following table shows all possible combinations of data for the parameters: Analogue channels per input slave = 1 Analogue channels per input slave = 2 ...
Page 149
AS-i Gateway with Profinet device interface > Table: Variable slave assignment for slots 5...6 41182 The following table shows the structure of the data image to set the parameter: Analogue channels per input slave = 4 Analogue channels per output slave = 4 Word Content of the transferred word for parameter setting =4 channels Offset-Nr.
Page 150
AS-i Gateway with Profinet device interface > Slot 1ss/2ss – flex modules for analogue slaves 41617 In the PROFINET-projection software, every single analogue input/output slave can be shown as separate slot. Here, the following areas apply: Slot 101...131 for analogue slaves at AS-i Master 1 ...
Page 151
Empty module = module is deactivated PLC to the PROFINET PLC 004 words = 4 words AC1401/02 PLC >> fieldbus PLC 008 words = 8 words AC1401/02 PLC >> fieldbus PLC 012 words = 12 words AC1401/02 PLC >> fieldbus PLC 016 words = 16 words AC1401/02 PLC >>...
Page 152
Empty module = module is deactivated to the device-internal PLC 004 words = 4 words fieldbus PLC >> AC1401/02 PLC 008 words = 8 words fieldbus PLC >> AC1401/02 PLC 012 words = 12 words fieldbus PLC >> AC1401/02 PLC 016 words = 16 words fieldbus PLC >>...
Page 153
AS-i Gateway with Profinet device interface > 8.7.4 Acyclic data Content Overview: Acyclic process data ......................153 Overview: acyclic data sets (DSx) ......................155 Overview: System commands ......................156 Overview: AS-i master commands .......................157 Step7 programmer's notes: call acyclic services ..................158 41545 > Overview: Acyclic process data 41790 The indices on slot 0, subslot 1, are used as follows:...
Page 154
AS-i Gateway with Profinet device interface Index From Contents Access Number [dec] byte no. byte no. r = read of words [dec] [dec] w = write M2 digital slave outputs 1(A)…31(A) and 1B…31B (1 byte per slave) M2 analogue slave outputs 1(A)…15(B) M2 analogue slave outputs 16(A)…31(B) M2 status flags analogue outputs 1(A)…31(A) and 1B…31B M2 LAS, LDS, LPF, LCE...
Page 155
– – DS20 n.a. Detailed information about the acyclic data sets and the command interface is given in the supplement to the device manual of the AS-i Gateway mit Profinet-Device-Schnittstelle Overview: User documentation for AC1401/02 (→ (→ S. 7)).
Page 156
Read text of an OSC entry 0110 Display target visualisation Detailed information about the acyclic data sets and the command interface is given in the supplement to the device manual of the AS-i Gateway mit Profinet-Device-Schnittstelle Overview: User documentation for AC1401/02 (→ (→ S. 7)).
Page 157
AS-i Gateway with Profinet device interface > Overview: AS-i master commands 41795 Comm. no. Comm. no. Description Note [hex] [dec] 0001 Write parameters to a connected AS-i slave 0003 Adopt and save currently connected AS-i slaves in the configuration ConfDataInput Slave →...
Page 158
> Step7 programmer's notes: call acyclic services 41711 In the projection software, standard function blocks are used for the acyclic data exchange between a PROFINET IO controller and the AC1401/02. Siemens S7 controllers provide two standard function blocks: RDREC...
Page 159
AS-i Gateway with Profinet device interface > 8.7.5 I&M data Content I&M data addressing ..........................159 I&M0 data .............................159 41469 Data structures (= data records) have been defined for identification and maintenance (I&M) in this fieldbus. I&M0 is absolutely necessary for the certification. >...
Page 160
AS-i configuration error Peripheral fault on an AS-i slave Slot: 0 (corresponds to the host; in the ifm classic mapping model, this is the AC1401/02) sub-slot: 1 (others are not supported from some PROFINET-controllers. Channel: 0x08000 (fixed, others are not supported) ...
Page 161
AS-i Gateway with Profinet device interface > Device diagnosis alarms 41579 Slot / sub-slot / Alarm type ID Description Alarm parameter channel 0x0100 internal device system error 0 / 1 / 0x8000 cause of error cause of error alarm parameter 0x0101 excess temperature: temperature inside the device 0 / 1 / 0x8000...
AS-i Gateway with Profinet device interface > Diagnosis data of the alarms Content Alarm 0x0100 – internal device system error ..................162 Alarm 0x0101 – excess temperature ....................162 Alarm 0x0104 – Manual output control was activated ................162 Alarm 0x0200 – internal system error in the AS-i master ..............163 Alarm 0x0202 –...
AS-i Gateway with Profinet device interface > Alarm 0x0200 – internal system error in the AS-i master 41565 Offset Word no. reserved cause of error Legend: master no. 1 bit 0 = AS-i master 1 1 = AS-i master 2 Please ask your AS-i specialist for more details.
Page 170
AS-i Gateway with Profinet device interface > Step7 programmer's notes 41706 Diagnostics alarm procedure: 1. As soon as a device has detected a diagnostics alarm, the alarm is automatically forwarded to the fieldbus controller. 2. When a diagnostics alarm arrives in the fieldbus controller, an interrupt of the cyclic program (OB1) processing is automatically generated.
Page 171
Message Type Corrective measures ► An internal device error was detected Error Note the message and contact the ifm service center <Fehlernummer> ► Permitted temperature limit value inside the Warning Check thermal conditions of the system environment device was exceeded (<xxx.x> °C)
Page 172
► System errors: AS-i master <1,2> Error Reboot the device If the error occurs again: ► Note the message and contact the ifm service center! ► Earth fault: AS-i <1,2> Error Check for earth fault of AC1401/02 ► Incorrect profile: AS-i <1,2>, slave <1(A)..31(A),...
Page 173
AS-i Gateway with Profinet device interface Confirmation message ................29 Index Connect and address AS-i slaves ............103 Connect the device to the periphery ............96 Connection via Ethernet network ............116 Control a single PLC application ............61 Acyclic data ..................153 Control instance of the AS-i outputs ............
Page 174
AS-i master commands ................157 I&M data addressing ................159 System commands ..................156 I&M0 data..................... 159 User documentation for AC1401/02 ............... 7 ifm system solutions ................90 Overview of free slave addresses ............27 Import device configuration ..............77 Overview of slave states ................
Page 175
Slot 4 – Digital inputs/outputs of B slaves, AS-i master 2 ....139 Slot 5 – Analogue input data ............... 142 Slot 6 – Analogue output data ............. 143 Slot 7 - Inputs from AC1401/02 PLC ........... 151 Slot 8 - Outputs to AC1401/02 PLC ............ 152 Start screen ................... 36 Status LEDs....................