Type label ........................... 16 3.2.6 Required accessories ......................... 16 Hardware ..........................17 3.3.1 Safety architecture ........................18 3.3.2 Operating states of AC412S ....................... 22 3.3.3 Monitoring and securing mechanisms ..................23 3.3.4 Error detection and processing ....................23 Software ..........................26 3.4.1 Software modules of the device ....................
Page 3
7.7.5 Safety: System ......................... 131 ifm system solutions ......................132 7.8.1 Notes on ifm system solutions ....................132 7.8.2 Show information about installed ifm apps ................134 7.8.3 Install single/basic app ......................135 7.8.4 Install multi app ........................136 7.8.5 Update ifm apps ........................137 7.8.6...
Page 4
SmartPLC SafeLine with PROFIBUS slave interface Notes on the firmware update ..................142 Connect and address AS-i slaves ..................142 Set the Profibus interface ....................143 Setup of the configuration interface .................143 Replace standard AS-i slave ....................144 8.10 Replace safe AS-i slave ....................144 Troubleshooting Status LED ........................145 9.1.1...
Page 5
SmartPLC SafeLine with PROFIBUS slave interface...
SmartPLC SafeLine with PROFIBUS slave 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 ►...
SmartPLC SafeLine with PROFIBUS slave interface Overview: User documentation for AC4S 42309 ifm electronic provides the following user documentation for the models of the device class "Fail-safe SmartPLC AC4S": Content / Description Document Technical data of AC412S as a table Data sheet ...
SmartPLC SafeLine with PROFIBUS slave interface Safety instructions Content General safety instructions ........................9 Required background knowledge ......................9 Tampering with the unit ......................... 9 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.
SmartPLC SafeLine with PROFIBUS slave interface System description Content Intended use ............................11 Information concerning the device ...................... 12 Hardware ............................. 17 Software .............................. 26 42275 This chapter describes the structure and the components of the system.
36928 > 3.1.1 Permitted use 42316 AC412S can assume the following functions: AS-i master in 2 separate AS-i networks Fail-safe programmable logic controller (PLC) and standard PLC for acquiring, processing and providing safe and non-safe data of the connected AS-i slaves and the channels of the local I/O interface ...
SmartPLC SafeLine with PROFIBUS slave interface 3.2.2 Operating elements 36790 The device provides the following operating elements. > Arrow and function keys 36959 Below the display is the key panel with two function keys and four arrow keys. The operator controls the Graphical User Interface (GUI) of the device with the keys.
(→ S. 14) > Voltage source / voltage ground 42272 +24V and GND are used as voltage supply for the safety IO PCB of the safety module of AC412S. Notes on the electrical connection: → Electrical connection (→ S. 29) >...
Page 15
SmartPLC SafeLine with PROFIBUS slave interface Local outputs 42291 The local I/O interface provides 4 output channels for the connection of devices (e.g. actuators, relays). Each output channel can be used as safe or standard output. Configuration is effected via the programming system CODESYS.
SmartPLC SafeLine with PROFIBUS slave interface 3.2.5 Type label 42274 The type label is on the right housing side of the device. It provides the following information: QR code for product website CE/cULus marking Protection class AS-i certification TÜV certification Hardware version Operating voltage for –...
> System architecture 42268 The hardware structure of the safety module of AC412S corresponds to the implementation to DIN EN ISO 13849-1:2008, IEC 62061:2010 and IEC61508:2010 with a two-channel architecture with hardware fault tolerance (HFT = 1). The device achieves the following characteristic safety values: ...
Page 19
Safety module Safety module (→ (→ S. 20)) > Display 42230 The display is the graphic user interface of AC412S via which the user can configure and diagnose the device. The display exchanges the resulting data with the main module.
Page 20
> AS-i module 42242 The AS-i module provides the AS-i functionality of AC412S such as receiving, evaluating and transmitting AS-i telegrams without any logical preprocessing. It contains 2 AS-i masters controlling 2 separate AS-i circuits. The following number of AS-i slaves can be connected to each AS-i master: ...
Page 21
SmartPLC SafeLine with PROFIBUS slave interface Process safety time 42313 The process safety time depends on the source and the objective of the request, the signal processing and the transmission length. ► When setting up the safety function, also take into account the process safety time of the application! ►...
SmartPLC SafeLine with PROFIBUS slave interface 3.3.2 Operating states of AC412S 42321 AC412S has the following operating states: INIT NORMAL OPERATION SYSTEM STOP Below the state chart: INIT After the start the device automatically goes into the INIT state ( ).
> System start / power on reset 42276 When the voltage supply has been applied, the safety module of AC412S automatically undergoes a power-on built-in test (PBIT). The PBIT consists of the following routines: Test and installation of the safety-relevant hardware modules ...
Page 24
All safe output slaves stop sending code sequences Restart disable of the fail-safe PLC > Error message 42224 AC412S signals occurring errors via the following mechanisms: (→Status LED status LED (→ S. 145)) (→Online Support Centre (OSC) online support Centre (→...
Page 25
SmartPLC SafeLine with PROFIBUS slave interface Safe state 42258 The safety module of AC412S is always in the safe state. Exceptions are the following operating states of the fail-safe PLC: debug operation download operation safe operation If a fatal, serious or exception error occurs during these operating states, the safety module of AC412S goes into the safe state.
Safe data transfer between min. 2 AC412S Safe data transfer from and to EtherCAT slaves (FSoE) AC412S provides the programmer with a safe environment which is suited for the execution of a safe application to SIL3. The user is responsible for programming the safe application.
3.4.3 Certified software components for safe applications 42207 To program safe applications for AC412S ifm electronic provides certified software components for the programming environment CODESYS safety 3.5. In addition, the user can use the function libraries supplied with CODESYS safety.
SmartPLC SafeLine with PROFIBUS slave interface Mounting Content Install device ............................28 34058 > Install device 42302 The device must only be installed, connected and put into operation by a qualified electrician as the safe function of the device and machinery is only guaranteed when installation is correctly carried out. The installation and connection must comply with the applicable national and international standards.
► Observe the national and international regulations for the installation of electrical equipment. ► Connect the device as indicated on the terminals. ► Ensure an electrical connection between the AC412S (X1, terminal FE) and the ground of the installation. Wiring...
► For the 24 V power supply (device, Safe-IO), select a power supply which supplies an output current of at least 3 A. ► The cable length of the DC supply between power supply and AC412S is to be limited to max. 3 The power supplies used must meet the standard DIN EN 60950-1 for SELV/PELV.
62061, observe the max. obtainable SIL / cat. /PL values when devices are installed on the local I/O interface. > 5.3.1 Supported connection types 42285 The local I/O interface of AC412S supports the connection of safe and non-safe devices. The following connection methods are possible: Description Connection method Input, 1 channel, non-safe corresponds to a standard input ...
The local I/O interface (X4) supports the connection of the following safe device types. The signals of the clock outputs of safe sensors are not evaluated by AC412S. ► Note possible effects of the obtainable SIL/PL of the entire system.
Page 33
The indicated safety classifications can only be obtained with protected wiring between switch and AC412S. ► Observe current standards of the country in which the AC412S automation system is to be operated. Switch must meet the conditions of the standard IEC 60947-5-1 (Appendix K).
Page 34
PL). ► If several MS-2 are connected, the test signals must be different. ► Observe current standards of the country in which the AC412S automation system is to be operated. ► Test the safety function within the two-error occurrence time.
Page 35
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 36
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 37
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 38
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 39
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 40
► Select the input circuits according to the max. safety classification (SIL / cat. / PL). When the indicated ifm articles are used, the maximum safety classification according to the SIL/Cat./PL values listed in the table can be achieved. Note the current standards.
Page 41
► Test relay for correct operation once a year. The indicated safety classifications can only be obtained with protected wiring between switch and AC412S. ► Observe current standards of the country in which the AC412S automation system is to be operated. ► Carry out suitable start-up tests.
Page 42
► Select the input and output circuits according to the max. safety classification (SIL / cat. / PL). ► Observe current standards of the country in which the AC412S automation system is to be operated. ► Carry out suitable start-up tests.
IN4 and IN5 ifm electronic does not assume any guarantee for obtaining the required SIL / cat. / PL if other than the above-mentioned input combinations is used. ► Connect the sensor switching signals to the pins IN1...IN8 of terminal X4.
SmartPLC SafeLine with PROFIBUS slave interface Operation Content Control of the graphical user interface ....................44 Menu view ............................46 Page view ............................49 Remote access ............................ 62 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.
SmartPLC SafeLine with PROFIBUS slave interface 6.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.
SmartPLC SafeLine with PROFIBUS slave 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 ...
SmartPLC SafeLine with PROFIBUS slave interface 6.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 48
SmartPLC SafeLine with PROFIBUS slave 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. >...
SmartPLC SafeLine with PROFIBUS slave 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 ...
SmartPLC SafeLine with PROFIBUS slave interface 6.3.3 Description of the control elements Content Tab menu/Tab ............................. 51 Button ..............................52 Checkbox ............................. 52 List ............................... 53 Slave selector ............................54 Confirmation message ........................59 Numerical field ............................. 60 Binary field ............................61 41586 A page consists of different control elements.
Page 51
SmartPLC SafeLine with PROFIBUS slave 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 52
SmartPLC SafeLine with PROFIBUS slave 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 53
SmartPLC SafeLine with PROFIBUS slave 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 54
SmartPLC SafeLine with PROFIBUS slave interface Slave selector Content Overview of slave states ........................55 Overview of free slave addresses ....................... 57 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 55
SmartPLC SafeLine with PROFIBUS slave 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 56
SmartPLC SafeLine with PROFIBUS slave interface Slave status: colour code + symbols 41652 A/B slave Colour Single slave 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 57
SmartPLC SafeLine with PROFIBUS slave 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 58
SmartPLC SafeLine with PROFIBUS slave interface Free slave addresses: colour code + symbols 41493 A/B slave Colour Single slave 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 59
SmartPLC SafeLine with PROFIBUS slave 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. Example: >...
Page 60
SmartPLC SafeLine with PROFIBUS slave 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: Example Meaning Control element Entry of an IP address (IPv4) in [w.x.y.z] format IP address ...
Page 61
SmartPLC SafeLine with PROFIBUS slave 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. >...
SmartPLC SafeLine with PROFIBUS slave interface Remote access Content General ..............................62 Recommended browsers ........................62 Operating instructions ......................... 63 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.
SmartPLC SafeLine with PROFIBUS slave interface 6.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 64
the PC/laptop is restarted AC412S is restarted To prevent unauthorised access to the device settings: ► Manually log off before you leave the web interface! (→ Disconnect from web interface (→ S. 65)) ►...
Page 65
SmartPLC SafeLine with PROFIBUS slave 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] >...
(→ S. 140)). The start screen displays the status information of important system components. The start screen is also the starting point for access to the menu functions of the AC412S. AS-i Master 1 operation mode →Operating mode of the AS-i master (→...
SmartPLC SafeLine with PROFIBUS slave interface Menu functions 42289 The main navigation bar of the AC412S provides access to the following menus: Description Icon Access to the most important device functions →System (→ S. 88) Configuration and diagnostics of the AS-i 1 network (AS-i master, AS-i slaves) →AS-i 1/ AS-i 2...
SmartPLC SafeLine with PROFIBUS slave interface Quick setup 42196 The [Quick setup] menu provides fast access to the most important device functions. Functions Navigation path Quick setup: Project AS-i networks → (→ S. 69) Quick setup: Configure the operating mode of the AS-i masters →...
SmartPLC SafeLine with PROFIBUS slave interface 7.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).
SmartPLC SafeLine with PROFIBUS slave interface 7.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. 160) To configure the operating modes of the AS-i masters: Select the menu page ►...
SmartPLC SafeLine with PROFIBUS slave interface 7.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 ►...
SmartPLC SafeLine with PROFIBUS slave interface 7.3.5 Quick setup: Configure the PROFIBUS interface 41432 To configure the PROFIBUS interface: Select the menu page ► ► Select [Profibus] tab. Set the Profibus address ► In group [Profibus address], set the following parameters as required: Description Possible values Parameter...
SmartPLC SafeLine with PROFIBUS slave interface 7.3.6 Quick setup: Set the Konfigurationsschnittstelle 41781 The device provides the following options for configuration of the Ethernet Konfigurationsschnittstelle: The operator sets the interface parameters (IP address, network mask, Manual = gateway address) manually. ...
Page 74
SmartPLC SafeLine with PROFIBUS slave interface > 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. The automatic configuration of the interface takes approx.
SmartPLC SafeLine with PROFIBUS slave interface 7.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 >...
SmartPLC SafeLine with PROFIBUS slave interface 7.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 77
SmartPLC SafeLine with PROFIBUS slave interface AS-i 1 / AS-i 2 42244 The [AS-i 1] and [AS-i 2] menus provide access to configuration and diagnosis functions of the AS-i network components. Content Navigation path AS-i master settings → Set the operating mode of the AS-i master (→...
SmartPLC SafeLine with PROFIBUS slave interface 7.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 79
SmartPLC SafeLine with PROFIBUS slave 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: ►...
SmartPLC SafeLine with PROFIBUS slave interface 7.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 81
SmartPLC SafeLine with PROFIBUS slave 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: Description Possible values Name...
SmartPLC SafeLine with PROFIBUS slave interface 7.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 83
SmartPLC SafeLine with PROFIBUS slave interface Description Example / Possible values Designation Current values of the digital outputs [Outputs] (binary and hexadecimal representation) Data bit is switched off (0 / OFF) Data bit is switched on (1 / ON) Jog mode disabled ("switch mode") ...
Page 84
SmartPLC SafeLine with PROFIBUS slave 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 85
SmartPLC SafeLine with PROFIBUS slave interface Show AS-i slave information 41643 To display information about an AS-i slave: Select the menu page ► > > ► Select an AS-i slave (→Slave selector (→ S. 54)). ► Select [Information] tab. Display information about the AS-i slave >...
Page 86
SmartPLC SafeLine with PROFIBUS slave 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. 54)). ► Select [Setup] tab. Change the address of the AS-i slave ►...
Page 87
SmartPLC SafeLine with PROFIBUS slave 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. 54)). ►...
SmartPLC SafeLine with PROFIBUS slave interface System 42192 The [System] menu provides access to functions that allow configuration of the system and the device- internal Standard-SPS. Funktionen Navigationspfad Device-internal Standard-SPS →System: Programmable Logic Controller (PLC) (→ S. 89) > System information →Show version information (→...
Show target visualisation → (→ S. 93) Standard-SPS diagnosis Show memory used → (→ S. 94) > > For information about the programming of the device-internal Standard-SPS with CODESYS, please refer to the programming manual: → www.ifm.com > product page > [Downloads]...
Page 90
The CODESYS Standard-SPS is enabled. CODESYS version e.g. 3.5.3.60 [Version] Name of device in CODESYS project e.g. ifm SmartPLC SafeLine [Node name] > Display information about Standard-SPS projects 41440 To obtain information about the CODESYS project stored on the device-internal Standard-SPS: Select the menu page ►...
Page 91
SmartPLC SafeLine with PROFIBUS slave interface PLC: Settings 41801 The [Settings] menu item provides access to the Standard-SPS applications (apps) on the device. > Control a single Standard-SPS application 41576 [App x/y] – x ... number of the app displayed –...
Page 92
SmartPLC SafeLine with PROFIBUS slave interface Control Standard-SPS applications 41577 To control all Standard-SPS applications stored on the device: Select the menu page ► > > ► Select [All applications] tab. Display status information about the Standard-SPS applications > Page shows the following information: Meaning Designation Number of applications stored on the device...
Page 93
Using the CODESYS programming system, the user can optionally program a target visualisation to create an application-specific user interface for the display of AC412S. The target visualisation is loaded onto the device together with the CODESYS project, but it must be activated manually.
Page 94
SmartPLC SafeLine with PROFIBUS slave interface PLC: Diagnosis 41797 The [Diagnosis] menu item provides access to diagnostic data of the device-internal Standard-SPS. > Show memory used 41663 To display information about the memory capacity currently used: Select the menu page >...
► Select [Version] tab. Show version information > Page shows the following information: Description Possible values Name Article number of the device e.g. AC412S [Modell] Serial number of the device e.g. 000000113034 [SN] Version number of the installed firmware e.g. 4.3.2 [Build] e.g.
Save the changes ► Press [Accept selection] button to save the changes. > The selected instance controls the outputs of the AS-i slaves. The outputs of the safe AS-i slaves are always controlled by the failsafe PLC of the AC412S!
Page 97
SmartPLC SafeLine with PROFIBUS slave 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 98
SmartPLC SafeLine with PROFIBUS slave 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 99
SmartPLC SafeLine with PROFIBUS slave 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 100
SmartPLC SafeLine with PROFIBUS slave 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 101
SmartPLC SafeLine with PROFIBUS slave 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 102
SmartPLC SafeLine with PROFIBUS slave 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. 62)). Requirements: ►...
Page 103
SmartPLC SafeLine with PROFIBUS slave interface Clone device configuration 42209 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 104
The SD card has to be formatted with the FAT32 file system. SD cards with other file systems are not recognised by the AC412S. To allow identification of the saved configuration the export file is saved using the following name convention: ifm_DevID_xxxxxxxxxxxx_YYYYMMDDhhmmss.iconf...
Page 105
SmartPLC SafeLine with PROFIBUS slave interface Import device configuration 42301 NOTICE! The import of a wrong or faulty boot project can lead to a non-safe state of the plant. > Risk of undesired system behaviour ► Check all safety functions of the installation after the import of the device configuration. 42301 NOTICE! During the import the control functions of the device are not available.
Page 106
Set compatibility mode 41426 To ensure downward compatibility with devices of the ControllerE product family, AC412S can be operated in different compatibility modes. The set compatibility mode decides which PROFIBUS modules, device-specific parameters and diagnostic data are used by AC412S.
Page 107
► ► Select the [Diagnostic protocol] tab. Store diagnostic protocol ► Press the [Generate diagnostic protocol] button. > AC412S 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.
SmartPLC SafeLine with PROFIBUS slave interface 7.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 ► >...
SmartPLC SafeLine with PROFIBUS slave interface Interfaces 41482 The [Interfaces] menu provides access to the configuration options of the device's interfaces. Functions Navigation path Configuration interface Configure the IP parameters manually → (→ S. 111) → Configure the IP parameters automatically >...
SmartPLC SafeLine with PROFIBUS slave interface 7.6.1 Interfaces: Konfigurationsschnittstelle 41481 The [Konfigurationsschnittstelle] menu provides access to the settings of the Ethernet Konfigurationsschnittstelle (port X3). > Notes on IP settings 41751 The device provides the following options for configuration of the Ethernet Konfigurationsschnittstelle: ...
Page 111
SmartPLC SafeLine with PROFIBUS slave 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 112
SmartPLC SafeLine with PROFIBUS slave interface Configure the IP parameters automatically 41604 The device must be connected to a DHCP server to automatically receive the interface parameters via DHCP. ► Connect the configuration interface (X3) to a DHCP server. To configure the IP parameters of the configuration interface automatically: Select the menu page >...
Page 113
SmartPLC SafeLine with PROFIBUS slave 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: Description Name MAC identification number of the interface [MAC ID]...
SmartPLC SafeLine with PROFIBUS slave interface 7.6.2 Interfaces: PROFIBUS interface 41486 The [PROFIBUS] menu provides access to information, settings and diagnostic data regarding the PROFIBUS interface. Functions Navigation path PROFIBUS information →Display I&M information (→ S. 115) →Display PROFIBUS data >...
Page 115
SmartPLC SafeLine with PROFIBUS slave interface PROFIBUS: Information 41553 The menu item [Information] provides access to information regarding the PROFIBUS interface. > Display I&M information 41430 To display the I&M information (I&M = Identification & Maintenance): Select the menu page >...
Page 116
SmartPLC SafeLine with PROFIBUS slave interface Display PROFIBUS data 41416 To display the PROFIBUS data: Select the menu page ► > > ► Select [Profibus data] tab. Display PROFIBUS data > Page shows the following information: Description Possible values Designation Displays the Profibus address 3 ...
Page 117
SmartPLC SafeLine with PROFIBUS slave interface Select the menu page > > ► ► Select [Module configuration] tab. Display the module configuration > The page shows the active module configuration of the PROFIBUS slots. (→PROFIBUS modules: compatibility mode AC14 (→ S. 178)) The fieldbus slots can only be configured in the PROFIBUS projection software.
Page 118
SmartPLC SafeLine with PROFIBUS slave interface PROFIBUS: Setup 41552 The [Setup] menu item provides access to the configuration options of the PROFIBUS interface. > Configure the PROFIBUS interface 41422 We recommend setting up the fieldbus on the PROFIBUS controller and adopting the configuration on the device.
Page 119
SmartPLC SafeLine with PROFIBUS slave interface PROFIBUS: Diagnosis 41554 The menu item [Diagnosis] provides access to the diagnostic data of the PROFIBUS interface: > Display diagnostic data 41418 To display the diagnostic PROFIBUS data: Select the menu page > > ►...
> The elements of the menu [Safety] are exclusively used for diagnostic purposes. Programming and controlling of the safety-relevant functions of AC412S must only be made via the CODESYS development system (→ programming manual) Observe the notes on the meaning of deviating menu symbols of the [Safety] menu.
SmartPLC SafeLine with PROFIBUS slave interface 7.7.1 Safety: Status of the fail-safe slaves at AS-i Master 1 42248 The [Status of the fail-safe AS-i slaves] menu page provides access to diagnostic data and switching states of the safe AS-i input slaves on AS-i Master 1. >...
Page 122
SmartPLC SafeLine with PROFIBUS slave interface Configuration status: Colour codes + symbols 42208 Colour Symbol Description yellow No safe configuration available green safe configuration available > Diagnostic data: Colour codes + symbols 42229 Colour Symbol Description white No safe AS-i input slave present grey Safe AS-i input slaves present but not part of the safe configuration green...
Page 123
SmartPLC SafeLine with PROFIBUS slave interface Display switching states of the safe AS-i input slaves 42228 The menu page shows switching states of the safe AS-i slaves on the selected AS-i master. Select menu page ► > ► Select [Switching states] tab. Select safe AS-i slave.
Page 124
SmartPLC SafeLine with PROFIBUS slave interface Switching states: Colour codes + symbols 42271 Colour Symbol Description white No safe AS-i input slave of the safe configuration grey – Switch open – code sequence already taught – Switch open – code sequence not yet taught green –...
SmartPLC SafeLine with PROFIBUS slave interface 7.7.2 Safety: Status of the fail-safe slaves at AS-i Master 2 42255 The [Status of the fail-safe AS-i slaves] menu page provides access to diagnostic data and switching states of the safe AS-i input slaves on AS-i Master 2. The menu functions correspond to the functions of the [AS-i 1 master settings] menu.
SmartPLC SafeLine with PROFIBUS slave interface 7.7.3 Safety: Local IOs 42247 The [local IOs]menu page provides access to information about the switching states of the local inputs and outputs. > Display the switching states of the local inputs 42232 To display the switching states of the local inputs: Select menu page >...
Page 127
SmartPLC SafeLine with PROFIBUS slave interface Switching states of the inputs: Colour codes + symbols 42284 Colour Symbol Description grey Local input is switched off green Local input is switched on > Switching states of the logical devices: Colour codes + symbols 42283 Colour Symbol...
Page 128
SmartPLC SafeLine with PROFIBUS slave interface Display the switching states of the local outputs 42233 To display the switching states of the local outputs: Select menu page ► > ► Select [Local outputs] tab. Display the switching states of the local outputs >...
Page 129
SmartPLC SafeLine with PROFIBUS slave interface Switching states of the local outputs: Colour codes + symbols 42282 Colour Symbol Description grey Local output is switched off green Local output is switched on > Switching states of the logical devices: Colour codes + symbols 42270 Colour Symbol...
The menu page shows information about 32 FSoE connections. > Display the status of the fail-safe cross networking 42234 To display the status of the fail-safe cross networking to the other AC412S: Select menu page ► > ► Select tab [FSoE-Slaves].
SmartPLC SafeLine with PROFIBUS slave interface 7.7.5 Safety: System 42256 The [System] menu page provides access to status information of the fail-safe PLC of AC412S. > Display status information of the fail-safe PLC 42227 To display status information of the fail-safe PLC: Select menu page ►...
41480 This menu is only available via the web interface of AC412S. → Remote access (→ S. 62) The [ifm system solutions] menu provides access to information and installation options for ifm system solutions. Functions Navigation path ifm system solutions: →...
Page 133
The multi apps use the services of the basic app in order to be able to access the inputs and outputs of AC412S at the same time. They operate as a pure communication layer between the I/O mechanisms of the CODESYS Standard- SPS and the connected multi apps.
► ► 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: Meaning Information Designation of the ifm system solution app...
► Activate the [Start installation] button. > CODESYS Standard-SPS is stopped. > All ifm system solutions and CODESYS Standard-SPS applications on the device are deleted. > The selected single/basic app is installed. > The progress bar indicates the status of the installation process.
SmartPLC SafeLine with PROFIBUS slave interface 7.8.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 (→...
SmartPLC SafeLine with PROFIBUS slave interface 7.8.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...
AS-i network components. Observe the notes on mounting and electrical connection of the device! → Operating instructions (supplied with the device) > Install device 42300 ► Install AC412S correctly (→Install device (→ S. 28)). > Connect the device to the periphery 41574 >...
Install devices on the local I/O interface 42298 If non-safe and safe peripherals without AS-i interface are part of the system configuration, they have to be linked via the local I/O interface (X4) of AC412S. →Connect devices to local I/O interface Installation instructions for the local I/O interface: (→...
SmartPLC SafeLine with PROFIBUS slave 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 141
SmartPLC SafeLine with PROFIBUS slave 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.
SmartPLC SafeLine with PROFIBUS slave interface Notes on the firmware update 42293 An update of the firmware of AC412S must only be made by an authorised employee of ifm electronic gmbh. ► Contact your AS-i specialist for more information. After a firmware update, the user must re-evaluate the existing, safety-relevant application and ensure that the defined safety function continues to be met correctly.
SmartPLC SafeLine with PROFIBUS slave interface Set the Profibus interface 41431 Detailed information on how to configure the PROFIBUS network: → operating instructions of the PROFIBUS master To integrate the device into a PROFIBUS network: Set the interface parameters > >...
SmartPLC SafeLine with PROFIBUS slave interface Replace standard AS-i slave 42261 AC412S makes it possible to replace a standard AS-i slave by a new AS-i slave in the operating mode "protected mode". Requirements: > New and old AS-i slave have the same device profile (→...
SmartPLC SafeLine with PROFIBUS slave interface Troubleshooting Content Status LED ............................145 Start screen: Status LEDs ......................... 146 Online diagnosis function ........................147 Online Support Centre (OSC) ......................148 Availability of the fail-safe PLC ......................151 Display diagnostic protocol ........................ 151 41667 This chapter offers information regarding fault detection and troubleshooting.
SmartPLC SafeLine with PROFIBUS slave interface Start screen: Status LEDs 41688 (→Start screen The start screen of the graphic user interface proves the following status information (→ S. 66)): > 9.2.1 Status of the web interface 41707 Description Status LED offline Web interface status...
The device offers an online diagnosis function. It helps the user to find and eliminate the source of occuring failures and errors. > 9.3.1 Message types 41754 The online diagnostic function of AC412S distinguishes 3 types of messages: Meaning Symbol Message type Error An error occurred;...
[History]: →OSC: Show message history (→ S. 150) The following rules for the display of messages apply: system components of AC412S (hardware, firmware): All message types are displayed. Logical devices (safe AS-i slaves and safe local devices): ...
Under [Current] only messages will be displayed, that are created in the non-safe part of the AC412S. Messages created in the safe part of the AC412S are only displayed in the (→OSC: Show message history message history (→...
SmartPLC SafeLine with PROFIBUS slave interface 9.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.
The operator can access all other menus and their sub-menus and functions. The fail-safe PLC of AC412S is not available due to a fatal error. The operator can access the sub-menus and functions of the [Safety] menu.
SmartPLC SafeLine with PROFIBUS slave interface 10.1.4 Electrical data 42219 Electrical data 18...32 DC (AUX) Operating voltage [V] < 750 (24 V) / < 10 from AS-i 1 / < 10 V from AS-i 2 Current consumption from 24 V DC and AS-i [mA] Electrical separation >...
Fail-safe PLC CODESYS Control Safety Runtime System (certified) Type CODESYS Development System V3.5 SP9 Patch 7 Hotfix 3 with Programming system installed ifm AS-i package 1.5.2.10 Programming languages 384 KBytes / 128 KBytes Available memory for safe application / data...
SmartPLC SafeLine with PROFIBUS slave interface 10.2 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.
SmartPLC SafeLine with PROFIBUS slave interface 10.3 Configuration interface: connection concepts Content Direct link ............................158 Connection via Ethernet network ...................... 158 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.
SmartPLC SafeLine with PROFIBUS slave interface 10.4 AS-i master Content Operating modes of the AS-i master ....................160 Master flags ............................162 41540 Master = Handles the complete organisation on the bus. The master decides on the bus access time and polls the →slaves cyclically.
SmartPLC SafeLine with PROFIBUS slave interface 10.4.1 Operating modes of the AS-i master Content Protected mode ..........................160 Projection mode ..........................160 Switch operating modes ........................161 41721 The AS-i master can be operated in one of the following operating modes: >...
Page 161
SmartPLC SafeLine with PROFIBUS slave 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 (→ (→...
SmartPLC SafeLine with PROFIBUS slave interface 10.4.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 (→...
SmartPLC SafeLine with PROFIBUS slave interface 10.5 AS-i slaves Content Profiles of AS-i slaves ........................164 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.
SmartPLC SafeLine with PROFIBUS slave interface 10.5.1 Profiles of AS-i slaves Content Configuration data (CDI) of the slaves (slave profiles) ..............165 Slave profiles for slaves with combined transaction ................171 Combined transaction – Use of analogue channels in the gateway depending on the slave profile 172 41771...
Page 165
SmartPLC SafeLine with PROFIBUS slave interface Configuration data (CDI) of the slaves (slave profiles) Content Structure of the slave profile ......................165 Description of the IO code for digital slaves ..................166 Description of the ID code (selection) ....................166 Description of the extended ID code 1 ....................
Page 166
SmartPLC SafeLine with PROFIBUS slave 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 (bits IO code 3…0) [hex] 0000 input input input input 0001 output input input input 0010...
Page 167
SmartPLC SafeLine with PROFIBUS slave 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 168
SmartPLC SafeLine with PROFIBUS slave interface Valid combinations IO code / ID code / extended ID code 2 41677 Structure slave profile = S-[IO code].[ID code].[ext. ID code2] Ext. ID code IO code ID code 2 Meaning [hex] [hex] [hex] 0…E binary I/O connections for sensors and actuators not: 9, B, D...
Page 169
SmartPLC SafeLine with PROFIBUS slave interface Ext. ID code IO 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 170
SmartPLC SafeLine with PROFIBUS slave 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 171
SmartPLC SafeLine with PROFIBUS slave interface Slave profiles for slaves with combined transaction 41654 Structure slave profile = S-[IO-Code].[ID-Code].[ext.ID-Code2] Master Assignment analogue channels in the Bits Additional Combined Slave D0…D3 profile device acyclic string transaction profile data Number of Use analogue / digital transaction channels 2/3/4 x 4 binary inputs...
Page 172
SmartPLC SafeLine with PROFIBUS slave interface Combined transaction – Use of analogue channels in the gateway depending on the slave profile 41592 Analogue output channels Analogue input channels Slave Slave Number Transaction profile type channels Trans. Trans. – – – –...
SmartPLC SafeLine with PROFIBUS slave interface 10.6 Fieldbus Profibus 41507 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.
Parameter data: compatibility mode AC1305/06/26 (→ S. 176) To access the device-specific parameters: ► Launch PROFIBUS projection software. ► Double-click on the AC412S device symbol ► Click on the [Parameter] tab. > Parameter data: compatibility mode AC14 41788 Value range...
Page 175
SmartPLC SafeLine with PROFIBUS slave interface Value range Description Parameter Enable* = The PROFIBUS alarm data is written to the AS-i system. Slave assignment in the bytes yes* = Slave n+1 / slave n Swap IO mapping slot 1...4 of the digital data no = Slave n / slave n+1 Transmission of the slave...
Page 176
SmartPLC SafeLine with PROFIBUS slave interface Parameter data: compatibility mode AC1305/06/26 41789 Value range Description Parameter Assignment of the AS-i slave Slave 1 AS-i master 1* 1. analog input slave … address to a position in the … analogue input data image. Slave 15 AS-i master 1* 15.
Page 177
SmartPLC SafeLine with PROFIBUS slave interface GSD file 41474 A GSD file is provided for mapping of AC412S in a fieldbus projection software (e.g. Siemens Step7). In the GSD file, all parameters, process data, and their valid value ranges are defined. ...
So-called slots contain each the process data of several AS-i slaves. Number and content of the fieldbus modules used by the AC412S depend on the active compatibility Set compatibility mode mode (→...
Page 179
SmartPLC SafeLine with PROFIBUS slave interface Slot 1 – Digital inputs/outputs of single/A slaves, AS-i master 1 41656 Description Value range Length Slot [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 S/A slaves 01…15AS-i 1 = S/A slaves 1 to 15 of AS-i Master 1 A slaves, connected to AS-i master 1...
Page 180
SmartPLC SafeLine with PROFIBUS slave interface Slot 3 – Digital inputs/outputs of B slaves, AS-i master 1 41619 Description Value range Length Slot [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 181
SmartPLC SafeLine with PROFIBUS slave 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. Bits 4...7 Bits 0...3 Content Byte S/A slaves 01...07 S/A slaves 01...15 S/A slaves 01...23 all S/A slaves...
Page 182
SmartPLC SafeLine with PROFIBUS slave 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 4 Bit 6 Bit 5 Bit 7 Configuration error in the AS-i...
Page 183
SmartPLC SafeLine with PROFIBUS slave interface Slot 5 – Analogue inputs on AS-i master 1 41639 Length Slot Description Value range [words] Analogue inputs of up to 31 single or No analogue IN = module is deactivated A slaves, connected to AS-i master 1 004 words = 4 words analogue inputs 1 / 2 / 4 words per AS-i slave 008 words = 8 words analogue inputs...
Page 184
SmartPLC SafeLine with PROFIBUS slave interface Slot 6 – Analogue inputs on AS-i master 2 41637 Length Slot Description Value range [words] Analogue inputs of up to 31 single or No analogue IN A slaves, connected to AS-i master 2 004 words = 4 words analogue inputs (only available for devices with 2 AS-i 008 words = 8 words analogue inputs...
Page 185
SmartPLC SafeLine with PROFIBUS slave interface Slot 7 – Analogue outputs on AS-i master 1 41628 Length Description Value range Slot [words] Analogue outputs of up to 31 single No analogue outputs = module is deactivated or A slaves, connected to AS-i 004 words = 4 words analogue outputs master 1 008 words = 8 words analogue outputs...
Page 186
SmartPLC SafeLine with PROFIBUS slave interface Slot 8 – Analogue outputs on AS-i master 2 41631 Length Slot Description Value range [words] Analogue outputs of up to 31 single No analogue outputs = module is deactivated or A slaves, connected to AS-i 004 words = 4 words analogue outputs master 2 008 words = 8 words analogue outputs...
Page 187
SmartPLC SafeLine with PROFIBUS slave interface Configuration of the analogue channels in slots 5 ... 8 41614 Depending on the setting of the device-specific parameters [Analogue channels per input slave] and [Analogue channels per output slave], the following analogue channels are transmitted per AS-i slave: Description Parameter value 4 channels...
Page 188
SmartPLC SafeLine with PROFIBUS slave interface Table: Fixed slave assignment for slots 5...8 41674 Setting in the PROFIBUS device parameters for the following slave addresses Word 1 channel per A/B slave 2 channels 1 channel slave 1A / channel 1 slave 1(A) / channel 1 slave 1(A) / channel 1 slave 1 / channel 1...
Page 189
SmartPLC SafeLine with PROFIBUS slave interface Setting in the PROFIBUS device parameters for the following slave addresses Word 1 channel per A/B slave 2 channels 1 channel slave 24B / channel 1 slave 24(A) / channel 2 slave 24 / channel 3 slave 25A / channel 1 slave 25(A) / channel 1 slave 25 / channel 1...
Page 190
SmartPLC SafeLine with PROFIBUS slave interface Table: Variable slave assignment for slots 5 ... 8 41669 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 Content of the transferred word for parameter setting =4 channels Word Offset-Nr.
Page 191
Data from the device- Empty module = module is deactivated internal Standard-SPS to 004 words = 4 words AC412S Standard-SPS >> fieldbus PLC the PROFIBUS PLC 008 words = 8 words AC412S Standard-SPS >> fieldbus PLC 012 words = 12 words AC412S Standard-SPS >> fieldbus PLC 016 words = 16 words AC412S Standard-SPS >>...
Page 192
Data from the device- Empty module = module is deactivated internal Standard-SPS to 004 words = 4 words AC412S Standard-SPS >> fieldbus PLC the PROFIBUS PLC 008 words = 8 words AC412S Standard-SPS >> fieldbus PLC 012 words = 12 words AC412S Standard-SPS >> fieldbus PLC 016 words = 16 words AC412S Standard-SPS >>...
Page 193
Data from the PROFIBUS Empty module = module is deactivated PLC to the device-internal 004 words = 4 words fieldbus PLC >> AC412S Standard-SPS Standard-SPS 008 words = 8 words fieldbus PLC >> AC412S Standard-SPS 012 words = 12 words fieldbus PLC >> AC412S Standard-SPS 016 words = 16 words fieldbus PLC >>...
Page 194
Data from the PROFIBUS Empty module = module is deactivated PLC to the device-internal 004 words = 4 words fieldbus PLC >> AC412S Standard-SPS Standard-SPS 008 words = 8 words fieldbus PLC >> AC412S Standard-SPS 012 words = 12 words fieldbus PLC >> AC412S Standard-SPS 016 words = 16 words fieldbus PLC >>...
Page 195
Analogue outputs of up to 15 AS-i slaves on AS-i (→ S. 201) Master 1/2 → Note Command channel (host) The slots 5, 6, 7 and12 are not evaluated by AC412S. Data to the higher-level PROFIBUS PLC are set to "0". Data directed to AC412S are rejected.
Page 196
SmartPLC SafeLine with PROFIBUS slave interface Slots 1...4 – Digital inputs/outputs on AS-i Master 1/2 41697 The modules available and the mapping of the digital input data/output data to the slots 1 to 4 are equal to the modules and the mapping in compatibility mode "AC14". Detailed information Slot Description...
Page 197
SmartPLC SafeLine with PROFIBUS slave interface Mapping of the digital input/output data 41747 The following table shows in which area of a byte the input/output data of each slave are transmitted. Bits 4...7 Bits 0...3 Content Byte S/A slaves 01...07 S/A slaves 01...15 S/A slaves 01...23 all S/A slaves...
Page 198
SmartPLC SafeLine with PROFIBUS slave interface Table: Master flags 41664 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 4 Bit 6 Bit 5 Bit 7 CODESYS-Standard-SPS...
Page 199
PROFIBUS PLC 001 word = 1 word from AC14 Standard-SPS to fieldbus PLC 002 words = 2 words AC412S Standard-SPS >> fieldbus PLC 004 words = 4 words AC412S Standard-SPS >> fieldbus PLC 008 words = 8 words AC412S Standard-SPS >> fieldbus PLC 016 words = 16 words AC412S Standard-SPS >>...
Page 200
SmartPLC SafeLine with PROFIBUS slave interface Slot 10 – Analogue inputs on AS-i Master 1/2 41624 Length Slot Description Value range [words] Analogue inputs of up to 15 AS-i No analogue IN = Module is disabled slaves, connected to AS-i Master 1 004 words = 4 words analogue inputs und AS-i Master 2 008 words = 8 words analogue inputs...
Page 201
SmartPLC SafeLine with PROFIBUS slave interface Slot 11 – Analogue outputs on AS-i Master 1/2 41622 Length Slot Description Value range [words] Analogue outputs of up to 15 AS-i No analogue outputs = Module is disabled slaves, connected to AS-i Master 004 words = 4 words analogue outputs 1and AS-i Master 2 008 words = 8 words analogue outputs...
SmartPLC SafeLine with PROFIBUS slave interface 10.6.4 Acyclic data 41544 Overview: Acyclic process data Acyclic data are transmitted via slot 0, subslot 1 (→ (→ S. 202)). The indices use the data structures of the following components: Acyclic data set (DS): →...
Page 203
SmartPLC SafeLine with PROFIBUS slave interface From Contents Access Number Index byte no. byte no. r = read of words [dec] [dec] [dec] w = write M2 LPS DS10 M2 current configuration data (CDI) DS11 M2 projected configuration data (PCD) DS12 M2 input parameter image (1 byte per slave) DS13...
Page 204
SmartPLC SafeLine with PROFIBUS slave interface Overview: acyclic data sets (DSx) 41791 Words Data Content Access record r = read w = write System information Digital inputs of slaves 1(A)…31(A) and 1B…31B and master flags (Status AS-i master and exec.-ctl. flags and host flags) Analogue inputs of slaves 1(A)…15(B) Analogue inputs of slaves 16(A)…31(B) Digitale outputs of slaves 1(A)…31(A) and 1B...31B...
Page 205
SmartPLC SafeLine with PROFIBUS slave interface Overview: System commands 41794 Comm. no. Comm. no. Description [dec] [hex] 0101 Quick setup AS-i Master 1/2 0103 Change the user language 0104 Change the display settings 0105 Set output control 0106 Set the Standard-SPS operating mode 0109 Set the date / time 010A...
Page 206
SmartPLC SafeLine with PROFIBUS slave interface Overview: AS-i master commands 41795 Comm. no. Comm. no. Description Note [dec] [hex] 0001 Write parameters to a connected AS-i slave ConfDataInput Slave 0003 Adopt and save currently connected AS-i slaves in the configuration →...
Page 207
SmartPLC SafeLine with PROFIBUS slave interface Comm. no. Comm. no. Description Note [dec] [hex] CTT2 slave profile *) 004C CTT2 device group selective write from buffer: device group read / write call of an AS-i slave with CTT2 profile 0050 set AS-i master settings 0051 Reset the error counters...
Page 208
SmartPLC SafeLine with PROFIBUS slave interface Step7 programmer's notes: call acyclic services 41711 In the projection software, standard function blocks are used for the acyclic data exchange between a PROFIBUS IO controller and the AC412S. Siemens S7 controllers provide two standard function blocks: RDREC...
SmartPLC SafeLine with PROFIBUS slave interface 10.6.5 I&M data Content I&M data addressing.......................... 209 I&M0 data ............................210 41470 Data structures (= data records) have been defined for identification and maintenance (I&M) in this fieldbus. I&M0 is absolutely necessary for the certification. I&M data is only supported by the following compatibility mode: AC14 >...
Page 210
SmartPLC SafeLine with PROFIBUS slave interface On index 255 another address window opens, the so-called FI index zone. In this zone the I&M data are between the FI indexes FDE8 and FDEA (= 65 000...65 002 ). This area is called IM_index. Graphic: Identification and Maintenance Functions, from: PNO, Profile Guidelines Part 1 >...
Page 211
SmartPLC SafeLine with PROFIBUS slave interface 0x0001...0xFFFF Revision counter of the device. If changes are made to REVISION_COUNTER 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.
Content DP/V0 diagnosis ..........................212 DP/V1 alarms ............................ 215 Step7 programmer's notes ........................ 220 41518 Depending on the compatibility mode currently active the AC412S supports the following diagnosis / alarm options. > DP/V0 diagnosis 41505 DP/V0 diagnosis is only supported by the following compatibility modes: AC1305/06/26 For information regarding the compatibility mode of the AC412S: →...
Page 213
SmartPLC SafeLine with PROFIBUS slave interface Diagnostic structure 41462 In the compatibility mode AC1305/06/26, the AC412S has the following diagnostic structure: Content Meaning Byte Station status 1 Standard diagnostics (→ Note) Station status 2 Station status 3 Station number DP master...
Page 214
Bit 7 Cerr Offl ProjM WdRS232 CTRL Legend: CTRL .. Standard-SPS of AC412S is in the RUN mode Cerr ... AS-i configuration error Offl ... AS-i master offline (no AS-i slave detected) PF ... AS-i peripheral fault APF ... AS-i voltage error Sl0 ...
Page 215
SmartPLC SafeLine with PROFIBUS slave interface DP/V1 alarms 41504 DP/V1 alarms are only supported by the following compatibility mode: AC14 For information regarding the compatibility mode of the AC412S: → Set compatibility mode (→ S. 106) > Alarm types 41529 Profibus DP/V1 knows 6 alarm types: ...
Page 216
SmartPLC SafeLine with PROFIBUS slave interface Header of the diagnosis alarm block 41478 Contents No. of Element Description [bin] bits Block length Number of bytes of the diagnosis alarm block including the header (= alarm data + 4 bytes) 000 0001 Alarm type Alarm type = diagnosis alarm 0000 0000...
Page 217
SmartPLC SafeLine with PROFIBUS slave interface Alarm data in the diagnosis alarm block 41530 > Device diagnosis (alarm data byte 5) 41580 Byte no. Legend: Alarm Description manual mode for output access is active manual mode active internal device system error internal system error temperature inside the device has exceeded the permissible max.
Page 219
SmartPLC SafeLine with PROFIBUS slave interface List of faulty slaves (alarm data bytes 26...41) 41615 List of the slaves or slave addresses causing an error: - config. error (too many slaves), - config. error (wrong profile), - periphery fault, - double addressing fault Byte no.
Page 220
SmartPLC SafeLine with PROFIBUS slave interface Safety messages (alarm data bytes 42...60) 41647 Byte no. reserved 42...60 > 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.
OSC messages: AS-i 1 / AS-i 2 ......................222 OSC messages: Safety module ......................223 OSC messages: Safety PLCopen function blocks ................238 41730 This section contains information about the messages for events, warnings and faults of the AC412S. > 10.7.1 OSC messages: System...
Message Error ► System errors: AS-i master <1,2> Reboot the device If the error occurs again: ► Note the message and contact the ifm service center! Error ► Earth fault: AS-i <1,2> Check for earth fault of AC412S Error ►...
Corrective measures Message Error ► An internal fault in the safety board was detected Note the message and contact the ifm service centre. <Fehlernummer1>, <Fehlernummer2> Error ► Wrong code sequence on the safe slave AS-i Replace slave with slave with unambiguous code <1,2>, Slave <1,...,31>...
Page 224
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Warning ► CODESYS: invalid FB parameter "ASi_Master": Check setting of the parameter "ASi_Master" currDev=%s; currDiagState=%s; prevDiagState=%s; addr1=%s; addr2=%s Warning ► CODESYS: multiple use of an AS-i address: Check addressing of the AS-i slaves currDev=%s;...
Page 225
-5°C: tmn=%s; ln=%s; p1=%s; p2=%s Error ► Error in the file system (0x4045): Please contact Note the message and contact the ifm service centre. the ifm service centre: tmn=%s; ln=%s; p1=%s; p2=%s Error ► Error in the file system (0x4043): Please contact Note the message and contact the ifm service centre.
Page 226
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Note ► System information: Note the message and contact the ifm service centre. BIT_ASI_ENOUGH_SLAVES_INFO_2; tmn=%s; ln=%s; p1=%s; p2=%s Warning ► System warning: Note the message and contact the ifm service centre.
Page 227
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Error ► System error: Note the message and contact the ifm service centre. BIT_BSP_EXC_PREFETCH_ERR_1; tmn=%s; ln=%s; p1=%s; p2=%s Error ► System error: Note the message and contact the ifm service centre.
Page 228
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Warning ► System warning: Note the message and contact the ifm service centre. BIT_CHFILE_FILE_LOC_WARN_1; tmn=%s; ln=%s; p1=%s; p2=%s Warning ► System warning: Note the message and contact the ifm service centre.
Page 229
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Error ► System error: BIT_CS_CLK_MONITOR_ERR_2; Note the message and contact the ifm service centre. tmn=%s; ln=%s; p1=%s; p2=%s Error ► System error: Note the message and contact the ifm service centre. BIT_CS_CYCLE_TIMEOUT_ERR_0; tmn=%s;...
Page 230
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Error ► System error: Note the message and contact the ifm service centre. BIT_HBIT_OUTPUT_TST_ERR_2; tmn=%s; ln=%s; p1=%s; p2=%s Error ► System error: Note the message and contact the ifm service centre.
Page 231
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Error ► System error: BIT_LIO_SSP_R_BUSY_ERR_0; Note the message and contact the ifm service centre. tmn=%s; ln=%s; p1=%s; p2=%s Warning ► System warning: Note the message and contact the ifm service centre. BIT_LIO_SSP_RNOT_EMPTY_WARN_1;...
Page 232
Type Corrective measures Message Error ► System error: BIT_OS_INIT_ERR_0; tmn=%s; Note the message and contact the ifm service centre. ln=%s; p1=%s; p2=%s Error ► System error: BIT_OS_IOC_CL_ERR_0; Note the message and contact the ifm service centre. tmn=%s; ln=%s; p1=%s; p2=%s Error ►...
Page 233
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Error ► System error: Note the message and contact the ifm service centre. BIT_OS_TASK_SUSPEND_ERR_1; tmn=%s; ln=%s; p1=%s; p2=%s Error ► System error: Note the message and contact the ifm service centre.
Page 234
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Warning ► System warning: Note the message and contact the ifm service centre. BIT_SB_NOBUF_AVAIL_WARN_1; tmn=%s; ln=%s; p1=%s; p2=%s Warning ► System warning: Note the message and contact the ifm service centre.
Page 235
SmartPLC SafeLine with PROFIBUS slave interface Type Corrective measures Message Warning ► System warning: Note the message and contact the ifm service centre. BIT_TL_RD_NOT_ACCEPT_WARN_1; tmn=%s; ln=%s; p1=%s; p2=%s Warning ► System warning: Note the message and contact the ifm service centre.
Page 236
SmartPLC SafeLine with PROFIBUS slave interface OSC messages: Logical devices (safety) 42327 Type Corrective measures Message Error Logical device of the safe AS-i slave in locked error state ERROR (%s): DC=%s, DC-1=%s, AS-i %s, slave %s Error Logical device of the safe local input/output in locked error ERROR (%s): DC=%s, DC-1=%s, terminals %s state and %s...
Page 237
SmartPLC SafeLine with PROFIBUS slave interface OSC messages: Local inputs/outputs (safety) 42326 Type Corrective measures Message Error ► Test signal for cross-fault monitoring cannot be Check settings of the parameter of the logical detected: currDev=%s; currDiagState=%s; "SF_local_testpulse" prevDiagState=%s; addr1=%s; addr2=%s Error ►...
SmartPLC SafeLine with PROFIBUS slave interface 10.7.4 OSC messages: Safety PLCopen function blocks 42323 Diagnostic codes of the safety PLCopen function blocks are transferred to the OSC by means of the FB Ctrl_SetDiagInfo. The resulting OSC messages have the following structure: Message #LogID: [currDevice] [hwid] [currDiagState] [prevDiagState] [Addr1] [Addr2] Description...
SmartPLC SafeLine with PROFIBUS slave interface Control a single Standard-SPS application ........... 91 Index Control instance of the AS-i outputs ............ 146 Control of the graphical user interface ..........44 Control Standard-SPS applications ............92 Cyclic data ................... 178 Acyclic data ..................202 Additional functions................
Page 240
+ symbols .................. 58 Navigation aids ..................47 Function keys ..................45 Normal operation ................... 23 Notes on ifm system solutions ............. 132 Notes on IP settings................110 General ....................62 Notes on the firmware update ............. 142 General safety instructions ..............
Page 241
Purpose of the document ................ 6 Slot 10 – Analogue inputs on AS-i Master 1/2 ........200 Slot 10 – Inputs from AC412S Standard-SPS ........192 Slot 11 – Analogue outputs on AS-i Master 1/2 ........201 Quick setup .................... 68 Slot 11 –...
Page 242
Tampering with the unit ................9 Technical data ..................153 Troubleshooting ................... 145 Type label ....................16 Types of ifm system solutions ............. 133 Uninstall ifm apps ................137 Update ifm apps ................... 137 Use navigation aids ................49 Valid combinations IO code / ID code / extended ID code 2....168 Voltage source / voltage ground ............
Need help?
Do you have a question about the AC412S and is the answer not in the manual?
Questions and answers