Page 5
Phoenix Contact reserves the right to make any technical changes that serve the purpose of technical progress. Phoenix Contact reserves all rights in the case of patent award or listing of a regi- stered design. External products are always named without reference to patent rights.
Page 7
Table of Contents Table of Contents The Symbols Used ................5 Safety ....................7 Intended Use ...................... 7 General Safety Information ................7 General Information ................9 Installation, Displays and Operating Keys ........11 Module Installation ..................11 4.1.1 Replacing Terminals ..................12 4.1.2 Adjusting the Length of the Process Data ............
Page 8
Table of Contents 7.2.3 Provision of Access .................... 30 7.2.4 Static PMS Data Types ..................30 Commissioning Tools and Accessories ......... 37 Windows Software AS-i Control Tools ............37 Appendix: Displaying the Figure Display ........39 Appendix: The First Commissioning of AS-i ........41 Technical Data ...................
Page 9
Table of Contents AS-i Protocol Implementation Conformance Statement (PICS) ..71 We Are Interested in Your Opinion! ..........73 6170B...
Page 11
The Symbols Used The Symbols Used This symbol warns the user of possible danger. Failure to heed this warning can lead to personal injury or death and/or damage to equipment. This symbol warns the user of a possible failure. Failure to heed this warning can lead to total failure of the equipment or any other con- nected equipment.
Page 13
Safety Safety Intended Use The protection of operating personnel and the system against possi- ble danger is not guaranteed if the control interface unit is not oper- ated in accordance with its intended use. The device may only be operated by appropriately qualified person- nel in accordance with this operating manual.
Page 15
AS-i parameters can be accomplished with the use of two push-but- tons, the display and the LEDs directly on the device as with all AS-i masters of Phoenix Contact. It is also possible to do the configuration of AS-interface with the AS-i Control Tools.
Page 17
Installation, Displays and Operating Keys Installation, Displays and Operating Keys Module Installation AS-i MODE AS-i + AS-i - AS-i + AS-i - AS-i + AS-i - AS-i - AS-i + Please consult also the "INTERBUS Inline System Manual" to learn more about the Inline connection techniques (mounting terminals, con- necting cables, logic power supply ...).
Page 18
Installation, Displays and Operating Keys 4.1.1 Replacing Terminals Do not replace terminals while power is connected! Before removing or mounting a terminal, disconnect power to the entire station! Make sure the entire station is reassembled before switching power back on. 4.1.2 Adjusting the Length of the Process Data If the object 5FFB is 0 (state of delivery) the length of the process data is set by...
Page 19
Installation, Displays and Operating Keys The power supply has to be an AS-i power supply that can be connected to the AS-i line at any place.An AS-i power supply has to be used which can be connec- ted to the AS-i cable like all the other AS-i components at any place. AS-i power AS-i AS-i...
Page 20
Installation, Displays and Operating Keys figuration of the AS-i can be displayed. All connected slaves partici- pate in the data exchange, whilst in the protected mode only the configured slaves are addressed and polled. 4.2.2 Seven-Segment-Display The seven-segment-display shows slave addresses, errors and operations mo- des.
Page 21
Operating the AS-i/INTERBUS Gateway Operating the AS-i/INTERBUS Gateway Master Start-Up After powering on, all segments of the figure display and all LEDs light up for ap- proximately one second (self-test). Afterwards, the LEDs display the condition of their respective flags. The figure display shows the condition of the master: OFPOff-line Phase The AS-i master initializes - there is no data communication on the AS-i.
Page 22
Operating the AS-i/INTERBUS Gateway In configuration mode, all recognized slaves are activated except of slave zero. The AS-i master is in normal operation. There is data exchange between the AS-i master and all AS-i slaves detected by the master regardless of whether the de- tected AS-i slaves were projected before.
Page 23
Operating the AS-i/INTERBUS Gateway Assigning an AS-i Address in Configuration Mode To assign a slave with address unequal zero to another address unequal zero, you have to follow the instructions first in chapter 5.4.2 and then chapter 5.4.1 one after the other.
Page 24
Operating the AS-i/INTERBUS Gateway Programming the Address in Case of Configuration Errors 5.5.1 Automatic Address Assignment One of AS-i’s great advantages is the automatic address assign- ment. If a slave fails, it can be replaced by one of the same type with address zero.
Page 25
Operating the AS-i/INTERBUS Gateway again. As a requirement, the new slave’s configuration data must match the con- figuration data for the blinking address. After the address has been successfully set, the next faulty assignment is display- ed and the address assignment can begin from the start. Otherwise, the system displays an error code (chapter 9).
Page 26
Operating the AS-i/INTERBUS Gateway 6170B...
Page 27
Advanced Diagnostics for AS-i Masters Advanced Diagnostics for AS-i Masters The advanced AS-i diagnostics serve to locate occasionally occurring errors and to judge the quality of data transmission on AS-i without additional diagnostics tools. The "AS-i Control Tools" (software for the comfortable commissioning of the AS- Interface and the programming of AS-i Control) support the operation of the ad- vanced diagnostics (LCS, error counters and LOS).
Page 28
Advanced Diagnostics for AS-i Masters Off-line Phase on Configuration Errors (LOS) The AS-i masters with advanced diagnostics offer the possibility to put themselves into the off-line Phase when a configuration error on the AS-Interface occurs. In this way the security of the application can be ensured. The reaction to a configu- ration error is very fast and the host can be relieved from this task.
Page 29
AS-i/INTERBUS Gateway AS-i/INTERBUS Gateway The primary task of the AS-i/INTERBUS gateway is to transfer bits from INTER- BUS to the AS-i slaves (actuators) and to transfer bits from the AS-i to INTERBUS. On the one hand, the AS-i/INTERBUS gateway is controlled by the INTERBUS master, i.
Page 30
AS-i/INTERBUS Gateway • The control word is replaced by the status word in the read cycle. The status word supplies status information to the INTERBUS master. • 14 words (224 bits) constitute the fast process data channel. Here, bits are ex- changed directly with the AS-i, so that four bits are available for altogether 55 AS-i slaves (address 0 is reserved for special tasks).
Page 31
AS-i/INTERBUS Gateway 9th word slave 1B slave 2B slave 3B D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 Bit 15 Bit 0 14th word slave 20B slave 21B slave 22B slave 23B D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 Bit 15 Bit 0 The data for the slaves 24B to 31B can not be displayed because of the limited...
Page 32
AS-i/INTERBUS Gateway Control word Bit assignment in the control word for the AS-i/INTERBUS gateway (bit set: active, bit reset: off): Bit 15 Bit 0 0/1 0/1 0/1 0/1 0/1 0/1 Data_ Exchange_ inactive Offline Auto_prog_Dis Offline phase on AS-i configuration error Block module error on AS-i configuration error Block module error on AS-i power failure Controling the AS-i master with the bits 0, 1 and 2 is only possible if the PCP-object...
Page 33
AS-i/INTERBUS Gateway Status word Bit 15 Bit 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Config_OK LES.0 Auto_prog Auto_prog_Avail Configuration_Mode_Active Normal_Mode_Active Offline_ready Periphery_OK Config_OK The desired configuration of the AS-i network coincides with the actual con- figuration, i. e. all parts of the AS-i are working and are correctly projected. LDS.0 (list of detected slaves) A slave with address 0 is connected to the AS-i.
Page 34
AS-i/INTERBUS Gateway transmission. The AS-i/INTERBUS gateway operates in a pure server mode in this case, i. e. it understands certain commands the client can send. The client is al- ways the INTERBUS master. Data transmission via the PCP channel can require a number of words per command.
Page 35
AS-i configuration error / AS-i power fail when the following occurs: Identification of the AS-i/INTERBUS gateway as a virtual field device (VFD) VFD attribute Assignment Data type Comment Vendor name Phoenix Contact Visible string Model name ASI/IBS gateway Visible string Revision 1.02...
Page 36
AS-i/INTERBUS Gateway over the process data channel, it must continuously request the data. This should, however, rarely be necessary as the AS-i data is transmitted over the process data channel. Further information regarding the services may be found in the INTERBUS litera- ture.
Page 37
AS-i/INTERBUS Gateway Description of the objects in the data type structure (DS) of the static object dictionary for the AS-i/INTERBUS gateway Index Object code Number of Data-Type-Index Length Elements octet string Read_stored_data octet string octet string octet string Configure_slave octet string octet string Read_Config_data octet string...
Page 38
AS-i/INTERBUS Gateway Communication type objects and data types: Communication object Index Obj. type Data type Content (length) (length) List of projected slaves 5F50 simple octet string (8) LPS (1*62) (LPS) variable Configuration mode 5F51 simple boolean (true) - configura- variable tion mode (false) - protected mode...
Page 39
AS-i/INTERBUS Gateway Communication object Index Obj. type Data type Content (length) (length) Input data 5FD6 record octet string (31) Input data (62*4) octet string (8) List of detected slaves (LDS) (1*62) octet string (2) execution control flags) (1*16) Command call 5FD7 record octet string (1)
Page 40
AS-i/INTERBUS Gateway Communication objects of the simple variable type: Index 5F50 5F51 5F52-5F8F 5F90 5F91 5F92 (CO) List of pro- Configu- Paramete- Store_ Store_ Output jected sla- ration rize_slave actual_ actual_ data ves (LPS) mode parameters configuration Object simple variable code Data type index...
Page 41
AS-i/INTERBUS Gateway Object description of the AS-i/INTERBUS gateway communication objects: Index 5F93 5F94-5FD1 5FD3 5FD4 5FD5 5FD6 (CO) Read_ Configure_ Read_con- Read_ Modify_ Input data stored_ slave figuration_ parameters operating_ data data address Object code record Data type index Password Access groups Access...
Page 43
Commissioning Tools and Accessories Commissioning Tools and Accessories The AS-i circuit on the AS-i/INTERBUS Gateway can be put into operation with the comfortable Windows software "AS-i Control Tools" (included on the CMD instal- lation CD). Windows Software AS-i Control Tools 1.
Page 44
Commissioning Tools and Accessories 6. Click on a slave entry to open the dialog box "Slave configuration". This dialog box is for changing a slave address, setting AS-i parameters or AS-i configuration data. Additionally you can test inputs and outputs. A very easy approach to configure the AS-i circuit is connecting each AS-i slave to the line and setting the AS-i slave address one after the other.
Page 45
Appendix: Displaying the Figure Display Appendix: Displaying the Figure Display In the basic state of the configuration mode, the display shows one after the other the addresses of all detected slaves at a rate of two per second. A blank display means that the LDS is empty, i.e.
Page 46
Appendix: Displaying the Figure Display 6170B...
Page 47
Appendix: The First Commissioning of AS-i Appendix: The First Commissioning of AS-i In this chapter an example is given of how to put an AS-i network into operation quickly and easily and without the need for external devices. The addressing of the components connected to the AS-i network can be performed directly on the AS-i master.
Page 48
Appendix: The First Commissioning of AS-i What to do ? How to go about it? Change to the protected operating Leave the configuration mode by mode and store the AS-i configuration. pressing the “MODE” button for at least five seconds until the “PRJ” LED goes out.
Page 49
Technical Data Technical Data Product Description The AS-i/INTERBUS gateway can be used to integrate an AS-i bus into an INTER- BUS network. Features • full functionality of an AS-i master • INTERBUS protocol • electrical isolation between INTERBUS and AS-i •...
Page 51
Appendix: Data Format of the Process Data Channel Appendix: Data Format of the Process Data Channel For the assignment of the (Word.Bit) or (Byte.Bit) view to the user set control or computer system, please refer to data sheet DB GB IBS SYS ADDRESS, Order No. 90 00 99 0. 12.1 Control Word and Status Word Control word from INTERBUS master to AS-i/INTERBUS gateway...
Page 52
Appendix: Data Format of the Process Data Channel 2nd word slave 4 / 4A slave 5 / 5A slave 6 / 6A slave 7 / 7A D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 bit 15 bit 0 3rd word...
Page 53
Appendix: Data Format of the Process Data Channel 10th word slave 4B slave 5B slave 6B slave 7B D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 D3 D2 D1 D0 bit 15 bit 0 11th word slave 8B slave 9B slave 10B...
Page 54
Appendix: Data Format of the Process Data Channel slave failed) and logical reasons (slave is not configured the right way). These lists are: List of active slaves (LAS) The AS-i/INTERBUS gateway adds an entry for every slave, that can be ac- cessed to.
Page 55
Appendix: Data Format of the Process Data Channel OD-Header-Attribut Belegung Bemerkung First index DV-OD C000 0000h DV-OD length There is no dynamic vari- ables list dictionary. Local address DV-OD FFFFFFFFh No real DV-OD object is required. First index P-OD E000 0000h P-OD length There is no real program invocation dictionary.
Page 56
Appendix: Data Format of the Process Data Channel 6170B...
Page 57
Parameter Data Channel (PCP) Parameter Data Channel (PCP) 13.1 Services Supported The AS-i/INTERBUS gateway operates exclusively as an INTERBUS server, i. e. it provides services to the INTERBUS master. INTERBUS communications services of the AS-i/INTERBUS gateway: Service Function group Client/Server Confirmed/unconfirmed Initiate Administration Server...
Page 58
Parameter Data Channel (PCP) CRL entries for the AS-i/INTERBUS gateway: Attributes of the CRL entry PMS connection Remote Address Type MMAZ max SCC max RCC max SAC max RAC Connection attribute Max-PDU-Sending-High Max-PDU-Sending-Low Max-PDU-Receiving-High Max-PDU-Receiving-Low Services supported Get-OD (long) (ind/rsp) Write (ind/rsp);...
Page 60
Parameter Data Channel (PCP) P3, P2, P1, P0: Parameters for the slave 13.3.4 Store Actual Parameters (index 5F90) (WRITE, Data-Type-Index 01h) This service is used to save the current parameter settings of all AS-i slaves as the new stored parameter settings, i. e. the current parameter settings will be restored the next time the AS-i is switched on.
Page 61
Parameter Data Channel (PCP) Byte 15 slave 30 - 31 / 30B - 31B Byte 16 slave 1B Byte 17 slave 2B -3B Byte 31 slave 30B - 31B D3, D2, D1, D0: Data to the slave 13.3.7 Read Stored Configuring Data (index 5F93) (READ, Data-Type-Index 40h) The stored data is a description of the desired state that should exist on the AS-i.
Page 62
Parameter Data Channel (PCP) ID1_3, ID1_2, ID1_1, ID1_0: ID1-Code ID2_3, ID2_2, ID2_1, ID2_0: ID2-Code • Stored parameters field. This field contains four bits for each AS-i slave, these are transmitted to the slaves immediately after switch on. Byte 62 slave 1 / 1A Byte 63 slave 2 - 3 / 2A - 3A Byte 77...
Page 64
Parameter Data Channel (PCP) • transfer control word via parameter data channel Byte 0; Data exchange inactive 0xFF/0x00 (true/false) 00h (false) = The data exchange between the AS-i master and the AS-i slaves is enabled. ffh (true) = The data exchange between the AS-i master and the AS-i slaves is disabled.
Page 66
Parameter Data Channel (PCP) Byte 133 slaves 24B - 31B S31B S30B S29B S28B S27B S26B S25B S24B *"0": No slave with this address has been detected on the AS-i network. "1": A slave with this address has been detected on the AS-i network. You can frequently find the reason for a CONFIG ERR message from the AS-i/IN- TERBUS gateway by comparing the list of projected slaves (LPS), list of detected slaves (LDS), and list of active slaves (LAS).
Page 68
Parameter Data Channel (PCP) 13.3.13 Input Data (index 5FD6) (READ, Data-Type-Index 46h) Use this command to read the input data from the AS-i sensors. • input data field. This field contains 4 bits for each AS-i slave. You should, pref- erably, request these data through the process data channel.
Page 70
Parameter Data Channel (PCP) 13.3.14 Command Call (index 5FD7) (WRITE, Data-Type-Index 47) Use this command to send a command to an AS-i slave. • slave address (0..31/31A/31B) Byte 0 0x00-0x1F AB = 0 single slave or A-slave AB = 1 B-slave •...
Page 71
Parameter Data Channel (PCP) Byte 31 slave 31 / 31A FZ31 Byte 32 slave 1B FZ1B Byte 62 slave 31B FZ31B APF: number of short-time power failures FZi: number of errorneous telegrams to slave i (255 = counter overflow) • LCS Byte 63 slaves 0 - 7 / 0 - 7A Byte 64...
Page 72
Parameter Data Channel (PCP) "0": AS-i power supply O.K., "1": short-time failure of the AS-i power supply occured. S1-S31: *"0": slaves with this address didn’t have any configuration errors, "1": slaves with this address caused a short-time configuration error. 13.3.17 Block the Module Errors (index 5FDA) (READ, WRITE, Data-Type-Index 49h) The module error messages "AS-i power failure"...
Page 74
Parameter Data Channel (PCP) 13.3.20 INTERBUS length (index 5FFB) (READ, WRITE, Data-Type-Index 5) If the entered value is 0 the INTERBUS length is defined by the jumpers 1-3 (see chapter 4.1.2). Otherwise the entered value is valid. • IB-length IB length: 0; 2, 4, 6, 8, 10, 12, 14 or 16 words 13.3.21 List of peripheral faults (LPF) (index 5FFC) (READ, Data-Type-Index 10h)
Page 75
Parameter Data Channel (PCP) 13.3.22 Analog Input data (index 5FFD-601B) (READ, WRITE, Data-Type-Index 4Ah) This service allows read access to the input data of analog slaves (AS-i slaves with profile 7.3 and 7.4) Missing or erroneous slaves have the value 7FFFh except of transparent slaves that have the default value 0.
Page 76
Parameter Data Channel (PCP) Error codes for Write.rsp (-) Error class 6 Access Error code 5 Object-Attribute-Inconsistent Additional code 10h incorrect subindex 12h length of service parameter “data” too great 13h length of service parameter “data” too small The error codes can be queried on the INTERBUS master. They assist in trouble- shooting in program development or indicate error situations in normal operation.
Page 77
AS-i Protocol Implementation Conformance Statement (PICS) AS-i Protocol Implementation Conformance Statement (PICS) List of implemented Master functions Remark / Implemented by Functions or calls at host interface Image, Status = Read_IDI () √ PD, 5FD6 Status = Write_OD (Image) √ PD, 5F92 √...
Page 78
AS-i Protocol Implementation Conformance Statement (PICS) Legend Symbol Meaning √ Function implemented − Function not implemented 6170B...
Page 79
We review and consider all comments for inclusion in future documentation. Please fill out the form on the following page and fax it to us or send your com- ments, suggestions for improvement, etc. to the following address: Phoenix Contact GmbH & Co. KG Marketing Services Dokumentation...
Page 80
We Are Interested in Your Opinion! Fax Reply Phoenix Contact GmbH & Co. Date: Marketing Services Dokumentation Fax No: +49 - (0) 52 35 - 3-4 20 66 From: Company: Name: Department: Adress: Function: City, ZIP Phone: Code: Country: Fax:...
Need help?
Do you have a question about the 27 41 40 6 and is the answer not in the manual?
Questions and answers