IFM Electronic Ecomat 300 Supplementary Manual
IFM Electronic Ecomat 300 Supplementary Manual

IFM Electronic Ecomat 300 Supplementary Manual

As-i controller with profibus-dp
Table of Contents

Advertisement

Quick Links

Supplementary device manual
AS-i Controller e with Profibus-DP
AC1345, AC1346
Firmware version RTS 2.x
Target from 15
for CoDeSys® version 2.3 or higher

Advertisement

Table of Contents
loading

Summary of Contents for IFM Electronic Ecomat 300

  • Page 1 Supplementary device manual AS-i Controller e with Profibus-DP AC1345, AC1346 Firmware version RTS 2.x Target from 15 for CoDeSys® version 2.3 or higher...
  • Page 2 30 October 2006 © All rights reserved by ifm electronic gmbh. No part of this manual may be reproduced and used without consent. electronic's...
  • Page 3: Table Of Contents

    Contents On this manual ......................... 1-1 What is the meaning of the symbols and formats? ............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..........................
  • Page 4 Command 4: read projected slave configuration........... 8-5 Command 5: project slave configuration ............... 8-7 Command 6: read slave parameter ............... 8-8 Command 7: project slave parameters..............8-9 Command 8: read LAS (list of active slaves)............8-11 Command 9: read LDS (list of detected slaves)..........8-13 Command 10: read LPF (list of slaves with peripheral fault).......
  • Page 5 Command 58: read projected configuration of slaves 1B...15B ......8-55 Command 59: read projected configuration of slaves 16B...31B ......8-55 Command 61: read message error counter (1) ........... 8-56 Command 62: read message error counter (2) ........... 8-56 AS-i diagnosis via Profibus-DP ................... 8-57 Digital inputs ......................
  • Page 7: On This Manual

    On this manual What is the meaning of the symbols and formats? On this manual In this chapter you find an overview of the following points: • What is the meaning of the symbols and formats? • What devices are described in this manual? •...
  • Page 8: What Devices Are Described In This Manual?

    Designations of pushbuttons 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 perferct. If you suggest improvements of this manual, you will receive a little gift from us to thank you. © All rights reserved by gmbh. No part of this manual may be ifm electronic reproduced and used without consent. ifm electronic's...
  • Page 11: Safety Instructions

    Property damage or bodily injury when the notes in this manual are not adhered to! assumes no liability for this. ifm electronic ► The acting person must have read and understood the corresponding chapters of this manual before performing any work on or with this device.
  • Page 13: System Requirements

    System requirements Information concerning the device System requirements Information concerning the device → separate basic instructions of the device manual Information concerning the software → separate basic instructions of the device manual Required accessories Basic functions → separate basic instructions of the device manual For configuration and programming you also need: •...
  • Page 15: Getting Started

    Getting started Getting started Connection ► Connect the functional earth ► Connect the yellow AS-i cable for every master ► Connect the 24 V supply ► Connect the Profibus cable to the fieldbus master Set up the AS-i ► Connect the addressed AS-i slaves to the yellow AS-i cable master ►...
  • Page 17: Function

    Function Data management Function Basic functions → separate basic instructions of the device manual Ethernet programming interface → separate complementary device manual Data management The controller e consists of different units: text/graphics display AS-i master 1 fieldbus interface AS-i master 2 Ethernet programming interface SRAM memory...
  • Page 19: Menu

    Menu Main menu "Quick Setup" Menu Note In this manual the menu text is always in English. Basic functions → separate basic instructions of the device manual Main menu "Quick Setup" Quick setting of the AS-i and fieldbus parameters, reading of the parameter data (password level 1 required).
  • Page 20: Main Menu "Fieldbus Setup"

    Menu Main menu "Fieldbus Setup" Menu tree Explanation • Fieldbus data PLC inputs in the fieldbus master • Fieldbus data PLC outputs in the fieldbus master • Analogue inputs in the fieldbus master from AS-i master 1 • Analogue outputs in the fieldbus master to AS-i master 1 •...
  • Page 21 Menu Main menu "Fieldbus Setup" Menu tree Explanation single or A-slaves on AS-i master 2 • Digital inputs in the fieldbus master from B-slaves on AS-i master 1 • Digital outputs in the fieldbus master to B-slaves on AS-i master 1 •...
  • Page 23: Set-Up

    Set-up Parameter setting of the controllere Set-up This chapter shows you how to get the Profibus interface started quickly. Parameter setting of the controller e Parameter setting of slaves in the controller e Set the parameters of the slaves in the AS-i controller e as described in the basic device manual.
  • Page 24: Connect The Controller E To The Profibus Host

    Set-up Connect the controllere to the Profibus host Fieldbus Address ► Scroll to the requested address with [▲] / [▼]. ▲ ▼ Fieldbus Address ► Save the fieldbus address with [OK]. ▲ ▼ Fieldbus Baudrate > If there is communication with the fieldbus master: display of negotiated baudrate #### KBaud ►...
  • Page 25 Set-up Parameter setting of the Profibus host The data of the controllere or the connected AS-i systems to be transferred can be Programming defined (by indicating the length of up to 12 modules) in the programming software software for the Profibus-DP master system (host). You can select from these definitions for parameter setting in the host: Example for module 1: There is a choice of 5 entries:...
  • Page 26: Assign Plc Addresses To The Profibus Modules

    Set-up Parameter setting of the Profibus host Assign PLC addresses to the Profibus modules What are "Profibus modules"? These are entries in a parameter setting database of the programming software for the Profibus-DP master system (host). There you assign the individual "modules" to the virtual "locations". Locations are address areas for certain functions.
  • Page 27 Set-up Parameter setting of the Profibus host IEC address area Data flow Description AS-i – host module from digital outputs master2, slaves1A...31A, %QB2.1 %QB2.31 → – digital outputs master1, slaves1B...31B, %QB11.1 %QB11.31 → – digital outputs master2, slaves1B...31B, %QIB12.1 %QB12.31 →...
  • Page 28: Define Profibus-Dp Modules

    Set-up Parameter setting of the Profibus host Define Profibus-DP modules The text of the different options of the modules always starts with the module number (→ photo page 7-3, section "Programming software"). So all options in the module list of the hardware catalogue starting with "1:" are options of the first module in the device definition.
  • Page 29 Set-up Parameter setting of the Profibus host Module 1 Contents Binary inputs and outputs of single or A-slaves of AS-i master 1 Length 0...16-byte I/O (if not used: length = 0) Byte no. Bits 4..7 Bits 0..3 flags master 1 slave1(A) slave2(A) slave3(A)
  • Page 30 Set-up Parameter setting of the Profibus host Module 2 Contents Binary inputs and outputs of single or A-slaves of AS-i master 2 Length 0...16-byte I/O (if not used: length = 0) Byte no. Bits 4..7 Bits 0..3 flags master 2 slave1(A) slave2(A) slave3(A)
  • Page 31 Set-up Parameter setting of the Profibus host Module 3 Contents Binary inputs and outputs of B-slaves of the AS-i master 1 Length 0...16-byte I/O (if not used: length = 0) Byte no. Bits 4..7 Bits 0..3 reserved slave1B slave2B slave3B slave4B slave5B slave6B...
  • Page 32 Set-up Parameter setting of the Profibus host Module 4 Contents Binary inputs and outputs of B-slaves of AS-i master 2 Length 0...16-byte I/O (if not used: length = 0) Byte no. Bits 4..7 Bits 0..3 reserved slave1B slave2B slave3B slave4B slave5B slave6B slave7B...
  • Page 33 Set-up Parameter setting of the Profibus host Module 5 Contents Multiplexed analogue inputs of AS-i masters 1 and 2 Length 2-word consistent I/O (if not used: length = 0) DP-master request (only 1 word): Bit: SSSSS Legend: 2 bits: master no. 1..2 1 bit: slave type 0 = single or A-slave...
  • Page 34 Set-up Parameter setting of the Profibus host Module 6 Contents Multiplexed analogue outputs of AS-i masters 1 and 2 Length 2-word consistent I/O (if not used: length = 0) If analogue outputs are also triggered in module 11, the value written in module 6 is overwritten with the data of module 11.
  • Page 35 Set-up Parameter setting of the Profibus host Module 7 Contents Command channel → page 8-1, chapter 8.1 "DP-module 7: command channel" Length 4-byte consistent I/O (if not used: length = 0) Important: For the query read only the required bytes. Unused bytes can contain information of previous queries.
  • Page 36 Set-up Parameter setting of the Profibus host The commands are only executed if the command number (the first byte) changes. If the same command is to be executed with different data several times (e.g. read slave lists), the operating mode "continuous command" must first be selected for the data transmission.
  • Page 37 Set-up Parameter setting of the Profibus host Description Byte 2 Byte 3 Byte 4 > response: error counter MMXSSSSS ► read configuration error counter – – MM000000 > response: error counter MM000000 ► read AS-i cycle counter – – MM000000 current count value of the cycle >...
  • Page 38 Set-up Parameter setting of the Profibus host Module 8 Contents Field for the data transmission between the Profibus-DP master system and the PLC functions in the controller e Length 0...64-word inputs (if not used: length = 0) Module 9 Contents Field for the data transmission between the PLC functions in the controller e and the Profibus-DP master system Length...
  • Page 39: Device-Specific Profibus-Dp Parameters

    Set-up Device-specific Profibus-DP parameters Device-specific Profibus-DP parameters With up to 100 bytes of the device-specific Profibus parameters the addresses of the analogue input slaves and analogue output slaves to be transferred in parallel can be defined and the parameters of the connected AS-i slaves can be set. Device-specific Profibus-DP parameters (example) Example: Byte...
  • Page 40: Definition In The Gsd File

    Set-up Device-specific Profibus-DP parameters Definition in the GSD file The definitions in the GSD file enable easy access to the device parameters if this is supported by the configuration tool of the Profibus-DP master: Example Siemens step 7 Byte 37 Bit 5 = TRUE If the parameter "Extended Profibus Diag."...
  • Page 41: Finish Set-Up

    Set-up Finish set-up Finish set-up System ► Define the system behaviour in the fieldbus configuration program, e.g. save behaviour watchdog etc. Save ► Save the configuration ► Transfer the configuration to the DP-master Start ► Start the DP-master > If there is communication on the fieldbus: The menu "Fieldbus Setup"...
  • Page 43: Operation

    Operation DP-module 7: command channel Operation DP-module 7: command channel Table command channel overview → page 7-14 Command 1: read master flags Request DP-master: Byte 16#01 MM = master no. (1…2) not used not used Response controller e : Byte 16#00 D6 = command code D7 = error code...
  • Page 44: Command 2: Change Operating Mode

    Operation DP-module 7: command channel Command 2: change operating mode Request DP-master: Byte 16#02 MM = master no. (1…2) 0 = protected mode not used 1 = projected mode not used *) Response controller e : Byte 16#02 D6 = command code D7 = error code copy of the request →...
  • Page 45: Command 3: Read Current Slave Configuration

    Operation DP-module 7: command channel Command 3: read current slave configuration Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#03 SSSSS = slave no. (0…31) SSSSS not used *) not used *) Response controller e : Byte 16#03 D6 = command code...
  • Page 46 Operation DP-module 7: command channel Example Read current slave configuration of slave 7B on AS-i master 1 Request DP-master: Byte 16#03 command (slave no. 7) 16#67 + (master no. 1 * 64) + (32, if B-slave) = 103 = 67 not used *) not used *) Response controller e :...
  • Page 47: Command 4: Read Projected Slave Configuration

    Operation DP-module 7: command channel Command 4: read projected slave configuration Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#04 SSSSS = slave no. (0…31) SSSSS not used *) not used *) Response controller e : Byte 16#00 D6 = command code...
  • Page 48 Operation DP-module 7: command channel Example Read projected slave configuration of slave 16(A) on AS-i master 1 Request DP-master: Byte 16#04 Command (slave no. 16) 16#50 + (master no. 1 * 64) + (32, if B-slave) = 80 = 50 not used *) not used *) Response controller e :...
  • Page 49: Command 5: Project Slave Configuration

    Operation DP-module 7: command channel Command 5: project slave configuration Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#05 SSSSS = slave no. (0…31) SSSSS extended ID-code 2 extended ID-code 1 ID-code IO-configuration Response controller e : Byte 16#05 D6 = command code...
  • Page 50: Command 6: Read Slave Parameter

    Operation DP-module 7: command channel Command 6: read slave parameter Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#06 SSSSS = slave no. (0…31) SSSSS not used *) not used *) Response controller e : Byte 16#00 D6 = command code...
  • Page 51: Command 7: Project Slave Parameters

    Operation DP-module 7: command channel Command 7: project slave parameters The projected parameters can only be changed if the AS-i master operates in the projected mode. Activation → page 8-2 Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#07 SSSSS = slave no.
  • Page 52 Operation DP-module 7: command channel Example Project slave parameter of slave 7B on AS-i master 1 Request DP-master: Byte 16#07 command (slave no. 7) 16#87 + (master no. 1 * 64) + (32, if B-slave) = 135 = 87 16#0F projected parameter not used *) Response controller e :...
  • Page 53: Command 8: Read Las (List Of Active Slaves)

    Operation DP-module 7: command channel Command 8: read LAS (list of active slaves) The 2 feedback bytes can only give information about max. 16 slaves. Therefore Slave group the slaves are divided in 4 groups (→ table below). When querying the slave lists any slave number from the requested slave group is to be entered.
  • Page 54 Operation DP-module 7: command channel Example Read LAS (list of active slaves) of slave group 1 on master 1 Request DP-master: Byte 16#08 command (slave no. 2) → group 1 16#42 + (master no. 1 * 64) + (32, if B-slave) = 66 = 42 not used *)
  • Page 55: Command 9: Read Lds (List Of Detected Slaves)

    Operation DP-module 7: command channel Command 9: read LDS (list of detected slaves) Slave group The 2 feedback bytes can only give information about max. 16 slaves. Therefore the slaves are divided in 4 groups (→ table page 8-11). Request DP-master: MM = master no.
  • Page 56 Operation DP-module 7: command channel Example Read LDS (list of detected slaves) of slave group 3 on AS-i master 2 Request DP-master: Byte 16#09 command → group 3 (slave no. 5) 16#A5 + (master no. 2 * 64) + (32, if B-slave) = 165 = A10 not used *)
  • Page 57: Command 10: Read Lpf (List Of Slaves With Peripheral Fault)

    Operation DP-module 7: command channel Command 10: read LPF (list of slaves with peripheral fault) Slave group The 2 feedback bytes can only give information about max. 16 slaves. Therefore the slaves are divided in 4 groups (→ table page 8-11). Request DP-master: MM = master no.
  • Page 58 Operation DP-module 7: command channel Example Read LPF (list of slaves with peripheral fault) of slave group 2 on AS-i master 1 Request DP-master: Byte 16#0A Command (slave no. 20) → group 2 16#54 + (master no. 1 * 64) + (32, if B-slave) = 84 = 54...
  • Page 59: Command 11: Read Lps (List Of Projected Slaves)

    Operation DP-module 7: command channel Command 11: read LPS (list of projected slaves) Slave group The 2 feedback bytes can only give information about max. 16 slaves. Therefore the slaves are divided in 4 groups (→ table page 8-11). Request DP-master: MM = master no.
  • Page 60 Operation DP-module 7: command channel Example Read LPS (list of projected slaves) of slave group 2 on AS-i master 1 Request DP-master: Byte 16#0B command (slave no. 20) → group 2 16#54 + (master no. 1 * 64) + (32, if B-slave) = 84 = 54 not used *)
  • Page 61: Command 13: Read Error Counter

    Operation DP-module 7: command channel Command 13: read error counter Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#0D SSSSS = slave no. (0…31) SSSSS not used *) not used *) Response controller e : Byte 16#0D D6 = command code...
  • Page 62 Operation DP-module 7: command channel Example Read error counter of slave 1 on AS-i master 1 Request DP-master: Byte 16#0D Command (slave no. 1) 16#41 + (master no. 1 * 64) + (32, if B-slave) = 65 = 41 not used *) not used *) Response controller e : Byte...
  • Page 63: Command 14: Read Configuration Error Counter

    Operation DP-module 7: command channel Command 14: read configuration error counter Request DP-master: MM = master no. (1…2) Byte 16#0E not used *) not used *) Response controller e : Byte 16#0E D6 = command code D7 = error code copy of the request →...
  • Page 64 Operation DP-module 7: command channel Example Read configuration error counter of AS-i master 2 Request DP-master: Byte 16#0E command (slave no. 7) 16#80 + (master no. 2 * 64) + (32, if B-slave) = 128 = 80 not used *) not used *) Response controller e : Byte...
  • Page 65: Command 15: Read As-I Cycle Counter

    Operation DP-module 7: command channel Command 15: read AS-i cycle counter Request DP-master: MM = master no. (1…2) Byte 16#0F not used *) not used *) Response controller e : Byte 16#0F D6 = command code D7 = error code copy of the request →...
  • Page 66 Operation DP-module 7: command channel Example Read AS-i cycle counter of AS-i master 1 Request DP-master: Byte 16#0F command (slave no. 7) 16#40 + (master no. 1 * 64) + (32, if B-slave) = 64 = 40 not used *) not used *) Response controller e : Byte...
  • Page 67: Command 16: Change Current Slave Parameters

    Operation DP-module 7: command channel Command 16: change current slave parameters Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#10 SSSSS = slave no. (0…31) SSSSS preset value parameter not used *) Response controller e : Byte 16#10 D6 = command code...
  • Page 68 Operation DP-module 7: command channel Example Change slave parameter of slave 7 on AS-i master 1 to the value "F" Request DP-master: Byte 16#10 command (slave no. 7) 16#47 + (master no. 1 * 64) + (32, if B-slave) = 71 = 47 16#0F preset value parameter...
  • Page 69: Command 19: Project All

    Operation DP-module 7: command channel Command 19: project all Request DP-master: MM = master no. (1…2) Byte 16#13 not used *) not used *) Response controller e : Byte 16#13 D6 = command code D7 = error code copy of the request →...
  • Page 70 Operation DP-module 7: command channel Example Project all on AS-i master 1 Request DP-master: Byte 16#13 command (slave no. 7) 16#40 + (master no. 1 * 64) + (32, if B-slave) = 64 = 40 not used *) not used * Response controller e : Byte 16#13...
  • Page 71: Command 21: Save Configuration In Flash

    Operation DP-module 7: command channel Command 21: save configuration in flash Request DP-master: MM = master no. (1…2) Byte 16#15 not used *) not used *) Response controller e : Byte 16#15 D6 = command code D7 = error code copy of the request →...
  • Page 72: Command 22: Reset Error Counter

    Operation DP-module 7: command channel Command 22: reset error counter Reset of the slave error counter and configuraton error counter Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#16 SSSSS = slave no. (0…31) SSSSS not used *) not used *) Response controller e :...
  • Page 73 Operation DP-module 7: command channel Example Reset error counter of AS-i master 2 Request DP-master: Byte 16#16 command (slave no. 7) 16#80 + (master no. 2 * 64) + (32, if B-slave) = 128 = 80 not used *) not used *) Response controller e : Byte 16#16...
  • Page 74: Command 23: Address Slave

    Operation DP-module 7: command channel Command 23: address slave Request DP-master: MM = master no. (1…2) X = slave type (0…1) Byte 16#17 SSSSS = slave no. (0…31) SSSSS new slave address not used *) Response controller e : Byte 16#17 D6 = command code D7 = error code...
  • Page 75: Command 62: Operating Mode "Continuous Command"

    Operation DP-module 7: command channel Command 62: operating mode "continuous command“ If the "continuous" mode is active, the current command is transferred in every cycle. Important The continuous mode influences the behaviour of the controller e . The mode should only be used for read commands.
  • Page 76 Operation DP-module 7: command channel Example Activate the operating mode "continuous command" Request DP-master: Byte 16#3E command 16#01 changes the mode 16#01 commands are carried out cyclically Response controller e : Byte 16#3E copy of the request 16#47 copy of the request 16#01 copy of the request 16#01...
  • Page 77: Command 63: No Operation Command Without Function

    Operation DP-module 7: command channel Command 63: no operation command without function Request DP-master: Byte 16#3F not used *) not used *) not used *) Response controller e : D6 = command code Byte D7 = error code 16#3F → page 7-13, table below copy of the request copy of the request copy of the request...
  • Page 78: Dp-Module 12: Extended Command Channel

    Operation DP-module 12: extended command channel DP-module 12: extended command channel The extended command channel is used to exchange data between the AS-i controller e and the Profibus host (PLC). Note: In some controllers larger consistent data fields cannot be processed in the direct I/O address area.
  • Page 79: List Of The Extended Commands

    Operation DP-module 12: extended command channel User-ID Note If a command is to be executed, the user-ID must be changed! Changing the command number does not start the execution. If a command is to be executed several times, the user-ID must be changed accordingly, e.g.
  • Page 80: Assignment Of The Slave Addresses

    Operation DP-module 12: extended command channel Assignment of the slave addresses Word 15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) Error codes 16#0001 no slave response or:...
  • Page 81: Command 1: Write Parameter

    Operation DP-module 12: extended command channel Command 1: write parameter Request DP-master: 1st word 16#0901 command number 1 user-ID changes from 0 to 9 16#0000 reserved word 16#0024 slave address 4B word (for B-slaves add 20 to the address) 4th word 16#000F parameter value to be written Response controller e (gateway) in the normal case:...
  • Page 82: Command 4: Write Lps

    Operation DP-module 12: extended command channel Command 4: write LPS Request DP-master: 1st word 16#0204 command number 4 user-ID changes to 2 16#0000 reserved word 16#001E slaves 1(A) to 5(A) *) are to be projected word 001E = 0000 0000 0001 1110 4th word 16#8000 slave 31(A) *) is to be projected...
  • Page 83: Command 5: Change Operating Mode

    Operation DP-module 12: extended command channel Command 5: change operating mode Request DP-master: 1st word 16#0105 command number 5 user-ID changes to 1 16#0000 reserved word 16#0000 activate protected mode word 16#0001 activate projected mode Response controller e (gateway) in the normal case: 1st word 16#0105 reflected command number 5...
  • Page 84: Command 6: Readdress Slave

    Operation DP-module 12: extended command channel Command 6: readdress slave Request DP-master: 1st word 16#0806 command number 6 user-ID changes to 8 16#0000 reserved word 16#0029 slave address 9B word (for B-slaves add 20 to the address) 4th word 16#000B new slave address 11A Response controller e (gateway) in the normal case: 1st word...
  • Page 85: Command 7: Change Mode Automatic Addressing

    Operation DP-module 12: extended command channel Command 7: change mode automatic addressing Request DP-master: 1st word 16#0407 command number 7 user-ID changes to 4 16#0000 reserved word 16#0000 automatic addressing deactivated word 16#0001 automatic addressing possible 4th word 16#000F parameter value to be written Response controller e (gateway): 1st word 16#0407...
  • Page 86: Command 21: Read 7.4 Id Character String

    Operation DP-module 12: extended command channel Command 21: read 7.4 ID character string Request DP-master: 1st word 16#0215 command number 15 (= 21 user-ID changes to 2 16#0300 slave address 3(A) word Response controller e (gateway): 1st word 16#0215 reflected command number 15 (=21 user-ID changes to 2 16#0604...
  • Page 87 Operation DP-module 12: extended command channel Structure 7.4 ID character string Word DT-start DT-count Mux-field E-type number of parameters to be read EDT read reserved diag reserved EDT write reserved number of parameters to be written device-specific information manufacturer identification device-specific information device-specific information 7…x...
  • Page 88: Command 26: Read As-I Master Version

    Operation DP-module 12: extended command channel Command 26: read AS-i master version Request DP-master: 1st word 16#131A command number 1A (= 26 user-ID changes to 13 Response controller e (gateway): 1st word 16#131A reflected command number 1A (= 26 user-ID changes to 13 16#0000 reserved word...
  • Page 89: Command 33: Read 7.4 Diagnostic Character String

    Operation DP-module 12: extended command channel Command 33: read 7.4 diagnostic character string Request DP-master: 1st word 16#0721 command number 21 (= 33 user-ID changes to 7 16#0300 slave address 3 word Response controller e (gateway): 1st word 16#0721 reflected command number 21 (= 33 user-ID changes to 7 16#0608...
  • Page 90: Command 34: Read 7.4 Parameter Character String

    Operation DP-module 12: extended command channel Command 34: read 7.4 parameter character string Request DP-master: 1st word 16#0822 command number 22 (= 34 user-ID changes to 8 16#0300 slave address 3 word Response controller e (gateway): 1st word 16#0822 reflected command number 22 (= 34 user-ID changes to 8 16#0604...
  • Page 91: Command 35: Write 7.4 Parameter Character String

    Operation DP-module 12: extended command channel Command 35: write 7.4 parameter character string Request DP-master: 1st word 16#0923 command number 23 (= 35 user-ID changes to 9 16#0300 slave address 3 word 16#1AF4 1st word of the parameter character string of slave 3 word 4th word 16#5BB8...
  • Page 92: Command 50: Read Current Configuration Of Slaves 0(A)...15(A)

    Operation DP-module 12: extended command channel Command 50: read current configuration of slaves 0(A)...15(A) Request DP-master: 1st word 16#0232 command number 32 (= 50 user-ID changes to 2 Response controller e (gateway): 1st word 16#0232 reflected command number 32 (= 50 user-ID changes to 2 16#00FF reserved...
  • Page 93: Command 52: Read Current Configuration Of Slaves 1B...15B

    Operation DP-module 12: extended command channel Command 52: read current configuration of slaves 1B...15B Request DP-master: 1st word 16#0434 command number 34 (= 52 user-ID changes to 4 Response controller e (gateway) in the normal case: 1st word 16#0434 reflected command number 34 (= 52 user-ID changes to 4 16#00FF...
  • Page 94: Command 54: Read Current Parameters

    Operation DP-module 12: extended command channel Command 54: read current parameters Request DP-master: 1st word 16#0636 command number 36 (= 54 user-ID changes to 6 Response controller e (gateway): 1st word 16#0636 reflected command number 36 (= 54 user-ID changes to 6 16#00FF reserved word...
  • Page 95: Command 55: Read Slave Lists

    Operation DP-module 12: extended command channel Command 55: read slave lists Request DP-master: 1st word 16#0737 command number 37 (= 55 user-ID changes to 7 Response controller e (gateway): 1st word 16#0737 reflected command number 37 (= 55 user-ID changes to 7 16#00FF reserved word...
  • Page 96: Command 56: Read Projected Configuration Of Slaves 0(A)...15(A)

    Operation DP-module 12: extended command channel Command 56: read projected configuration of slaves 0(A)…15(A) Request DP-master: 1st word 16#0238 command number 38 (= 56 user-ID changes to 2 Response controller e (gateway): 1st word 16#0238 reflected command number 38 (= 56 user-ID changes to 2 16#00FF reserved...
  • Page 97: Command 58: Read Projected Configuration Of Slaves 1B...15B

    Operation DP-module 12: extended command channel Command 58: read projected configuration of slaves 1B...15B Request DP-master: 1st word 16#043A command number 3A (= 58 user-ID changes to 4 Response controller e (gateway) in the normal case: 1st word 16#043A reflected command number 3A (= 58 user-ID changes to 4 16#00FF...
  • Page 98: Command 61: Read Message Error Counter (1)

    Operation DP-module 12: extended command channel Command 61: read message error counter (1) Request DP-master: 1st word 16#073D command number 3D (= 61 user-ID changes to 7 Response controller e (gateway): 1st word 16#073D reflected command number 3D (= 61 user-ID changes to 7 Command 62: read message error counter (2) Request DP-master:...
  • Page 99: As-I Diagnosis Via Profibus-Dp

    Operation AS-i diagnosis via Profibus-DP AS-i diagnosis via Profibus-DP Digital inputs The AS-i master status information in the first byte of the digital input data of the single/A-slaves contains master flags of the corresponding AS-i system: Byte 0 Bit 7 Bit 6 Bit 5 Bit 4...
  • Page 100: Extended Device-Specific Profibus-Dp Diagnosis

    Operation AS-i diagnosis via Profibus-DP Extended device-specific Profibus-DP diagnosis The extended device-specific Profibus-DP diagnosis is activated by setting the Profibus-DP parameter byte 37 bit 5 and contains the following status information: Byte Contents Diagnosis standard station status 1 diagnosis station status 2 station status 3 standard diagnosis station number DP-master...
  • Page 101: Diagnostic Master Flags (Byte 10 / Byte 36)

    Operation AS-i diagnosis via Profibus-DP Diagnostic master flags (byte 10 / byte 36) Format of the first byte of the diagnostic master flags, i.e. for byte 10 (AS-i master 1) and byte 36 (AS-i master 2): Bit 7 Bit 6 Bit 5 Bit 4 bit 3...
  • Page 102: Set The Profibus-Dp Address On The Controller E

    Operation Set the Profibus-DP address on the controllere Set the Profibus-DP address on the controller e The controller e provides 2 options to obtain the fieldbus data: • menu "Quick Setup" > "Fieldbus Setup" • or menu "Fieldbus Setup" The first variant is described below: ►...
  • Page 103 Operation Set the Profibus-DP address on the controllere Fieldbus Address > Display of the first enabled Profibus slave address 0...2 reserved 3…127 first to last Profibus slave address ► Press [▲] / [▼] to scroll to the requested slave address in the Profibus Fieldbus Address ►...
  • Page 104: Read Fieldbus Parameters

    Operation Read fieldbus parameters Read fieldbus parameters Continued from the preceding chapter Fieldbus Baudrate > Continuous display of possible values: The controller e negotiates the suitable baudrate with 45,45 kBaud the fieldbus master > Display of determined values for the baudrate ►...
  • Page 105 Operation Read fieldbus parameters Digital outputs > Display that 16 bytes in the fieldbus master were Master 2 (A) configured for digital outputs in the fieldbus master of single or A-slaves on AS-i master 2 → pages 7-17onwards ► Press [OK] to scroll to the next display ►...
  • Page 106 Operation Read fieldbus parameters Digital outputs > Display that 16 bytes in the fieldbus master were Master 2 (B) configured for digital outputs in the fieldbus master of B-slaves on AS-i master 2 → pages 7-17onwards ► Press [OK] to scroll to the next display ►...
  • Page 107 Operation Read fieldbus parameters Fieldbus Data > Display that 8 bytes in the fieldbus master were PLC input configured for fieldbus data PLC inputs in the fieldbus master → pages 7-17onwards ► Press [OK] to scroll to the next display ►...
  • Page 108 Operation Read fieldbus parameters Analog input Master 2 > Data not used for Profibus ► Press [OK] to scroll to the next display ► [ESC] to return to screen 87 "Fieldbus Address" Analog output Master 2 > Data not used for Profibus ►...
  • Page 109: Store System Parameters

    Operation Store system parameters Digital Inputs Master 1 (A) > Repetition of the display series (→ step 8) ► Press [OK] to scroll to the next display ► [ESC] to return to screen 87 "Fieldbus Address" Fieldbus Address ► Press [ESC] twice to return to the start screen Store system parameters →...
  • Page 111: Technical Data

    Technical data Basic functions Technical data Basic functions → separate basic instructions of the device manual Interface Profibus-DP baudrate *) 9.6 KBaud to 12 MBaud connection SUB D 9 socket with LED for error indication * The fieldbus master and the controller e negotiate the baudrate at power on. The fieldbus master determines the value.
  • Page 113: Error Correction

    Error correction List of errors Error correction Basic functions→ separate basic instructions of the device manual 10.1 List of errors Errors Cause(s) Remedy ► ► ► ► ► ► 10-1...
  • Page 114: Hardware Errors, Exception Errors

    Error correction Hardware errors, exception errors 10.2 Hardware errors, exception errors Exception errors STKOV: STKUN: Seg: Off: > The main processor has detected an exception error TFR: > All activities in process are interrupted ► Power off and on again the controller e If this error message is shown immediately after power on, the execution of the PLC program can be prevented: ►...
  • Page 115 Terms, abbreviations Terms, abbreviations 11.1 A/B-slave →Slave with an A or B being appended to its address number and which may therefore be present twice on the master. Address This is the "name" of the bus participant. All participants need a clearly defined address so that the signals can be exchanged without problem.
  • Page 116 Terms, abbreviations DHCP DHCP = Dynamic Host Configuration Protocol = protocol for the 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 117 Terms, abbreviations Host The controller in the hierarchy above the AS-i master, e.g. a PLC or a processor. ID = Identifier Name to differentiate the devices / participants connected to a system. IP-address IP = Internet Protocol The IP-address is a number necessary to clearly identify an internet participant.
  • Page 118 Terms, abbreviations Modbus The Modbus protocol is a communication protocol based on a →master/slave architecture and was generated by Modicon in 1979 for communication with its PLCs. In industry Modbus is the de-facto standard. Modbus/TCP is based on →Ethernet-TCP/IP. Modbus/TCP ports the protocol defined for the serial interface to TCP.
  • Page 119 Terms, 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 participant 1, if needed 4.
  • Page 120 Terms, 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 121 Index Index 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 italic. A/B-slave ............11-1 ID ..............
  • Page 122 Index Status information remanent ............11-5 master ............8-57 Safety instructions ..........2-1 Store system SELV ..............11-6 parameters ............ 8-67 Set-up Finish ............. 7-19 stored diagnostic information......8-57 Single slave ..........7-8, 11-6 Symbols............... 1-1 slave Target ..............11-6 A ..............

Table of Contents