Home

onlinecomponents.com

image

Contents

1. 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 Example of a PCP Service The PCP services are part of the commands which you can send to the INTER BUS master from your application program The following example shows the structure of a Write service that is used to con figure a slave see chapter 13 3 8 With this service you tell the AS i master which slave type including parameters and data direction the AS i master can expect at which slave address Configure Slave 2 CO Index SFC6 AS i slave 2 AS i slave type 3 Data direction 8 3 input bits 1O0 102 1 output bit 103 Parameters 5 Structure of the associated Write service 0082 Write service request 0004 Quantity of subsequent command parameters 00 KR_ Invoke ID communication reference CR Index for slave 2 00 02 Subindex number of following data bytes Slave type data direction parameters PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i Protocol Implementation Conformance Statement PICS 14 AS i Protocol Implementation Conformance Statement PICS No List of implemented Master functions Remark Implemented by a Functions or calls at host interface IAA Status Write_OD Image Status Set_Permanent_Parameter S_Addr S_ Param S_Param Status Get_Permanent_Parameter S_ Addr
2. 0 slave is not projected i e no slave with this address has to be installed 1 slave is projected i e a slave with this address has to be installed Configure Slave index 5FE3 5FD1 WRITE Data Type Index 41h i 1 62 With this service you can transmit the 8 bits of configuration data and 4 bits of pa rameter data for an AS i slave to the AS i INTERBUS gateway There this data is stored in non volatile memory e configuration data of slave Byte 0 1 slave D30201 00 108 162 107 100 IO3 102 101 IOO l O configuration identifies number of inputs and outputs ID 3 ID 2 ID 1 ID 0 D configuration identifies AS i slave type ID1 3 1ID1 2 ID1 1 1ID1 0 ID1 Code ID2 3 ID2 2 ID2 1 ID2 0 ID2 Code e Parameters of slave to be stored Byte 2 slaves x xX x xX P3 P2 Pt Po P3 P2 P1 PO Parameters for the slave Data Transfer Control Word index 5FD2 READ WRITE Data Type Index 01h Use this service to transmit the information for the control word also via the para meter data channel PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 10 58 e transfer control word via parameter data channel Byte 0 Data exchange inactive OxFF Ox00 true false OOh 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
3. Index 5F50 5F51 5F52 5F8F 5F90 5F91 CO List of pro Configu Paramete Store _ Store _ jected sla ration rize_slave actual actual ves LPS mode parameters configuration Object simple variable code Datatype 10 01 10 01 01 10 index Length Passw jo Jo Access rights Local Implementation dependent address Variable no entry name Extension no entry Access groups See chapter 13 3 for a description of the data structures Communication Content Process object data imaging Read_stored_data 5F93 Stored configuration data field read not possible 1 CO Stored parameters field read not possible List of projected slaves LPS read not possible Configure_slave 62 5F94 5FD1 Stored configuration data for write not possible COs slave Stored parameters for slave write not possible List of projected 5F50 write not possible slaves LPS 1 CO Configuration mode 5F51 AS i master operating mode write not possible 1 CO Read_stored_ data SFD3 Configuration data images field read not possible 1 CO List of detected slaves LDS read not possible Read_parameters 5FD4 Parameters field read not possible 1 CO List of active slaves LAS read not possible Parameterize_slave 5F52 5F8F Parameters for slave write not possible 62 COs Store actual para 5F90 Store _actual_ parameters write not possible meters 1 CO true or not false Store_actual_confi 5F91 Store _act
4. Phoenix Contact GmbH amp Co KG Marketing Services Dokumentation 32823 Blomberg GERMANY Phone 49 0 52 35 3 00 Telefax 49 0 52 35 3 4 20 66 E Mail tecdoc phoenixcontact com PHCENIX 73 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS We Are Interested in Your Opinion Fax Reply Phoenix Contact GmbH amp Co Date Marketing Services Dokumentation Fax No 49 0 52 35 3 4 20 66 From Company Name Department Adress Job Function City ZIP Phone Code Country Fax Document Designation Revision Order No My Opinion on the Document Form Yes In part No Is the table of contents clearly arranged O g C Are the figures diagrams easy to understand helpful E g Oo Are the written explanations of the figures adequate E Oo Does the quality of the figures meet your expectati q Oo ons needs Does the layout of the document allow you to find E E information easily Contents Yes In part No ls the phraseology terminology easy to understand g Oo g Are the index entries easy to understand helpful g Oo g Are the examples practice oriented Is the document easy to handle g O Is any important information missing If yes what g g O Other Comments z PHCENIX vm CONTACT
5. 31A D3 02 D1 00 D3 D2 D1 DO s 02 ot D0 D302 01 00 Bit 15 Bit O PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 9th word slave 1B slave 2B Slave 3B x x X x 03 2 bt oo o3 o2 0 oo os 02 0 50 Bit 15 Bit 0 14th word slave 20B slave 21B slave 22B Slave 23B D3 D2 D1 Do 63 D2 D1 boos 02 0 50 D1 Do Bit 15 Bit 0 The data for the slaves 24B to 31B can not be displayed because of the limited length of the process data channel This data can only be accessed via the PCP channel AS i allows the use of a bit position for both input and output purposes As a rule AS i slaves offer four inputs and outputs each of which has its own bit position e g slave n nput input output output bit 15 bit 12 An AS i slave uses its bits of the process data word as input or output data The order of the slaves on INTERBUS can be programmed in the AS i INTERBUS gateway It is not possible to access the data for slave 0 as this address Is reser ved for configuration mode 7 1 2 Control Word and Status Word The INTERBUS master can use the control word to control the AS i INTERBUS gateway The status word indicates the current state of the AS i INTERBUS gate way to the INTERBUS master Control word and status word are transmitted with each cycle of INTERBUS just like the data on the process data channel nit PHCENIX 25 CONTACT THE ONL
6. OO OOF TOC IO JOO OO CO OO 4 1 3 Connecting the AS i Circuit The AS i circuit is connected to the right terminal block AS i is connected to the terminals 1 0 1 3 and AS i to the terminals 2 0 2 3 12 PHCENIX a CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installation Displays and Operating Keys 4 2 4 2 1 6170B 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 Master AS i power Display and Operating Elements On the front panel of the AS i INTERBUS gateway are several light emitting dio des a three digit seven segment display and two push buttons to configure the gatway LEDs D LED green on INTERBUS is active flashes 0 5 Hz INTERBUS not active flashes 2 Hz INTERBUS active peripheral fault flashes 4 Hz terminal in front of the module failed off no logic power supply INTERBUS not active If this LED is on or flashes the logic power supply is O K TR LED green PCP channel active CFG LED red Configuration error in the AS i network When this LED is alight the seven segment display indicates an AS i address This is the lowest AS i address at which a configuration error has been detected i e a higher AS i address may appear when the error is rectified AS i LED green Li
7. 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 OFP Off line Phase The AS i master initializes there is no data communication on the AS i If the AS i circuit is insufficiently powered AS i does not light up the master remains in the off line phase Attention SEA Detection Phase search Start of the start up phase where the system looks for slaves located on the AS i The master remains in the detection phase until it finds at least one slave 421 Activation Phase Condition at the end of the start up operation where the parameters are transmitted to all connected and recognized slaves This enables access to the AS i slaves data connections 43 Start of Normal Operation In normal operation the AS i master can exchange data with all active slaves It transmits management messages and looks for and activates newly connected slaves During normal operation the system keeps the maximum cycle time of 5 milliseconds 5 2 Configuration Mode The configuration mode serves to configure the AS i circuit In the configuration mode all recognized slaves are activated even when the desired and actual configurations do not match Attention Pressing the MODE button for at least five seconds switches the gateway to con figuration mode While in co
8. ccc cceccca ees eseeneeeeeeeeseeseeeeseeeeaeeeaeeesaes 48 Parameter Data Channel PCP 0 51 Services Supported ppp 51 Communication Relationship List CRL pe 51 Communication Objects for the AS i INTERBUS Gateway 008 52 List of Projected Slaves index 5F50 pp 52 Configuration Mode index SF51 pp 53 Parameterize Slavei index 5F52 5F8F 4 53 Store Actual Parameters index 5F90 pp 54 Store Actual Configuration index 5F91 4 54 Output Data index 2 54 Read Stored Configuring Data index 5F93 pp 55 Configure Slavei index SFE3 5FD1 cc ccceecceeceeeeseeeeeeeeseeseeeeseeeeseeeaeeeseees 57 Data Transfer Control Word index 5FD2 s nnnnnannennnnnnnennnnnnnnnnnsnrnnnrnnnnrnnne 57 Read Configuration Data index 5FD3 ccc cccceeceeeeeceeeeseeeseeeeaeeeseeeneeesaes 58 Read Parameters index 5FD4 pp 60 Modify Operating Address index 5FD5 pp 61 Input Data index SFDG ccc ee cee ceeeeceeeeaeeeeee cee eeseeeeseeeseeeseeeseeeeseeeeaeeseeeens 62 Command Call index 5FD7 pp 64 Enable Process Ouput Data index SFD8 pp 64 Read and Delete Advanced Diagnosis Data index 5FD9 pp 64 Block the Module Errors index SFDA pp 66 LOS UN RD 66 Analog output data index 5FDC 5FFA 4 67 INTERBUS length index 5FFB 4 68 List of peripheral faults LPF index SFFC sansannnnnennnnnnnnnnnnnnnsnnnnnnsnrnenrnnnnnnnne 68 Analog Input data index SFFD 601B 4 69 Acknowledgements
9. ways as described in section 3 1 In total the AS i INTERBUS gateway occupies according to the configuration 16 words on INTERBUS the location of which in the interface board or the controller board of the INTERBUS master is a consequence of the INTERBUS cabling The process data channel occupies 16 words process data channel plus control and status word as described in see chapter 7 1 2 and 7 1 3 The PLC or similar can address the sensors and actuators through this channel as if they were con nected conventionally with parallel wiring The INTERBUS master and AS i INTERBUS gateway communicate with each other on a simple rapid basis using the control word and data word See chapter 7 1 3 for details Following functions can executed via PCP e Setting the parameters for AS i slaves and reading their configuration data e Configuring AS i slaves i e storing the desired state of the AS i network in the AS INTERBUS gateway e Reading the stored data e Setting the operating mode configuration mode protected mode e Modifying the operating address of an AS i slave e Reading the current configuration of the AS i network e Reading the advanced diagnosis data e Reading and writing analog data Naturally the gateway has all the functions necessary for its tasks as INTERBUS Slave and INTERBUS server 28 PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 7 2 1 7 2 2 6
10. Index 10h The object for the list of slaves that shall release the offline phase when they have an error is also an octet string with 32 bits as the other slave lists too In any case writing this list acknowledges the release of the offline phase wether this function was activated by this object or setting bit 5 of the control word e LOS Byte 0 slaves 1 7 1A 7A Byte1 slaves 8 15 8A 15A Byte2 slaves 16 23 16A 23A 523 S16 Byte3 slaves 24 31 24A 31A 53 S25 524 PHCENIX CONTACT Parameter Data Channel PCP 13 3 19 6170B Byte 4 Byte 5 Byte 6 Byte 91 S31 S1B S31B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS slaves 1B 7B slaves 8B 15B slaves 16B 23B slaves 24B 31B 5375 5255 5245 0 no effect to the AS i Master 1 Ifthe slave with this adress is missing in the LAS the AS i master goes into the offline phase Analog output data index 5FDC 5FFA READ WRITE Data Type Index 4Ah This service allows read and write access to the output data of analog slaves AS i slaves with profile 7 3 and 7 4 e analog output data Byte 0 Byte 1 Byte 2 3 Byte 4 5 Byte 6 7 Byte 8 9 Byte 10 11 Byte 12 13 Byte 14 15 Byte 240 241 Byte 242 243 Byte 244 245 Byte 246 247 slave 1 channel 0 output data low byte slave 1 channel 0 output data high byte slave 1 channel 1 Slave 1 channel 2 Slave 1 channel 3 Slave 2 channel
11. Store configuration to adopt the detected AS i circuit to the AS i master as projected data Moreover you can use the AS i Address Assistant This tool changes automati cally the address of an AS i slave to the desired address after plugging the slave to the AS i line The desired AS i configuration can be created off line before and stored to a file When you build up the plant you only have to plug the AS i slaves to the AS i line one after the other Further descriptions to all features of the software can be obtained from the inte grated help 38 PHCENIX an CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Displaying the Figure Display 6170B 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 no slaves were detected In the basic state of the protected operating mode the display is either blank or displays the address of a faulty assignment see chapter 5 3 2 During manual address programming the slave address display has a different meaning see chapter 5 4 and 5 5 All displayed numbers that are bigger than 31 and therefore can not be interpreted as a slave address are status or error messages of the master They have the fol lowing meanings Advanced AS i diagnostics If a 39 appears on the display after
12. i slaves is disabled Byte 1 Offline OxFF Ox00 true false OOh false The AS i network starts up again Data is being exchanged ffh true All AS i slaves are reset No communication takes place in the AS i network Byte 2 Auto_Prog_ Disable OxFF Ox00 true false The AS i slaves can be automatically addressed OOh false ffh true The AS i slaves cannot be automatically addressed Read Configuration Data index 5FD3 READ Data Type Index 43h You can use this command to read the actual state of the AS i You will obtain the following information for each of the 32 possible addresses including AS i address 0 which can be occupied by a slave that is yet to be programmed e Configuration data images field The AS i INTERBUS gateway reads this infor mation from the slaves during the detection phase Byte 0 1 slave 0 16 3 10 2 17 10 103 102 10 100 Byte 2 3 slave 1 1A D 3 102 101 100 103 162 107 100 Byte 62 63 slave 31 31A 15 3 1 2 11 1 0 168 162 16 160 PHCENIX T CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 6170B Byte 64 65 slave 1B 5 3 18 2 1 4 10 0 163 162 107 100 Byte 124 125 slave 31B D30201 0010 16a 107 o0 IO3 102 101 100 l O configuration identifies number of inputs and outputs ID 3 ID 2 ID 1 ID 0 D configuration identifies AS i slave type ID
13. in the AS i INTERBUS gateway describe the services that the AS i INTERBUS gateway provides through the PCP services READ and WRITE List of Projected Slaves index 5F50 WRITE Data Type Index 10h The list of projected slaves contains one bit for each slave installed on the AS i Set the bit for the address of each slave to be installed Should one of these slaves fail or should the AS i INTERBUS gateway find additional slaves the AS i INTER BUS gateway will report a configuration error to the INTERBUS S master through the status word e List of projected slaves LPS Byte 0 slaves 1 7 1A 7A sr se Sl MT SRT al oO PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 2 13 3 3 6170B Byte 1 slaves 8 15 8A 15A Byte 2 slaves 16 23 16A 23A Byte 3 slaves 24 31 24A 31A Byte 4 slaves 1B 7B S7B S1B 0 Byte 5 Slaves 8B 15B Byte 6 Slaves 16B 23B Byte 7 slaves 24B 31B 0 slave is not projected i e no slave with this address has to be installed 1 slave is projected i e a slave with this address has to be installed Configuration Mode index 5F51 WRITE Data Type Index 01h This command is used to put the AS i INTERBUS gateway into configuration mo de e Configuration mode Byte 0 OxFF Ox00 true false OOh false configuration mode off protected mode ffh true configuration mode on Parameterize Slave inde
14. layout of our documents please send us your comments Please use the fax form at the end of the manual for this purpose Statement of Legal Authority This manual including all illustrations contained herein is copyright protected Use of this manual by any third party in departure from the copyright provision is forbidden Reproduction translation and electronic or photographic archiving or al teration requires the express written consent of Phoenix Contact Violators are lia ble for damages 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 The existence of such rights shall not be excluded Windows 3 x Windows 95 Windows 98 Windows NT and MS DOS are trade marks of Microsoft Corporation Genesis for Windows is a trademark of ICONICS Inc All other product names are trademarks of the respective organisations Internet You can find up to date information about products of Phoenix Contact on the internet under www phoenixcontact com PHCENIX 3 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents Table of Contents 2 1 2 2 4 1 4 1 1 4 1 2 4 1 3 4 2 1 4 2 2 4 2 3 5 1 5 2 5
15. other hand it is the AS i master i e it monitors the AS i network connected to it and controls all processes on it InterBus master InterBus S InterBus slave InterBus slave ASI master ASI ASI slaves The processes on the two sides run independently of one another e The information from the process data channel on INTERBUS is temporarily stored in the AS i INTERBUS gateway until it can be transferred to the appro priate AS i slave e The most recent available information from all the AS i slaves is forwarded in an INTERBUS cycle via the process data channel to the INTERBUS master The maximum delay between INTERBUS master and AS i slave is determined by the cycle time for the AS i and the cycle time of INTERBUS 7 1 Information Exchange over INTERBUS The AS i INTERBUS gateway uses according to the configuration 16 bit words on INTERBUS e One word is used for the PCP Peripherals Communication Protocol through which the AS i INTERBUS gateway is programmed and queried the PCP word does not appear in the process image of the PLC The INTERBUS master au tomatically masks out this word e One word is used as the control word The INTERBUS master can use this to interrupt data transmission in the AS i network 0170p PHCENIX 23 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 24 e The control
16. transmission Read and delete advanced 5FD9_ record octet string 63 Field of error diagnosis data counters 63 8 octet string 8 List of corrupted slaves LCS 1 63 Block the module errors 5FDA record boolean Block error mes sage AS i power failure boolean Block error mes sage AS i configu ration error LOS 5FDB simple octet string 8 LOS 1 62 variable Analog output data 5SFDC record 16 bit integer analog channel 0 31 COs OFFA 16 bit integer analog channel 1 16 bit integer analog channel 2 16 bit integer analog channel 3 INTERBUS length 52FFB simple IB length variable List of peripheral faults SFFC simple octet string 8 LPF 1 62 LPF variable Analog input data 31 COs 5FFD record 16 bit integer analog channel 0 601B 16 bit integer analog channel 1 16 bit integer analog channel 2 16 bit integer analog channel 3 see chapter 13 3 for a description of the data structures The Static Object Dictionary SOD specifies all the object types that are defined before the start of any communication and do not change during operation It does not specify in which bit of the content of a communications object CO what infor mation is stored The AS i INTERBUS gateway uses the following simple variable types of commu nications objects PHCENIX 33 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway Communication objects of the simple variable type
17. word is replaced by the status word in the read cycle The status word supplies status information to the INTERBUS master e 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 PCP 1 word Control word Process Data 8 words 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 Note Process Data Channel The process data channel transfers logical states directly between the pro grammable logic controller PLC and the digital actuators and sensors on the AS i INTERBUS and AS i are thus invisible for machine programming i e there is no difference with conventional parallel wiring for the INTERBUS master con troller The images of the sensors and actuators in the PLC are as follows 1st word slave 1 1A slave 2 2A slave 3 3A x X X x 53 62 07 bo 63 02 bi boos 02 01 oo bit 15 bit O 2nd word slave 4 4A slave 5 5A slave 6 6A slave 7 7A D3 D2 D1 Do 03 2 Di Do Ds D2 D1 Do 63 02 04 po bit 15 bit O 7th word slave 24 24A slave 25 25A slave 26 26A slave 27 27A 63 62 bt DO Ds 02 04 O63 02 bi D0 os 02 D1 66 Bit 15 Bit O 8th word slave 28 28A slave 29 29A slave 30 30A slave 31
18. 0 Slave 2 channel 1 Slave 2 channel 2 Slave 2 channel 3 slave 31 channel 0 slave 31 channel 1 Slave 31 channel 2 Slave 31 channel 3 PHCENIX 67 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 20 13 3 21 68 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 e IB length IB length 0 2 4 6 8 10 12 14 or 16 words List of peripheral faults LPF index 5FFC READ Data Type Index 10h The list of slaves with peripheral faults contains one set bit for each slave that re ports a peripheral fault If at least one slave has a peripheral fault the AS i INTER BUS gateway reports a peripheral fault via the status words to the INTERBUS master e List of peripheral faults LPF Byte 0 slaves 1 7 1A 7A S7 s o Byte 1 slaves 8 15 8A 15A Byte 2 slaves 16 23 16A 23A Byte 3 slaves 24 31 24A 31A Byte 4 slaves 1B 7B Byte 5 slaves 8B 15B S15B S9B S8B Byte 6 slaves 16B 23B Byte 7 slaves 24B 31B O Slave does not report a peripheral fault 1 Slave reports a peripheral fault PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 22 Analog Input data index 5FFD 601B 13 4 13 4 1 6170B READ WRITE Data Type Index 4A
19. 02 D1 Do 0s oa ot 00D 02 D1 00 bit 15 bit 0 9th word slave 1B slave 2B slave 3B D3 D2 D1 DOY D3 D2 D1 DO f D3 D2 D1 DO bit 15 bit 0 46 PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Data Format of the Process Data Channel 12 3 6170B 10th word Slave 4B Slave 5B slave 6B Slave 7B 63 D2 D1 DO 03 2 01 Dojos D2 D1 Do os 02 D1 Oo bit 15 bit O 11th word Slave 8B slave 9B Slave 10B slave 11B 63 D2 Di DO 3 2 01 Dojos D2 D1 Doos 02 oF o0 bit 15 bit O 12th word slave 12B slave 13B slave 14B slave 15B 63 D2 D1 D0 03 D2 D1 Dos oz o1 Do 3 02 D1 o0 bit 15 bit O 13th word slave 16B slave 17B slave 18B slave 19B 63 D2 D1 DO 03 D2 D1 Do os D2 D1 Do os 02 D1 po bit 15 bit O 14th word slave 20B slave 21B slave 22B slave 23B D3 D2 i Do 63 02 i Do Ds D2 04 Do os 02 D1 oo bit 15 bit O The slave 24B 31B are only accessible via the PCP channel Each slave receives four bits from the INTERBUS master It can only process the data those bit positions for which it has outputs Each slave sends four bits Only those bit positions supply valid data for which the slave has inputs A typical constellation is 21 20 slaves slave n input input Output Output bit 15 bit 12 bit 11 bit 8 bit 7 bit 4 bit 3 bit 0 Slave Lists of the AS i INTERBUS Gateway The AS i INTERBUS gateway has several lists wi
20. 1 3 1ID1 2 ID1 1 1D1 0 ID1 Code ID2 3 ID2 2 ID2 1 ID2 0 ID2 Code List of detected slaves LDS This list contains one bit for each address and in dicates whether a slave has been found Byte 126 slaves 0 7 0A 7A Byte 127 slaves 8 15 8A 15A S15 S9 S8 Byte 128 slaves 16 23 16A 23A S23 S22 S17 S16 Byte 129 slaves 24 31 24A 31A Byte 130 slaves OB 7B Byte 131 slaves 8B 15B S15B S9B S8B Byte 132 slaves 16B 23B 5238 6228 218 208 5198 5185 5175 516 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 11 60 Byte 133 slaves 24B 31B 5318 5305 296 5286 5278 5268 5258 S246 O 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 Read Parameters index 5FD4 READ Data Type Index 44h You can use this command to read the current parameter data for the AS i slaves You will obtain the following data e four bits parameters for each slave Byte 0 slave 1 1A x xX xX xX P3 P2 Pt Po Byte 1 slave 2 3 2A 3A P3 P2 P1 PO Pa Pa Pi PC Byte 16 slave 30 31 30A 31A pa P2 Pt Po ps pe PF Po By
21. 1 slave 31 _3 12 11 10 0 108 162 101 100 ID3 102 101 IOO O configuration identifies number of inputs and outputs ID 3 ID 2 ID 1 ID _0 D configuration identifies AS i slave type PHCENIX 55 CONTACT Parameter Data Channel PCP 56 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ID1_3 ID1_2 ID1_1 ID1_0 ID1 Code ID2 3 ID2 2 ID2 1 ID2 0 ID2 Code e 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 Byte 63 Byte Byte 78 Byte 108 P3 P2 P1 PO slave 1 1A x TXT XTX r slave 2 3 2A 3A P3 P2 Pi Po P3 P2 P1 f PO slave 30 31 30A 31A P3 P2 P1 POY P3 P2 P1 Po slave 30B 31B P3 P2 P1 Po P3 P2 P1 Po Parameters for the slave e List of projected slaves LPS This field contains one address for each possible slave address indicating whether or not this address should be assigned Byte 109 Byte 110 Byte 111 Byte 112 slaves 1 7 1A 7A sr se SMT STR slo slaves 8 15 8A 15A slaves 16 23 16A 23A 52 Sie Slaves 24 31 24A 31A 53 S25 524 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 8 13 3 9 6170B Byte 113 Slaves 1B 7B Byte 114 Slaves 8B 15B Byte 115 slaves 16B 23B Byte 116 slaves 24B 31B aE 5255 5245
22. 170B Basic Data The basic INTERBUS data for the AS i INTERBUS gateway are shown in follo wing tables where xxd decimal number and xxh means hexadecimal number The most important data of the AS i INTERBUS gateway for the programmer D code 2 4 6 8 10 12 14 16 words depending on the length of the process data Module error message E 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 Data type Vendor name Phoenix Contact Visible string a Model name ASI IBS gateway Visible string E Revision Visible string Profile Octet string The gateway does not corre spond to a profile However it does use INTERBUS sensor actuator profile conventions PCP Services The AS i INTERBUS gateway provides the following PCP services INTERBUS communications services of the AS i INTERBUS gateway Service Functions group Client Server Confirmed Unconfirmed Initiate confirmed Abort unconfirmed Reject unconfirmed Status confirmed Identify confirmed confirmed The INTERBUS client can use the READ service to read communication objects of the AS i INTERBUS gateway with the WRITE service it can store it in the AS i INTERBUS gateway As a server the AS i INTERBUS gateway cannot initiate any read or write access The AS i INTERBUS gateway can only implement a communications relationship PMS connection If the INTER
23. 3 9 3 1 9 3 2 5 4 5 4 1 5 4 2 5 5 5 5 1 7 1 Ta Pi 7 1 2 7 1 3 7 2 7 2 1 7 2 2 6170B The Symbols SO ao 5 sale 7 IEC GO USO rrira E 7 General Safety Information ee 7 General Information 4 9 Installation Displays and Operating Keys 0 11 Module Installation es 11 Replacing Terminals RN 12 Adjusting the Length of the Process Data cccccccccccccsececeeeseeeeeeeeseeeeseeeeeeens 12 Connecting the AS i Circuit cccccceeec sede enenedeveceecsecceeeceeeecaeseueesseeeeeeeseeenaees 12 Display and Operating Elements 0 13 LEDS an R Sete acteguc esd a E Mgr o2ee aceeed oases tan a lous seen EE 13 SEVEN SEQGMENt DISPlAY 4 14 Push Buttons pp 14 Operating the AS i INTERBUS Gateway pp 15 Master Start Up 5 15 Configuration Mode 8 R 0ccccescesscsescnsseessenssennssnsseseesonssenasensesonssenansensenaess 15 Protected Operating Mode ee 16 Switching to Protected Operating Mode pp 16 Configuration Errors in Protected Operating Mode pp 16 Assigning an AS i Address in Configuration Mode pp 17 Assigning a Slave Address pp 17 Ela MOMS Slave Address pp 17 Programming the Address in Case of Configuration Errors pp 18 Automatic Address Assignment pp 18 Manual Address Asslignment pp 18 Error Messages es 19 Advanced Diagnostics for AS i Masters 0 21 List of Corrupted AS i Slaves LCS ee 21 Protocol Analysis Counters of Corrupted Data Telegrams 04 21 Off line Phase on Configuration Err
24. 6e Status S_Param Read_Parameter S_Addr 8 Status Set Permanent Configuration S_Addr S_ Config 9 Status S_Config Get_Permanent_Configuration S_ Addr Status S_Config Read Actual Configuration S_Addr Status Change_Slave_Address S_Addr1 S_Addr2 5FD5 Status Set Auto_Adress_Enable Mode PD 5F02 Mode Get Auto Adress Enable 5FD2 B l l Status Resp Cmd_Reset_AS i Slave S_Addr RESET 5F07 Status Resp Cmd_Read_ Ext ID Code_1 S Addr IDCOD1 5F07 Status Resp Cmd_Read_ Ext ID Code 2 S Addr IDCOD2 5F07 Status S List Get_ List of Periphery Faults 5FFC Status Write Extended ID Code 1 S_Ext ID code 1 r Integrated support of slave profile a Analog slave profile 7 3 5FFD 601B 5FOC 5FFA nae PHCENIX 74 CONTACT AS i Protocol Implementation Conformance Statement PICS Symbol Function implemented Function not implemented 72 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS We Are Interested in Your Opinion 15 6170B We Are Interested in Your Opinion We would like to hear your comments and suggestions concerning this document 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
25. 7 0 7A slaves 8 15 8A 15A slaves 16 23 16A 23A 523 522 s17 Sie slaves 24 31 24A 31A 53 S25 524 slaves 1B 7B 57B s68 558 848 838 52 518 0 slaves 8B 15B slaves 16B 23B 5238 5228 218 208 5198 168 5175 516 slaves 24B 31B aE 5255 5245 PHOENIX 65 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 17 13 3 18 66 SO 0 AS i power supply O K 1 short time failure of the AS i power supply occured 91 S31 O slaves with this address didn t have any configuration errors 1 slaves with this address caused a short time configuration error Block the Module Errors index 5FDA READ WRITE Data Type Index 49h The module error messages AS i power failure and AS i configuration error can be blocked separately both via the process data and PCP Both blocks for each error source are logically combined as OR i e the module errors are only repor ted if they are not blocked via PCP nor via the process data block module errors Byte 0 modul error on AS i power failure OxFF Ox00 true false OOh false blocking depends on the control word FFh true modul error message blocked Byte 1 Modulfehler bei AS i Konfigurationsfehlern OxFF Ox00 true false OOh false blocking depends on the control word FFh true modul error message blocked LOS index 5FDB READ WRITE Data Type
26. BUS master wishes to transmit data continuously PHCENIX 29 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 7 2 3 7 2 4 30 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 Provision of Access The AS i INTERBUS gateway supports access rights to communications objects see Appendix Static PMS Data Types The AS i INTERBUS gateway uses only a small number of the standardized data types and no freely defined data types Supported static data types The remaining standard data types shall be assigned a zero object Index Standardized PMS data type 16 bit signed integer 8 bit unsigned integer octet string PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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 Object code Number of Data Type Index Length Elements 3 40h Read stored data O CD NO RO NR PO KR CO BR n KR NO O O O octet string octet string octet string Beetsma octet string 1 i octet string octet string octet string octet string 41h 43h Re
27. INE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 26 Control word Bit assignment in the control word for the AS i INTERBUS gateway bit set active bit reset off Bit 15 Bit O xT TTT XT XTX Jor Jor Tor X TX Tor Tor Torr 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 52FD8 out mode FALSE Data_Exchange_Inactive Data exchange in the AS i network is interrupted but continued again imme diately after the bit was set to 0 Offline All AS i slaves are reset No communication is taking place in the AS i net work The AS i network is re initialized when this bit is set to 0 again Auto_Prog_ Disable Disables the possibility of automatic addressing Offline phase on configuration error If this bit is set and the AS i master is in normal operation mode of the protec ted mode every configuration error releases the offline phase If this bit is 0 the PCP object 5FDB offline slv determines for each slave address individually wether a configuration error releases the offline phase A configuration error is both the case of a projected slave with which data ex change is not possible and the case of a supernumerary slave Independent of the access to this function PCP or process data the a
28. Inline AS i gateway to INTERBUS Inline Product Number 2741228 Identification code 223 decimal Register length 2 4 6 8 10 12 14 16 words dependent on the length of the process data 0 C 55 C 32 F 131 F 25 C 85 C 13 F 185 F Dimensions w x d x h 73 2 x 120 x 71 5 mm Applications e connection of binary sensors and actuators to the INTERBUS remote bus Power Supply AS i side approx 200 mA from the AS i PSU nominal 30 V direct current Electrical isolation 500 V alternating current between INTERBUS and AS i 0170p PHCENIX 43 CONTACT Technical Data 44 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Data Format of the Process Data Channel 12 Appendix Data Format of the Process Data Channel O 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 Note 12 1 Control Word and Status Word Control word from INTERBUS master to AS i INTERBUS gateway Bit 15 Bit O x TX XTX XX x Jor Jor Tor xT x Jor Tor 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 bit set active bit deleted off Status word from AS
29. THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS DOO GD 00 gt SNr OOD INNOVATION IN INTERFACE User Manual Configuring and Installing the INTERBUS AS i Gateway Designation ASI DOC MA IB IL UME Order No 27 41 406 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS Interface User Manual Configuring and Installing the INTERBUS AS i Gateway Designation ASI DOC MA IB IL UM E Revision B Order No 2141406 This manual is valid for ASI MA IB IL Order No 27 41 22 8 Phoenix Contact 07 2002 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Please Observe the Following Notes In order to guarantee the safe use of your device we recommend that you read this manual carefully The following notes give you information on how to use this manual Qualifications of the User Group The products described in this manual should be installed operated maintained only by electricians or persons instructed by them who are familiar with applicable national standards Phoenix Contact assumes no liability for damage to any pro ducts resulting from disregard of information contained in this manual We Are Interested in Your Opinion We are constantly striving to improve the quality of our documents Should you have any suggestions or recommendations for improving the contents and
30. ad_Config_data 44h Read_parameter 45h DS 2 DS 2 DS 2 DS 2 Modify_operating_ address 46h input_data A7h command call octet string octet string octet string octet string octet string octet string octet string DS DS DS 48h Advanced Diagno S S block module errors bool 4Ah DS 4 16 bit integer Analog value 16 bit integer 16 bit integer 16 bit integer See chapter 13 3 for a description of the data structures The AS i INTERBUS gateway uses the following data objects which do not chan ge during communications an PHCENIX 31 CONTACT AS i INTERBUS Gateway 32 Communication type objects and data types THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Communication object Obj type Data type Content length length 5F50 simple octet string 8 LPS 1 62 variable true configura tion mode List of projected slaves LPS Configuration mode 5F51 Parameterize_slave 62 COs Store_actual_ parameters oF 90 5F91 Output data 5F92 Read stored data 5F93 5F94 5FD1 5FD2 5FD3 5FD4 S5FD5 Store_actual_configuration Configure_slave 62 COs Data transfer Read_config_data Read_parameters Modify operating address simple variable simple variable simple variable simple variable record record record record record record PHCENIX CONTACT 1 1 octet string 3 octet strin
31. addition Index 40 46 data type structure description for the coupler The gaps must be filled with null objects Local address ST OD implementation dependent First index S OD 52F50h S OD length 73 Local address S OD__ implementation dependent PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Data Format of the Process Data Channel OD Header Attribut Belegung First index DV OD C000 0000h ee DV OD length There is no dynamic vari ables list dictionary Local address DV OD FFFFFFFFh No real DV OD object is required FirstindexP OD _ E0000000h oOo oOo o o P OD length ooo There is no real program invocation dictionary Local address P OD No real P OD object is required 0170p PHCENIX 49 CONTACT Appendix Data Format of the Process Data Channel 50 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 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 This means that the AS i INTERBUS gateway provides READ and WRITE ser vices in addition to the services provided on INTERBUS Data traffic with the AS i slaves is preferably handled over the process data chan ne
32. cknow ledgement is both possible by the process data falling edge on bit 5 of the control word and by PCP every writing access to the object 5FDB Block module error on AS i configuration error If this bit is set the module error AS i configuration error is blocked If this bit is O the blocking depends on the PCP object 5FDA stat err Block module error on AS i power failure If this bit is set the module error AS i power failure is blocked If this bit is O the blocking depends on the PCP object 5FDA stat err PHCENIX a CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway Status word Bit 15 Bit 0 x DPT XX fort 074 Tor Tort fort Tort Tor Tort Jor Config_OK LES 0 Auto_prog Auto_prog_Avail Configuration Mode_ Active Normal_Mode_ Active APF 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 Auto_Prog Automatic addressing of a slave is possible Auto_Prog_ Avail The current error can be rectified by automatic programming This state may occur for instance if precisely one slave is missing This is a typical case for a field repair Configuration Mode _ Active The AS INTERBUS gateway is in configuration mode Normal _ Mode Active The AS INTERBUS
33. e more comfortable to do the addressing with a hand held program ming device or with the Windows software AS i Control Tools How ever it is possible to configure even complex networks using only the AS i master Note What to do How to go about it See to it that the AS i master is prop Connect the AS i power supply unit to erly supplied with power the terminals AS i and AS i of the master connect the ground terminal Turn on the power supply After the self test the LEDs AS i and PRJ are on The figure display shows OFP the AS i master is in the off line phase Shortly after that a SEA will be displayed the AS i master stays in the detection phase Switch the device to the projecting Press the MODE button for approx mode if the yellow LED does not light five seconds up The yellow LED PRJ lights up The device is now in projecting mode Add a slave with the address 0 to the Connect the slave s terminals with the AS i line terminals AS i of the master The green LED ACTIVE lights up The figure display shows 0 This means the AS i master has detected the slave Change the slave address to address Select address 1 by pressing the 1 SET button shortly if necessary repeatedly whereby after each opera tion the next in each case free address is indicated When a 1 appears on the display press the SET button for approx five seconds until the display bli
34. ed in the LCS at the position of AS i slave with address 0 O With every read access the LCS will be deleted O The last short time configuration error can also be displayed on the AS i Master Pressing the SET button of the AS i master shows the AS i slave which was responsible for the last short time configuration error If nee there was a short time AS i power failure the display shows 39 after pressing the SET button This function is only available if device is in the normal operation mode of the protected mode display empty or in the off line phase 6 2 Protocol Analysis Counters of Corrupted Data Telegrams The AS i master with advanced diagnostics has a counter of telegram repetitions for each AS i slave which is increased everytime there is a corrupted data tele gram This makes possible to judge the quality of the AS i network even if only a few corrupted telegrams occured and the AS i slave did not cause any configura tion errors O The counter values can be read via the host interface and will be deleted with every read access The counter value is limited to 254 255 means counter overflow Note a PIHCENIX 21 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Advanced Diagnostics for AS i Masters 6 3 22 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 configura
35. ee 69 Responses to the PCP Services pp 69 Example of a PCP Service ee 70 6170B PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents 14 AS i Protocol Implementation Conformance Statement PICS 71 15 We Are Interested in Your Opinion pp 73 aan PHCENIX 3 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents 4 PHCENIX i CONTACT The Symbols Used 6170B onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The Symbols Used Warning Attention Note 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 This symbol gives the user important hints PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The Symbols Used 6 PHCENIX i CONTACT onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Safety 2 Safety 2 1 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 Warning l nel in accordance with this operatin
36. false OOh false no effect ffh true store current configuration Output Data index 5F92 READ WRITE Data Type Index 10h Use this command to write the output data to the AS i sensors e Output data field FOD This field contains 4 bits for each AS i slave You should preferably send these data through the process data channel The data for the slaves 24B 31B can only be reached via the PCP channel Byte 0 slave 1 1B x xX x x J 3 2 ot J 00 Byte 1 slave 2 3 2B 3B D3 be D1 60 bs 02 OF DO PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 7 6170B Byte 15 slave 30 31 30B 31B Byte 16 slave 1B xT XTX x Byte 17 slave 2B 3B Ds o2 o1 oo os o2 OT oO Byte 31 slave 30B 31B D3 D2 oi Do os D2 or oo D3 D2 D1 DO Data to the slave 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 This data must be previously written by the configure slavej service into the AS i INTERBUS gateway where it is stored in non volatile memory e Stored configuration data field This field contains 16 bits for each slave by means of which its properties can be set Byte 0 1 slave 1 13 1 2 1 4 10 0 10s 102 104 100 Byte 2 3 slave 2 D 3 102 101 00 103 162 107 100 Byte 60 6
37. g 124 octet string 31 octet string 8 octet string 2 octet string 1 boolean boolean boolean octet string 126 octet string 8 octet string 31 octet string 8 octet string 1 octet string 1 5F52 simple octet string OF8F variable false protected mode Parameters for slave 1 4 Store actual parameters true or not false Store actual con figuration true or not false Field of output data FOD 62 4 Field of stored conf data 62 16 Field of stored parameters 62 4 List of projected slaves LPS 1 62 Store configura tion data of slave 1 16 Store parameters of slave 1 4 Set reset offline flag Set reset DA flag Set reset Auto_Prog_Disabl e Field of the config uration data images 63 16 List of detected slaves LDS 1 63 Field of param 62 4 List of active slaves LAS 1 62 old address new address 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 6170B Communication Obj type Data type Content length length Input data bin record octet string 31 Input data 62 4 octet string 8 List of eei slaves LDS 1 62 octet string 2 execution control flags 1 16 Command call SFD record octet string 1 slave address octet string 1 command Enable process output data 5FD8 simple boolean Set reset PD PCP variable output data false true PD PCP
38. g manual 2 2 General Safety Information Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual is performed Warnin The connecting of the equipment and any maintenance work to be 9 carried out with voltage applied to the equipment must only be per formed by appropriately qualified electrotechnical personnel In the case that a failure cannot be repaired the device must be taken out of operation and kept from inadvertently put back into operation Repair work is to be carried out by the manufacturer only Additions or modifications to the equipment are not allowed and void the war ranty O The operator is responsible for the observance of local safety stan T dards Note 01708 PHCENIX 7 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Safety 8 PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS General Information 3 General Information This operating instruction is for use with the following devices of the Phoenix Con tact GmbH amp Co e AS i INTERBUS gateway ASI MA IB IL Inline order no 2741228 The AS i INTERBUS gateways serve to connect the Actuator Sensor Interface to the INTERBUS The Gateways act as a complete master for the AS Interface and as a Slave for INTERBUS Both gateways can be used in the same way Commissioning debugging and set ting up of the AS i parameters can be accomplished with the u
39. gateway is in normal mode the AS i cycle is running APF Voltage drop in the AS i In this event the AS i INTERBUS gateway re initial izes all AS i slaves This is necessary as the slaves are supplied with their op erating voltage through the AS i See Offline ready Offline Ready After switch on when the INTERBUS master has reset the AS i INTERBUS gateway through the control word and following a voltage drop on the AS i the AS i INTERBUS gateway requires some time to initialize and check the AS i This signal is only active on completion of this phase Periphery OK This bit is set if none of the connected AS i slaves shows a peripheral fault 7 1 3 Parameter Data Channel The parameter data channel allows data transmission in a more flexible form than does the process data channel Individual AS i slaves can be separately controlled or polled through this channel Its most important task however is command nn PHCENIX 27 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway transmission The AS i INTERBUS gateway operates in a pure server mode in this case 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 These words are sent in consecutive cycles of INTERBUS 7 2 INTERBUS Interface The AS i INTERBUS gateway communicates with the INTERBUS master in three
40. ghts up when the operating voltage in the AS i network is correctly applied PRG LED green Configuration mode i e the addresses of the AS i slaves can be modified directly on the AS i INTERBUS gateway and the actual con 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 PRJ LED yellow Configuration mode i e the addresses of the AS i slaves can be modified directly on the AS i INTERBUS gateway and the actual con PHCENIX 13 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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 See also chapter 9 4 2 3 Push Buttons The two push buttons are MODE switches between configuration mode and protected mode stores the actual configuration as projected configuration SET selection and setting of the address of an AS i slave See chapter 5 for a detailed description 14 PHCENIX iste CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Operating the AS i INTERBUS Gateway 5 Operating the AS i INTERBUS Gateway 5 1 Master Start Up After powering on
41. h 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 e analog input data Byte 0 slave 1 channel 0 input data low byte Byte 1 slave 1 channel 0 input data high byte Byte 2 3 slave 1 channel 1 Byte 4 5 slave 1 channel 2 Byte 6 7 slave 1 channel 3 Byte 8 9 slave 2 channel 0 Byte 10 11 slave 2 channel 1 Byte 12 13 slave 2 channel 2 Byte 14 15 slave 2 channel 3 Byte 240 241 slave 31 channel 0 Byte 242 243 slave 31 channel 1 Byte 244 245 Slave 31 channel 2 Byte 246 247 slave 31 channel 3 Acknowledgements Responses to the PCP Services The response of the AS i INTERBUS gateway to the specified services complies with the INTERBUS standard and is determined by the Application Layer Interface ALI The following error messages are provided for the READ and WRITE ser vices Error codes for Read rsp Error class 6 Access 5 Object Attribute Inconsistent Additional code 10h incorrect subindex PHCENIX 69 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 5 70 Error codes for Write rsp 5 Object Attribute Inconsistent Additional code 10h incorrect subindex Ue 12h length of service parameter data too great 13h length of service parameter data too small
42. he Inline grounding concept in particular 010P PHCENIX 11 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 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 Warnin entire station Make sure the entire station is reassembled before g switching power back on 4 1 2 Adjusting the Length of the Process Data If the object 5FFB is O state of delivery the length of the process data is set by the J1 J3 on the left terminal block The jumpers have to be set as follows J1 between terminal 1 0 and 2 0 J2 between terminal 1 1 and 2 1 J3 between terminal 1 2 and 2 2 Length of the process data 1 3 5 7 9 11 13 15 J1 OOl mm POO JOC JOO Ge J2 cm JOOP JOO JOO e 100 J3 JOO ee JOO fem FOC JOO
43. i INTERBUS gateway to INTERBUS master Bit 15 Bit 0 xDD PX Jor Jor on on Yor fort Fort Tort Torr Config_OK LES 0 Auto_prog Auto_prog_Avail Configuration Mode_ Active Normal_Mode_ Active APF Offline_ready Periphery _OK 12 2 Inputs and Outputs of the slaves 1st word slave 1 1A slave 2 2A slave 3 3A x x x x Jos 02 07 bof 3 52 ot pofo 02 01 oo bit 15 bit O 01708 PHCENIX 45 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Data Format of the Process Data Channel 2nd word slave 4 4A slave 5 5A slave 6 6A slave 7 7A 63 52 b1 5o 5s 5zT51 56 6s 6z 67 50 53 62 51 55 bit 15 bit O 3rd word slave 8 8A slave 9 9A slave 10 10A slave 11 11A D3 D2 D1 Do Ds 02 D4 Do D3 D2 01 D0 3 D2 D1 bo bit 15 bit O 4th word slave 12 12A slave 13 13A slave 14 14A slave 15 15A 63 62 D1 Do Ds D2 Di 00 D3 02 01 Oo 6s D2 7 Da bit 15 bit O 5th word slave 16 16A slave 17 17A slave 18 18A slave 19 19A 63 62 D1 Do D3 D2 Di 00 o3 02 01 00 63 02 D1 Da bit 15 bit O 6th word slave 20 20A slave 21 21A slave 22 22A slave 23 23A 63 62 D1 D0 Ds 02 04 O63 02 D1 Dofos 0207 69 bit 15 bit O th word slave 24 24A slave 25 25A slave 26 26A slave 27 27A 3 D2 D1 00 Jos 02 D1 Do 0s oa ot Pos 02 01 00 bit 15 bit 0 8th word slave 28 28A slave 29 29A slave 30 30A slave 31 31A 3 D2 D1 00 Ds
44. in chapter 5 4 2 and then chapter 5 4 1 one after the other Assigning a Slave Address assigning an available address to a slave with address zero In configuration mode the addresses of all detected slaves are displayed one after the other To display the next higher available operating address press the SET button shortly Each time you press the SET button the next available address is displayed Choose the displayed address as your target address by pressing the SET but ton for more than five seconds The address display blinks The master is ready for programming pressing the SET button again addresses the connected slave with address zero to the target blinking address Any errors will be displayed by their error codes according to chapter 9 Otherwise the detected slaves are displayed again as described in chapter 5 2 O Only slaves with address 0 can get a new address by the master Note There must not be two AS i slaves with the same adrress on the AS i circuit Attention Erasing the Slave Address assigning address zero to a detected slave In configuration mode the addresses of all recognized slaves are displayed one after the other By pressing and releasing the SET button the master displays the next available address If you press the button for more than five seconds while the address of a detected slave is displayed this slave will get the address zero and the displa
45. l as this route is faster maximum cycle time 15 ms and all the slaves are addressed and queried in parallel 13 2 Communication Relationship List CRL The communication relationship list on the AS i INTERBUS gateway contains just one entry The AS i INTERBUS gateway has only one communication relationship to INTERBUS address 0 In other words once the INTERBUS master has sent a request to the AS i INTERBUS gateway it must wait until it has received the con firmation Only then may it send the next request The AS i INTERBUS gateway does not support symbolic names only a virtual field device and no priorities Structure of the CRL header in the gateway Attribute Value in the AS i INTERBUS gateway CRL C Number of ORL entries Symbollength o o oS VFD pointer supported 0170p PHCENIX 51 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 13 3 1 52 CRL entries for the AS i INTERBUS gateway Attributes of the CRL entry PMS connection Remote Address 0 wo ooo nm Connection airius Jo WexFDURecemarm Jo 2 oN Max PDU Receiving Low 192 Services supported Get OD long ind rsp Write ind rsp Read ind rsp bit 0 47 00 00 00 80 30 00 Max Number of Outstanding 11 Client Services Max Number of Outstanding 1 Server Services Type of Connection Symbol No entry Communication Objects for the AS i INTERBUS Gateway The communication objects
46. meter Data Channel PCP 13 3 14 13 3 15 13 3 16 64 Command Call index 5FD7 WRITE Data Type Index 47 Use this command to send a command to an AS i slave e slave address 0 31 31A 31B Byte 0 0x00 OxtF AB 0 single slave or A slave AB 1 B slave e command information part Byte 1 xX x x 4 bl a o lO 14 Information bits to the AS i slave Enable Process Ouput Data index 5FD8 READ WRITE Data Type Index 01h Use this service to determine through which channel the AS i INTERBUS gateway receive the process output data e Enable process output data via the parameter data channel Byte 0 OxFF Ox00 true false OxFF Output data through PCP 0x00 Output data through process data channel Read and Delete Advanced Diagnosis Data index 5FD9 READ Data Type Index 48h This service serves to read the data of the advanced diagnosis Everytime the IN TERBUS master reads this oject error counters and LCS are deleted error counters Byte 0 AS i power failure APF Byte 1 slave 1 1A FZ1 PHCENIX _ CONTACT Parameter Data Channel PCP 6170B Byte 31 Byte 32 Byte 62 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS slave 31 31A slave 31B FZ31B APF number of short time power failures FZi number of errorneous telegrams to slave 255 counter overflow e LCS Byte 63 Byte 64 Byte 65 Byte 66 Byte 67 Byte 68 Byte 69 Byte 70 slaves 0
47. nfiguration mode the yellow PRJ LED lights up The system then displays one after the other all detected slaves at a speed of two per second If the display is empty no slaves were detached on the AS i circuit 1 Activation phase and the start of normal operation maybe so short that the numbers can not be seen in the display 2 Activation phase and the start of normal operation maybe so short that the numbers can not be seen in the display 0170p PH NIX 15 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Operating the AS i INTERBUS Gateway 5 3 5 3 1 5 3 2 16 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 When delivered the device is in configuration mode Attention Protected Operating Mode In contrast with the configuration mode in the protected mode there is only data exchange between the AS i master and the projected AS i Slaves Note Switching to Protected Operating Mode The configuration mode can be left by pressing the MODE button Pressing the button shortly Exits the configuration mode without projecting the current AS i configuration Pressing the button for more than five seconds Exits the configuration mode and projects the actual AS i config
48. nks Press again shortly the SET button to assign the new address to the slave The AS i master detects the slave with address 1 and displays 1 Connect another slave with address 0 Connect the slave to the AS i line The to the AS i line and allocate the addressing is the same as for the pre address 2 to it vious slave The addresses of all slaves detected are now displayed sequentially PHCENIX 41 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix The First Commissioning of AS i 42 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 The configuration of the AS i master is now finished PHCENIX a CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Technical Data 11 Technical Data Product Description The AS i INTERBUS gateway can be used to integrate an AS i bus into an INTER BUS network Features e full functionality of an AS i master e INTERBUS protocol e electrical isolation between INTERBUS and AS i capability of connecting up to 62 slaves with up to 248 digital inputs and 186 dig ital outputs status and diagnostic LEDs e three digit seven segment LED display two push buttons for configuration configuration mode e Advanced AS i diagnostics 11 1 AS i INTERBUS
49. nnot be replaced automatically by the AS i master Then these addresses have to be set manually If this should not be done via the host interface using the AS i Control Tools or with a hand held addressing device the slave addresses can also be changed with the help of the push buttons and the figure display of the device Note In protected operating mode wrong assignments are displayed as errors see chapter 5 3 By pressing the SET button you can display all faulty assignments one after the other By pressing the SET button for more than five seconds you can select the currently displayed address as a potential target address and the display starts to blink If the faulty slave was previously replaced by a slave with address zero the new slave can now be programmed for the blinking address by pressing the SET key 1 By deletion of flag Auto_prog the user can close automatic addressing 18 PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Operating the AS i INTERBUS Gateway 5 6 6170B 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 When all faulty assignments are eliminated the display is empty Erro
50. ors LOS pb 22 ASIN VERB US Gateway pp 23 Information Exchange over INTERBUS ee 23 PIOCC SS ala Mam E E E A E E aero hanes 24 Control Word and Status Word pp 25 Parameter Data Channel pe 27 INTERBUS IMIOTICO poredi e EE 28 Da IE DAA earn e E E E A E E E T 29 POP DOCS csecaceindecsecienetenscnaeenesanaeaneesmocdeceniecueutoenlae calsigetlonelpastataeaaboeyicetielech 29 PHCENIX 1 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents 7 2 3 7 2 4 8 1 10 11 11 1 12 12 1 12 2 12 3 12 3 1 13 13 1 13 2 13 3 13 3 1 13 3 2 13 3 3 13 3 4 13 3 5 13 3 6 13 3 7 13 3 8 13 3 9 13 3 10 13 3 11 13 3 12 13 3 13 13 3 14 13 3 15 13 3 16 13 3 17 13 3 18 13 3 19 13 3 20 13 3 21 13 3 22 13 4 13 4 1 13 5 PrOVISION OR CCC SS cde satienespe eset ere cachacaenneneceasdaededacetascieiatssnniamencteetoeeeesu seo T 30 Stale PMS Data TYPOS ee eee ee 30 Commissioning Tools and Accessories pp 37 Windows Software AS i Control TOols cccceeeeeseeeeeeeeeeseeeeeeeeeeeneseeeeenenes 37 Appendix Displaying the Figure Display 9 39 Appendix The First Commissioning Of AS i pp 41 WOEGHINC AN Dala aienea E i 43 AS ITINTERBUS NIINE cosets tees aa Ea 43 Appendix Data Format of the Process Data Channel 45 Control Word and Status Word ee 45 Inputs and Outputs of the slaves pe 45 Slave Lists of the AS i INTERBUS Gateway 5 47 Object Dictionary OD Description 20 0 0
51. peration with the comfortable Windows software AS i Control Tools included on the CMD instal lation CD 8 1 Windows Software AS i Control Tools 1 Start the AS i Control Tools 2 Call the command Master New Bt AS i Control Tools File Program Control Master View Window Help Tonnimunieetiony Identity 45 1 Configuration ASH Magras ASH Sones Asslstanl Coad Bontiguratiorn Sare Poniguratiorn D Offline Recent Waster 3 Choose INTERBUS as protocol 4 Do the appropriate settings 5 Call the command Master AS i configuration The AS i configuration editor will be started All detected and projected AS i Slaves are displayed in this window 0170p PHCENIX 37 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Commissioning Tools and Accessories 6 Click on a slave entry to open the dialog box Slave configuration Slave configuration x Close Selected Slave Help Change address to _ Hep Less Store Inputs Oo Wi W2 Outputs 3 Current parameters W0 1 W2 W3 Power up parameters If O W1 T2 3 Detected 1 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 After that press the button
52. pressing the set button a short time AS i power failure occured FP EA Hardware error The AS i master s EEPROM cannot be written to 3 Checksum error in the EEPROM address zero exists Error while changing a slave address in protected operating mode No slave with address 0 existing 1 IError while changing slave address Target address is already occu pied 2 Error while changing slave address New address could not be set 3 Error while changing slave address New address could only be stored volatile in the slave 4 Error while changing slave address in protected operating mode Slave has wrong configuration data Error while changing slave address in protected operating mode The configuration error was caused by one slave too many instead of one missing slave WY O Ce CD CO lt co oo NI NI NIN ATA NM Olojo PHCENIX 39 CONTACT Appendix Displaying the Figure Display 40 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix The First Commissioning of AS i 10 6170B Appendix The First Commissioning of AS i O 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 It is of cours
53. r Messages The system displays error codes for error messages that do not point to faulty assignments on the AS i circuit The code numbers are larger than 50 and are therefore outside the slave address Attention range These codes are described in the appendix chapter 9 PHCENIX 19 CONTACT Operating the AS i INTERBUS Gateway 20 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Advanced Diagnostics for AS i Masters 6 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 6 1 List of Corrupted AS i Slaves LCS To locate occasionally occurring short time configuration errors the AS i masters with advanced diagnostics manage beside the list of projected slaves LPS the list of detected slaves LDS and the list of activated slaves LAS a forth list the list of corrupted slaves LCS This list contains entries of all AS i slaves which were responsible for at least one configuration error since powering up the AS i master or reading the list Short time AS i power failures are represent
54. r each AS i slave You should pref erably request these data through the process data channel The data for the slaves 24B 31B can only be reached via the PCP channel Byte 0 slave 1 1A x x x x 03 62 ot 60 Byte 1 slave 2 3 2A 3A Ds o2 D1 oo os 62 ot 60 Byte 15 slave 30 31 30A 31A Ds o2 o oo bs o2 oT 00 Byte 16 slave 1B xT XTX x oo Byte 17 slave 2B 3B D3 b2 D1 60 bs 02 Ot DO Byte 31 slave 30B 31B Ds o2 D 00 os 02 or oo D3 D2 D1 DO Data from slave e list of active slaves LAS This list contains one bit for each slave indicating that this slave is active Only the input data from the slaves entered in the list of ac tive slaves are valid Byte 32 slaves 0 7 0A 7A ST S0 Byte 33 slaves 8 15 8A 15A PHCENIX _ CONTACT Parameter Data Channel PCP 6170B Byte 34 Byte 35 Byte 36 Byte 37 Byte 38 Byte 39 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS slaves 16 23 16A 23A slaves 24 31 24A 31A slaves OB 7B slaves 8B 15B 5758 59B 585 slaves 16B 23B slaves 24B 31B 0 slave is not active 1 slave is active e Status word Byte 40 Byte 41 or mn on Config OK LES O Auto_ prog Auto_prog_ Avail Configuration Mode _ Active Normal_Mode_ Active APF Offline ready Periphery OK PHCENIX 63 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Para
55. se 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 Advanced diagnostics to detect occasional occuring errors and judge the quality of the AS interface communication can be executed as well with the AS i Control Tools The gateway transmits the AS i I O data and AS i flags cyclically within 15 INTER BUS words of the process data channel All AS interface functions can be called up via PCP objects INTERBUS module error can be configured to be caused by AS i configuration er ror or AS i power failure ne PHCENIX 9 CONTACT General Information 10 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installation Displays and Operating Keys 4 Installation Displays and Operating Keys 4 1 Module Installation 1 2 2 1 AS i 4 a ASTNS G Please consult also the INTERBUS Inline System Manual to learn more about the Inline connection techniques mounting terminals con necting cables logic power supply Aana Please pay attention to t
56. te 16 slave 1B xT XTX x r Byte 31 slave 30B 31B P3 pe pi Po 3 Pe Pr Po P3 P2 P1 PO current parameters of the slaves e list of active slaves LAS One bit is set here for each slave that the AS i INTER BUS gateway has currently access to Byte 32 slaves 0 7 0A 7A sr s s s Sl Rl sso PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP Byte 33 slaves 8 15 8A 15A Byte 34 slaves 16 23 16A 23A Byte 35 slaves 24 31 24A 31A Byte 36 slaves OB 7B S7B S1B SOB Byte 37 Slaves 8B 15B Byte 38 Slaves 16B 23B Byte 39 Slaves 24B 31B 0 No slave with this address is active in the AS i network 1 A slave with this address is active in the AS i network 13 3 12 Modify Operating Address index 5FD5 WRITE Data Type Index 45 Use this command to modify the address of an AS i slave and thus the position of its Input and output data in the process data channel e old slave address 0 31 31A 31B Byte 0 X 0x00 0x1F e new slave address 0 31 31A 31B Byte 1 x x AB 0x00 0x1F AB 0 single slave or A slave AB 1 B slave A PHCENIX 61 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 13 62 Input Data index 5FD6 READ Data Type Index 46h Use this command to read the input data from the AS i sensors e input data field This field contains 4 bits fo
57. th which it can detect changes on the AS i network These changes can have physical reasons slave added or PHCENIX 47 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Data Format of the Process Data Channel 12 3 1 48 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 List of detected slaves LDS This list has an entry for every slave found while activating the network Liste der projektierten slaves LPS This list was written by the INTERBUS master to configure all slave expected by the control program of the master The AS i INTERBUS gateway switches the LED CONFIG ERR on if a slave was projected or detected during the start up but is not active This means in normal operation mode the failure of a slave Object Dictionary OD Description The AS i INTERBUS gateway uses the following OD object description OD Header Attribut Belegung header is always 0 ROM RAM Flag false mitted in runtime ing by name Access Protection Access rights to communi Supported cation objects are sup Version OD Local address OD implementation dependent object description ST OD length T The ST OD has 71 entries The indexes 1 14 are reserved for standard types Additional data type structure descriptions for the records to be defined are required in
58. tion 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 If there are any problems on the AS i network the AS interface can be switched to a secure state There are two different ways to parameterize the AS i master for this feature e Every configuration error during normal operation in protected mode releases the off line phase e For each slave address can be chosen whether a configuration error on this ad dress will release the off line phase or not This information is stored in the List of Off line Slaves LOS The user himself can decide how the system reacts to a configuration error on the AS Interface The AS i master can release the off line phase in critical situ ations i e only with certain slave addresses while in less critical situations if one of the other AS i slaves have a configuration error only the error message configuration error is sent to the host but AS i is still running PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AS i INTERBUS Gateway 7 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 e itis an INTERBUS slave On the
59. ual_ configuration write not possible guration 1 CO true or not false Modify _opera ting_ 5FD5 Old slave address new slave write not possible address 1 CO address Input data 1 CO 5FD6 Input data field FID read possible List of detected slaves LDS read not possible execution control flags read possible See chapter 13 3 for a description of the data structures 34 PHCENIX _ CONTACT AS i INTERBUS Gateway 6170B THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Object description of the AS i INTERBUS gateway communication objects Index 5F94 5FD1 5FD3 5FD4 CO Configure _ Read_con Read _ slave figuration _ parameters data Data type 40h 41h 43h 44h 45h 46h index 0 0 0 Access groups 5FD95 5FD6 Modify _ Input data operating_ address Access Wa Wa rights Variable no entry name Local implementation dependent address 1 Local implementation dependent address 2 Local implemen no entry no entry no entry no entry implemen address 3 tation tation dependent dependent See chapter 13 3 for a description of the data structures PHCENIX CONTACT 35 AS i INTERBUS Gateway 36 PHCENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6170B onlin components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Commissioning Tools and Accessories 8 Commissioning Tools and Accessories The AS i circuit on the AS i INTERBUS Gateway can be put into o
60. uration Simul taneously the actual AS i configuration is stored as nominal configuration in the EEPROM O If the system detects an AS i slave with address zero on the AS i it TI can not leave the configuration mode Note In the protected operating mode only AS i slaves that are projected and whose actual configurations match the nominal configurations will be activated Configuration Errors in Protected Operating Mode As long as there is no configuration error the numeric display is turned off while in protected operating mode Otherwise the address with a faulty assignment is dis played A faulty assignment occurs when a slave has been recognized or projec ted but cannot be activated If there are more than one faulty assignments the one that was first detected is dis played Pressing the SET button shortly displays the next higher faulty address Shortly appearing configuration errors are stored in the device advanced AS i dia gnosis The last error that occurred can be displayed by pressing the set button lf a short AS i power failure is responsible for the configuration error the display shows a 39 PHCENIX _ CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Operating the AS i INTERBUS Gateway 5 4 5 4 1 5 4 2 6170B 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
61. x 5F52 5F8F WRITE Data Type Index 10h i 1 62 With this service you can send the 4 bits of parameter data to the selected AS i slave This command is used for instance to modify the properties of a slave du ring operation e Parameters to be sent to slave Byte 0 slave x xX xX xX P3 P2 Pt Po PHCENIX 53 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Parameter Data Channel PCP 13 3 4 13 3 5 13 3 6 54 P3 P2 P1 PO Parameters for the slave 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 This command uses one byte of input data e Store current parameters of all slaves 1 31 1B 31B as permanent parame ters Byte 0 OxFF Ox00 true false OOh false no effect ffh true store current parameters Store Actual Configuration index 5F91 WRITE Data Type Index 01h This service is used to save the current configuration of all AS i slaves as the new stored configuration i e the current configuration will be taken as the desired con figuration the next time the AS i is switched on This command uses one byte of input data e Store configuration of all slaves 1 31 1B 31B as projected configuration Byte 0 OxFF 0x00 true
62. y shows 00 When you release the button the display continues to display the detected slaves PHCENIX 47 CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Operating the AS i INTERBUS Gateway 5 5 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 The master will detect the replacement and automati Note cally addresses the new slave with the address of the faulty one For automatic programming to work some requirements must be met 1 The AS i master must be in the protected operating mode 2 The Auto Address Assign release flag must be set 3 Only one of the projected slaves may not be detected If these requirements are met the AS i master s PRG LED lights up and a slave with address zero will be automatically assigned to the operating address of the missing slave The Automatic Address Assignment can be activated and deacti vated via the software AS i Control Tools If the two slaves have different configuration data i e are not of the same type as far as AS i is concerned the automatic address assignment will not be carried out Attention O Only slaves with address 0 can get a new address by the master Note 5 5 2 Manual Address Assignment O If several slaves fail they ca

Download Pdf Manuals

image

Related Search

onlinecomponents.com onlinecomponents.com onlinecomponents.com a scam onlinecomponents.com reviews onlinecomponents.com cage code onlinecomponents.com llc onlinecomponents.com legit onlinecomponents.com address

Related Contents

HK884400FG - EURO Appliances  DeviceNet™ Troubleshooting  Téléviseur LED LCD HD Manuel du propriétaire Français  Westinghouse Naveen Two-Light Outdoor Flush-Mount Fixture 6230900 Specification Sheet  Pioneer DV-37  Gear Head All In One Card Reader(23:1)  OHP 100  MICROMASTER 410  MOC 6439: Configuring and Troubleshooting Windows Server 2008  X-PRO User's Guide  

Copyright © All rights reserved.
Failed to retrieve file