Accessories AS-Interface (AS-i) 13444387 Ä.
Contents ________________________________________________________________ 1 1.1 1.2 1.3 1.
Contents ________________________________________________________________ 9 9.1 9.2 9.3 9.4 9.
1 About this documentation ________________________________________________________________ 1 About this documentation Contents This documentation exclusively contains descriptions of the AS-Interface (AS-i) bus system for the Inverter Drive 8400 motec. Note! This documentation supplements the mounting instructions supplied with the Communication Unit and the "Inverter Drives 8400 motec" hardware manual.
1 About this documentation ________________________________________________________________ Target group This documentation addresses persons who configure, install, commission, and maintain the networking and remote servicing of a machine. Tip! Current documentation and software updates for Lenze products can be found in the download area at: www.Lenze.
1 About this documentation 1.1 Document history ________________________________________________________________ 1.1 Document history Version 6 Description 1.0 12/2010 TD17 First edition 2.0 01/2011 TD17 Update: • Low-voltage supply via the AS-i-bus cable • I/O configuration • Error messages • Parameter descriptions General revision 3.0 01/2012 TD17 4.
1 About this documentation 1.2 Conventions used ________________________________________________________________ 1.2 Conventions used This manual uses the following conventions to distinguish between different types of information: Type of information Writing Examples/notes Spelling of numbers Decimal Decimal separator Hexadecimal Binary • Nibble Normal spelling Point 0x[0 ... 9, A ... F] 0b[0, 1] Example: 1234 The decimal point is generally used. For example: 1234.
1 About this documentation 1.3 Terminology used ________________________________________________________________ 1.3 Terminology used Term Meaning AS-Interface AS-i The AS-Interface (actuator/sensor interface) ... • is an international standard for fieldbus communication. • is used in decentralised applications as fieldbus communication on the lowest control level.
1 About this documentation 1.4 Notes used ________________________________________________________________ 1.
Safety instructions General safety and application notes ________________________________________________________________ 2 Safety instructions Note! Always observe the specified safety measures to avoid severe injury to persons and damage to material assets! Always keep this documentation near the product during operation. 2.1 General safety and application notes Danger! If you ignore the following basic safety measures, severe injury to persons and damage to material assets may be caused.
Safety instructions Device and application-specific safety instructions ________________________________________________________________ 2.2 Device and application-specific safety instructions • During operation, the Communication Unit must be connected to the Wiring Unit and the Drive Unit. • Only use cables that comply with the listed specifications. Bus cable specification ( 21) 2.
Product description Application as directed ________________________________________________________________ 3 Product description 3.1 Application as directed The AS-Interface Communication Unit ... • is a unit that can only be used in conjunction with the following modules: Product series Type designation Inverter Drives 8400 motec Drive Unit E84DGDVxxxxxxxx Inverter Drives 8400 motec Wiring Unit E84DGVNxx • is a device intended for use in industrial power systems.
Product description Features and variants ________________________________________________________________ 3.
Product description Connections and interfaces ________________________________________________________________ 3.3 Connections and interfaces E84DG018 [3-1] Communication Unit AS-Interface Pos.
Product description Connections and interfaces ________________________________________________________________ • By default, the AS-i terminal and the LEDs for the AS-i status displays are already mounted and wired: • AS-i connection to terminal strip X3 • LEDs on plug connector X55 • The positions A1 ... A4 and B1 ... B4 serve to freely connect the AS-i terminals, the LEDs for the AS-i status displays and other connections (e.g. digital inputs).
Technical data General data and operating conditions ________________________________________________________________ 4 Technical data 4.1 "Inverter Drives 8400 motec" hardware manual Here you will find the ambient conditions and information on the electromagnetic compatibility (EMC) that also apply to the Communication Unit.
Technical data Protocol data ________________________________________________________________ 4.2 Protocol data Range AS-i device profiles Values • Slave 1: 7.A.5 (CTT2) • Slave 2: 7.A.E Process image, standard Slave 1: • DI0 ... 3 = 4 bits • DO0 ... 3 = 4 bits Slave 2: • DI0/1 = 2 bits • DO3/4 = 2 bits Total: 6 input bits / 6 output bits Process image, A/B technique Slave 1: • DI0 ... 3 = 4 bits • DO0 ...
Technical data Communication time ________________________________________________________________ 4.3 Communication time The communication time defines the time between the start of a request and the arrival of the corresponding response. The communication times in an AS-i network depend on the ... • processing time in the inverter; • telegram runtime (baud rate / telegram length); • nesting depth of the network. Processing time in the inverter Data Process data Parameter data Processing time approx.
Installation ________________________________________________________________ 5 Installation Stop! Electrostatic discharge Electronic components within the Communication Unit can be damaged or destroyed by electrostatic discharge. Possible consequences: • The Communication Unit is defective. • Fieldbus communication is not possible or faulty. • I/O signals are faulty. • The safety function is faulty. Protective measures Discharge electrostatic charges before touching the Communication Unit.
Installation Mechanical installation ________________________________________________________________ 5.1 Mechanical installation "Inverter Drives 8400 motec" mounting instructions Here you will find detailed information on the installation. 0.37 ... 3.0 kW 4.0 ... 7.5 kW E84DG023a E84DG023b [5-1] Mechanical installation of the 8400 motec components Legend for fig. [5-1] 20 1 Drive Unit 2 Communication unit 3 Wiring Unit A Cover of the Drive Unit EDK84DG...
Installation Electrical installation ________________________________________________________________ 5.2 Electrical installation "Inverter Drives 8400 motec" hardware manual Here you can find detailed information on ... • the digital and analog inputs/outputs; • the relay output; • the integrated safety system (safety option); • the wiring of the terminals. Observe the notes and wiring instructions contained in this documentation. 5.2.1 Bus cable specification The AS-i bus cable serves as ...
Installation Electrical installation ________________________________________________________________ 5.2.2 AS-i connection • M12 pins, 5-pole, A-coded • Wiring of terminal strip X3 AS-i connection Pin 22 Signal Description 1 ASi+ AS-i data line, positive 2 - Not assigned 3 ASi- AS-i data line, negative 4 - Not assigned 5 - Not assigned Lenze · Decentralised frequency inverter 8400 motec (AS-Interface option) · EDS84DMOTASI EN 4.
Installation Electrical installation ________________________________________________________________ 5.2.3 Voltage supply • The Communication Unit is supplied with voltage via the AS-i bus cable. • Access to parameters of a device that is disconnected from the mains is not possible. • Permissible voltage (DC) / max. current: • U = 29.5 ... 31.
Commissioning Before initial switch-on ________________________________________________________________ 6 Commissioning During commissioning, system-related data such as motor parameters, operating parameters, responses, and parameters for fieldbus communication are defined for the drive. For Lenze devices, this is done via the codes. The codes of the drive and communication are saved non-volatilely as a data set in the memory module.
Commissioning How to configure the host (master) ________________________________________________________________ 6.2 How to configure the host (master) For communication with the inverter, the host (master) must be configured first. Defining the user data length • The AS-Interface Communication Unit supports the configuration of max. 8 process data words (max. 64 bytes). • The user data length is defined during the initialisation phase of the master.
Commissioning Settings for AS-i communication in the »Engineer« ________________________________________________________________ 6.3 Settings for AS-i communication in the »Engineer« 6.3.1 Addressing the AS-i slaves Addressing is usually carried out automatically via the master or an external addressing unit. The AS-Interface Communication Unit uses two slaves (see AS-i concept of the Communication Unit ( 33)) which must be initialised with unique addresses.
Commissioning Settings for AS-i communication in the »Engineer« ________________________________________________________________ 6.3.2 All parameters for setting the AS-i communication All parameters for setting the AS-i communication can be found in the »Engineer« on the "All parameters" tab. Save the changed settings with the device command C00002/11 (save all parameter sets).
Commissioning Initial switch-on ________________________________________________________________ 6.4 Initial switch-on Establishing communication • To establish a communication, the Inverter Drive must be supplied with mains voltage. • For AS-i communication, the Communication Unit has to be supplied with voltage. If this is not the case, the error message "CE04: MCI communication error" (error no. 01.0127.00002) is output.
Data transfer AS-i messages ________________________________________________________________ 7 Data transfer The AS-Interface transmits parameter data, configuration data, diagnostic data, alarm messages and process data between the host (master) and the inverters (slaves) participating in the fieldbus. Depending on their time-critical nature, the data are transmitted via different communication channels. The bus access method of the AS-Interface is a master-slave method with cyclic polling.
Data transfer AS-i messages ________________________________________________________________ Structure of the master call Structure in the standard addressing mode for up to 31 slaves: ST SB Address Information PB EB 1 bit 1 bit 5 bits 5 bits 1 bit 1 bit Structure in the advanced addressing mode for up to 62 slaves: ST SB Address 1 bit 1 bit 5 bits Information 1 bit Select bit 3 bits PB EB 1 bit 1 bit Bit field Description ST The start bit marks the start of the master call.
Data transfer AS-i cycle ________________________________________________________________ 7.2 AS-i cycle The complete AS-i cycle consists of: • AS-i messages Max. 31 messages (sum of the standard slaves connected to the network or the maximum of A and B slaves) • 1 management call Consists of a parameter exchange or a command to a slave and an optional response.
Data transfer Synchronisation ________________________________________________________________ 7.3 Synchronisation The synchronisation serves to read in or output all input and output data exactly at the same time and independent of the slave address. The jitter of the outputs can be reduced from ± 2.5 ms to ± 154 μs. In a standard data exchange, the outputs of each slave that receives a data call from the master are updated immediately and the input information are read in.
Data transfer AS-i concept of the Communication Unit ________________________________________________________________ 7.4 AS-i concept of the Communication Unit The AS-Interface Communication Unit supports the following device profiles: AS-i profile Slave Data transmission Data / parameter bits 7.A.
Data transfer Data transmission slave 1 (AS-i profile 7.A.5) ________________________________________________________________ 7.5 Data transmission slave 1 (AS-i profile 7.A.5) Accessing the data bits Bits Signal / I/O mapping Description / standard connection with ... DI0 DigIn_bIn2 DI1 DigIn_bIn4 The function of these inputs cannot be selected in the »Engineer«. Can be used to monitor the digital inputs if the Drive Unit is in the "offline" status.
Data transfer Data transmission slave 1 (AS-i profile 7.A.
Data transfer Data transmission slave 2 (AS-i profile 7.A.E) ________________________________________________________________ 7.6 Data transmission slave 2 (AS-i profile 7.A.E) Accessing the data bits Bits Signal / I/O mapping Description / standard connection with ... LP_Network_Out: MCI_bState_B0 C00621/30: not connected Inputs DI0 DI1 LP_Network_Out: MCI_bState_B1 C00621/31: not connected DI2 Digin_bln1 DI3 Digin_bln3 The function of these inputs cannot be selected in the »Engineer«.
Data transfer Data transmission slave 2 (AS-i profile 7.A.E) ________________________________________________________________ Accessing the parameter bits Parameter bits P0 ... P3 provide diagnostic information to the master for slave 2. Here, P0 ... P2 define whether a status query of code C00150 or an error/warning diagnostics is returned as slave response to the master. The values of P0 ... P3 are transmitted to the master via the "Write_Parameter" command.
Process data transfer ________________________________________________________________ 8 Process data transfer • Process data are transmitted via the process data channel. • The process data serve to control the inverter. • The transmission of process data is time-critical. • Process data are cyclically transferred between the master and the slaves participating in the fieldbus (continuous exchange of current input and output data). • The master can directly access the process data.
Process data transfer Accessing process data / PDO mapping ________________________________________________________________ 8.1 Accessing process data / PDO mapping Process data are transferred via the MCI/CAN interface. • The process data is accessed via the LP_Network_In and LP_Network_Out port blocks. • Up to 8 words (16 bits/word) per direction can be exchanged. • The port/function blocks of the process data objects (PDO) are interconnected via the Lenze »Engineer«.
Process data transfer Port interconnection of process data objects (PDO) ________________________________________________________________ 8.2 Port interconnection of process data objects (PDO) How to configure the port interconnection in the »Engineer«: 1. Go to the Application parameters tab to make the default setting of the I/O configuration. Select the "Network (ASi)" control mode (C00007). 2. The Process data objects tab of the AS-i interface displays the preset I/O configuration.
Process data transfer Port interconnection of process data objects (PDO) ________________________________________________________________ 3. Open the "Assignment Signal --> Function Block" dialog window using the buttons. Here, tick ( ) the signals that are sent from the PLC (AS-i master) to the inverter. 4. Confirm the selection with OK. Lenze · Decentralised frequency inverter 8400 motec (AS-Interface option) · EDS84DMOTASI EN 4.
Process data transfer Port interconnection of process data objects (PDO) ________________________________________________________________ 5. The codes C00620/21, C00620/24, C00621/30 and C00621/31 serve to select the signals that are sent from the inverter to the PLC (AS-i master). 6. Use code C00002 to execute the command "11: Save all parameter sets". The changed settings are activated and saved safe against mains failure.
Parameter data transfer ________________________________________________________________ 9 Parameter data transfer • Parameter data are acyclically transmitted via the parameter data channel. • The parameter data channel provides access to all Lenze codes. • In general, the transmission of parameter data is not time-critical. • Parameter data are, for instance, operating parameters, diagnostic information, and motor data.
Parameter data transfer CTT2: Read parameter value ________________________________________________________________ 9.1 CTT2: Read parameter value • Acyclic read request from the master to the slave: Byte Contents / value 0 CTT2: Code • Index 0x12 (18): Acyclic read request 1 CTT2: Index • Index 0x10 (16): Read parameter value 2 CTT2: Number of bytes • Value depends on the master.
Parameter data transfer CTT2: Write parameter value ________________________________________________________________ 9.
Parameter data transfer CTT2: Read code number ________________________________________________________________ 9.3 CTT2: Read code number • Acyclic read request from the master to the slave: Byte Contents / value 0 CTT2: Code • Index 0x12 (18): Acyclic read request 1 CTT2: Index • Index 0x12 (18): Read code number 2 CTT2: Number of bytes • Value depends on the master. • Response from slave to master is OK: Byte Contents / value 0 CTT2: Code • Index 0x52 (82): Acyclic read request is OK.
Parameter data transfer CTT2: Write code number ________________________________________________________________ 9.
Parameter data transfer CTT2: Block parameter transfer ________________________________________________________________ 9.5 CTT2: Block parameter transfer In the case of the CTT2 block parameter transfer, parameter sets with a fixed length of 64 bytes are transmitted. Note! In order to guarantee that a fixed data length of 64 bytes is transmitted, all the parameters are transmitted as 32-bit values (16 x 32-bit parameters).
Parameter data transfer CTT2: Block parameter transfer ________________________________________________________________ • Response from slave to master has failed: Byte Contents / value 0 CTT2: Code • Index 0x92 (146): Acyclic read request is not OK.
Parameter data transfer CTT2: Block parameter transfer ________________________________________________________________ 9.5.2 Write mode • Acyclic write request from master to slave: Byte Contents / value 0 CTT2: Code • Index 0x13 (19): Acyclic write request 1 CTT2: Index • Index 0x28 (40): Write parameter 2 CTT2: Number of bytes • 0x41 (65) 3 Reserved 4 ... 7 Double word 1 • Value of the parameter in code C13213/1 ... ... 64 ...
Parameter data transfer CTT2: Standard error codes ________________________________________________________________ 9.
Parameter data transfer CTT2: Acyclic device error codes ________________________________________________________________ 9.
Diagnostics LED status displays ________________________________________________________________ 10 Diagnostics For diagnosing troubled AS-i communication, LEDs can be mounted to the Communication Unit. The LEDs, in conjunction with a transparent cover, can be procured from Lenze. Moreover, the current bus status can be queried via code C13211 and the internal communication status can be queried via code C13950. 10.
Diagnostics Diagnostics with the »Engineer« ________________________________________________________________ 10.2 Diagnostics with the »Engineer« In the »Engineer« under the Diagnostics tab, you will find AS-Interface diagnostics information. 54 Lenze · Decentralised frequency inverter 8400 motec (AS-Interface option) · EDS84DMOTASI EN 4.
Error messages Short overview of AS-i error messages ________________________________________________________________ 11 Error messages This chapter complements the error list in the software manual and the »Engineer« online help for the Inverter Drive 8400 motec by AS-i error messages. 11.1 Short overview of AS-i error messages Software manual/»Engineer« online help "Inverter Drive 8400 motec" Here you will find general information on diagnostics & fault analysis and on error messages.
Error messages Possible causes and remedies ________________________________________________________________ 11.2 Possible causes and remedies In this chapter, all AS-i error messages are listed in the numerical order of the error numbers. Possible causes and remedies as well as responses to the error messages are described in detail.
Error messages Possible causes and remedies ________________________________________________________________ Module internal/watchdog error [0x01bc6010] Response (Lenze setting printed in bold) Setting: C01501/1 / C01503 ( adjustable response) None System fault Fault Trouble Quick stop by trouble Warning locked Warning Information Cause Remedy Device internal MCU error • Switch the voltage supply of the Inverter Drive 8400 motec and the AS-i network off and on again.
Error messages Possible causes and remedies ________________________________________________________________ Module parameter access failure [0x01bc6102] Response (Lenze setting printed in bold) Setting: C01501/1 / C01503 ( adjustable response) None System fault Fault Trouble Quick stop by trouble Warning locked Warning Information Cause • AS-i voltage supply interrupted. • Connection between the Communication Unit and the Drive Unit defective. Remedy • Check wiring and terminals.
Error messages Possible causes and remedies ________________________________________________________________ Slave 1 AS-I ASIC Profile Failure [0x01bc813d] Response (Lenze setting printed in bold) Setting: C13207/1 / C13208/1 ( adjustable response) None System fault Fault Trouble Quick stop by trouble Warning locked Warning Information Cause Remedy • The AS-i profile read by slave 1 (via MCU) does not correspond to the AS-i profile 7.A.
Parameter reference Communication-relevant parameters of the operating system ________________________________________________________________ 12 Parameter reference This chapter supplements the parameter list and the table of attributes in the software manual and in the »Engineer« online help for the Inverter Drive 8400 motec by the parameters for AS-i communication. 12.
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ 12.2 Parameters relevant for AS-i communication This chapter lists the AS-i parameters of the communication unit in numerically ascending order.
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13204 Parameter | Name: Data type: UNSIGNED_8 Index: 11371 = 0x2C6B C13204 | Override Slave Addresses Selection list (Lenze setting printed in bold) 0 Off / ready 1 On / start 2 In progress 3 Action failed 4 Action cancelled 5 No access Read access Write access CINH PLC STOP No transfer PDO_MAP_RX PDO_MAP_TX COM MOT C13205 Parameter | Name: Data type: UNSIGN
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13207 Parameter | Name: Data type: UNSIGNED_8 Index: 11368 = 0x2C68 C13207 | Response in case of communication fault The response set here is triggered if the AS-i node does not receive a message from the master within the monitoring time (C13208) or detects that it has exited the DATA_EXCHANGE status. A change in the monitoring response becomes immediately effective.
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13211 Parameter | Name: Data type: UNSIGNED_8 Index: 11364 = 0x2C64 C13211 | bus status Display of the current AS-i bus status Selection list (read only) Info 0 Offline 1 Initialisation 2 Online 3 Initialisation failed 4 Not accessible 5 Disabled at 0 address Subcodes Info C13211/1 Slave 1 Status C13211/2 Slave 2 Status Read access Write access CINH PLC STOP No
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13214 Parameter | Name: C13214 | CTT2 block parameter transfer: Read parameter block configuration Data type: INTEGER_32 Index: 11361 = 0x2C61 CTT2 block parameter transfer Read mode ( 48) Setting range (min. value | unit | max. value) 0.000 16000.000 Subcodes Lenze setting Info C13214/1 50.000 ReadParamBlock:Index_1 C13214/2 51.
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13221 Parameter | Name: Data type: UNSIGNED_16 Index: 11354 = 0x2C5A C13221 | Display: Last data from master Display of the last data transmitted from the master to the communication unit. Value is bit-coded: Bit 0 D0 Bit 1 D1 Bit 2 D2 Bit 3 D3 Bit 4 PR0 Bit 5 PR1 Bit 6 PR2 Bit 7 PR3 Bit 8 Reserved ... ...
Parameter reference Parameters relevant for AS-i communication ________________________________________________________________ C13900 Parameter | Name: Data type: VISIBLE_STRING Index: 10675 = 0x29B3 C13900 | Firmware product type Display of the product type (string with a length of 8 bytes) • The following identification code is displayed: "E84DGFCA".
Parameter reference Table of attributes ________________________________________________________________ 12.3 Table of attributes The table of attributes contains information required for a communication with the inverter via parameters. How to read the table of attributes: Column Meaning Code Parameter name Cxxxxx Name Parameter short text (display text) Text hex Index under which the parameter is addressed. The subindex for array variables corresponds to the Lenze subcode number.
Parameter reference Table of attributes ________________________________________________________________ Table of attributes Code Name Index Data dec hex DS DA 11375 0x2C6F A 2 Data type Access Factor R C13200 Active address C13202 Slave address EPM value 11373 0x2C6D A 2 C13204 Override slave addresses 11371 0x2C6B E 1 C13205 Override of slave addresses during initialisation 11370 0x2C6A E 1 UNSIGNED_8 C13206 Slave profiles 11369 0x2C69 A 2 UNSIGNED_16 C13207 Res
Index ________________________________________________________________ A Accessing process data 39 Active address (C13200) 61 Acyclic parameter data channel 17 Addressing the AS-i slaves 26 All words from standard device (C13853) 66 All words to standard device (C13852) 66 Application as directed 12 Application notes (representation) 9 Approvals 16 AS-i: monitoring times (C13208) 63 AS-i bus transaction counter (C13210) 63 AS-i concept of the Communication Unit 33 AS-i connection 22 AS-i error messages: Ca
Index ________________________________________________________________ E M Electrical installation 21 E-mail to Lenze 73 Error messages 55 Causes and remedies 56 Error messages (short overview) 55 Error messages (slave 2) 37 Error number 0x01bc3100 56 0x01bc5531 56 0x01bc5532 56 0x01bc6010 57 0x01bc6011 57 0x01bc6100 57 0x01bc6101 57 0x01bc6102 58 0x01bc813a 58 0x01bc813b 58 0x01bc813c 58 0x01bc813d 59 0x01bc813e 59 Establishing communication 28 Extended process image for slave 1 35 Make the I/O configu
Index ________________________________________________________________ S Safety instructions 10 Safety instructions (representation) 9 Screenshots 5 Setting the AS-i communication in the »Engineer« 26 Settings for AS-i communication in the »Engineer« 26 Slave 1 AS-I ASIC Profile Failure (error message) 59 Slave 1 CTT2 extended cyclic timeout (error message) 58 Slave 1 Data exchange timeout (error message) 58 Slave 2 AS-I ASIC Profile Failure (error message) 59 Slave 2 Data exchange timeout (error message)
)(('%$&. Your opinion is important to us These instructions were created to the best of our knowledge and belief to give you the best possible support for handling our product. If you have suggestions for improvement, please e-mail us to: feedback-docu@Lenze.de Thank you for your support.
Decentralised frequency inverter 8400 motec (AS-Interface option) · EDS84DMOTASI · 13444387 · EDS84DMOTASI EN 4.0 - 09/2013 Lenze Drives GmbH Postfach 10 13 52 D-31763 Hameln Germany +49 (0)51 54 / 82-0 +49 (0)51 54 / 82-28 00 Lenze@Lenze.de www.Lenze.com Service Lenze Service GmbH Breslauer Straße 3 D-32699 Extertal Germany 00 80 00 / 24 4 68 77 (24 h helpline) +49 (0)51 54 / 82-11 12 Service@Lenze.