Home
AS-i/PROFIBUS-Gateways ASI-M31320 ASI-M32320 ASI
Contents
1. Request byte a 26 25 24 28 22 21 20 1 2616 2 T circuit 3 B slave address Response byte A 26 26 24 28 22 2 20 1 2616 2 T result 3 xID2 xID1 4 ID 10 Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave Store Actual Configuration STORE_CDI With this call the actual configuration data I O configuration ID code extended ID1 code and extended ID2 code of all AS i slaves are stored permanently in the EEPROM as the expected configuration data The list of activated AS i slaves LAS is adopted in the list of permanent AS i slaves LPS When this command is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart on the AS i master This command can only be executed in the configuration mode Request byte 27 26 25 24 23 22 2 20 1 0746 2 T circuit Response byte 27 26 25 24 23 22 2 20 1 0746 2 T result Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Read Actual Configuration READ_CDI With this call the following configuration data of an addressed AS i slave obtained b
2. Response byte 27 26 25 24 23 22 2 20 1 7416 2 T result 3 character 1 18 character 16 BUTTONS With this call the use of the buttons can be enabled disabled Request byte 27 26 25 24 23 22 2 20 1 7546 2 T circuit 3 ButtonsDisabled Response byte 2 26 25 24 23 22 2 20 1 7546 2 T result RD_EXT_ DIAG With this call the conditions when the ExtDiag bit is set can be read Request byte 2 26 25 24 23 22 2 20 1 7B46 2 T circuit Response byte 2 26 25 24 28 22 2 20 1 7546 2 T result 3 CF 4 APF 5 PF 6 cs 8 7 FD Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 60 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S f C K issue date 21 11 2001 CF ExtDiag is set by ConfigError 1 APF ExtDiag is set by APF 1 PF ExtDiag is set by PeripheryFault 1 CS _ ExtDiag is set if LCS is not empty FD Diagnosis will updated still only then if this is dictated by the norm of PROFIBUS Diagnosis data are doubtful not actual INVERTER With that call an AS i slave for frequency inverters is switched to the mode to get four 16 bit values via t
3. AS i PROFIBUS Gateway PROFIBUS DP 7 3 2 Mailbox commands IDLE Request byte 27 28 25 24 2 2 2 20 1 0046 2 Mi circuit Response byte 27 26 25 24 23 22 2 20 1 0046 2 T result READ_IDI With this call the input data values of all AS i slaves are read out of the AS i PROFIBUS Gateway in addition to the cyclic data exchange Though the mail box command READ_IDI transmits all Execution Control Flags bytes 3 and 4 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de Request byte 27 26 25 24 23 22 21 20 1 4116 2 T circuit Response byte 27 26 25 24 23 22 21 20 1 4116 2 T result 3 Pok 4 OR APF NA CA AAv AAs s0 Cok 5 slave 1A 6 slave 2A slave 3A 30 slave 30B slave 31B Pok Periphery_Ok So LDS O AAs Auto_Address_Assign AAv Auto_Address_Available CA Configuration_Active NA Normal_Operation_Active APF APF OR Offline_Ready Cok Config_Ok Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 37 AS i PROFIBUS Gateway PROFIBUS DP S Cc K WRITE_ODI With this call the output data values of all AS i slaves are written in additon to the cy clic data exchange Request byte 2 25 of 2 2 2 20 1
4. Request byte 27 2 2 of 23 2 at 20 1 4616 2 T circuit Response byte 27 26 29 24 23 22 21 20 1 4646 2 T result 3 7A amp A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B GET_FLAGS With this call the following entry is read out of the AS i PROFIBUS Gateway The flags according to the AS i slave specification Request byte 27 26 25 24 23 22 21 20 1 4716 2 T circuit Response byte 27 26 25 24 23 22 21 20 1 4716 2 T response 3 Pok 4 OR APF NA CA AAv AAs So Cok 5 AAe OL DX Pok Periphery_Ok This flag is set when no AS i slave is signaling a peripheral fault So LDS 0 Subject to reasonable modifications due to technical advances This flag is set when an AS i slave exists with address 0 Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 45 AS i PROFIBUS Gateway PROFIBUS DP S Cc K 46 AAs Auto_Address_Assign This flag is set when the automatic address programming is possible in other words AUTO_ADDR_ENABLE 1 and there is no incorrect slave connected to the AS i Interface AAv Auto_Address_ Available This flag is set when the automatic address programming can be executed in other words exactly one AS i slave is currently out of operation CA Configuration_Active The flag is set in the configuration mode and reset in the protected mode
5. GET_LPS With this call the following entry is read out of the AS i PROFIBUS Gateway The list of projected AS i slaves LPS Request byte 2 26 25 54 28 2 21 20 1 4416 2 T circuit Response byte 2 26 25 24 23 2 2 2 1 4446 2 T result 3 7A amp A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B GET_LAS With this call the following entry is read out of the AS i PROFIBUS Gateway The list of activated slaves LAS Request byte 2 26 25 24 23 22 2 20 1 4546 2 T circuit Response byte 2 26 26 24 23 22 2 20 1 4546 2 T result 3 7A amp A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 44 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP LDS With this call the following entry is read out of the AS i PROFIBUS Gateway The list of detected AS i slaves LDS GET SICK
6. Byte 1 50nex Byte 2 80hex Toggle bit master 1 single master Byte 3 1Dhex slave address 29 Byte 4 OOhex Byte 12 00h issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 62 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Response Byte 1 50hex Byte 2 80hex Toggle bit master1 Byte 3 analog channel 1 high bytehex Byte 4 analog channel 1 low bytehex Byte 5 analog channel 2 high bytene Byte 6 analog channel 2 low bytenex Byte 7 analog channel 3 high bytenex Byte 8 analog channel 3 low bytene Byte 9 analog channel 4 high bytehex Byte 10 analog channel 4 low byte Byte 11 OOhex not usedt Byte 12 OOhex not usedt To get the input data again the T bit has to be reset aso If a mailbox command is used via PROFIBUS DP V1 it is not necessary to use the toggle bit Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 63 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S C K issu
7. Select your PROFIBUS master 5 With the command Configure Master Parameters you can select the baudrate and other bus parameters Busbezeichnung PROFIBUS Parameter Busprofil PROFIBUS DP zl Baudrate 1500 0 kBaud l Repeater am Bus Abbrechen Hilfe Parameter einstellen Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 73 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 S i C K 6 In the window DP Master System there is a ledge with several PROFIBUS slaves Click on AS i and drag the icon to the PROFIBUS in the window above S DP Mastersystem PROFIBUS Adresse 1 ioj x Busbezeichnung PROFIBUS Hostbezeichnung 5 135U CPU 928B Hostsystem lt 1 gt Slaves Stationstyp IM 308 C ee PROFIBUS Adresse 1 ET 200 Stationsbezeichnung Mastersystem lt 1 gt SIMATIC ANTRIEBE B B CO m ENCODER 7 After a second mouse click the dialogbox for the selection of the PROFIBUS station address appears Setting of the AS i PROFIBUS gateway s station address see chapter 5 7 PROFIBUS Adresse Ea Abbrechen Hilfe 3 4 5 6 7 8 9 1 issue date 21 11 2001 Subject to reasonable modifications due to technical adva
8. Slave lists 27 26 25 24 23 22 2 20 E LCS LPF D F default 0 0 0 0 1 0 1 1 ExtDiag 2 26 2 24 23 22 2 20 CS PF APF CF default 0 0 0 0 0 1 1 0 LCS LPF CS PF APF CF O E A OF OF OF E e o LCS will be displayed in PROFIBUS diagnosis LCS will not be displayed LPF will be displayed in PROFIBUS diagnosis LPF will not be displayed Delta list will be displayed in PROFIBUS diagnosis Delta list will not be displayed EC flags will be displayed in PROFIBUS diagnosis EC flags will not be displayed ExtDiag will be set if there is an entry in the LCS ExtDiag will not be set if there is an entry in the LCS ExtDiag will be set if there is a periphery fault at the AS i line ExtDiag will not be set ExtDiag will be set if there is an AS i Power Fail ExtDiag will not be set ExtDiag will be set if there is an Configuration error at the AS i line ExtDiag will not be set The GSD s default user parameter telegram is 8016 0016 0016 0B16 0616 DPV1 enabled diagnosis settings according chapter 7 1 1 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 29 SICK AS i PROFIB
9. 1 appears on the display press the set button for approx five seconds until the display blinks 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 to the AS i line and allocate the address 2 to it Connect the slave to the AS i line The addressing is the same as for the previ ous slave The addresses of all slaves detected are now displayed sequentially Change to the protected operating mode and store the AS i configuration Subject to reasonable modifications due to technical advances Leave the configuration mode by press ing the mode button for at least five seconds until the prj mode LED goes out Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Appendix The First Commissioning of AS i S f C K What to do How to go about it The configuration of the AS i master is now finished Now the hierarchically higher fieldbus system can be put into operation The gateway stays in the off line phase Display dark the LED ASI active is out until the hierarchically higher fieldbus system operates properly issue date 21 11 2001 Subject to reasonable modifications due t
10. AS i PROFIBUS Gateway Connections Displays and Operating Keys S Cc K 4 1 Power Supply Concepts and AS i Connection Techniques O The AS i masters do not need a voltage supply of their own They can be powered completely out of the AS i line the power consumption is Il about 200 mA from AS i An additional 24 V voltage source is not nec essary The AS i master merely requires the connection to the AS i line When the AS i power supply is switched on the master starts to oper ate Note An AS i power supply has to be used which also supplies the AS i master with power and can be connected to the AS i cable like all the other AS i components at any place 4 1 1 Single Masters in IP65 AS i Master i AS i power supply AS i power Every AS i master and all the AS i gateways in IP65 come with power supply A The AS i master is connected to AS i using the penetration technique of the electrome chanical interface which is common with AS i slaves as well 4 1 2 Single Masters in IP20 with AS i Power Supply AS i master AS i power GND The terminals have the following functions AS i Actuator Sensor Interface positive terminal AS i Actuator Sensor Interface negative terminal GND Ground terminal used for better EMC Should be connected with a short wire to machine GND issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 1
11. PIROJ FII BUR AS i 2 1 DP VO and DP V1 AS i PROFIBUS Gateways ASI M31320 ASI M32320 ASI M31330 User Manual issue date 21 11 2001 AS i PROFIBUS Gateway Table of Contents S f C K Table of Contents 1 The Used SyMboIls 0 0 cccecseseesseeeesseeeesseeeenseeeeaseeesaseeeenseeesenseesaseeeneneeeeens 5 2 SAPSty A E 2 1 Intended Use nsassansnnsennnenne 2 2 General Safety Information 3 General Information eeceeeeseeeeeeeeeeeeeeeeeeeeneeeeeeneeeneeeeeeseeeeeeeeeeeeaees 9 4 Connections Displays and Operating KeYS ccssseesseeesseeensseeeens 11 4 1 Power Supply Concepts and AS i Connection Techniques ccsseseeee 12 4 1 1 Single Masters in IP65 esessseseseesreeissresrserierisrrnsrinrrnsresrrnrnsinernnrinsrenrrnsrnerrnrinernent 12 4 1 2 Single Masters in IP20 with AS i Power Supply sssssessesseersesresrrereerrerreerrsrrnernerees 12 4 1 3 Double Master in IP20 with AS i Power Supply sessesessesssesresinerrerrnrinerierrerrnereers 13 4 2 The PROFIBUS Interface 42A Devices in IP20 nnee aa e tiv ka aa iaa EAIA DVE e EAA ea e To AEA AAT TA E AE eet E OORA 4 3 Display and Operating Elements s nsnussusnnennrnnnrnnrnnnnnnnnnnnunnnnnnunnnnnnnnnnnnnnnnnn nnn 16 4 3 1 LEDs of the Single Masters ccc cceccsssscsseeseseseesssnessecessessseesssescseeseanesseeseaeeeoees 16 4 3 2 LEDs of the Double Masters 0 0 0 0 ecseccssssscsnesscesececsenseeecseeces
12. NA Normal_Operation_Active This flag is set when the AS i master is in normal operation APF APF This flag is set when the voltage on the AS i cable is too low OR Offline_Ready The flag is set when the offline phase is active Cok Config_Ok This flag is set when the desired configured and actual configuration match AAe Auto_Address_Enable This flag indicates whether the automatic address programming is enabled bit 1 or disabled bit 0 by the user OL Off line This flag is set when the mode is to changed to OFFLINE or this mode has already been adopted DX Data_Exchange_Active If the Data_Exchnge_Active flag is set the the data exchage between AS i master and slaves is available in the dataexchange phase If this bit is not set the data exchange is not available The read ID telgegrams are transmitted to the slave The bit is set if the AS i master entries the offline phase SET_OP_ MODE This call changes the module between the configuration mode and the protected mode In the protected mode only AS i slaves are activated that are entered in the LPS and whose expected and actual configurations match in other words when the I O con figuration and ID codes of the detected AS i slaves are identical to the configured val ues In the configuration mode all detected AS i slaves except for AS i slave 0 are ac tivated This also applies to AS i slaves in which there are differences between the expected an
13. byte 27 26 25 24 23 2 at 20 1 Oli 2 T result 3 PP Write Parameter WRITE_P The AS i slave parameter value transferred with the command is passed on to the ad dressed AS i slave The parameter is stored on the AS i PROFIBUS Gateway only temporarily and is not entered as a configured parameter in the EEPROM The AS i slave transfers its current parameter value in the response parameter echo This can deviate from the value that has just been written according to the AS i master specification The AS i slave response is returned as a parameter echo in the response data Request byte 2 26 25 24 23 22 21 20 1 0216 2 T circuit 3 B slave address 4 parameter Response byte 27 26 25 24 23 22 21 20 1 0216 2 T result 3 slave response Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 39 AS i PROFIBUS Gateway PROFIBUS DP Read Parameter READ_PI This call returns the current parameter value actual parameter of an AS i slave sent by the AS i PROFIBUS Gateway This value must not be confused with the parameter echo that is supplied by t
14. 24 23 22 2 20 1 5246 2 T result 3 channel 1 high byte 10 channel 4 low byte Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 52 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP SICK RD_7X_IN_X With this command the four 16 bit channels of 4 AS i input slaves with succesive ad dresses according to the slave profil 7 3 can be read Request byte 27 26 25 2 2 2 at 20 1 5316 2 T circuit 3 0 1st slave address Response byte 27 26 25 oa 2 2 at 20 1 5316 2 T result 3 1st slave channell 1 high byte 34 4th slave channel 4 low byte WR_7X_OUT_X With this command the four 16 bit channels of 4 AS i output slaves with succesive ad dresses according to the slave profil 7 3 can be written Request byte 27 26 25 24 28 22 21 20 1 5446 2 T circuit 3 0 1st slave address 4 1st slave channel 1 high byte 35 4th slave channel 4 low byte Response byte 27 26 25 24 23 22 21 20 1 5446 2 T result Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183
15. 27 2 2 o 2 2 at 20 1 4846 2 T circuit 3 Data_Exchange_Active Response byte 2 2 2 of 28 2 at 20 1 4816 2 T result Change Slave Address SLAVE_ADDR With this call the AS i address of an AS i slave can be modified This call is mainly used to add a new AS i slave with the default address 0 to the AS Interface In this case the address is changed from AS i slave address old 0 to AS i slave address new This change can only be made when the following conditions are fulfilled 1 An AS i slave with AS i slave address old exists 2 If the old AS i slave address is not equal to 0 then an AS i slave with address 0 cannot be connected at the same time 3 The AS i slave address new must have a valid value 4 An AS i slave with AS i slave address new must not exist issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 48 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Note When the AS i slave address is changed the AS i slave is not reset in other words the output data of the AS i slave are retained until new data are received at the new address Request byte 27 2
16. 4216 2 T circuit 3 slave 1A 4 slave 2A slave 3A 34 slave 30B slave 31B Response byte 2 25 of 2 2 2 1 4216 2 T result Set_Permanent_Parameter SET_PP With this call a parameter value for the specified AS i slave is configured on the AS i PROFIBUS Gateway The value is stored permanently in the EEPROM of the Gate way The configured parameter is not transferred immediately by the AS i PROFIBUS Gateway to the AS i slave The configured parameter value is only transferred when the AS i slave is activated after turning on the power supply on the AS i PROFIBUS Gateway Request byte 27 26 25 24 23 22 21 20 1 4316 2 T circuit 3 B slave address 4 PP Response byte 27 26 25 24 23 22 21 20 1 4316 2 T result Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 38 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Get_Permanent_Parameter GET_PP With this call a slave specific parameter value stored on the EEPROM of the AS i PROFIBUS Gateway is read Request byte 27 26 25 o 2 2 2 20 1 Olig 2 T circuit 3 B slave address Response
17. PROFIBUS Gateway Commissioning Tools and Accessories S i C K 8 2 68 PROFIBUS DP Master Simulator Ii PROFIBUS DP Master Simulator Bee File Address Communication eat te Id PROFIBUS DP Maste le List i sa Bibi Wiedemann GmbH erse ohne Managementkanal a rey Managementkanal 3 Byte Com Port f Managementkanal 5 Byte Fi p Ha pane j Curent Slave Address ge r Master Simulator yte lave Insert gt pert Ae New Slave Address 7 x 4 Byte E A 6 7 Slaves jemove lt 5 Byte E A 8 9 Slaves Bevet Edt a Mi 6 Byte E A 10 11 Slaves az 7 Byte E A 12 13 Slaves Z I Freeze Outputs PROFIBUS UART Dutput Data Input Data Usert Defauk Parameter Cu Foro ta fr o como a Tr m e ooo A f2 o2 oo000010 2 4 120 FF FF FF FF FF FR FF a 20 301 00000001 3 FF FF FF FF FF FF FF FF 4 00000000 400 00000000 _ PERREEER tes aps mat nat ofbus Gateway rofbue Gateway DERE aC s 7 00 00000000 7 00 00000000 10 1742 10 1742 amp 00 00000000 amp 00 00000000 Help s oo oooooooo fs oo oooooooo The PROFIBUS DP Master Simulator PR MSVO0 is an easy to use software for data exchange with PROFIBUS slaves of many suppliers via PROFIBUS DP The PROFI BUS DP Master Simulator can exchange data with many PROFIBUS slaves even without GSD file or type file The PROFIBUS slaves can be put into operation with the default I O window Input data can be read and output data can be wri
18. Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway SICK Connections Displays and Operating Keys 4 2 4 2 1 4 2 2 Connection variations for the AS i circuits here only displayed for one AS i circuit AS i Master j GND r AS i Slave E AS i Slave AS i power supply AS i Master i GND Baie max 5A supply PELV according to EN 60950 va Protective extra low voltage AS i Slave max 8 A PELV according to EN 60950 i AS i Slave Protective extra low voltage 2 In the wiring schemes above the current through the AS i master must not exceed 5 A gt Attention The PROFIBUS Interface Devices in IP20 The PROFIBUS interface is realized as a 9 pin SUB D connector in accordance to the standard for PROFIBUS DIN 19245 It is placed on the right hand side of the front panel RxD TxD N data line A RxD TxD P data line B PROFIBUS The AS i PROFIBUS gateway sends and receives on pins 3 and 8 of the SUB D sock et The PROFIBUS signal RxD TxD N data line A lies on pin 8 the signal RxD TxD P data line B lies on pin 3 The pins 5 0 V and 6 5 V supply 5 V DC for the bus termination Bus termination If the AS i PROFIBUS gateway is at the end of the PROFIBUS line the termination resistors in the PROFIBUS connector have to be switche
19. i PROFIBUS gateway using the push buttons How it works is described as follows 5 5 1 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 but ton shortly Each time you press the set button the next available address is dis played Choose the displayed address as your target address by pressing the button 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 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway S I C K 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 3 O Only slaves with address 0 can get a new address by the master Il Note There must not be two AS i slaves with the same adrress on the AS i circuit Attention 5 5 2 Erasing the Slave Address assigning address zero to a detected slave In configuratio
20. instruction is for use with the following devices of the SICK AG e ASI M31320 Order no 6 022 376 e ASI M31330 Order no 6 022 378 e ASI M32320 Order no 6 022 377 The AS i PROFIBUS Gateways serve to connect AS Interface systems to the PROFIBUS They act as a Master for the AS Interface and as a slave for the PROFIBUS New AS i Specification 2 1 The AS i PROFIBUS DP Gateways already fulfil the new AS i Specification 2 1 This means Up to 62 AS Interface slaves can be connected per 1 AS i network The transfer of analog signals via AS i is integrated in the Masters All further functions of the new specification as e g the diagnosis of the AS i pe ripheral fault are implemented All AS i functions are provided cyclically via PROFIBUS DP VO and acyclically via PROFIBUS DP V1 In the cyclic data transfer optionally up to 32 bytes I O data are transfered for the bi nary data of 1 AS i network Furthermore analog signals and all further commands of the new AS i specification can be transferred in the management channel via PROFIBUS The AS i Control Tools can be used for the monitoring of the AS i data online via the PROFIBUS DP V1 Advanced Diagnostics Diagnostics which go far beyond the standard diagnostics facilitate the simple detec tion of the occassionally occuring configuration errors and further irritations towards the AS i communication So in case of an error the down time of machines can be minimized or you can
21. no slaves were detached on the AS i circuit 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 detected 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 Tl 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 configuration Simul 1 Activation phase and the start of normal operation maybe so short that the numbers can not be seen in the display 20 issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway S C K taneously the actual AS i configuration is stored as nomina
22. slave and RS 232 connector cable Beside the software PROFIBUS DP Masiersimulator now DLL drivers for Windows 3 1x Windows 95 98 Windows NT as well as examples written in C come with the PROFIBUS UART This offers the possibility to use the PROFIBUS UART in an ap plication in combination with an own software However the PROFIBUS UART is a monitoring and commissioning tool for PROFIBUS slaves it is not designed to con trol automation processes issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Appendix Displays of the Figure Display S f C K 9 Appendix Displays of 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 dis plays the address of a faulty assignment see chapter 5 4 2 During manual address programming the slave address display has a different meaning see chapter 5 5 and 5 6 All displayed numbers that are bigger than 31 and therefore can not be interpreted as a slave address are status o
23. 2 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Connections Displays and Operating Keys S f C K 4 1 3 Double Master in IP20 with AS i Power Supply AS i Master AS i 1 AS i 2 power t te ee t a24V0V gt b GND J J The terminals have the following functions AS i Actuator Sensor Interface 1 or 2 positive terminal These terminals are connected internally with point a2 of jumper J AS i Actuator Sensor Interface 1 or 2 negative terminal These terminals are connected internally with point b2 of jumper J 24V Master power supply positive terminal 18 31 6 V DC oV Master power supply negative terminal GND Ground terminal used for better EMC Should be connected with a short wire to machine GND J J Jumpers for selecting the power supply of AS i jumpers closed The AS i master is powered out of AS i circuit 1 Master power supply and AS i network are then decoupled with coils jumpers open With the jumpers open or missing the AS i master must be powered by a separate 24 V DC power supply Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 3 AS i PROFIBUS Gateway Conn
24. 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway The Used Symbols S f C K 1 The Used Symbols This symbol warns the user of possible danger Failure to heed this warning can lead to personal injury or death and or damage to equip ment Warning 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 Attention O This symbol gives the user important hints Note Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 5 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway The Used Symbols S I C K issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 6 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway z SICK 2 Safety 2 1 Intended Use o Warning The protection of operating personnel and the system against possible danger is not guaranteed if the control interface unit is not operated in accordance with its intended use The device may only be operated by appropriately qualified personnel in accorda
25. 2 Electromagnetic compatibility Ed 99 04 Part 6 2 Immunity industry Conformance of a type sample belonging to the above mentioned product family with the regulations from the listed EC directives has been certified by GA Waldkirch Br den ppa Keglowic iV Hertweck Manager Marketing amp Sales Manager Production Division Industrial Sensors Division Industrial Sensors The declaration certifies conformance with the listed directives but does not guarantee product characteristics The safety instructions contained in the product documentation must be observed SICK AG Sebastian Kneipp StraBe 1 D 79183 Waldkirch Telefon 0 76 81 2 02 0 Telefax 0 76 81 2 02 38 63 www sick de Aufsichtsrat Gisela Sick Ehrenvorsitzende Dr Horst Skoludek Vorsitzender Vorstand Volker Reiche Vorsitzender Dr Robert Bauer Anne Kathrin Deutrich Dieter Fischer Walter Schmitz Stelivertr Sitz Waldkirch i Br Handelsregister Emmendingen HRB 355 W Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 3 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway S f c K issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 4 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81
26. 22A slave 23 23A 12 slave 24 24A slave 25 25A 13 slave 26 26A slave 27 27A 14 slave 28 28A slave 2929A 15 slave 30 30A slave 31 31A 16 reserved slave 1B 17 slave 2B slave 3B 18 slave 4B slave 5B 19 slave 6B slave 7B 20 slave 8B slave 9B 21 slave 10B slave 11B 22 slave 12B slave 13B 23 slave 14B slave 15B 24 slave 16B slave 17B 25 slave 18B slave 19B 26 slave 20B slave 21B 27 slave 22B slave 23B 28 slave 24B slave 25B 29 slave 26B slave 27B 30 slave 28B slave 29B 31 slave 30B slave 31B Flags input data output data FO ConfigError Off line F1 APF LOS master bit F2 PeripheryFault ConfigurationMode F3 ConfigurationActive ProtectedMode ConfigError 0 ConfigOK 1 ConfigError APF 0 AS i Power OK 1 AS i Power Fail PeripheryFault 0 PeripheryOK 1 PeripheryFault 32 ConfigurationActive 0 ConfigurationActive 1 Configuration nactive Off Line LOS master bit 0 OnLine 1 Off Line 0 Off Line by ConfigError deactivated 1 Off Line by ConfigError deactivated Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K A rising edge of the LOS master bit effects that all bits in the LOS are set A falling edge effects that all bits are reset Ana
27. 24 23 22 21 20 1 3F46 2 T circuit 3 xID1 Response Byte 27 26 25 24 23 22 21 20 1 3F46 2 T result RD 7X IN With this command the four 16 bit channels of an AS i input slave according to the slave profil 7 3 can be read Request byte 27 26 25 24 23 22 2 20 1 5046 2 T circuit 3 0 slave address Response byte 27 26 25 24 23 2 21 20 1 5046 2 TE result 3 channel 1 high byte 10 channel 4 low byte Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 51 AS i PROFIBUS Gateway PROFIBUS DP S Cc K WR_7X_OUT With this command the four 16 bit channels of an AS i output slave according to the slave profil 7 3 can be written Request byte 2 26 25 2 2 2 2 20 1 Stig 2 T circuit 3 0 slave address 4 channel 1 high byte 11 channel 4 low byte Response byte 2 2 25 of 23 22 2t 20 1 Stig 2 T result RD_7X_OUT With this command the four 16 bit channels of an AS i output slave according to the slave profil 7 3 can be read out of the AS i PROFIBUS Gateway Request byte 27 26 25 24 23 2 2 20 1 5246 2 T circuit 3 0 slave address Response byte 27 26 25
28. 6 25 24 23 22 21 20 1 0D46 2 T circuit 3 B source address 4 B target address Response byte 27 26 25 24 23 22 21 20 1 0D46 2 T result Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave Set Auto Address Enable SET_AAE This call can enable or disable the automatic address programming function The AUTO_ADDR_ENABLE bit is stored permanently in other words it is retained after a warm hot restart on the AS i master Request byte 27 26 25 24 23 22 21 20 1 0B46 2 T circuit 3 Auto_Address_Enable Response byte 27 26 25 24 23 22 21 20 1 0B46 2 T result Subject to reasonable modifications due to technical advances Copytight SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 49 AS i PROFIBUS Gateway PROFIBUS DP EXEC _CMD With this call the master gets a message from the host that a message should be transmitted to the AS i slaves Request byte 2 26 25 2 2 2 2 20 1 4946 2 T circuit 3 B slave address 4 info5 Response byte 2 26 25 4 2 2 2 20 1 4916 2 T result 3 info4 Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave GET LPF With this call the list of pe
29. C flags delta list and LPF The LCS is not displayed e ExtDiag will be set if ConfigError 1 and APF 1 ExtDiag will not be set if there is a periphery fault or if there is an entry in the LCS If an AS i PROFIBUS DP Gateway with 2 AS i masters is used the User Diagnosis Bytes 5 to 30 represent AS i network 1 and the User diagnosis bytes 31 to 56 repre sent AS i network 2 User Parameters With the User Paramters can be selected which slave liste will be displayed in the PROFIBUS diagnosis Furthermore can be selceted which conditions have to be ful filled to set the ExtDiag bit within the diagnosis telegram DP Parameters PDU byte user byte DP DPV1 user default 1 station_status Y 2 WD_Fact_1 Vv 3 WD_Fact_2 Vv 4 min Tsar Vv 5 ident high Vv 6 ident low Vv Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K DP Parameters PDU byte user byte DP DPV1 user default 7 group_ident Vv 8 1 DPV status 1 Vv 8046 9 2 DPV status 2 Vv 0046 10 3 DPV status 3 Vv 0016 11 4 slave lists Vv OBig 12 5 ExtDiag Vv 0646 The bits in slave lists and ExtDiag have following meanings
30. Phone 32 24 66 55 66 Fax 32 24 63 35 07 Brazil Phone 55 11 55 61 26 83 Fax 55 11 55 35 41 53 China Hong Kong Phone 8 52 27 63 69 66 Fax 8 52 27 63 63 11 Czech Republic Phone 42 02578 10 561 Fax 42 02 578 10 559 Denmark Phone 45 45 82 6400 Fax 45 45 82 64 01 Finland Phone 3 58 9 7 28 85 00 Fax 3 58 9 72 88 50 55 France Phone 33 1 64 62 35 00 Fax 33 1 64 62 35 77 Germany Phone 49 211 5301 0 Fax 49 2 11 53 01 100 Great Britain Phone 44 17 27 83 11 21 Fax 44 17 27 85 67 67 Italy Phone 39 02 92 14 20 62 Fax 39 02 92 14 20 67 Japan Phone 813 33 58 13 41 Fax 813 33 58 05 86 Netherlands Phone 31 3 02 29 25 44 Fax 31 3 02 29 39 94 Norway Phone 47 67 56 7500 Fax 47 67 56 6100 Poland Phone 48 22 8 37 40 50 Fax 48 22 8 37 43 88 Singapore Phone 65 7 44 37 32 Fax 65 8 41 77 47 Spain Phone 34 9 34 80 31 00 Fax 34 9 34 73 44 69 Sweden Phone 46 8 6 80 64 50 Fax 46 8 7 10 18 75 Switzerland Phone 41 416 19 29 39 Fax 41 4 16 19 29 21 Taiwan Phone 88 62 23 65 62 92 Fax 88 62 23 68 73 97 USA Phone 1 952 9 41 67 80 Fax 1 952 9 41 92 87 Representatives and agencies in all major industrial nations SICK SICK AG Automatisierungstechnik Sebastian Kneipp StraBe 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 36 09 www sick de
31. S The list of detected AS i slaves LDS e The list of projected AS i slaves LPS e The flags according to the AS i slave specification Request byte 27 26 26 24 23 22 21 20 1 3046 2 T circuit Response byte 27 26 25 24 23 22 21 20 1 3046 2 T result 3 7A 6A 5A 4A 3A 2A 1A OA ae LAS 10 31B 30B 29B 28B 27B 26B 25B 24B 11 7A 6As 5A 4A 3A 2A 1A OA ss LDS 19 31B 30B 29B 28B 27B 26B 25B 24B 20 7A 6As 5A 4A 3A 2A 1A 0A Ne LPS 26 31B 30B 29B 28B 27B 26B 25B 24B 27 Pok 28 OR APF NA CA AAv AAs So Cok 29 AAe OL DX Pok Periphery_Ok So LDS O AAs Auto_Address_Assign AAv Auto_Address_ Available CA Configuration_Active NA Normal_Operation_Active APF APF OR Offline_Ready Cok Config_Ok AAe Auto _Address_ Enable OL Off line DX Data_Exchange_Active Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 55 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S Cc K GET_LCS With this call the List of Corrupted Slaves LCS is read out of the AS i PROFIBUS Gateway Request byte 2 2 28 of 28 22 at 20 1 6016 2 T circuit Response byte 2 26 28 24 23 22 2 20 1 6046 2 T resul
32. 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 represented in the LCS at the po sition 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 Il 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 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 Note 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 telegram 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 configuration errors 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 Il 255 means counter overflow Note The protocol analysis is included in the command master AS i Diagnostics of AS i Control Tools S
33. Tools and Accessories S C K 7 Click on a slave entry to open the dialogbox slave configuration Slave Configuration Address 2 Ea Address Configuration Data and Parameter Inputs T Of if 27 3 Gutpus T CT if 27 3 Curent parameters VOM 1M 2 3 Power up parameters IV O V 1M 203 Peripheral fault M Abbrechen 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 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 automatically the address of anAS 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 integrated help Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 67 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i
34. US Gateway PROFIBUS DP 7 1 2 Configuration DP VO cyclic data AS i V2 04 easy mode O The AS i PROFIBUS DP Gateway V2 1 can be used that it can replace Bihl Wiedemann s AS i PROFIBUS DP Gateway according to the Il specification 2 04 which has been commisioned in easy mode In this mode the AS i I O data are shown in the PROFIBUS process data as 16 Note bytes I O data with or without consistency The PROFIBUS diagnosis is displayed as described in chapter 7 1 1 Even if the PROFIBUS DP gateway V2 1 shall be used in this V2 04 easy mode the GSD file which comes together with the gateway has to be used The GSD file of the V2 04 gateway can not be used AS i V2 1 mode In AS i V2 1 mode the input and output data field can be used with variuos special IDs The advantages of special input and output IDs are They can include up to 64 ele ments bytes or words and the length of input and output data can be different Fur thermore manufacturer specific data bytes are possible These manuafaturer specific data bytes describe the which type ID is The following types are possible 30 Areas of the l O data fields type input data output data length bytes length bytes 0046 empty 0 128 0 128 0146 digital process data out of AS i circuit 1 0 32 0 32 0246 digital process data out of AS i circuit 2 0 32 0 32 0346 mailbox 2 36 2 34 1046 analog input
35. Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 53 AS i PROFIBUS Gateway PROFIBUS DP SICK RD_7X_OUT_X With this command the four 16 bit channels of 4 AS i output slaves with succesive ad dresses according to the slave profil 7 3 can be read Request byte 2 26 25 2 2 2 2 20 2 T circuit 3 0 1st slave address Response byte 2 26 25 a 2 2 2 20 2 T result 3 1st slave channel 1 high byte 34 4th slave channel 4 low byte READ_ODI With this call the output data values of all AS i slaves is read out of the AS i PROFIBUS Gateway Request byte 2 26 25 24 23 22 2 20 1 5646 2 T circuit Response byte 2 26 25 24 23 22 2 20 1 5646 2 T result 3 slave 1A slave 2A slave 3A 34 slave 30B slave 31B Subject to reasonable modifications due to technical advances issue date 21 11 2001 Copyright SICK Printed in Germany 54 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Get LPS Get LAS Get _LDS Get_Flags GET_LISTS With this call the following entries are read out of the AS i PROFIBUS Gateway The list of active AS i slaves LA
36. ahl der Zahler Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 58 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Antwort Byte 27 26 25 24 23 22 21 20 1 6646 2 T Ergebnis 3 Z hler 1 n Z hler n 2 EXT _ DIAG With this call the conditions when to set the ExtDiag bit can be selected Request byte 27 26 25 24 23 22 21 20 1 7146 2 T circuit 3 CF 4 APF 5 PF 6 CS Response byte 27 26 25 24 23 22 21 20 1 7146 2 T result CF ExtDiag is set if ConfigError 1 APF ExtDiag is set if APF 1 PF ExtDiag is set if PeripheryFault 1 CS ExtDiag is set if LCS is not empty OPTIONS With this call the options string is read out of the AS i PROFIBUS Gateway Request byte 27 26 25 24 23 22 21 20 1 7446 2 T circuit Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 9 AS i PROFIBUS Gateway PROFIBUS DP S f C K
37. ansm err counters 2 34 B GET_TECB 6446 Get transm err counters 2 34 B GET_TECX 6646 Get transm err counters 4 34 B EXT_DIAG 7146 ExtDiag generation 6 A OPTIONS 7446 Software options 2 18 A BUTTONS 7546 Disable pushbuttons 3 A RD_EXT_DIAG 7Byg Read ExtDiag Settings 2 A INVERTER 7C46 Configure Inverter Slaves 12 C Values for results Values for result value place meaning OK 00416 execution without fault HI_NG 1146 HI general fault HI_OPCODE 1246 HI illegal value in command HI_LENGTH 1346 HI length of the mailbox in the I O data area respec tively the length of the DPV1 Requests is too short HILACCESS 146 HI no access right EC_NG 2146 EC general fault EC_SND 2246 EC slave source addr not detected EC_SDO 2346 EC slave 0 detected EC_SD2 2416 EC slave target addr not decteced EC_DE 2516 EC delete error EC_SE 2616 EC set error EC_AT 2716 EC address temporary EC_ET 2816 EC extended ID1 temporary EC_RE 2916 EC read extended ID1 error Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001
38. ata for the blinking address After the address has been successfully set the next faulty assignment is displayed 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 Setting of the PROFIBUS Station Address PROFIBUS Station Address O The addressing of the AS i PROFIBUS gateway as a PROFIBUS slave can be done locally at the gateway or via PROFIBUS according to the Il PROFIBUS standard Note For example the PROFIBUS DP Master Simulator DP VO DP V1 PR MVSV0 PR MSV1 can be used to change the AS i PROFIBUS gateway s station address via PROFIBUS Station addresses from 1 to 99 can be set when delivered station address 3 is set For the relocation both the set button and the mode button have to be pushed si multaneously for at least 5 seconds until the current bus address is shown on the LCD display With every pushing of the set button the station address can now be in creased by 1 Once the desired PROFIBUS station address is shown on the display it will be stored non volatile in the EEPROM by pushing the mode button Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 23 AS i PROFIBUS Gateway O
39. automatic address assign ment will not be carried out Attention issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 22 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway S C K 5 6 2 Manual Address Assignment 5 7 5 7 1 O If several slaves fail they cannot be replaced automatically by the AS i master Then these addresses have to be set manually If this should Il 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 4 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 cur rently 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 again As a requirement the new slave s configuration data must match the configuration d
40. available Bit 4 configuration mode actice Bit 5 not in normal operation Bit 6 AS i power fail Bit 7 AS i master is offline Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S C K 28 Delta List List of AS i slaves with configuration error 1 ConfigError 0 no ConfigError LPF List of AS i slaves with periphery fault 1 periphery fault 0 no periphery fault LCS List of Corrupted slaves see chapter 6 Each element of the user diagnosis ec flags and slave lists can be switched off by setting the appropriate bit in the parameter telegram Each element that is not used will be filled up with zeros This way the data elements in the diagnosis telegram will keep its designated position and clear text diagnosis fits to the data furthermore Only if an element at the end of the user diagnosis is not used the length of the diag nosis will be shortened Extdiag will be set if at least one of the following conditions is fulfilled e ConfigError 1 e APF 1 e PeripheryFault 1 e LCS is not empty The conditions when to set the ExtDiag bit can be chosen using the user parameters or the mailbox commands The GSD file includes the following presettings e The PROFIBUS diagnosis displayes E
41. ck de 5 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 S i C K 76 10 Select the PROFIBUS slave With the command Configure Slave Parameters Configure you get to the dialogbox Configure Konfigurieren AS i PROFIBUS Gat 3 lt gt Abbrechen Bestellnr Kennung Daten Resenvieren Autoadr L schen Param PEER The fields I Addr and O Addr hold the start addresses for the AS i data The easiest way to set the addresses is with Auto Addr From these addresses 16 bytes of AS i data each are mapped to the address space of your PLC This AS i data can be processed with your user program by means of load and transfer operations 11 After closing this dialogbox save your project with the command File Save 12 The last step is exporting the data to a memory card with the command File Ex port Memory Card Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 Printed in Germany We reserve the right to make changes Your contact Australia Phone 61 39497 41 00 0 08 33 48 02 toll free Fax 61 3 94 97 11 87 Austria Phone 43 2 23 66 22 88 0 Fax 43 2 23 66 22 88 5 Belgium Luxembourg
42. d AS i slaves transfer the values of the slave inputs to the master when the transfer was free of errors e This is followed by the inclusion phase in which there is a search for the existing AS i slaves and newly added AS i slaves are entered in the LDS or LAS e In the management phase jobs from the user such as writing parameters are exe cuted In the offline mode the AS i PROFIBUS Gateway only processes jobs from the user Jobs that involve the immediate addressing of an AS i slave are rejected with an er ror There is no cyclic data exchange with the AS i slaves Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 47 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S C K The OFFLINE TRUE bit is not permanently stored in other words following a cold warm restart the AS i PROFIBUS Gateway is once again in the online mode Request byte 2 26 25 24 23 22 2 20 1 OAi6 2 T circuit 3 Off Line Response byte 2 26 25 24 28 22 2 20 1 OAi6 2 T result The master changes to the Offline phase if there is a 1 written in byte 3 The master will change to online mode if there is a O written in byte 3 SET_DATA_EX Request byte
43. d actual configuration The OPERATION MODE bit is stored permanently in other words it is retained fol lowing a cold warm restart Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K When you change from the configuration mode to the protected mode there is a warm restart on the AS i master change to the offline phase followed by a change to the online mode O If an AS i slave with address 0 is entered in the LDS the AS i PROFIBUS Gateway cannot change from the configuration mode inl to the protected mode Note Request byte 97 26 25 24 23 22 21 20 1 0C46 2 T circuit 3 operation mode Response byte 27 26 25 24 23 22 21 20 1 0C46 2 T result Meaning of bit operation mode 0 protected mode 1 configuration mode SET_OFFLINE This call switches between the online and offline mode The online mode is the normal operating situation for the AS i master Here the following jobs are processed cyclically e During the data exchange phase the fields of the output data are transferred to the slave outputs for all AS i slaves in the LAS The addresse
44. d on Devices in IP65 The AS i PROFIBUS gateway in IP65 can be connected to PROFIBUS with cage clamp terminals inside of the device For that purpose the top of the housing has to be screwed off 1 If you measure the DC voltage between RxD TxD P data line B and RxD TxD N data line A RxD TxD P data line B is the positive pole when the bus is silent Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 5 AS i PROFIBUS Gateway Connections Displays and Operating Keys S C K 4 3 4 3 1 16 You can use a SUB D data cable as an accessory part for AS i masters in IP65 DOL RS485 02M which is led through the heavy gauge terminals and is connected after the following colour scheme 3 green 4 yellow 5 blue 10 red Connection of PROFI 1 RxD TxD N data line A ET A BUS 2 RxD TxD P data line B buttons interface on cage clamp 3 TRXD TxD N data line A Jel ll terminal blockand 7T RXD TxD P data line B i arrangement on circuit board 5 oV 6 Shield MAIAIAIS 7 FG function ground AAAA 8 FG function ground tanh tetra bibe 9 Shield 10 5 V The device in IP65 is powered out of th
45. data circuit 1 slave 31 2 128 0 1146 analog input data circuit 1 slave 15 2 120 0 1246 analog output data circuit 1 slave 31 0 2 128 1346 analog output data circuit 1 slave 15 0 2 120 1446 analog input data circuit 2 slave 31 2 128 0 1546 analog input data circuit 2 slave 15 2 120 0 16416 analog output data circuit 2 slave 31 0 2 128 1746 analog output data circuit 2 slave 15 0 2 120 The consistency of the digital process data is ignored At least each word of the ana log data has to be consistent The mailbox commands have to be consistent The GSD file submits the corresponding entry Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K The IDs can be used in different sequences But in the I O data field can only be one area with each type 7 1 3 1 O Data AS i V2 04 easy mode byte 27 26 25 24 23 22 2 20 0 slave 1 1A flags D3 D2 D1 DO F3 F2 F1 FO 1 slave 3 3A slave 2 2A 2 slave 5 5A slave 4 4A 3 slave 7 7A slave 6 6A 4 slave 9 9A slave 8 8A 5 slave 11 11A slave 10 10A 6 slave 13 13A slave 12 12A 7 slave 15 15A slave 14 14A 8
46. dy occupied 92 Error while changing slave address New address could not be set 93 Error while changing slave address New address could only be stored volatile in the slave 94 Error while changing slave address in protected operating mode Slave has wrong configuration data Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 69 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Appendix Displays of the Figure Display S I C K 95 Error while changing slave address in protected operating mode The configu ration error was caused by one slave too many instead of one missing slave issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 70 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Appendix The First Commissioning of AS i SICK 10 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 Il The addressing of the components connected
47. e AS i The master remains in the detection phase until it finds at least one slave 42 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 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 9 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway S I Cc K 5 3 5 4 5 4 1 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 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 master to configu ration mode While in configuration mode the yellow prj mode LED lights up The system then displays one after the other all detected slaves at a speed of two per second First all A slaves and afterwards all B slaves If the display is empty
48. e AS i line to which it is connected by the elec tromechanical interface penetration technique as it is used with AS i slaves Bus Termination If the AS i PROFIBUS gateway is at the end of the PROFIBUS line both DIP switches have to be switched on to terminate the bus with the built in termination resistors If the gateway is not at the end of the line swith off both DIP switches Display and Operating Elements On the front panel of the AS i PROFIBUS gateway are seven light emitting diodes a two digit display and two push buttons With the devices in IP65 the push buttons are situated inside of the housing to avoid liquids from entering The top of the housing has to be screwed off to operate these push buttons LEDs of the Single Masters power The master s power supply is sufficient bus active LED on Gateway is allocated to a PROFIBUS master LED off Gateway is not allocated to a PROFIBUS master config err Configuration error At least one configured slave is missing or at least one detected slave is not projected or for at least one projected and detected slave the actual configuration data does not match the nominal configuration data This LED blinks if there is at least one periphery fault at one AS i slave in the AS i network If there are configuration errors as well as periphery faults only configuration error is displayed U ASI The AS i circuit is sufficiently powered issue date 21 11 2001 Subject to reas
49. e date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 64 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Commissioning Tools and Accessories S C K 8 Commissioning Tools and Accessories The AS i circuit on the AS i PROFIBUS Gateway can be put into operation with the comfortable Windows software AS i Control Tools ASI CT210 This software communicates with the AS i PROFIBUS gateway by means of a PROFIBUS converter which converts the RS 232 signals of the PC to PROFIBUS This software communicates with the AS i PROFIBUS gateway by means of a PROFIBUS DP Mastersimulator DP V0 DP V1 PR MSV0 PR MVSV1 which con verts the RS 232 signals of the PC to PROFIBUS The AS i master in IP65 needs an additional D Sub data transmission cord for the AS i masters in IP65 DOL RS485 02M 8 1 Windows Software AS i Control Tools 1 For that purpose plug in a Bihl Wiedemann PROFIBUS DP Master Simulator DP V1 to the D SUB connector of the AS i PROFIBUS gateway and connect the device with a fully covered cable to the serial interface of your PC 2 Start the AS i Control Tools 3 Call the command Master New AS i Control Tools AS i Configuration PS waanass Fi Pdiess Resistant ised Gerfiantsion Save torifigutator Recent Master 4 C
50. ections Displays and Operating Keys S I K Power supply out of AS i circuit 1 AS i Master max 100m AS i cable without repeater max 62 ASi Slaves with advanced address max 8A PELV according to EN 60950 Protective extra low voltage max 100m ASi cable without repeater max 62 ASi Slaves with advanced address max 8A PELV according to EN 60950 Protective extra low voltage Operation with separate 24 V DC power supply AS i Master AS i 1 AS i 2 power d e 4 a24V0Vb GND ASG ler sie VDC power m supply PELV according to EN 60950 Protective extra low voltage ASi Slave 2 100 m ASi cable without repeater W max 62 ASi slaves with advanced address range max 8 A PELV according to EN 60950 Protective exta low voltage AS i J power supply o AS Slave Max 100 m ASi cable without repeater P max 62 ASi slaves with advanced addressange max 8A PELV according to EN 60950 Protective extra low voltage AS i power supply Do not use a seperate 24 V DC power supply without removing the jumpers Attention issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 14 SICK AG Sebastian Kneipp Str 1 D 79183
51. eesseesseesesnesseeseaeeesees 17 5 Operating the AS i PROFIBUS Gateway cccssssssseeresseeeeseeeeneseeees 5 1 Peculiarities with Double Masters 006 5 2 Master Start Up 5 3 Configuration Mode 5 4 Protected Operating Mode scssssssssseessseesseeseeeesneesseessneesseessneseseeseneeseeesenee 5 4 1 Switching to Protected Operating Mode ou ee eee eee eeee eee eeseeteaeeteeeteaeeeeenaes 5 4 2 Configuration Errors in Protected Operating Mode 5 5 Assigning an AS i Address in Configuration Mode 5 5 1 Assigning a Slave Address cece eeeeeeeeeeee 5 5 2 Erasing the Slave Address ooo cece cece eeseceeeeeeseeeeeaeeseeseaeesseeseaeeeeeeseaeeeeeesaes 5 6 Programming the Address in Case of Configuration Errors s ccssseeee 22 5 6 1 Automatic Address Assignment 5 6 2 Manual Address Assignment ce eee cece eee cee e eens eeeeseeeseaeeseeseaeeneeseaeeeeeseaes 5 7 Setting of the PROFIBUS Station Address cc cssssseessneesseessneeesteeseensseeeens 23 5 7 1 PROFIBUS Station Address 5 8 Error M SSaQ a E E E 6 Advanced Diagnostics for AS i Masters ccssssseeeeseeseeeeeeeeesees 25 6 1 List of Corrupted AS i Slaves LCS ccccscssssesseesseeesseseseessseessessneesseeseeesenee 25 6 2 Protocol Analysis Counters of Corrupted Data Telegrams cseseeee 25 6 3 Off line Phase on Configuration Errors LOS ccsssssesseessessseess
52. eseneesseeeeeee 26 7 PROFIBUS DP a aa neh ieee at aa ae aaa oraaa E o Aane SaS AEE Naai 27 7 1 DP Telegrams ssccssccsssesteesscessceessnessneeseneessensenesseessenensnesseneesnensenessensenessneesene 27 PAST DIAGNOSIS ices cvscceessensreuceccenseqententeseestenstanuensanslpsttnaneensueanivenssahsqeetestantdsunasensneautensnees 27 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Table of Contents S f C K 7 1 2 7 1 3 7 2 7 3 7 3 1 7 3 2 7 3 3 8 8 1 8 2 9 10 11 11 1 2 Configuration DP VO cyclic data eseessseseesesereeseriesireinerrsrrnsinerrerrnrinernnrrnrrnerent 30 O Data z DP V1 Mailbox GCOnstructiOn sieh a ise Meat RR A a a SE AES Mailbox commands Mailbox example Commissioning Tools and Accessories ccceeeeeeeeeeeeeseeeeeeeenees 65 Windows Software AS i Control TOOIS csscccssseceeeseeeeeseeeeeeeeeenseeeesseeeeeseeeeenes 65 PROFIBUS DP Master Simulator cccsecceeseeeeeeeeeeeseeeeenseneeeneeeeeenseeeeesseeeeneeeees 68 Appendix Displays of the Figure Display ccssssseeceeeeeesseeeeees 69 Appendix The First Commissioning Of AS i 22 sss eeeceeeeeeeeeeeees 71 Appendix Putting PROFIBUS into Operation with a Sie
53. expected configuration by the AS i master in the protected mode The configuration data are specified by the manufacturer of the AS i slave If the addressed AS i slave does not support an extended ID code 1 2 the value Frey must be specified When this command is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart on the AS i master This command can only be executed in the configuration mode Request byte 27 26 25 2 2 2 at 20 1 2546 2 T circuit 3 B slave address 4 xID2 xID1 5 ID 10 Response byte 27 25 of 23 2 at 20 1 2546 2 T result Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave Get Extended Permanent Configuration GET_PCD This call reads the following configuration data configured data of an addressed AS i slave stored on the EEPROM of the AS i master e I O configuration e ID code e Extended ID1 code e Extended ID2 code Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 1 AS i PROFIBUS Gateway PROFIBUS DP S f C K 42 The configuration data are specified by the manufacturer of the AS i slave
54. figuration mode all detected AS i slaves are displayed at first before the dis play switches to the other AS i circuit The operation of the push buttons is always related to the currently displayed AS i cir cuit LED AS i 1 AS i 2 After a push button was pressed the display stays with the respective AS i circuit until the operation is finished or the operator has not interfered for 10 seconds 5 2 Master Start Up After powering on all segments of the figure display and all LEDs light up for approx imately one second self test Afterwards the LEDs display the condition of their re spective flags The figure display shows the condition of the master 40 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 U AS i does not light up or there is no communication relation ship between the PROFIBUS master and the AS i PROFI BUS gateway the master remains in the off line phase Attention g p In configuration mode or when an AS i Control program is started auto matically the device can leave the off line phase In protected mode if the PROFIBUS communication is interrupted the AS i master switches to the off line phase after the watchdog time of the PROFIBUS has expired unless an AS i Control program is running and was started automatically 41 Detection Phase Start of the start up phase where the system looks for slaves located on th
55. he AS i slave as a response to the write_parameter job SICK Request byte 27 26 25 24 23 22 2 20 1 0346 2 T circuit 3 B slave address Response byte 2 26 25 24 23 22 2 20 1 0346 2 T result 3 PI Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave Store Actual Parameters STORE_PI With this call the configured parameters stored on the EEPROM are overwritten with the current permanently stored actual parameters in other words the parameters of all the AS i slaves are configured Request byte 27 28 25 24 23 22 21 20 1 0416 2 T circuit Response byte 2 28 25 24 23 22 21 20 1 04146 2 T result Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 40 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Set Permanent Configuration SET_PCD This call sets the following configuration data for the addressed AS i slave e I O configuration ID code Extended ID1 code e Extended ID2 code The configuration data are stored permanently on the EEPROM of the AS i PROFIBUS Gateway and are used as the
56. he AS i analog profile 7 3 and afterwards switched to the selcted de stination parameter Request byte 27 26 25 24 23 22 21 20 1 7C46 2 T circuit 3 slave address 4 destination parameter 5 value 1 high byte 6 value 1 low byte 7 value 2 high byte 8 value 2 low byte 9 value 3 high byte 10 value 3 low byte 11 value 4 high byte 12 value 4 low byte Response byte 27 26 25 24 23 22 21 20 1 7C46 2 T result Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 61 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S C K 7 3 3 Mailbox example Command RD_7X_IN Reading of analog input values PROFIBUS DP V0 cyclic data exchange Used ID module in the GSD file 12 bytes management Meaning of the bytes Request RD_7X_IN Byte 1 50hex RD_7X_IN Byte 2 00 master 1 single master Byte 3 1Dhex slave address 29 Byte 4 00hex Byte 12 00n x Response Byte 1 00hex Byte 2 00hex Byte 3 00nex Byte 4 00nex Byte 12 00h The mailbox call has not been anwsered with the valid values beause the toggle bit has not been set Set of Toggle bit Request
57. hoose PROFIBUS as protocol Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 65 AS i PROFIBUS Gateway Commissioning Tools and Accessories SICK 5 Do the appropriate settings e g serial interface COM 2 station address lt auto gt AS i circuit 1 Protocol Settings x Protocol Profibus oe Serial port COM 2 M Cancel lt auto gt rik Bus address 6 Call the command Master AS i configuration AS i Circuit gt The AS i configuration editor will be started All detected and projected AS i slaves are displayed in this window E AS i Configuration Profibus COM 1 Addr 4 Circ 1 Type fa Remote 1 0 4 in User defined 4 in 4 out User defined 2 in 2 out 1 2 3 4 5 6 7 8 9 U pera ay wns oO F Analog slave 7 3 4 in k a ne F Analog slave 7 3 2 in Show B Slaves Master Bus address 4 Peripheral fault Configuration OK Subject to reasonable modifications due to technical advances issue date 21 11 2001 Copyright SICK Printed in Germany 66 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Commissioning
58. initiate preventive maintenance Two Sorts of Housing The AS i PROFIBUS Gateways with one Master can be delivered in a housing for cabinet mounting or in a field housing in IP65 The handling of the AS i PROFIBUS Gateway in IP65 is identically with the AS i PROFIBUS DP Gateway in IP20 The high protection category IP65 makes the device suitable for applications in the ex treme industrial environments frequently encountered in the field AS Interface is con nected using the penetration technique of EMS Electromechanical Interface PROFIBUS is connected with heavy gauge terminals and cage clamp terminal blocks Commissioning and monitoring The AS i PROFIBUS Gateways can be commissioned respectively programmed with the help of the software AS i Control Tools in combination with the PROFIBUS DP Master Simulator The GSD file are included in the package Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 9 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway General Information S C K Commissioning debugging and setting up of the AS i parameters without the soft ware can only be accomplished with the use of the push buttons the display and the LEDs directly on the system Accessories Software AS i Control Tools ASI CT210 Article no 6022501 PROFIBUS DP Master Simulato
59. ion 2 2 C READ_CDI 2846 Read_Actual_Configuration 3 4 A SET_LPS 2916 SET_LPS 11 2 C GET_LPS 4416 Get_LPS 2 10 A GET_LAS 4516 Get_LAS 2 10 A GET_LDS 4616 Get LDS 2 10 A GET_FLAGS 4746 Get_ Flags 2 5 A SET_OP_MODE 0C4 Set_Operation_Mode 3 2 C SET_OFFLINE OA Set_Offline_Mode 3 2 D SET_DATA_EX 4846 Set_Data_Exchange_Active 3 2 C SLAVE_ADDR 0D46 Change_Slave_Address 4 2 C SET_AAE OBig Set_Auto_Adress_Enable 3 2 D EXEC_CMD 4916 Execute_Command 4 3 C GET_LPF 3Eig Get_LPF 2 10 A WRITE_XID1 3Fi Write_Extended_ID Code_1 3 2 C RD_7X_IN 5046 Read 1 7 3 slave in data 3 10 A WR_7X_OUT 5116 Write 1 7 3 slave out data 11 2 C RD_7X_OUT 5246 Read 1 7 3 slave out data 3 10 A RD_7X_IN_X 5346 Read 4 7 3 slaves in data 3 34 A WR_7X_OUT_X 5446 Write 4 7 3 slaves out data 35 2 C Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 35 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S f C K 36 Values for command value meaning Req Res AGC Len Len Grp RD_7X_OUT_X 5546 Read 4 7 3 slaves out data 3 34 A READ_ODI 5646 Read ODI 2 34 A GET_LISTS 30465 Get LDS LAS LPS Flags 2 29 A GET_LCS 60465 Get LCS 2 10 B GET_LOS 6146 GET_LOS 2 10 A SET_LOS 6246 SET_LOS 10 2 C GET_TECA 6346 Get tr
60. l configuration in the EEPROM O If the system detects an AS i slave with address zero on the AS i it can Tl 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 5 4 2 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 projected 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 diag nosis The last error that occurred can be displayed by pressing the set button Ifa short AS i power failure is responsible for the configuration error the display shows a 39 5 5 Assigning an AS i Address in Configuration Mode AS i can be put into operation in a very comfortable manner by using the Windows software AS i Control Tools ASI CT210 see chapter 8 1 Furthermore you can use a hand held addressing device If you don t have neither a PC nor a hand held addressing device address assigning of the AS i slaves is also possible with the AS
61. log data The 16 bit values of AS i slaves according to the profile 7 3 can read and written within each PROFIBUS cycle or via the mailbox If analog values are written cyclic and acyclic via the mailbox or via DPV1 at the same time the values transmitted cyclically will overwrite the acyclic values AS i analog data 7 3 may be mapped in a separate area to provide easy access Analog data byte 27 2 of 23 2 at 20 1 slave 31 n 8 channel 1 high byte 2 slave 31 n 8 channel 1 low byte 3 slave 31 n 8 channel 2 high byte 4 slave 31 n 8 channel 2 low byte n 1 slave 31 channel 4 high byte n slave 31 channel 4 low byte Mailbox Only using the IDs of the process data field the AS i PROFIBUS gateway can be used as MO AS i master Using the mailbox see chapter 7 1 the functions of a M3 master are avaiable Request byte 27 26 2 24 23 2 2 20 1 command 2 T circuit 3 request parameter byte 1 36 request parameter byte 34 Answer byte 27 26 2 24 23 2 A 20 1 command mirrored 2 T result 3 response parameter byte 1 34 response parameter byte 32 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http
62. mens S5 73 Putting into Operation in Easy Mode cccsseccsseseeesseeceeseeeeeeseeeeenseeeseeseeeeneneees 73 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway S C K 8003440 0499 BK BK SICK EC Declaration of Conformity In Compliance with the EC Directive on Electromagnetic Compatibility 89 336 EWG We hereby declare that the devices see page 2 of the product family ASI M comply with the basic requirements of the EC Directive specified under Point 1 If an item of equipment listed overleaf is modified without our approval then this declaration loses its validity for this equipment We employ a quality system certified by the DQS German Quality Assurance Society No 462 as per ISO 9001 and have therefore observed the regulations in accordance with module H as well as the following EC directives and EN standards during development and production 1 EC directives EC EMC Directive 89 336 EEC as per 92 31 EEC 93 68 EEC 93 465 EEC 2 Harmonized EN 50081 2 Emitted interference industry Ed 93 08 standards used EN 50295 Low voltage switchgear and controlgear Ed 99 03 Controller and device interface systems Actuator Sensor interface AS i EN 61000 6
63. n 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 ad dress of a detected slave is displayed this slave will get the address zero and the dis play shows 00 When you release the button the display continues to display the detected slaves 5 6 Programming the Address in Case of Configuration Errors 5 6 1 Automatic Address Assignment O One of AS i s great advantages is the automatic address assignment If a slave fails it can be replaced by one of the same type with address Il zero The master will detect the replacement and automatically Not addresses the new slave with the address of the faulty one e 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 enable 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 deactivat ed 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
64. nce with this operating manual 2 2 General Safety Information Son Warning Note Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual is per formed The connecting of the equipment and any maintenance work to be car ried out with voltage applied to the equipment must only be performed 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 warranty The operator is responsible for the observance of local safety stan dards Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 7 AS i PROFIBUS Gateway Safety S I C K issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 8 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway General Information S f C K 3 General Information This operating
65. nces Copyright SICK Printed in Germany 74 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 S I C K 8 and afterwards the dialogbox for the selection of the device type Slave Parame ters Slaveeigenschaften x Familie Stationstyp Bestellnummer ASDP DM AS i DP A Abbrechen Konfigurieren Paramietrieren Bezeichnung Bim Wiedemann Nr 1l Hilfe M Ansprechiiberwachung PROFIBUS Adresse 3 Fehlermeldemodus F FREEZE f hig C keiner QYZ CPEU F SYNC fahig Choose AS i DP as station type This name stands for the GSD file with the set tings for the easy mode 9 Afterwards your PROFIBUS system looks as follows DP Mastersystem PROFIBUS Adresse 1 OF Xx Busbezeichnung PROFIBUS Hostbezeichnung 5 135U CPU 928B Hostsystem lt 1 gt Stationstyp IM 308 C TLE PROFIBUS Adresse 1 Stationsbezeichnung Mastersystem lt 1 gt Stationstyp AS i DP Gateway PROFIBUS Adresse 3 Stationsbezeichnung Bihl Wiedemann Nr 1 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www si
66. o technical advances Copyright SICK Printed in Germany 72 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 S C K 11 Appendix Putting PROFIBUS into Operation with a Siemens S5 This chapter shows exemplarily the putting into operation of an AS i PROFIBUS gate way ASI M31320 ASI M31330 on PROFIBUS for the PLC Simatic S5 135 of Sie mens with the PROFIBUS master card IM 308 C The configuration software used is the Siemens COM PROFIBUS 3 0 German version 11 1 Putting into Operation in Easy Mode 1 Copy the GSD file B_W_1745 GSD from the diskette AS i PROFIBUS Gateway IBM PC Software from the directory A GSD to the directory GSD of the software COM PROFIBUS 3 0 2 Start the configuration software COM PROFIBUS 3 0 3 Execute the command File Scan GSD Files 4 Execute the command File New The dialog box Master amp Host Selection appears Bus Adr Master Stationstyp Host Stationstyp 5 115U CPU 944B ok 5 95U DP Master 5 115U CPU 945 IM180 Master 5 135U CPU 922 Abbrechen 505 CP5434 DP 5 135U CPU 928A SIMADYN D SS52 5 135U CPU 928B Hilfe CP 5412 A2 5 155UjH CPU 946 947 SOFTNET DP 5 155U H CPU 948 x Master 6ES5 308 3UC11 Host BESS 928B 3UB12
67. onable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Connections Displays and Operating Keys S C K ASI active prg enable prj mode Normal operation active Blinks if an B slave is displayed Automatic address programming enabled Exactly one slave is missing in protected operating mode The slave can be replaced by another slave of the same type with ad dress zero The master addresses the new slave to the faulty ad dress and thus eliminates the configuration error The AS i master is in configuration mode 4 3 2 LEDs of the Double Masters AS i 2 bus active config err power U ASI prg enable prj mode Switching of the displays and push buttons between the two AS i circuits If this LED lights up all displays and button operations are relat ed to AS i circuit 2 otherwise AS i circuit 1 LED on Gateway is allocated to a PROFIBUS master LED off Gateway is not allocated to a PROFIBUS master Configuration error At least one configured slave is missing or at least one detected slave is not projected or for at least one projected and detected slave the actual configuration data does not match the nominal configuration data This LED blinks if there is at least one periphery fault a
68. perating the AS i PROFIBUS Gateway S I C K 5 8 Error 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 range These codes are described in the appendix chapter 9 Attention j PERISIS p issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 24 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Advanced Diagnostics for AS i Masters S f C K 6 1 6 2 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 Inter face and the programming of AS i Control support the operation of the advanced di agnostics LCS error counters and LOS 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 de tected slaves LDS and the list of activated slaves LAS a forth list the list of cor rupted slaves LCS
69. r DP VO PR MVSV0 Article no 6022458 PROFIBUS DP Master Simulator DP V1 PR MVSV1 Article no 6022459 D Sub data transmission cord for AS i masters in IP65 Article no 6022469 issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 10 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Connections Displays and Operating Keys S I C K 4 Connections Displays and Operating Keys Devices in IP20 On the front panel of the AS i PROFIBUS gateways in IP20 are terminals to connect the power supply and the AS i circuit a 9 pin SUB D connector as PROFIBUS interface 7 LEDs a LC display 2 push buttons devices with full graphic display 4 push buttons to configure the gateway Devices in IP65 The devices in IP65 have the terminals for PROFIBUS cage clamp terminals and the push buttons under the top of the housing to prevent liquids from entering The AS interface is connected with the electromechanical interface with penetration tech nique developed for AS i at the bottom of the housing Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 1
70. r error messages of the master They have the following meanings 39 Advanced AS i diagnostics If a 39 appears on the display after pressing the set button a short time AS i power failure occured 40 The AS i master is in off line phase 41 The AS i master is in detection phase 42 The AS i master is in activation phase 43 The AS i master starts the normal operating mode 70 Hardware error The AS i master s EEPROM cannot be written to 72 Hardware error The PIC processor does not respond 73 Hardware error The PIC processor does not respond 74 Checksum error in the EEPROM 75 Error in the external RAM 76 Error in the external RAM 77 AS i control software error Stack overflow AS i control I 78 AS i control software error Checksum error in the control program 80 Error while attempting to exit the configuration mode A slave with address zero exists 81 General error while changing a slave address 82 The front panel operation is blocked Until the next power up of the AS i mas ter the accessing to the device only from the host via the interface 83 Program reset of the AS i Control programm The AS i Control programm is just read out of EEPROM and copied into the RAM 88 Display test while starting up the AS i master 90 Error while changing a slave address in protected operating mode No slave with address 0 existing 91 Error while changing slave address Target address is alrea
71. ripheral faults LPF signaled by the AS i slaves is read out from the AS i master The LPF is updated cyclically by the AS i master Whether an when an AS i slave signals faults of the attached peripherals for example wire break can be found in the description of the AS i slave Request byte 27 26 25 24 23 22 21 20 1 3E46 2 T circuit Response byte 27 26 25 24 28 22 21 20 1 3E46 2 T result 3 7A amp A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 50 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de SICK issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Write AS i Slave Extended ID1 WRITE_XID1 With this call the extended ID1 code of an AS i slave with address 0 can be written directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode The AS i master passes on the extended ID1 code to the AS i slave without any plau sibility check Request byte 27 26 25
72. se byte 27 26 25 24 23 22 21 20 1 6346 2 T result 3 APF 4 slave 1A 34 slave 31A Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 57 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway PROFIBUS DP S C K GET_TECB With this call the counts of the error counters for B slaves are read out see chapter 6 With every read out of the counts the error counters are restarted The counts are read out via the correspondending host interface and will be deleted with every read access The counter value is limited to 254 255 means counter over flow Request byte 2 2 2 of 28 22 at 20 1 6446 2 T circuit Response byte 2 2 2 of 23 2 at 20 1 6446 2 T result 3 APF 4 slave 1B 34 slave 31B GET_TEC_X With this call beginning by a definite slave address the counts of the n error counters are read out see chapter 6 With every read out of the counts the error counters are restarted The counts are read out via the correspondending host interface and will be deleted with every read access The counter value is limited to 254 255 means counter over flow Anfrage Byte 27 26 25 24 23 22 2 20 1 6646 2 T Kreis 3 1 Slave Adresse 4 Anz
73. slave 17 17A slave 16 16A 9 slave 19 19A slave 18 18A 10 slave 21 21A slave 20 20A 11 slave 23 23A slave 22 22A 12 slave 25 25A slave 24 24A 13 slave 27 27A slave 26 26A 14 slave 29 29A slave 28 28A 15 slave 31 31A slave 30 30A AS i V2 1 mode Process data O In V2 1 mode the AS i I O data are mapped in the PROFIBUS process data as known from the Siemens and AS i InterBus masters That i means the lower nibble describes the data of the AS i slave with the higher slave address The EC flags resp Hl flags are additionaly Note mapped at the nibble of AS i slave 0 byte 27 26 25 24 23 22 21 20 0 flags slave 1 1A F3 F2 F1 FO D3 D2 D1 DO 1 slave 2 2A slave 3 3A 2 slave 4 4A slave 5 5A 3 slave 6 6A slave 7 7A 4 slave 8 8A slave 9 9A 5 slave 10 10A slave 11 11A 6 slave 12 12A slave 13 13A Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 31 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de SICK AS i PROFIBUS Gateway PROFIBUS DP byte 27 26 25 24 28 22 2 20 7 slave 14 14A slave 15 15A 8 slave 16 16A slave 17 17A 9 slave 18 18A slave 19 19A 10 slave 20 20A slave 21 21A 11 slave 22
74. t 3 7A 6A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B GET_LOS With this call the List of Offline Slaves LOS is read out of the AS i PROFIBUS Gate way see chapter 6 Request byte 2 26 25 24 23 22 2 20 1 6146 2 T circuit Response byte 2 26 25 24 23 22 2 20 1 6146 2 T result 3 7A 6A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 56 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP SICK SET _ LOS With this call the List of Offline Slaves is written to the AS i PROFIBUS Gateway see chapter 6 Request byte 27 26 25 24 23 2 2 20 1 6246 2 T circuit 3 7A 6A 5A 4A 3A 2A 1A OA 10 31B 30B 29B 28B 27B 26B 25B 24B Response byte 27 28 25 24 23 2 2 2 1 6246 2 T result GET_TECA With this call the error counters of all single slaves A slaves can be read see chap ter 6 Request byte 27 26 25 24 23 22 21 20 1 6346 2 T circuit Respon
75. t one AS i slave in the AS i network If there are configuration errors as well as periphery faults only configuration error is displayed The master s power supply is sufficient The AS i circuit is sufficiently powered Automatic address programming enabled Exactly one slave is missing in protected operating mode The slave can be replaced by another slave of the same type with ad dress zero The master addresses the new slave to the faulty ad dress and thus eliminates the configuration error The AS i master is in configuration mode Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany 17 SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de AS i PROFIBUS Gateway Connections Displays and Operating Keys S C K issue date 21 11 2001 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway S C K 5 Operating the AS i PROFIBUS Gateway 5 1 Peculiarities with Double Masters O In protected mode the displays of the double Masters are switched Tl over from AS i circuit 1 to AS i circuit 2 in a measure of 2 seconds Note In con
76. t way the same mailbox command can be used two times directly one command after the other with different parameters The execution of a mailbox command is declined if the number of the transfered pa rameters is too small that means the mailbox in the cyclic channel is too small or the DP V1 telegram is too short The mailbox commands are valid as well for PROFIBUS DP VO as PROFIBUS DP V1 Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP S f C K Circuit 0 If AS i gateway with one AS i master or the master 1 of an AS i gateway with 2 masters is choosen Circuit 1 If AS i gateway with 2 masters and the master 2 is choosen Values for command Values for command value meaning Req Res ACG Len Len Grp IDLE 0046 No order 2 2 A READ_IDI 414 Read IDI 2 36 A WRITE_ODI 421 Write_ODI 34 2 D SET_PP 4316 Set_Permanent_Parameter 4 2 C GET_PP 0146 Get_Permanent_Parameter 3 3 A WRITE_P 0216 Write_Parameter 4 3 C READ_PI 0346 Read_Parameter 3 3 A STORE_PI 0446 Store_Actual_Parameter 2 2 C SET_PCD 2516 Set_Permanent_Config 5 2 C GET_PCD 2646 Get_Permanent_Config 3 4 A STORE_CDI 0746 Store_Actual_Configurat
77. to the AS i network can be performed directly on the AS i master It is of course more comfort Note able to do the addressing with a hand held programming device or with the However it is possible to configure even complex networks using only the AS i master What to do How to go about it See to it that the AS i master is properly supplied with power Using AS i master with power supply A Connect the AS i power supply unit to 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 power config err U ASI and prj mode are on The figure display shows 40 the AS i m that a 41 will be displayed the AS i master stays in the detection phase aster is in the off line phase Shortly after Switch the device to the projecting mode if the yellow LED does not light up Press the modeMODE button for approx five seconds The yellow LED prj mode lights up The device is now in projecting mode Add a slave with the address 0 to the AS i line Connect the slave s terminals with the terminals AS i of the master The green LED ASI active lights up The figure display shows 0 This means the AS i master has detected the slave Change the slave address to address 1 Select address 1 by pressing the set button shortly if necessary repeatedly When a
78. tten Further more the PROFIBUS DP Master Simulator also processes GSD files User parame ters can be edited and the configuration can be modified and stored The PROFIBUS station address can be changed as well with the PROFIBUS DP Master Simulator this is useful for PROFIBUS I O modules in protection class IP67 without addressing switches The PROFIBUS DP Master Simulator offers the possibility to scan a PROFIBUS net work for connected slaves and display them in a graphical way In this case the PROFIBUS UART has to be connected directly to a PROFIBUS slave The I O data and the PROFIBUS user diagnosis can be displayed binary hexdecimal and now also as ASCII code The PROFIBUS output data can be transmitted consistently to the PROFIBUS slave In type mode it is possible to set an output as long as the mouse button is pressed The new version of the PROFIBUS DP Master Simulator PR MSV1 supports PROFIBUS DP V1 PROFIBUS slaves can be operated in the acyclic mode DP V1 This is helpful especially for the commissioning of complex field devices like drives modular I O systems etc The PROFIBUS Master Simulator consists of the software and the PROFIBUS UART which is the ideal interface converter between the RS 232 interface of a PC and the PROFIBUS slave The UART does not need any additional external power supply Therefore it is also suitable for mobile use with a laptop or a notebook The PROFI BUS UART is simply inserted between the PROFIBUS
79. ubject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 25 AS i PROFIBUS Gateway Advanced Diagnostics for AS i Masters S C K 6 3 26 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 configuration er ror 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 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 situations i e only with certain slave addresses while in less critical situations if one of the other AS i slaves have a configuration error onl
80. www sick de 33 AS i PROFIBUS Gateway PROFIBUS DP S C K 7 2 7 3 7 3 1 34 A mailbox command will be treated if the toggle bit T has changed In that way the same command can be used many times The mailbox commands can also be activated with PROFIBUS DP V1 Even the pro cess data exchange is possible via the mailbox In that way the configuration software AS i Control Tools can run the whole communication via DP V1 DP V1 To exchange data between the PROFIBUS master and the AS i PROFIBUS gateway via PROFIBUS DP V1 only one data block is used slot 1 index 16 Within this data block a mailbox is installed like the one used in the DP telegram The DP V1 mailboxes are processed every time they are called Therefore it is pos sible to execute the same command several times without changing command or circuit Mailbox Construction If an AS i slave is addressed in a command or in a response the address is structured as shown below Request byte 2 2 2 of 28 22 2t 20 1 command 2 T circuit 3 request parameter byte 1 36 request parameter byte 34 Response byte 2 26 28 24 28 22 2 20 q command 2 T result 3 response parameter byte 1 34 response parameter byte 32 Command byte and T bit are always part of the response The T bit is necessary to operate the mailbox via a MSC1 connection PROFIBUS DP VO In tha
81. y the AS i master on the AS Interface are read e I O configuration ID code e Extended ID1 code e Extended ID2 code The configuration data are specified by the manufacturer of the AS i slave Request byte 27 26 25 24 23 22 21 20 1 2846 2 T circuit 3 B slave address Response byte 27 28 25 24 23 2 2 20 1 2846 2 T result 3 xID2 xID1 4 ID 10 Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave SET_LPS With this call the list of configured AS i slaves is transferred for permanent storage in the EEPROM of the master When this command is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart on the AS i master This command can only be executed in the configuration mode Request byte 27 26 25 24 23 22 21 20 1 2946 2 T circuit 3 0046 4 7A amp A 5A 4A 3A 2A 1A 11 31B 30B 29B 28B 27B 26B 25B 24B Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de 3 AS i PROFIBUS Gateway PROFIBUS DP S f C K Response byte 2 26 25 24 23 22 2 20 1 2946 2 T result
82. y the error message configuration error is sent to the host but AS i is still running The parameterization of off line phase on configuration error is also supported by the AS i Control Tools command Master Identity Offline on configuration error Subject to reasonable modifications due to technical advances Copyright SICK Printed in Germany SICK AG Sebastian Kneipp Str 1 D 79183 Waldkirch Phone 49 76 81 2 02 0 Fax 49 76 81 2 02 38 63 Internet http www sick de issue date 21 11 2001 issue date 21 11 2001 AS i PROFIBUS Gateway PROFIBUS DP 7 PROFIBUS DP This chapter contains all the necessary information to operate the AS i PROFIBUS gateway in a PROFIBUS DP network 7 1 DP Telegrams 7 1 1 Diagnosis SICK DP Diagnosis PDU byte user byte DP DPV1 user 1 station_status 1 Vv 2 station_status 2 Vv 3 station_status 3 Y 4 master address Y 5 ident high Vv 6 ident low Vv 7 1 header Vv Vv 8 2 type Vv 9 3 slot Vv 10 4 spec Vv 11 5 ec flags high Vv 12 6 ec flags low Vv 13 7 delta 0 7 Vv 14 8 delta 8 15 Vv 20 14 delta 56 63 Vv 21 15 LPF 0 7 Vv 28 22 LPF 56 63 Vv 29 23 LCS 0 7 Vv 36 30 LCS 56 63 Vv ec flags high Bit 0 periphery fault ec flags low Bit 0 configuration error Bit 1 slave with addressO detectd Bit 2 Auto_address_assignment not possible Bit 3 Auto_address_assingment
Download Pdf Manuals
Related Search
Related Contents
ResponseCard® NXT - User's Guide 40形直管LED LS1200シリーズ Guide militant de mobilisation Newcon Optik DN140M User's Manual MODEL NUMBER SHフィット(傾斜張り)取付説明書 保証書とアフターサービス 主な仕様 安全のために 警告 The PyOpenOffice User Guide - Version 0.4 AVerMedia - AVer USA O - VAYR Copyright © All rights reserved.
Failed to retrieve file