IFM Ecomat 300 AC1307 Basic Device Manual
IFM Ecomat 300 AC1307 Basic Device Manual

IFM Ecomat 300 AC1307 Basic Device Manual

As-i controller e
Table of Contents

Advertisement

Quick Links

Basic device manual
AS-i controller e
AC1307 / AC1317
AC1345 / AC1346
AC1353 / AC1354
Firmware version RTS 2.x
Target from V.15
for CoDeSys® from version 2.3
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ecomat 300 AC1307 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IFM Ecomat 300 AC1307

  • Page 1 Basic device manual AS-i controller e AC1307 / AC1317 AC1345 / AC1346 AC1353 / AC1354 Firmware version RTS 2.x Target from V.15 for CoDeSys® from version 2.3...
  • Page 2 As on: 14 Dec 2007 © All rights reserved by ifm electronic gmbh. No part of this manual may be reproduced and used without the con- sent of ifm electronic gmbh.
  • Page 3: Table Of Contents

    Contents About this manual ........................1-1 What do the symbols and formats stand for?..............1-1 What devices are described in this manual?..............1-2 How is this manual structured? ..................1-2 Overview: where is what?....................1-3 Safety instructions ........................2-1 General ..........................2-1 What previous knowledge is required? ................
  • Page 4 Wiring and set-up of the slaves ..................7-4 Connecting the slaves ....................7-4 Power the controller e on again..................7-4 Operating and display elements....................8-1 Diagnostic LEDs ......................... 8-1 Display ..........................8-3 What is what in the text/graphics display? ..............8-3 Text/graphics display: switch language.................
  • Page 5 11.4 Password protection ....................... 11-22 General........................11-22 Password levels......................11-22 Password setting ....................... 11-23 11.5 Factory default........................ 11-25 11.6 Firmware update......................11-27 11.7 Sets of characters......................11-27 12 Programming ..........................12-1 12.1 Deviations from the indications in the programming manual ........... 12-1 12.2 Online changes in the PLC....................
  • Page 6 13.12 Number of disturbed messages on the master (of "Noisy Slaves") ....... 13-23 13.13 Reset error counter......................13-25 13.14 Display of the longest cycle time ..................13-27 13.15 Read states of the safety monitor................... 13-29 13.16 Read states of safety slaves................... 13-33 13.17 Set AS-i address(es) of the safety monitor(s) ..............
  • Page 7: About This Manual

    0BAbout this manual 19BWhat do the symbols and formats stand for? About this manual In this chapter we will give you an overview of the following points: • What do the symbols and formats stand for? • What devices are described in this manual? •...
  • Page 8 Designations of keys or signal lamps such as [OK] or [PWR/COM] are written in bold and in brackets. What devices are described in this manual? This manual presents the AS-i controller e family from ifm electronic gmbh • with AS-i version 2.1 masters •...
  • Page 9: Overview: Where Is What

    Nobody is perfect. If you suggest improvements of the manual, you will receive a little gift from us to thank you. © All rights reserved by ifm electronic gmbh. No part of this manual may be re- produced and used without the consent of ifm electronic gmbh.
  • Page 11: Safety Instructions

    Danger Material damage or bodily injury when the notes in this manual are not adhered to! ifm electronic assumes no liability for this. ► The acting person must have read and understood the safety instructions and the corresponding chapters of this manual before performing any work on or with this unit.
  • Page 12: Warning Notes On Mounting

    1BSafety instructions 25BWarning notes on mounting Warning notes on mounting CAUTION Moisture, dust, shocks, overheating Damage or failure of the unit possible! Moisture may destroy the electronics. ► Use the unit in a condensation-free environment. Dust deposits obstruct the necessary circulation of air for heat dissipation. ►...
  • Page 13: Warning Notes On Installation

    All statements in this manual refer to the unit which is not grounded with respect to the SELV voltage. The connection terminals may only be supplied with the signals indicated in the technical data and/or on the unit label and only the approved accessories of ifm electronic may be connected.
  • Page 15: System Requirements

    2BSystem requirements 27BInformation concerning the device System requirements Information concerning the device This manual presents the AS-i controller e family from ifm electronic gmbh • with AS-i version 2.1 masters • with a firmware from version RTS 2.2 • with the target from 15 Information concerning the software ®...
  • Page 17: Functions And Features

    3BFunctions and features 30BIntended use Functions and features CAUTION Overload or wrong use of the unit The unit and / or the associated machine/plant may be damaged or destroyed or may malfunction if the limits of the "Technical data" for this unit are exceeded or if the unit is used outside the specified "Functions and features".
  • Page 19: Function

    4BFunction 32BData management Function Data management The controller e consists of different units: • The central processing unit (CPU) ensures the data transfer between the sub-systems. It manages the remanent flash memory and the volatile RAM memory. • The flash memory is now 1 mbyte large and stores non-volatilely... •...
  • Page 20: As-I Data Introduction

    4BFunction 33BAS-i data introduction • The serial programming interface, (RS-232C with RJ11 socket) enables convenient projection and programming of the AS-i masters and the PLC via a personal computer with a transmission rate of up to 115 kBd. • With the optional Ethernet programming interface, (10/100 MBd, twisted pair), the unit can, in addition to even faster programming and diagnosis, also be networked to other controller e devices.
  • Page 21: Field Definitions For Direct Data Access

    4BFunction 33BAS-i data introduction Field definitions for direct data access Masters flags The master flags for master 1 are at the word addresses %IW31.240/241. The master flags for master 2 are at the word addresses %IW32.240/241. The meaning of the different bits of these words is the same for master 1 and mas- ter 2 and is shown in the following table.
  • Page 22: Data Exchange Between Fieldbus And Plc

    4BFunction 33BAS-i data introduction Data exchange between fieldbus and PLC Fieldbus As an option, we offer fieldbus interfaces for the controller e , e.g. Profibus DP, I/O data DeviceNet, Ethernet, etc. Data exchange via fieldbus is possible between the PLC in the controller e and the fieldbus master (→...
  • Page 23: Current Configuration Data (Cdi)

    4BFunction 33BAS-i data introduction Current configuration data (CDI) for master 1: xx = 31 Word address: for master 2: xx = 32 %IWxx.0 %IWxx.32 %IWxx.1 1(A) %IWxx.33 %IWxx.2 2(A) %IWxx.34 %IWxx.3 3(A) %IWxx.35 %IWxx.4 4(A) %IWxx.36 %IWxx.5 5(A) %IWxx.37 %IWxx.6 6(A) %IWxx.38 %IWxx.7...
  • Page 24: Projected Configuration Data (Cdi)

    4BFunction 33BAS-i data introduction Projected configuration data (CDI) for master 1: xx = 31 Word address: for master 2: xx = 32 %IWxx.96 0(A) %IWxx.128 %IWxx.97 1(A) %IWxx.129 %IWxx.98 2(A) %IWxx.130 %IWxx.99 3(A) %IWxx.131 %IWxx.100 4(A) %IWxx.132 %IWxx.101 5(A) %IWxx.133 %IWxx.102 6(A) %IWxx.134...
  • Page 25: Current Parameter Data

    4BFunction 33BAS-i data introduction Current parameter data for master 1: xx = 31 Word address: for master 2: xx = 32 %IWxx.64 4(A) 3(A) 2(A) 1(A) %IWxx.65 8(A) 7(A) 6(A) 5(A) %IWxx.66 12(A) 11(A) 10(A) 9(A) %IWxx.67 16(A) 15(A) 14(A) 13(A) %IWxx.68 20(A)
  • Page 26: Reflected Parameter Data

    4BFunction 33BAS-i data introduction Reflected parameter data The reflected parameter data of the controller e are always a copy of the current pa- rameter data. for master 1: xx = 31 Word address: for master 2: xx = 32 %IWxx.160 4(A) 3(A) 2(A)
  • Page 27: Slave Lists

    4BFunction 33BAS-i data introduction Slave lists The different slave lists are stored in four words (word no. 0...3). The bit assign- ment of these words (assignment of slave information to the bits) is shown below. 0 *) *) LAS and LPS have no slave 0, so these values are set to 0 by default! Examples: Information about standard slave 16 is stored in word no.
  • Page 28: Slave Error Counter

    4BFunction 33BAS-i data introduction Slave error counter for master 1: xx = 31 Word address: for master 2: xx = 32 %IWxx.176 1(A) %IWxx.207 %IWxx.177 2(A) %IWxx.208 %IWxx.178 3(A) %IWxx.209 %IWxx.179 4(A) %IWxx.210 %IWxx.180 5(A) %IWxx.211 %IWxx.181 6(A) %IWxx.212 %IWxx.182 7(A) %IWxx.213 %IWxx.183...
  • Page 29: Configuration Error Counter

    4BFunction 33BAS-i data introduction Configuration error counter Word address Configuration error counter %IW31.238 Master 1 %IW32.238 Master 2 AS-i cycle counter Word address AS-i error counter %IW31.239 Master 1 %IW32.239 Master 2 5-11...
  • Page 31: Mounting

    The housing shape was selected to match the current 24 V and AS-i power sup- plies from ifm electronic. So, with a height of only 107 mm the controller e can be installed in most control boxes with 120 mm height.
  • Page 33: Electrical Connection

    6BElectrical connection Electrical connection This chapter contains information about the connection of the controller e to the supply and to the AS-i bus. machine ground Figure: non binding suggestion for wiring of the controller e CAUTION Electrical voltage Malfunction of the machine/plant in which the unit is installed! Damage or destruction of the units by a short circuit when working while live.
  • Page 34: Terminals Of The Controller E

    Terminals Function +24V / 0V Supply voltage 24 V DC (20...30 V PELV), e.g. from power supply DN2011 of ifm electronic This supply must not be grounded! Power consumption: up to 500 mA, depending on the data of the unit...
  • Page 35: The As-I Power Supply

    AS-i current supply. In the ifm AS-i power supplies the two terminals AS-i+ and AS-i- are designed re- dundantly, so that they can additionally be connected to the terminals ASI 1+ and ASI 1- of the controller e without additional terminals.
  • Page 36: Wiring And Set-Up Of The Slaves

    6BElectrical connection 36BWiring and set-up of the slaves Wiring and set-up of the slaves In general, the AS-i units are short-circuit protected and reverse-polarity protected, wiring of control cabinet modules should anyhow be carried out while discon- nected. Connecting the slaves ►...
  • Page 37: Operating And Display Elements

    7BOperating and display elements 37BDiagnostic LEDs Operating and display elements In this chapter you will learn more about the elements on the controller e : • how to operate the unit • how to obtain information about the unit and its configuration •...
  • Page 38 7BOperating and display elements 37BDiagnostic LEDs AS-i supply ASI1 [PWR/COM] AS-i supply given; no slave No supply for given; at least 1 AS-i bus 1: green correctly de- AS-i bus 1 slave detected Power tected on the on the bus Communication Projection mode active;...
  • Page 39: Display

    Above the keys, the display dynamically displays the corresponding functions. After power-on of the controller e the unit either displays a start screen with the ifm logo or – if available – a list of the errors in the connected AS-i systems. In any case, the system menu can be accessed by pressing the left [MENU] button.
  • Page 40 7BOperating and display elements 38BDisplay In case of a configuration error or failure the start screen of the text/graphics dis- Error screen play will provide information as shown in the following screen: E25 ASi1 Display of a fault when the start screen was active Config.
  • Page 41: Text/Graphics Display: Switch Language

    7BOperating and display elements 38BDisplay Text/graphics display: switch language There are 2 languages stored for the text/graphics display in the controller e . You can switch between the languages at any time. > Example: current language = English ▲ ▼ ►...
  • Page 42: Text/Graphics Display: Contrast Setting

    7BOperating and display elements 39BKey functions Text/graphics display: contrast setting If the text/graphics display is difficult to read the contrast can be adjusted: > The display is too bright / too pale: too bright ► Press these buttons simultaneously. > The contrast becomes greater/darker.
  • Page 43: Menu

    8BMenu 40BMenu overview Menu Note In this manual the menu text is always in English. → page 8-5, chapter "Text/graphics display: switch language" Menu overview Via [Menu] you can access the following main menus: Main menu Function Page Quick Setup Quick setting of AS-i and fieldbus parameters PLC Setup Setting of PLC operating modes...
  • Page 44: Main Menu "Quick Setup

    8BMenu 41BMain menu "Quick Setup" Main menu "Quick Setup" Quick setting of AS-i and fieldbus parameters (password level 1 required) Menu tree Function Quick Setup ► Quick projection of everything Config. all → page11-15 > The controller e changes to the projec- tion mode, if it has not done so already.
  • Page 45: Main Menu "Plc Setup

    8BMenu 42BMain menu "PLC Setup" Main menu "PLC Setup" Setting of PLC operating modes (password level 1 required) Menu tree Function PLC Setup PLC settings PLC Setup > Display of the current operating mode PLC Settings (→ page 10-5) PLC Setup ►...
  • Page 46: Main Menu "Slave Lists

    8BMenu 43BMain menu "Slave Lists" Main menu "Slave Lists" Display of status information of the slaves in lists Menu tree Function Slave Lists AS-i Master 1 Slave Lists Detected slaves on AS-i master 1: AS-i Master 1 (→ page 13-3) Detected Slaves AS-I 1 >...
  • Page 47: Main Menu "Address Slave

    8BMenu 44BMain menu "Address Slave" Main menu "Address Slave" Individual addressing of slaves (password level 1 required) Menu tree Function Address Slave Addressing of slaves (→ page 11-11) Change Address Address Slave > Display of the detected slave with the Change Address lowest address on the bus.
  • Page 48: Main Menu "Diagnostics

    8BMenu 45BMain menu "Diagnostics" Main menu "Diagnostics" Display of status information of the masters and reset of the error counter Menu tree Function Diagnostics AS-i Master 1 Diagnostics Voltage failure: → page 13-16 AS-i Master 1 > Display of the number of cases of un- Voltage Disturbance dervoltage on the AS-i bus.
  • Page 49 8BMenu 45BMain menu "Diagnostics" Menu tree Function Diagnostics Reading the states of the safety monitors Safety Master 1 → page 13-29 Read Monitor > Status information of the OSSD (Out- put Signal Switching Device) Diagnostics Reading the states of the safety slaves Safety Master 1 →...
  • Page 50: Main Menu "Master Setup

    8BMenu 46BMain menu "Master Setup" Main menu "Master Setup" Setting master operating modes Menu tree Function Master Setup Master Setup AS-i master 1 AS-i Master 1 Master Setup AS-i Master 1: Config all (password level 1 AS-i Master 1 required) Config all Prerequisites: - Operating mode = projecting...
  • Page 51 8BMenu 46BMain menu "Master Setup" Menu tree Function Master Setup AS-i Master 1: resetting the slave (pass- AS-i Master 1 word level 1 required) Slave Reset > Display of the current setting ► Scroll between ON and OFF with [▲] / [▼] ►...
  • Page 52: Main Menu "Fieldbus Setup

    8BMenu 47BMain menu "Fieldbus Setup" Main menu "Fieldbus Setup" Setting fieldbus parameters (password level 1 required) Menu tree Function Fieldbus Setup Fieldbus Setup supplementary instructions fieldbus (op- tion) 9-10...
  • Page 53: Main Menu "Slave Info

    8BMenu 48BMain menu "Slave Info" Main menu "Slave Info" Displaying status information of individual active slaves→ page13-48 Menu tree Function Slave Info > Display of the detected slave with the AS-i Master 1 lowest address on the bus. ► Scroll through the addresses of the detected slaves with [▲] / [▼] >...
  • Page 54: Main Menu "Slave Setup

    8BMenu 49BMain menu "Slave Setup" 9.10 Main menu "Slave Setup" Displaying or changing output data or parameters of individual slaves (password level 2 required) WARNING The output values remain unchanged Risk of personal injury! Risk of material damage to the machine/plant! After chang- ing the slave outputs the output values remain unchanged.
  • Page 55 8BMenu 49BMain menu "Slave Setup" Menu tree Function Slave Setup ► Scroll through the numbers of the ana- AS-i Master 1 logue channels with [▲] / [▼] Analogue value ► After [OK]: Analogue channel 1 Analogue channel 2 > Display of current data of the selected Analogue channel 3 slave.
  • Page 56: Main Menu "System Setup

    8BMenu 50BMain menu "System Setup" 9.11 Main menu "System Setup" Setting parameters for programming interfaces, firmware updates, setting access passwords, etc. Menu tree Function System Setup ► Scroll the possible baud rates of the Serial Port Baudrate serial interface with [▲] / [▼] →...
  • Page 57 8BMenu 50BMain menu "System Setup" Menu tree Function System Setup > Display of the current gateway ad- Ethernet Setup dress. The arrow indicates the set of Gateway Address numbers to be edited. To change it, the DHCP Setup must be OFF.
  • Page 58 8BMenu 50BMain menu "System Setup" Menu tree Function System Setup Only operational with an Ethernet pro- Modbus Setup gramming interface (option)! → supplementary instructions "Ethernet programming interface" (option) ► Scroll between enabling and blocking the Modbus support with [▲] / [▼] (password level 1 required) System Setup Update of the firmware (RTS Runtime Sys-...
  • Page 59 8BMenu 50BMain menu "System Setup" Menu tree Function System Setup Prevents unauthorised changes to the con- Password troller e by means of a 4-digit password. → page 11-22 > Display: "Password – 0000" An arrow ( ) below shows the digit to be edited ►...
  • Page 60 8BMenu 50BMain menu "System Setup" Menu tree Function System Setup > Display of stored background images System Specials ► Scroll with the buttons [▲] / [▼] Bitmap Manual ► Cancel with the right button System Setup > Alternating display of stored back- System Specials ground images Bitmap Cont.
  • Page 61: Main Menu "System Info

    8BMenu 51BMain menu "System Info" 9.12 Main menu "System Info" Display of all system parameters Menu tree Function System Info > Display of all system parameters: → page 13-59 • Hardware version RTS runtime system firmware version AS-i master 1 firmware version AS-i master 2 firmware version Fieldbus system version •...
  • Page 63: Operating Modes

    9BOperating modes 52BWhich operating modes are there for the AS-i master? Operating modes In this chapter you will learn (separately for AS-i master and PLC): • Which operating modes are possible? • What do the operating modes mean? • Which operating mode should be used when? •...
  • Page 64: How Are The Operating Modes For The As-I Master Changed

    9BOperating modes 53BHow are the operating modes for the AS-i master changed? 10.2 How are the operating modes for the AS-i master changed? Press [ ► MENU] Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "Master Setup" ▲...
  • Page 65 9BOperating modes 53BHow are the operating modes for the AS-i master changed? Operation Mode Autoaddr. Mode ► Press [OK] to select "Operation Mode". ▲ ▼ Protect. Mode Config. Mode > The marking shows the current operating mode. ► Press [▲] / [▼] to scroll to another operating mode ▲...
  • Page 66: Which Operating Modes Are There For The Plc In The Controller E

    9BOperating modes 54BWhich operating modes are there for the PLC in the controllere? 10.3 Which operating modes are there for the PLC in the controller e ? Operating mode Meaning PLC program start Control of the inputs and outputs on the controller e by >...
  • Page 67: How Are The Operating Modes For The Plc Changed

    9BOperating modes 55BHow are the operating modes for the PLC changed? 10.4 How are the operating modes for the PLC changed? ► Press [MENU] Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "PLC Setup" ▲ ▼ Quick Setup PLC Setup Slave Lists...
  • Page 68 9BOperating modes 55BHow are the operating modes for the PLC changed? Stop ► Press [OK] to activate the selected operating mode ▲ ▼ If there is no PLC program active in the controller e an error message appears if you try to change the PLC to "Run". >...
  • Page 69: Set-Up

    10BSet-up 56BSetting the baud rate of the serial interface Set-up This chapter will show you how to set up the controller e more quickly: • Programming of the internal PLC • Configuration of the connected slaves → page 11-7 The text/graphics display shows a start screen when powered on and, if applicable, error messages of the connected AS-i systems.
  • Page 70 10BSet-up 56BSetting the baud rate of the serial interface Ser. Port Baudr. Ethernet Setup ► Press [OK] to select "RS232 Baudrate" ▲ ▼ > Display of current value ► Press [▲] / [▼] to scroll to the requested baud rate Selection: •...
  • Page 71: Install Target For The Controller E

    10BSet-up 56BSetting the baud rate of the serial interface Set the same value on the PC! → page 11-4, chapter "RS-232C" Install target for the controller e ► Install the current target for the AS-i controller e , if not done yet: ►...
  • Page 72: Connecting The Programming Unit

    ► Set the target system: ► Click on the symbol [▼] ► Select a valid target for the controller e and confirm (e.g. "ifm electronic Control- lerE_15" for target 15) ► Press [OK] to confirm ► Confirm the new block "PLC_PRG"...
  • Page 73 In an additional manual "User Manual for PLC Programming with CoDeSys 2.3" you will obtain more detailed information about the use of the programming system "CoDeSys for Automation Alliance". This manual is available as a free download on the ifm website: → http://www.ifm-electronic.com/ifmgb/web/asi_down.htm 11-5...
  • Page 74 10BSet-up 56BSetting the baud rate of the serial interface If the PC with the programming software is to be directly connected to the optional Ethernet Ethernet programming interface of the controller e you need a cross-over patch (option) cable Cat5 with RJ45 connector on both sides. →...
  • Page 75: Configuration

    10BSet-up 57BConfiguration 11.2 Configuration In this chapter you will learn the methods to address slaves by means of the con- troller e . To allow the AS-i master to communicate with each individual slave, each address must only occur once in the system. Slaves with the address 0 do not operate on the bus.
  • Page 76: Automatic Individual Addressing Of Slaves

    10BSet-up 57BConfiguration Automatic individual addressing of slaves Now address the slaves. This is possible by means of the buttons and the text/graphics display on the controller e . In the mode "Easy Startup" the controller e can address the slaves automatically in rising order if the slaves are connected one after the other on the bus.
  • Page 77 10BSet-up 57BConfiguration Change Address Easy Startup ► Press [▼] to scroll to "Easy Startup" ▲ ▼ Change Address Easy Startup ► Press [OK] to select "Easy Startup" ▲ ▼ AS-i Master 1 AS-i Master 2 ► If necessary press [▼] to scroll to AS-i master 2 ▲...
  • Page 78 10BSet-up 57BConfiguration > The controller e automatically assigns the lowest avail- able address to this slave Master 1 waiting for slave 0 Last Address: > The controller e displays the address assigned to the Next Address: 2 / 2A new slave and, below, the now next available slave address.
  • Page 79: Manual Slave Addressing

    ► Install or activate the new slave on the bus. Password level 1 required → page 11-23, chapter "Password setting" > The display on the left appears instead of the ifm start E25 ASi1 screen: "Configuration error" Config. Error >...
  • Page 80 10BSet-up 57BConfiguration Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "Address Slave" ▲ ! ▼ PLC Setup Slave Lists Address Slave ► Press [OK] to select "Address Slave" ▲ ! ▼ Change Address Easy Startup ► Press [OK] to select "Change Address" ▲...
  • Page 81 10BSet-up 57BConfiguration > Display of the lowest found valid slave address ► Press [▲] / [▼] to scroll to the slave whose address is ▲ ! ▼ to be changed ► Press [OK] to select the requested slave ▲ ! ▼ >...
  • Page 82 ► Press [ESC] to scroll back to the start screen ▲ ! ▼ E25 ASi1 Config. Error > The display on the left appears instead of the ifm start screen: "Configuration error" In the next section we will show you how to complete the ▲ ! ▼ configuration.
  • Page 83: End Configuration

    "Quick Setup". Password level 1 required → page 11-23, chapter "Password setting" E25 ASi1 Config. Error > The display on the left appears instead of the ifm start screen: "Configuration error" ▲ ! ▼ ► Press the [MENU] button...
  • Page 84 10BSet-up 57BConfiguration AS-i Master 1 AS-i Master 2 ► If necessary, press [▼] to scroll to Master 2 ▲ ! ▼ AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested master ▲ ! ▼ Detect. Sl. ASi1 Project.
  • Page 85 10BSet-up 57BConfiguration > A table of detected slaves is displayed. Detect. Sl. ASi1 Here an example: 9 10 11 ● • an A/B slave has been detected as A slave at the address 6 ● ● • single slaves have been detected at the addresses 7 ▲...
  • Page 86 10BSet-up 57BConfiguration > The safety query appears: Are you sure you want to project all slaves on AS-i master 1 and 2? ► Press [OK] to confirm > Display of "WAIT" message during storage > Error message "!" goes out Config.
  • Page 87: Changing Slave Parameter Data

    10BSet-up 58BChanging slave parameter data 11.3 Changing slave parameter data The parameter value "0Fh" is preset for the slaves. Example for reasonable parameter changes: not connected analogue input chan- nels generate a peripheral fault of the module. By changing parameters you can block unused channels so that the module does not trigger a peripheral fault.
  • Page 88 10BSet-up 58BChanging slave parameter data AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested master ▲ ▼ > Display of the lowest found valid slave address ► If necessary press [▲] / [▼] to scroll to another slave ▲...
  • Page 89 10BSet-up 58BChanging slave parameter data Current: 1111 [ 0Fh ] > Display current parameter value and target value, as Setup: 1111 [ 0Fh ] binary value and hexa value ▲ ▼ ► Press [▲] / [▼] to set target value parameter data Current: 1111 [ 0Fh ] ►...
  • Page 90: Password Protection

    10BSet-up 59BPassword protection 11.4 Password protection General In the menu "System Setup" the operation can be restricted or enabled in the item "password". On delivery, the unit is in the user mode (= password level 1). By en- tering an arbitrary invalid password (e.g. 1000) all menu items that allow settings to be changed will be blocked.
  • Page 91: Password Setting

    10BSet-up 59BPassword protection Password setting ► Press [MENU] Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "System Setup" ▲ ▼ Slave Info Slave Setup System Setup ► Press [OK] to select "System Setup" ▲ ▼ Ser. Port Baudr. Ethernet Setup ►...
  • Page 92 10BSet-up 59BPassword protection > Display password "0000" ↑ ↑ The arrow ↑ points to the figure which can be changed ► Press [▲] / [▼] to change the figure in the range of 0...F ↑ ↑ > Display password changed so far ►...
  • Page 93: Factory Default

    10BSet-up 60BFactory default 11.5 Factory default You work with a used controller e (e.g. from a test project). Now you would like to restore the factory settings of the controller e to prepare it for the new project? Password level 3 required → page 11-23, chapter "Password setting" For the administrator mode please contact your AS-i sales specialist.
  • Page 94 10BSet-up 60BFactory default Password Factory default ► Press [OK] to select "Factory default" ▲ ▼ > Display of safety query: Are you sure you want to reset to the factory settings? ► Press [OK] to confirm > Reset of the controller e to the settings on delivery. Some changes will not become effective before the Password next power-on.
  • Page 95: Firmware Update

    10BSet-up 61BFirmware update 11.6 Firmware update To update the operating system of the controller e you need a special software which is not generally available for security reasons. If required please contact our AS-i sales specialist. 11.7 Sets of characters The controller e has 3 different sets of characters used in the menu: •...
  • Page 97: Programming

    In an additional manual "User Manual for PLC Programming with CoDeSys 2.3" you will obtain more detailed information about the use of the programming system "CoDeSys for Automation Alliance". This manual is available as a free download on the ifm website: → http://www.ifm-electronic.com/ifmgb/web/asi_down.htm 12.1...
  • Page 98: Boot Project / Source Code

    11BProgramming 65BBoot project / source code 12.3 Boot project / source code The project loaded in the controller e is at first only stored in the volatile SRAM, just like the AS-i configuration. This means it will be lost if the controller e is no longer supplied with 24 V.
  • Page 99: Transmit Source Code From The Pc To The Controller E

    11BProgramming 65BBoot project / source code Transmit source code from the PC to the controller e The controller e gives you the option of automatically transmitting the source code of the boot project to the controller e . What for? Source code The source code contains all the data of your project, i.e.
  • Page 100: Transmit Source Code From The Controller E To The Pc

    ® ► Click on [PLC…]: "Open project from PLC" ► Click on the symbol [▼] ► Select "ifm electronic ControllerE" with the corresponding target num- ber (here: 15) ► In the "Online" menu select "Communication parameters" ► Select the setting which matches the setting in the controller e ®...
  • Page 101: Remanent Plc Data (Flag)

    11BProgramming 66BRemanent PLC data (flag) 12.4 Remanent PLC data (flag) Three types of data can be stored in the PLC: • remanent variable (in CoDeSys® declared as retain variable) • volatile variable (if not declared as "retain variable") • remanent flags MW 0...79 •...
  • Page 102: Overview Plc Addresses

    11BProgramming 68BOverview PLC addresses 12.6 Overview PLC addresses The PLC addresses consist of several elements in the following order: Start character The definition of an address starts with "%" Data type Inputs are defined by an "I" for input Outputs are defined by a "Q" for output Flags are defined by an "M"...
  • Page 103: Examples For Addressing

    11BProgramming 68BOverview PLC addresses Examples for addressing Sample ad- Slave Selection Parameters dresses output byte of slave 22 on master %QB1.22 all 4 bits in one byte input byte of slave 6A on master %IB2.6 binary single or A slave bit 3 (input) of slave 24 on master %IX2.24.3 single bit...
  • Page 104: Further Examples

    11BProgramming 68BOverview PLC addresses Further examples: Sample ad- Data Master Slave dresses current parameter data (bits 0...3) %IW32.73 → page 5-7 reflected parameter data (bits 0...3) %IW32.169 → page 5-8 %IW31.182 slave error counter → page 5-10 %IW32.212 configuration error counter %IW31.238 →...
  • Page 105: Access Digital Slave Inputs/Outputs Via Plc

    11BProgramming 69BAccess digital slave inputs/outputs via PLC 12.7 Access digital slave inputs/outputs via PLC Digital slave I/Os can be accessed in 3 ways. Access via addresses Description → page 12-6, chapter "Overview PLC addresses" Access via function calls Description of the circuits of the function blocks →...
  • Page 106: Indexed Data Access Via Table Of Pointers

    11BProgramming 69BAccess digital slave inputs/outputs via PLC Indexed data access via table of pointers Using pointers to the real memory addresses you can have direct access to the stored information. Example: For detailed information see the → supplementary documentation "User Manual for PLC Pro- gramming with CoDe- ®...
  • Page 107: Read And Write Slave Parameters Via Plc

    11BProgramming 70BRead and write slave parameters via PLC 12.8 Read and write slave parameters via PLC Access to slave parameters is not trivial. Therefore please always use the function calls in the library ifm_AsiUtils_010000.lib. Examples: Changes the parameter in the slave "sl" on master "mstr"...
  • Page 108: Read In As-I Slave Lists Via Plc

    11BProgramming 71BRead in AS-i slave lists via PLC 12.9 Read in AS-i slave lists via PLC Using the function calls from the library ifm_AsiUtils_010000.lib the slave lists can be read, as shown below. Examples: Query whether a slave with the address Access via "sl"...
  • Page 109: Configure As-I Slaves Via Plc

    11BProgramming 72BConfigure AS-i slaves via PLC 12.10 Configure AS-i slaves via PLC The library ifm_AsiUtils_010000.lib additionally contains function calls to reconfig- ure the AS-i system… • to revise the projection table • to re-address slaves • to review the configuration •...
  • Page 110: Overview System Blocks

    11BProgramming 73BOverview system blocks 12.11 Overview system blocks ® In addition to the CoDeSys standard libraries another system library for the con- troller e is contained on the CD: "ifm_AsiUtils_010000.lib" contains the blocks necessary for working with AS-i slaves version 2.x. In new projects the components of this library should be used for access to AS-i system information.
  • Page 111 11BProgramming 73BOverview system blocks Reading the list of active slaves Reading the list of detected slaves LDS Reading the list of slaves which detect an external peripheral fault LPF Reading the list of projected slaves LPS Reading the current status of AS-i master flags Reading the menu index in the controller e...
  • Page 112 11BProgramming 73BOverview system blocks Multiplex reading and writing of 8 bits of a slave Transmitting 2 data bits and 2 address bits per cycle in 4 cy- cles Only for 7.1 slaves Writing analogue output of a slave type 7.1 If a slave detects an external peripheral fault the output is TRUE...
  • Page 113 11BProgramming 73BOverview system blocks Selection of the operating mode of an AS-i master 1 = projection mode 0 = protected mode Setting the projected parame- ters of an AS-i slave The output is TRUE if the slave is activated The output is TRUE if the slave is detected The output is TRUE if the slave is projected...
  • Page 115: Operation

    12BOperation 74BChange PLC operating mode Operation In this chapter you will find out what you can do with the controller e during opera- tion. 13.1 Change PLC operating mode → page 10-4, chapter 10.3 "Which operating modes are there for the PLC in the controllere?" →...
  • Page 116 12BOperation 75BInformation about the stored PLC program PLC Settings PLC Info ► Press [▼] to scroll to "PLC Info" ▲ ▼ PLC Settings PLC Info ► Press [OK] to select "PLC Info" ▲ ▼ > Name = file name of the PLC program Name: ASi_Test >...
  • Page 117: Display Of Detected Slaves (List)

    12BOperation 76BDisplay of detected slaves (list) 13.3 Display of detected slaves (list) Display at which slave address the controller e has detected one (or several) slaves type A, B or S (standard) on the bus, irrespective of whether or not the slave is ac- tive on the bus.
  • Page 118 12BOperation 76BDisplay of detected slaves (list) AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested AS-i Master ▲ ▼ Detect. Sl. ASi1 Project. Sl. ASi1 Active. Sl. ASi1 ► Press [OK] to select "Detect. Sl." ▲ ▼ Detect.
  • Page 119: Display Of Projected Slaves (List)

    12BOperation 77BDisplay of projected slaves (list) 13.4 Display of projected slaves (list) Indication at which slave address one (or several) slaves type A, B or S (standard) are projected on the bus. Definition: a slave is deemed as projected on the AS-i master if the slave is entered in the controller e in the "List of projected slaves"...
  • Page 120 12BOperation 77BDisplay of projected slaves (list) AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested AS-i Master ▲ ▼ Detect. Sl. ASi1 Project. Sl. ASi1 Active. Sl. ASi1 ► Press [▼] to scroll to "Projected slaves" ▲...
  • Page 121 12BOperation 77BDisplay of projected slaves (list) > A table of projected slaves is displayed. Project. Sl. ASi1 Here an example: 9 10 11 ● • an A/B slave was projected as A slave at the ad- dress 6, ● ● •...
  • Page 122: Display Of Active Slaves (List)

    12BOperation 78BDisplay of active slaves (list) 13.5 Display of active slaves (list) Indication at which slave address the controller e has detected an activated slave type A, B or S (standard) on the bus. Definition: a slave is deemed as active on the AS-i master if the AS-i master cycli- cally exchanges data with the slave.
  • Page 123 12BOperation 78BDisplay of active slaves (list) AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested AS-i Master ▲ ▼ Detect. Sl. ASi1 Project. Sl. ASi1 Active. Sl. ASi1 ► Press [▼] to scroll to "Active Sl. " ▲...
  • Page 124 12BOperation 78BDisplay of active slaves (list) > A table of activated slaves is displayed. Active. Sl. ASi1 Here an example: 9 10 11 ● • an A/B slave was detected as activated A slave at the address 6, ● ● •...
  • Page 125: Display Of Slaves With Peripheral Fault (List)

    External 24V voltage supply missing at one slave which requires it. E26 ASi1 Generic peripheral fault > LED [CONF/PF] flashes > The display on the left appears instead of the ifm start screen: ▲ ! ▼ peripheral fault ► Press the [MENU] button...
  • Page 126 12BOperation 79BDisplay of slaves with peripheral fault (list) AS-i Master 1 AS-i Master 2 ► If necessary press [▼] to scroll to AS-i master 2 ▲ ! ▼ AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested AS-i Master ▲...
  • Page 127 79BDisplay of slaves with peripheral fault (list) Periph. Flt. ASi1 > A table of the slaves with peripheral faults is dis- 18 19 20 21 22 23 played. • Here: a single slave with peripheral fault was detected ● at the address 20 ►...
  • Page 128: Display Slave With Peripheral Fault

    E26 ASi1 Generic peripheral fault > LED [CONF/PF] flashes > The display on the left appears in addition to the ifm start screen: ▲ ! ▼ peripheral fault on AS-i master 1 ► Press [▲] to scroll to "Slave Lists"...
  • Page 129: Find Out An Unknown Slave Address

    → page 10-2, chapter 10.2 "How are the operating modes for the AS-i master changed?" ► Remove the unknown slave from the bus. > The display on the left appears in addition to the ifm E25 ASi1 start screen: "Configuration error" Config. Error >...
  • Page 130: Number Of As-I Voltage Failures On The As-I Master

    82BNumber of AS-i voltage failures on the AS-i master 13.9 Number of AS-i voltage failures on the AS-i master How often was an inadmissible decrease or interruption of the voltage supply of the AS-i bus responsible for system failures? The controller e shows it: Here you can not see in detail when the individual faults occurred.
  • Page 131 82BNumber of AS-i voltage failures on the AS-i master AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb. Config. Error ► Press [OK] to select "Voltage Disturb." ▲ ▼ > Display of the number of failures of the AS-i supply on the master Reset error counter: →...
  • Page 132: Number Of Configuration Errors On The Master

    83BNumber of configuration errors on the master 13.10 Number of configuration errors on the master Display of the number of configuration errors on the master Here you can not see in detail when the individual faults occurred. → chapter 16 "Error messages" The error counter is reset...
  • Page 133 83BNumber of configuration errors on the master AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb. Config. Error ► Press [▼] to scroll to "Configuration error" ▲ ▼ Voltage Disturb. Config. Error ►...
  • Page 134: Faulty As-I Messages On The Master

    84BFaulty AS-i messages on the master 13.11 Faulty AS-i messages on the master A message error means that the expected response message from a slave is not received within a defined time or that the signal sequences in the response mes- sage of the AS-i master cannot be interpreted.
  • Page 135 84BFaulty AS-i messages on the master AS-i Master 1 Safety Master 1 ► If necessary press [▼] to scroll to another master ▲ ▼ AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb.
  • Page 136 84BFaulty AS-i messages on the master > Dynamic display of the performance of this master: • Number of active slaves slave(s) active 1328 cycles / [s] • Number of AS-i cycles per second ► Press [ESC] 4 times to return to the start screen 13-22...
  • Page 137: Number Of Disturbed Messages On The Master (Of "Noisy Slaves")

    85BNumber of disturbed messages on the master (of "Noisy Slaves") 13.12 Number of disturbed messages on the master (of "Noisy Slaves") You would like to know how many distorted messages the different slaves have sent (since the last reset of the error counter)? The controller e shows it, sorted by the number of distorted messages.
  • Page 138 85BNumber of disturbed messages on the master (of "Noisy Slaves") AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb. Config. Error ► Press [▼] to scroll to "Noisy Slaves" ▲ ▼ Telegr.
  • Page 139: Reset Error Counter

    86BReset error counter 13.13 Reset error counter Here you can find out how to reset the error counter in the diagnostic memory of the controller e . You should not reset the diagnostic memory of the controller e before the analysis of the values stored so far.
  • Page 140 86BReset error counter AS-i Master 1 Safety Master 1 ► If necessary press [▼] to scroll to another master ▲ ▼ AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb. Config. Error ►...
  • Page 141: Display Of The Longest Cycle Time

    87BDisplay of the longest cycle time 13.14 Display of the longest cycle time Display of the longest cycle time of the system in [ms] since the last reset or after the last power-on of the unit: ► Press the [MENU] button Quick Setup PLC Setup Slave Lists...
  • Page 142 87BDisplay of the longest cycle time AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Voltage Disturb. Config. Error ► Press [▼] to scroll to "Cycle time" ▲ ▼ Reset Error Count. Cycle time ►...
  • Page 143: Read States Of The Safety Monitor

    88BRead states of the safety monitor 13.15 Read states of the safety monitor By means of the following method the controller e shows you the current data of the AS-i safety monitor. ► Press the [MENU] button Quick Setup PLC Setup Slave Lists ►...
  • Page 144 88BRead states of the safety monitor AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ► Press [OK] to select "Read Monitor" ▲ ▼ a) no safety device triggered > Display of the current data of the safety monitor: Slave •...
  • Page 145 88BRead states of the safety monitor b) safety device triggered > Display of the current data of the safety monitor Slave • slave = configured AS-i slave address OSSD1: OSSD2: • OSSD1 = LED colour* for enable circuit 1 Config. Mode: active Here: enable circuit interrupted ▲...
  • Page 146 88BRead states of the safety monitor Read Monitor Trigg.Slave ► Press [ESC] 3 times to return to the start screen > That's it! ▲ ▼ 13-32...
  • Page 147: Read States Of Safety Slaves

    89BRead states of safety slaves 13.16 Read states of safety slaves By means of the following method the controller e shows you the current data of the AS-i safety slaves. ► Press the [MENU] button Quick Setup PLC Setup Slave Lists ►...
  • Page 148 89BRead states of safety slaves AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ► Press [▼] to scroll to "Trigg.Slave" ▲ ▼ Read Monitor Trigg.Slave ► Press [OK] to select "Trigg.Slave" ▲...
  • Page 149 89BRead states of safety slaves b) safety sensor actuated / not triggered > Display of the current data of the first detected and triggered safety slave Address: 3 active Safety slave trigg. (1/2) • Address = current address of the safety slave on the Event: safety monitor POT …d…h…m…s...
  • Page 150: Set As-I Address(Es) Of The Safety Monitor(S)

    90BSet AS-i address(es) of the safety monitor(s) 13.17 Set AS-i address(es) of the safety monitor(s) By means of the following method you can set the same AS-i address for the safety monitor in the controller e that you have already stored with the "ASIMON" safety parameter-setting software in the safety monitor.
  • Page 151 90BSet AS-i address(es) of the safety monitor(s) AS-i Master 1 Safety Master 1 ► Press [▼] to scroll to the requested safety master ▲ ▼ AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ►...
  • Page 152 90BSet AS-i address(es) of the safety monitor(s) Address: 30 ► Press [OK] to confirm the requested address of the safety monitor ▲ ▼ > Message that the selected address has been found in the list of projected monitors (LPM) > Controller e enters the AS-i address of the safety moni- tor in the list of participants ▲...
  • Page 153: Reset The As-I Address(Es) Of The Safety Monitor(S)

    91BReset the AS-i address(es) of the safety monitor(s) 13.18 Reset the AS-i address(es) of the safety monitor(s) By means of the following method you can delete the AS-i address of the safety monitor in the controller e . After this the controller e processes the safety monitor just like an ordinary slave (4I/4O) –...
  • Page 154 91BReset the AS-i address(es) of the safety monitor(s) AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ► Press [▼] to scroll to "Disable Monitor" ▲ ▼ Enable Monitor Disable Monitor ►...
  • Page 155 91BReset the AS-i address(es) of the safety monitor(s) > The controller e deletes the AS-i address from the list of participants Enable Monitor Disable Monitor > After this the controller e processes the safety monitor just like an ordinary slave – without taking into consid- eration safety-related data.
  • Page 156: Set Diagnostic Behaviour Of The Safety Monitor

    92BSet diagnostic behaviour of the safety monitor 13.19 Set diagnostic behaviour of the safety monitor By means of the following method you can set the parameters set via "ASIMON" for the safety monitor in the controller e . ► Press the [MENU] button Quick Setup PLC Setup Slave Lists...
  • Page 157 92BSet diagnostic behaviour of the safety monitor AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ► Press [▼] to scroll to "Setup Monitor" ▲ ▼ Disable Monitor Setup Monitor ►...
  • Page 158 92BSet diagnostic behaviour of the safety monitor Disable Monitor Setup Monitor ► Press [ESC] 3 times to return to the start screen > That's it! ▲ ▼ 13-44...
  • Page 159: Reset Diagnostic States Of Safety Devices

    93BReset diagnostic states of safety devices 13.20 Reset diagnostic states of safety devices By means of the following method you can delete the stored diagnostic states of the safety devices. Password level 1 required → page 11-23, chapter "Password setting" ►...
  • Page 160 93BReset diagnostic states of safety devices AS-i Master 1 Safety Master 1 ► Press [OK] to select the requested master ▲ ▼ Read Monitor Trigg.Slave ► Press [▼] to scroll to "Reset all" ▲ ▼ Setup Monitor Reset all ► Press [OK] to select "Reset all" ►...
  • Page 161: Change Operating Mode Of The As-I Master

    94BChange operating mode of the AS-i master 13.21 Change operating mode of the AS-i master Please refer to the following chapter in the manual: → page 10-1, chapter 10.1 "Which operating modes are there for the AS-i master?" → page 10-2, chapter 10.2 "How are the operating modes for the AS-i master changed?"...
  • Page 162: Display Of Slave Data

    95BDisplay of slave data 13.22 Display of slave data would like know configuration different slaves? This is how to see it: ► Press the [MENU] button Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "Slave Info" ▲...
  • Page 163 95BDisplay of slave data AS-i Master 1 AS-i Master 2 ► Press [OK] to select the requested master ▲ ▼ > Display of the lowest found valid slave address ► If necessary press [▲] / [▼] to scroll to another slave ▲...
  • Page 164 95BDisplay of slave data > Display in which slave lists the slave is entered: • LAS: list of activated slaves ● ● ● • LDS: list of detected slaves • LPS: list of projected slaves ▲ ▼ • LPF: list of slaves with peripheral faults ►...
  • Page 165: Set Output Values

    96BSet output values 13.23 Set output values For testing it might be useful to set the value of an output without being affected by the PLC program. The controller e helps you. WARNING The output values remain unchanged Risk of personal injury! Risk of material damage to the machine/plant! After chang- ing the slave outputs the output values remain unchanged.
  • Page 166 96BSet output values Quick Setup PLC Setup Slave Lists ► Press [▼] to scroll to "Slave Setup" ▲ ▼ Fieldbus Setup Slave Info Slave Setup ► Press [OK] to select "Slave Setup" ▲ ▼ AS-i Master 1 AS-i Master 2 ►...
  • Page 167 96BSet output values ► Press [OK] to select the requested slave ▲ ▼ → page 13-54 Continue with: "Set digital output" → page 13-56 Continue with: "Set analogue output" 13-53...
  • Page 168: Set Digital Output

    96BSet output values Set digital output Digital output Parameter value ► Press [OK] to select "Digital output" ▲ ▼ > Current = digital outputs current value binary / hexa- decimal Current: 0000 [ 00h ] Setup: 0000 [ 00h ] >...
  • Page 169 96BSet output values > Value in "Current" adopts value from "Setup" > Outputs on the slave are switched accordingly. Current: 0000 [ 00h ] Set outputs remain on as long as another setup or the Setup: 0000 [ 00h ] start of the PLC changes the outputs again.
  • Page 170: Set Analogue Output

    96BSet output values Set analogue output > Display of the lowest found valid slave address ► If necessary press [▲] / [▼] to scroll to another slave ▲ ▼ address ► Press [OK] to select the requested slave ▲ ▼ Digital output Parameter value ►...
  • Page 171 96BSet output values AS-i Slave 9 Analogue channel 1 ► Press [OK] to select the requested analogue channel ▲ ▼ AS-i 1 Slave 9 > Current = current value analogue output channel Channel: 2 Current: +0 > Setup = target value analogue output channel Setup: ►...
  • Page 172 96BSet output values > Display in "Current" adopts value from "Setup" AS-i 1 Slave 9 Channel: 2 > Outputs on the slave are switched accordingly. Current: +0 Set outputs remain on as long as another setup or the Setup: start of the PLC changes the outputs again. ▲...
  • Page 173: Display System Parameters

    Indication of the hardware version AS-i 1 0.237C AS-i 2 ..• Operating system of the controllere IFM PBus DP: 0000 • Operating system version for master 1 • Operating system version for master 2 •...
  • Page 174 97BDisplay system parameters Version cont. > Display of the system versions, 2nd page: RTS Checksum: 1EB0 CONST Checksum: 0479 • Checksum of the operating system Linux Kernel: Linux RAM disk: 0 . 0 • Checksum of the system constants • Version of the Linux operating system kernel •...
  • Page 175: Scale Drawing

    13BScale drawing Scale drawing Figure: dimensions of the controller e 14-1...
  • Page 177: Technical Data

    14BTechnical data 98BGeneral data Technical data 15.1 General data Operating voltage 20...30 V DC (PELV) Current consumption < 0.5 A (depending on the implemented options) Operating temperature 0...+60 °C Storage temperature -20...+70 °C Protection to DIN 40050 IP 20 Housing material aluminium, galvanised steel Fixing on Din rail 35 mm...
  • Page 178: Data Serial Interface Rs-232C

    14BTechnical data 100BData serial interface RS-232C 15.3 Data serial interface RS-232C Baud rates 9 600, 19 200, 38 400, 57 600, 115 200 Bit/sec Communication parameters 8 data bits, no start bit, 1 stop bit, no parity Connection RJ11 western socket, 6-pole Protocol Automation Alliance standard protocol 15.4...
  • Page 179 14BTechnical data 101BData PLC • Floating point • String • Array • Structure • Pointer • Date and time Processing times < 1μs for simple bit or integer operations Flag 4096 bits (= 256 bytes), thereof 1280 bits remanent (= 160 bytes) Times >...
  • Page 181: Error Messages

    15BError messages 101BData PLC Error messages There are 2 different types of error messages in the controller e : Handling errors and internal system errors: • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after the following: error has been removed AND error message has been acknowledged by means of the right function key.
  • Page 182: System Errors: Error Codes B00

    15BError messages 102BSystem errors: error codes B00...B11 (boot error) 16.1 System errors: error codes B00...B11 (boot error) • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after: error has been removed AND error message has been acknowledged by means of the right function key. Error message Cause(s) Solution...
  • Page 183 15BError messages 102BSystem errors: error codes B00...B11 (boot error) Error message Cause(s) Solution Number of detected masters not correct ► Replace controller e and project again During the inquiry about the version releases of the masters some invalid information was received. Possible cause: defective hardware Execution of the PLC program blocked ►...
  • Page 184: Process Error: Error Codes E10

    15BError messages 103BProcess error: error codes E10...E30 (AS-i system) 16.2 Process error: error codes E10...E30 (AS-i system) • Error message appears instead of the start screen. • No interruption of the menu operation. • Exclamation mark flashes in the text/graphics display in the middle of the line at the bottom (only if projection mode is deactivated) •...
  • Page 185 15BError messages 103BProcess error: error codes E10...E30 (AS-i system) Error message Cause(s) Solution Slave 0 detected ► Switch master to the operating mode "Projection mode". The master is in the "Protected mode" and detects a slave with the address 0 →...
  • Page 186 15BError messages 103BProcess error: error codes E10...E30 (AS-i system) Error message Cause(s) Solution Normal operation of the master not ac- On 1: tive ► Check the AS-i voltage supply on The master reports that it is not in the the master and replace it – if neces- "Normal operating mode".
  • Page 187: System Errors: Error Codes F00

    15BError messages 104BSystem errors: error codes F00...F10 (flash errors) 16.3 System errors: error codes F00...F10 (flash errors) • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after: error has been removed AND error message has been acknowledged by means of the right function key. Error message Cause(s) Solution...
  • Page 188 15BError messages 104BSystem errors: error codes F00...F10 (flash errors) Error message Cause(s) Solution Timeout of the response of the flash ► Repeat the command The operating system has found a time- out during the execution of a flash command. Possible cause: Access to the flash module which currently processes commands.
  • Page 189: System Errors: Error Codes F21

    15BError messages 105BSystem errors: error codes F21...F30 (FAT errors) 16.4 System errors: error codes F21...F30 (FAT errors) FAT = File Allocation Table (part of the memory management) • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after: error has been removed AND error message has been acknowledged by means of the right function key.
  • Page 190 15BError messages 105BSystem errors: error codes F21...F30 (FAT errors) Error message Cause(s) Solution Invalid identifier of the remanent data ► ditto detected The field ID of the remanent data con- tains an invalid value. Possible cause: impermissible interfer- ence on the 24V power supply during the storage operation of the data in the flash device.
  • Page 191: System Errors: Error Codes M01

    15BError messages 106BSystem errors: error codes M01...M20 (AS-i master command errors) 16.5 System errors: error codes M01...M20 (AS-i master command errors) • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after: error has been removed AND error message has been acknowledged by means of the right function key.
  • Page 192 15BError messages 106BSystem errors: error codes M01...M20 (AS-i master command errors) Error message Cause(s) Solution Writing to slave failed ► Repeat the command 1. The attempt of the master to read- dress a slave to the new target ad- dress fails. 2.
  • Page 193 15BError messages 106BSystem errors: error codes M01...M20 (AS-i master command errors) Error message Cause(s) Solution Slave data invalid On 1: This error message has a multiple ► Address 0B is not permitted meaning and thus depends on the re- ► Write valid address quested command: 1.
  • Page 194 15BError messages 106BSystem errors: error codes M01...M20 (AS-i master command errors) Error message Cause(s) Solution Slave interrupted 7.4 transfer On 1: The addressed 7.4 slave has stopped ► Remove the cause of the error the transfer. Possible cause: On 2: error in the 7.4 data of the PLC.
  • Page 195: System Errors: Error Codes R01

    15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) 16.6 System errors: error codes R01...R30 (RTS errors) RTS = Real Time System (runtime system = operating system of the controller e ) • Menu operation interrupted. • Error message superposes menu screen •...
  • Page 196 15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) Error message Cause(s) Solution General RTS program failure ► Reinstall the operating system The operating system has detected an invalid status in the process while exe- cuting the program internally. Possible cause: operating system soft- ware error.
  • Page 197 15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) Error message Cause(s) Solution The serial protocol was changed ► Remove error in the protocol driver The decoding of the serial data flow was changed. Possible cause: command during the serial data flow to change the device to the Test Mode / Normal Operating Mode.
  • Page 198 15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) Error message Cause(s) Solution The AS-i master signals a timeout dur- On 1: ing the communication with the fieldbus ► Use a switched-mode power supply master (host). to supply the device. During the continuous communication of the master with the operating system the master has detected a timeout.
  • Page 199 15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) Error message Cause(s) Solution Download of the Profibus DP parame- ► End the connection to the Profibus ters failed master. The attempt to download the current / ► Resume the connection to the projected parameters of the AS-i slaves Profibus master.
  • Page 200 15BError messages 107BSystem errors: error codes R01...R30 (RTS errors) Error message Cause(s) Solution PLC accesses address space which is ► Remove functions from the PLC reserved for Profibus DP project which make use of an Any- bus card. The PLC has tried to access the pro- tected address range of the Profibus DP ASIC.
  • Page 201: System Errors: Error Codes T00

    15BError messages 108BSystem errors: error codes T00...T11 (timeout errors) 16.7 System errors: error codes T00...T11 (timeout errors) • Menu operation interrupted. • Error message superposes menu screen • Error message only disappears after: error has been removed AND error message has been acknowledged by means of the right function key. Error message Cause(s) Solution...
  • Page 202 15BError messages 108BSystem errors: error codes T00...T11 (timeout errors) Error message Cause(s) Solution PLC command timeout ► Check the reason for the wrong command and correct it. During the execution of a command started by the PLC a timeout was de- tected.
  • Page 203: List Of Errors

    15BError messages 109BList of errors 16.8 List of errors Errors Cause(s) Solution ► Switch off the unit ► Press the left function key and keep it pressed ► Switch the unit on again > Display can be read again Faulty content of the PLC mem- ►...
  • Page 204: How Does The Controller E React In Case Of A Fault

    15BError messages 110BHow does the controllere react in case of a fault? Errors Cause(s) Solution ► Remove the last slave with the address 0 from the bus ► Program the old slave with the address 0 to the in- The LDS slave list does not There is at least one other slave tended address (→...
  • Page 205: Hardware Errors, Exception Errors

    15BError messages 111BHardware errors, exception errors 16.10 Hardware errors, exception errors STKOV: STKUN: > The main processor has detected an exception error. Seg: Off: > All current activities are interrupted. TFR: ► Power the controller e off and on again ►...
  • Page 207: Maintenance, Repair And Disposal

    16BMaintenance, repair and disposal Maintenance, repair and disposal In case of correct use no maintenance and repair measures are necessary. Only the manufacturer is allowed to repair the unit. If necessary, the unit can be cleaned by qualified personnel using a dry cloth after disconnecting all connected circuits. After use dispose of the unit in an environmentally friendly way in accordance with the applicable national regulations.
  • Page 209: Terms And Abbreviations

    Bus system for the first binary field level. ASIMON Software for configuration of the AS-i safety monitor Download of the demo version: http://www.ifm-electronic.com/ifmgb/web/asi_down.htm Baud Baud, abbreviation: Bd = unit for the data transmission speed. Do not confuse baud with "bits per second" (bps, bits/s).
  • Page 210 17BTerms and abbreviations DHCP DHCP = Dynamic Host Configuration Protocol = protocol for dynamic configuration by the →host DHCP is a protocol which offers the dynamic configuration of IP addresses and thus coherent information. The protocol supports the further use of IP addresses which are only available in a limited number by a centralised management of the address assignment.
  • Page 211 17BTerms and abbreviations IP address IP = Internet Protocol The IP address is a number necessary to clearly identify an internet participant. For the sake of clarity the number is written in 4 decimal values, e.g. 127.215.205.156. List of Active Slaves In this slave list the controller e enters the slaves detected as active for this AS-i master.
  • Page 212 17BTerms and abbreviations Modbus The Modbus protocol is a communication protocol based on a →master/slave architecture and was generated by Modi- con* in 1979 for communication with its PLCs. In industry Modbus is the de-facto standard. Modbus/TCP comes after →Ethernet-TCP/IP. Modbus/TCP is a portion of the protocol on TCP defined for the serial inter- face.
  • Page 213 17BTerms and abbreviations Polling The controller master fetches the data from every participant in the system successively: 1. Master calls participant 1 2. Participant 1 replies with its current data (current values) 3. Master transfers more data (preset values) to partici- pant 1 if necessary 4.
  • Page 214 17BTerms and abbreviations RTS = Run Time System Run time systems are basic versions of applications. These minimum versions are supplied with certain products to meet the prerequisites for the execution of the actual product or to be able to look at or use results generated by this product on other processors: making available all routines required to execute a program in a programming language, e.g.
  • Page 216: Table Of Keywords

    18BTable of keywords Table of keywords nn-n The indication of the page where you can find some information about the keyword is written in normal characters. The indication of the page where the keyword is detailed is written in ii-i italics.
  • Page 217 18BTable of keywords ID 18-2 OSSD 18-4 ifm_AsiUtils_010000.lib Parameter data 12-14 11-19 current Install read/write target 12-11 11-3 reflected Installation Password 9-17, 11-22, 18-4 safety instructions levels 11-22 IP address 9-14, 18-3 PELV 7-2, 18-4 18-3 Peripheral faults 13-11, 13-14 18-3 pictograms 8-1, 18-3...
  • Page 218 18BTable of keywords Scale drawing unknown 14-1 13-15 SELV 7-1, 18-6 Slave addressing 9-5, 11-7 automatic 11-8 Serial programming interface slave output 11-4 change analogue 9-13 serial interface change digital 9-12 connect 11-4 Source code 12-3 Serial interface change baud rate 9-14 SRAM memory technical data...
  • Page 219 USA, CND ifm efector inc. • Exton, PA 19341 • Phone 0610 / 5 24-2000 ifm efector S. de R. L. de C.V. • Monterrey, N. L. Mexico 64630 • Phone 81 8040-3535 Shorrock Automation (Pty) Ltd. • 0108 Pretoria • Phone 012 34 5 4449...

Table of Contents