Home
AS-i/PROFIBUS Gateways User Manual
Contents
1. 7 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway General Information f l 4 M U R R mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Connections Displays and Operating Keys i M U R R 4 4 1 4 1 1 B S ELEKTRONIK Connections Displays and Operating Keys Devices in IP20 On the front panel of the AS i PROFIBUS gateways in IP20 are e terminals to connect the power supply and the AS i circuit a9 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 Power Supply Concepts and AS i Connection Techniques O The AS i masters with master power supply A do not need a voltage supply of their own They can be powered completely out of the AS i Il line the power consumption is about 200 mA from AS i An additional 24 V voltage source is not necessary 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 operate Note An AS
2. 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 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Connections Displays and Operating Keys 5 M U R R 4 3 4 3 1 Subject to reasonable modifications due to technical advances Bus termination mide ELEKTRONIK If the AS i PROFIBUS gateway is at the end of the PROFIBUS line the termination resistors in the PROFIBUS connector have to be switched on Display and Operating Elements On the front panel of the AS i PROFIBUS gateway are seven
3. dards Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 5 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Safety 5 4 M U R R 6 mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway General Information 5 M URR mide ELEKTRONIK 3 General Information This operating instruction is for use with the following devices of the Murrelektronik GmbH AS i PROFIBUS DP gateway power supply A Article no 55701 e AS i PROFIBUS DP gateway with graphic display power supply A Article no 55707 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 e The transfer of analog signals via AS i is integrated in the Masters All further functions of the new specification as e g the diagn
4. set button shortly if necessary repeatedly When a 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 77 AS i PROFIBUS Gateway Appendix The First Commissioning of AS i p l M U R R 78 mide ELEKTRONIK 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 fi
5. www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP Circuit 1 Values for command FrUMURR mide ELEKTRONIK If AS i gateway with 2 masters and the master 2 is choosen Subject to reasonable modifications due to technical advances Values for command value meaning Req eS SAC Len Len Grp IDLE 001g No order 2 2 A READ_IDI 4116 Read IDI 2 36 A WRITE_ODI 4216 Write_ODI 34 2 D SET_PP 4346 Set_Permanent_Parameter 4 2 C GET_PP 014 Get_Permanent_Parameter 3 3 A WRITE_P 0246 Write_Parameter 4 3 C READ_PI 0346 Read_Parameter 3 3 A STORE_PI 0416 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_Configuration 2 2 C READ_CDI 2846 Read_Actual_Configuration 3 4 A SET_LPS 291 SET_LPS 11 2 C GET_LPS 4415 Get_LPS 2 10 A GET_LAS 454 Get LAS 2 10 A GET_LDS 46416 Get LDS 2 10 A GET_FLAGS 4716 Get Flags 2 5 A SET_OP_MODE 0C4 Set_Operation_Mode 3 2 C SET_OFFLINE OAig Set_Offline_Mode 3 2 D SET_DATA_EX 4816 Set_Data_Exchange_Active 3 2 C SLAVE_ADDR 0D Change_Slave_Address 4 2 C SET_AAE 0B46 Set_Auto_Adress_Enable 3 2 D EXEC_CMD 4946 Execute_Command 4 3 C GET_LPF 3E g 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 5146 Write 1 7 3
6. 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 the 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 Murrelektronik Printed in Germany 67 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP f a MURR mide ELEKTRONIK 8 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 2
7. LPF List of Periphery Faults cee secssssecsseesseecsceecsnessaeessneseeecseessseesseeseaeeesees 28 AS i Master Info Adv Diagnosis Advanced AS i Diagnosis csscssssseesteeseeeseteesteesseeeens 29 Error Counters 923 ccansdscsecescededsontecasizeconntanesdutetons eyattiacenonstinnetscereusenadtsiineasstiarnsazacess 29 LCS List of Slaves that produced a Configuration Error c eee eeeeeeeeeneeeee 29 Advanced Diagnostics for AS i Masters ccccsssesseseeessseeeenseeensees 31 List of Corrupted AS i Slaves LCS cccssessssseeeseeesseesseessneesseesseeeseensnesesees 31 Error Counters Counters of Corrupted Data Telegrams cccsssssssseeees 31 Off line Phase on Configuration Errors LOS ccssssssssesssessesssteesseesseeees 32 PROFIBUS DP aa tant eeige etal ia ee ieee theca ee 33 DP Telegram scssccssessseesseesenessenessneeseeessneesecessnessenensnessenessnessecesenensenensneeeene 33 DiaQnoSiS eseti aa aida ariet d 33 Configuration DP VO cyclic data eeeecceeeeeee cence sees eeteneeeeeeaeeeteeeeseaeesseaeeeeeaee OS BY t ee DP V1 as Mall oTo SERIE AAEE EEE E A EEEE SE EAEE TET A E E TA CONSTUCHON sridenta ea a eden ra e a Mailbox commands Mailbox example ssessesssessssesresissiierrnsireresrinsinstreinrinstentininsttntinnttetnninnrnnttnrnee ent Commissioning Tools and Accessories cceeeeeeeeeeeeeeeeeeeeeeeeees 71 Windows
8. Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK When you change from the configuration mode to the protected mode there is awarm 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 Il to the protected mode Note Request byte 27 26 25 24 23 22 21 20 2 gg circuit 3 configuration mode Response byte 27 26 25 24 23 22 21 20 2 T result 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 addressed 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
9. blinks If the AS i Master is in protected mode the following error message appears Failed No Config Mode If an AS i slave with address zero exists storing the configuration is confirmed with OK However the configuration error remains because address zero is not a valid operating address to project a slave on Permanent Param Projected Parameter 1A 0 Zi See 4A E SA 3 This function enables you to set the permanent parameters A list of all slaves is dis played The parameter is shown as hexadecimal value behind the slave address Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 23 AS i PROFIBUS Gateway Operating by Full graphic Display j l M URR mide ELEKTRONIK 6 2 7 Permanent Cfg Projected Configuration Data permanent config ay es ay With this function you can set the projected configuration data The values for the con figuration data are displayed behind the slave address in the following order IO I O configuration ID ID configuration xID1 extended ID1 xID2 extended ID2 6 2 8 Addr Assistant Address Assistent Address Assistant on nex Address program 1A The AS i address assistant helps you with the fast setting up of the AS i circ
10. byte 2 26 2 of 23 2 2 20 1 6016 2 T circuit Response byte 2 26 28 24 23 22 2 20 1 6046 2 T result 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 7 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 62 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway re FrUMURR B N ELEKTRONIK SET _ LOS With this call the List of Offline Slaves is written to the AS i PROFIBUS Gateway see chapter 7 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 97 26 28 24 23 22 21 20 1 6246 2 T result GET_TECA With this call the error counters of all single slaves A slaves
11. 24 23 2 2 20 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 50 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 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 FrUMURR mide ELEKTRONIK 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
12. 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 9 AS i PROFIBUS Gateway PROFIBUS DP f a MURR mide ELEKTRONIK 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 1 5516 2 T circuit 3 0 1st slave address Response byte 2 26 25 a 2 2 2 20 1 5516 2 T result 3 1st slave channel 1 high byte 34 4th slave channel 4 low byte issue date 16 10 2001 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 26 24 23 2 2 20 1 5646 2 T circuit Response byte 27 28 25 24 23 2 2 2 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 Copyright Murrelektronik Printed in Germany 60 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FrUMURR Get LPS Get LAS Get_LDS Get_Flags GET_LISTS mide ELEKTRONIK With this call the following ent
13. 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 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 Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com mide ELEKTRONIK 33 AS i PROFIBUS Gateway PROFIBUS DP f a MURR mide ELEKTRONIK 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 7 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 furthermo
14. 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 OBig 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 Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 5 AS i PROFIBUS Gateway PROFIBUS DP FAUMURR EXEC _CMD mide ELEKTRONIK 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 4 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 peripheral 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 Whethe
15. Tools 3 Call the command Master New BA AS i Control Tools Eile Program Control fit Communication Identity AS i Configuration Esi Diagnosis ASi Address Assistant Coadieonniguaton Gave lontiguration 0 Offline Recent Master 4 Choose PROFIBUS as protocol Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 71 AS i PROFIBUS Gateway Commissioning Tools and Accessories FrUMURR mide ELEKTRONIK 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 M Serial port Bus address 6 Call the command Master AS i configuration The AS i configuration editor will be started All detected and projected AS i slaves are displayed in this window 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 Copyright
16. com issue date 16 10 2001
17. i PROFIBUS Gateway a M U R R 5 3 5 3 1 5 3 2 14 mide ELEKTRONIK 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 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 taneously the actual AS i configuration is stored as nominal configuration in the EEPROM O If the system detects a
18. 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 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP p i IMURR mide ELEKTRONIK Request byte 27 26 25 24 23 22 21 20 1 ODi 2 T circuit 3 B source address 4 B target address Response byte 27 26 25 24 23 22 21 20 1 ODi 2 T result Meaning of bit B B 0
19. 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 1 AS i PROFIBUS Gateway PROFIBUS DP f a MURR 52 mide ELEKTRONIK 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 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
20. 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 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 27 26 25 24 23 22 21 20 1 OA46 2 T circuit 3 Off Line Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 53 AS i PROFIBUS Gateway PROFIBUS DP F l 4 MURR 54 mide ELEKTRONIK Response byte 27 26 25 24 23 22 2 20 1 0Ai6 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 27 26 25 24 23 22 2 20 1 4816 2 T circuit 3 Data_Exchange_Active Response byte 27 26 25 24 23 22 2 20 1 4816 2 T result Change Slave Address SLAVE ADDR With this call the AS
21. 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 bus active config err UASI ASI active prg enable prj mode The master s power supply is sufficient 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 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 The AS i circuit is sufficiently powered 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 Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falke
22. 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 only 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 from version 3 0 command Master Identity Offline on config uration error Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FrUMURR 8 1 8 1 1 Subject to reasonable modifications due to technical advances PROFIBUS DP This chapter contains all the necessary information to operate the AS i PROFIBUS gateway in a PROFIBUS DP network DP Telegrams Diagnosis 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
23. 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 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 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2
24. 001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FrUMURR mide ELEKTRONIK The IDs can be used in different sequences But in the I O data field can only be one area with each type 8 1 3 I 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 slave 3 3A slave 2 2A slave 5 5A slave 4 4A slave 7 7A slave 6 6A slave 9 9A slave 8 8A slave 11 11A slave 10 10A slave 13 13A slave 12 12A slave 15 15A slave 14 14A slave 17 17A slave 16 16A slave 19 19A slave 18 18A slave 21 21A slave 20 20A slave 23 23A slave 22 22A slave 25 25A slave 24 24A slave 27 27A slave 26 26A slave 29 29A slave 28 28A ak k ee We aa ee alalolpl l lol Le SINIS a A V N s slave 31 31A slave 30 30A AS i V2 1 mode Process data In V2 1 mode the AS i I O data are mapped in the PROFIBUS process O 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 s
25. 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 Murrelektronik Printed in Germany 49 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP Fe q MURR mide ELEKTRONIK Response byte 27 26 25 24 23 22 2 20 1 2946 2 T result 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 22 21 20 1 4416 2 T circuit Response byte 2 26 25
26. 9 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 Byte 1 50nex Byte 2 80hex Toggle bit master 1 single master Byte 3 1Dhex slave address 29 Byte 4 OOhex Byte 12 00h Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 68 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FrUMURR Response Byte 1 50nex 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
27. CPU 946 947 SOFTNET DP S5 155U H CPU 948 hd Master 6ES5 308 3UC11 Host BESS 928B 3UB12 Abbrechen lt Hilfe 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 79 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 j M UR R mh de ELEKTRONIK 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 OF Xx 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 addres
28. Configuration Mode AS i can be put into operation in a very comfortable manner by using the Windows software AS i Control Tools see chapter 9 1 addressing directly or with the AS i ad dress assistant 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 i PROFIBUS gateway using the push buttons How it works is described as follows 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 Any errors will be displayed by their error codes according to chapter 10 Otherwise the detected slaves are displayed again as described in chapter 5 2 O Only slaves with address 0 can get a new address by the master Il Note There must not be two AS i slaves with the same adrress on the AS i circuit Attention Erasing th
29. ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway ae FrUMURR 2 Safety mide ELEKTRONIK 2 1 Intended Use Son 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 accordance 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
30. LEKTRONIK In the classical mode it is possible to change settings while the device is in operation That can lead to failure of the plant e g changing the address of an AS i slave Warning In the Full graphic Mode however the settings are protected as long as the superior fieldbus PROFIBUS runs The device starts in the classical mode i e like the former AS i Masters with two digit display see chapter 5 Press the buttons ESC or OK to switch to the fullgraphic mode To return to the classical mode just press the ESC button several times When in full graphic mode there is a highlighted bar that can be moved up or down with the arrow buttons Press OK to switch to the selected function or menue in the drawing one step to the right page 19 Press ESC to go back to previous menue To edit data values mark them with the selection bar press OK then change them with the arrow buttons and confirm the data input with OK The ESC button cancels the editing process All possible addresses are displayed one after the other from 1A to 31A and from 1B to 31B Data for single slaves are displayed at the addresses 1A 31A PROFIBUS Fieldbus Interface PROFIBUS Address This function is for setting and changing the PROFIBUS station address The number behind Old Address shows the actual station address By selecting New Address you can change this address Subject to reasonable modifications due to technical advances C
31. Murrelektronik Printed in Germany 72 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Commissioning Tools and Accessories i M UR R mide ELEKTRONIK 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 softw
32. Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FI MURR The bits in slave lists and ExtDiag have following meanings 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 O O O O O 02 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 accor
33. 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 28 24 23 2 21 20 1 5046 2 T result 3 channel 1 high byte 10 channel 4 low byte Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 57 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP FAUMURR WR_7X_OUT mide ELEKTRONIK 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 22 2 20 1 5246 2 T circuit 3 0 slave address Response byte 27 26 25 24 23 22 2 20 1 5246 2 T result 3 channel 1 high byte 10 channel 4
34. 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 Murrelektronik Printed in Germany 43 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP FrUMURR WRITE_ODI mide ELEKTRONIK 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 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 t
35. Software AS i Control Tools Appendix Displays of the Figure Display cssssseecceeeeeseeeeeees 75 Appendix The First Commissioning Of AS i cscesssseeseseeessteeeees 7 Appendix Putting PROFIBUS into Operation with a Siemens S5 79 Putting into Operation in Easy Mode ccsseccsesseeeseeeeeeseeeeensseesenseeeeeeseeeneenees 79 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway The Used Symbols 5 M URR mide ELEKTRONIK 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 Waring 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 Murrelektronik Printed in Germany 3 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway The Used Symbols 4 M U R R 4 mide
36. 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 and 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 Murrelektronik
37. are can be obtained from the integrated help Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 73 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Commissioning Tools and Accessories f l 4 M U R R mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 74 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Appendix Displays of the Figure Display 5 M URR mide ELEKTRONIK 10 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 3 2 During manual address programming the slave address display has a different meaning see chapter 5 4 and 5 5 All displayed numbers that are bigger than 31 and therefore can not be interpreted as a slave address are status or error me
38. 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 26 25 24 23 22 2 20 1 04146 2 T circuit Response byte 2 26 25 24 23 22 2 20 1 0446 2 T result Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK 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 Extended ID2 code The configuration data are stored permanently on the EEPROM of the AS i PROFIBUS Gateway and are used as the 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
39. can be read see chap ter 7 Request byte 27 26 25 24 23 22 21 20 1 6346 2 T circuit Response 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 3 AS i PROFIBUS Gateway PROFIBUS DP F q MURR mide ELEKTRONIK GET_TECB With this call the counts of the error counters for B slaves are read out see chapter 7 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 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 7 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
40. 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK Read Actual Configuration READ CDI With this call the following configuration data of an addressed AS i slave obtained by 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
41. 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 Murrelektronik Printed in Germany 47 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP F l a MURR 48 mide ELEKTRONIK The configuration data are specified by the manufacturer of the AS i slave Request byte 2 26 25 24 23 22 21 20 1 2616 2 T circuit 3 B slave address Response byte 27 26 25 24 23 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
42. 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 Anzahl der Zahler Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 64 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway ee FIMURR mide ELEKTRONIK Antwort Byte 27 26 25 24 23 22 21 20 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 7116 2 T circuit 3 CF 4 APF 5 PF 6 CS Response byte 27 26 25 24 23 22 21 20 1 7116 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 97 26 25 24 23 22 21 20 1 7446 2 T circuit Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektroni
43. d 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 Murrelektronik Printed in Germany 75 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Appendix Displays of the Figure Display p l 4 M U R R mide ELEKTRONIK 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 76 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Appendix The First Commissioning of AS i FrUMURR 11 mide ELEKTRONIK 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 ne
44. d as MO AS i master Using the mailbox see chapter 8 1 the functions of a M3 master are avaiable Request byte 27 26 25 24 23 22 al 20 1 command 2 T circuit 3 request parameter byte 1 36 request parameter byte 34 Answer byte 27 26 2 24 23 22 21 20 1 command mirrored 2 T result 3 response parameter byte 1 34 response parameter byte 32 A mailbox command will be treated if the toggle bit T has changed In that way the same command can be used many times Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 9 AS i PROFIBUS Gateway PROFIBUS DP F a MURR 8 2 8 3 8 3 1 40 mide ELEKTRONIK 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
45. ding chapter 8 1 1 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com mide ELEKTRONIK 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 35 AS i PROFIBUS Gateway FrUMURR PROFIBUS DP mide ELEKTRONIK 8 1 2 Configuration DP VO cyclic data 36 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 8 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
46. e No AS i Master is online With Change you can modify this state Switching the AS i Master offline puts the AS i circuit into the safe state The AS i Master has to be in the offline phase if an AS i slave shall be addressed via the IR interface Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating by Full graphic Display i M U R R 6 2 4 6 2 5 6 2 6 mide ELEKTRONIK Operation Mode Change This function shows the actual operation mode of the AS i Master Protected Mode protected mode Config Mode configuration mode With Change you can switch to the other operation mode Only in configuration mode parameters and configuration data can be stored Store Act Cfg Store Actual Detected Configuration Store Actual store This function can only be executed in configuration mode This function enables you to store the configuration of all slaves wich are connected and detected on the selcted AS i circuit If Store was successful the LED config error is off The configuration is stored there is no configuration error anymore If one of the connected slaves has a peripheral fault the LED config error
47. e Slave Address assigning address zero to a detected slave In configuration mode the addresses of all recognized slaves are displayed one after the other By pressing and releasing the set button the master displays the next available address If you press the button for more than five seconds while the 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 15 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway p l a M U R R mide ELEKTRONIK 5 5 Programming the Address in Case of Configuration Errors 5 5 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
48. ed for external devices Il The addressing of the components connected 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 Windows software AS i Control Tools However it is possible to con figure 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 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 AS and prj mode are on The figure display shows 40 the AS i master is in the off line phase Shortly after that a 41 will be displayed the AS i master stays in the detection phase 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
49. eldbus system operates properly Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 q M UR R 12 12 1 mide ELEKTRONIK Appendix Putting PROFIBUS into Operation with a Siemens S5 This chapter shows exemplarily the putting into operation of an AS i PROFIBUS gate way on PROFIBUS for the PLC Simatic S5 135 of Siemens with the PROFIBUS mas ter card IM 308 C The configuration software used is the Siemens COM PROFIBUS 3 0 German version Putting into Operation in Easy Mode 1 Copy the GSD file 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 Master Hostauswahl Ea Bus Adr Master Stationstyp Host Stationstyp 5 115U CPU 944B 5 95U DP Master 5 115U CPU 945 IM180 Master 5 135U CPU 922 505 CP5434 DP S5 135U CPU 9284 SIMADYN D 552 5 135U CPU 928B CP 5412 A2 S5 155U H
50. elekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating by Full graphic Display P i i M URR mide ELEKTRONIK With Clear all and Set all you can delete or set a single bit for each AS i slave ad dress empty field LOS bit deleted X LOS bit set 6 3 10 Param Test Testing AS i In and Outputs as well as AS i Parameters Before you switch to this menu the following warning occurs Warning Outputs may be set and Host may loose control The menue IO Param Test enables you to choose one of the following sub menues e Binary Inputs e Binary Outputs e Analog Inputs e Analog Outputs Parameter 6 3 1 Binary Inputs This list shows the state of the binary inputs for all AS i slaves 0 input deleted 1 input set Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 5 AS i PROFIBUS Gateway Operating by Full graphic Display p l M URR mide ELEKTRONIK 6 3 2 Binary Outputs 6 3 3 6 3 4 26 This function shows the state of the binary outputs for all AS i slaves 0 output deleted 1 output set The binary outputs can be changed after selecting the desired AS i slave Analog Inputs This function shows the state of the analog inputs for all AS i sla
51. eripheryFault 0 PeripheryOK 1 PeripheryFault ConfigurationActive 0 ConfigurationActive 1 Configuration nactive Off Line 0 OnLine 1 Off Line LOS master bit 0 Off Line by ConfigError deactivated 1 Off Line by ConfigError deactivated Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 38 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP p IMURR mide ELEKTRONIK 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 Analog 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 Analog data byte 27 26 25 24 23 22 21 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 use
52. guration ccececeeeeeeeeeteeeeeeteeeeeeee 6 2 6 Permanent Param Projected Parameter ccc eee eeeseeceeeseeeeeeesseeseaeeeneeeaes 23 6 2 7 Permanent Cfg Projected Configuration Data eee eee eens eeeneeeeeeneeeeaes 24 6 2 8 Addr Assistant Address Assistent oo cece cece ceeeeeeeeeeeeeeeeteeeseaeesseeteaeeeaeeeeaes 24 6 2 9 LOS List of Offline Slaves oo cece eee eee eceeeeeaeeeeeseaeeseeseaeeseeseaeeeeeeeaes 24 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Table of Contents l M U R R 6 3 6 3 1 6 3 2 6 3 3 6 3 4 6 3 5 6 4 6 4 1 6 4 2 6 4 3 6 4 4 6 5 6 5 1 6 5 2 7 7 1 7 2 7 3 8 8 1 8 1 1 8 1 2 8 1 3 8 2 8 3 1 8 3 2 8 3 3 9 1 10 11 12 12 1 2 mide ELEKTRONIK 10 Param Test Testing AS i In and Outputs as well as AS i Parameters 25 Binary Inputs w20 Binary Outputs Analog Inputs 26 Analog Q tp tS mnnn i a aa ai 26 Parameter sssssessrsseserirererrrrenrensreees el Diagnosis Normal AS i Diagnosis 27 EC Flags Execution Control Flags ccceceeeeeeeeeeneeeeeeeeeeeeneeeseeaeeeseneeeeseaeeeseanees 27 Actual Config Actual Configuration 0 00 cece eee eee eeneeeeeeeeeeeeeeseaeeeneeeeneeneees 28
53. he power supply on the AS i PROFIBUS Gateway Request byte 27 26 25 24 23 22 2 20 1 4316 2 T circuit 3 E B slave address 4 PP Response byte 2 26 25 24 23 22 2 20 1 4346 2 T result Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 44 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK 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 oa 2 2 2 20 1 Olig 2 T circuit 3 B slave address Response 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
54. 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 Single Masters in IP20 with Power Supply A Connections of the AS i PROFIBUS gateways without graphic display art no 55701 AS i master AS i power O GND The terminals have the following functions AS i Actuator Sensor Interface positive terminal AS i Actuator Sensor Interface negative terminal Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 9 AS i PROFIBUS Gateway Connections Displays and Operating Keys 9 l M U R R 4 2 4 2 1 mide ELEKTRONIK GND Ground terminal used for better EMC Should be connected with a short wire to machine GND Connections of the AS PROFIBUS gateway with graphic display art no 55707 AS i master AS i power HT t t 7 Ft The AS i PROFIBUS gateway art no 55707 with graphic display power supply A has an additional AS i connection 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
55. i_Pwr_Fail Bit 7 Offline_Ready Bit 8 Periphery_OK See also GET_FLAGS page 51 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 27 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Operating by Full graphic Display j l M URR mide ELEKTRONIK 6 4 2 Actual Config Actual Configuration This function shows the state of the actual configuration of the individual AS i slaves At the end of the list there is a help text that describes the abbreviations X O K The configuration data of the detected AS i slave matches the projected configuration data D Detected Only An AS i slave is detected at this address but not projected P Projected Only An AS i slave is projected at this address but not detected C Type Conflict The configuration data of the detected AS i slave does not match the projected configuration data The actual detected configura tion of the connected AS i slave is displayed F Periph Fault The AS i slave has a peripheral fault After selecting the desired AS i slave address the values for the actual configuration data are displayed behind the respective address in the following order IO l O configuration ID ID configuration xID1 extended ID1 xID2 extended ID2 Furthermore the state of the configurat
56. ight 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 281g EC extended ID1 temporary EC_RE 2916 EC read extended ID1 error Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 42 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP FIMURR mide ELEKTRONIK 8 3 2 Mailbox commands IDLE Request byte 27 26 25 24 23 22 21 20 1 0046 2 Mi circuit Response byte 27 26 25 24 23 22 21 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 Request byte 27 26 25 24 23 22 21 20 1 4116 2 T circuit
57. ion Errors in Protected Operating Mode 5 4 Assigning an AS i Address in Configuration Mode 5 4 1 Assigning a Slave Address eee eee eeeeeeeneeeeees 5 4 2 Erasing the Slave Address ooo eee e cesses eee e sees eeaeetaeeseaeeseeeseaeeseeeseaeenaeeeeaes 5 5 Programming the Address in Case of Configuration Errors s ccsssesee 16 5 5 1 Automatic Address Assignment 0 0 0 ee cece eens e cee tessa tees eeeetseeseaeeneeseaeeeaeeneaes 16 5 5 2 Manual Address Assignment cceeeeeeeeeeeeeeeeneeeeeeeeeeeesaeeeseaeeeseaeeeseeeeseeaeeeeeaee 16 5 6 Setting of the PROFIBUS Station Address csseccessseeesseeeeeeseeeeeeeeeeeseeeeeeeees 17 5 7 Error M SSAGCS issecvssiisetcavesicnsacincrscserencscntadvcsescacsndvoebeisadusassavasienbiddnersabessnstseiredonse 17 6 Operating by Full graphic Display ccscssessseeensseeeesseeeesseennsseeeens 6 1 PROFIBUS Fieldbus Interface csssssesesssseesseeeseeesseesseessseesseessneeseneeseeesenes 6 1 1 PROFIBUS Address siase pannasta aa ai an eaa aa a AEA idaan 6 1 2 PROFIBUS Status iee 6 2 Setup Configuration of the AS i Circuit 6 2 1 AS i Ciretran R naas 6 2 2 AS i Slave Addr AS i Slave Address seseseseesseereerierrerinererrnernerrerinerrsrrnrrnerens 6 2 3 Force Offline switch AS i Master offline 0 cece eceee eee eeaeeeeeeteaeeeeeeeaes 6 2 4 Operation Mode oe cee eee eeeeeeeeeteeetseeeeaeenaes 6 2 5 Store Act Cfg Store Actual Detected Confi
58. ion is displayed in plaintext If no AS i slave is detected and no AS i slave is projected at a certain address there are four dots instead of the configuration data 6 4 3 LPF List of Periphery Faults The list shows AS i slaves which have released a peripheral fault empty field periphery O K X peripheral fault Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 28 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating by Full graphic Display P i i M URR mide ELEKTRONIK 6 4 4 AS i Master Info This function shows information about the version and the features of the AS i master Version xxxxxxxx datecode of the firmware Feature String xxxxxxxxxxxxxxxx see also OPTIONS page 65 6 5 Adv Diagnosis Advanced AS i Diagnosis See also Advanced Diagnostics for AS i Masters chapter 7 Under the menue Adv Diagnosis you find following submenues e Error Counters e LCS list of slaves that produced a configuration error This list shows the error counter for each single AS i slave Furthermore the number of power failures on AS i APF is displayed With Reset the error counters are reset to 0 6 5 2 LCS List of Slaves that produced a Configuration Error This list sh
59. 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 27 26 25 24 23 22 2l 20 1 command 2 T circuit 3 request parameter byte 1 36 request parameter byte 34 Response byte 97 26 25 24 23 22 2 20 1 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 that 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 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http
60. itches 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 the 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 43 Start of Normal Operation In normal operation the AS i master can exchange data with all active slaves It transmits management messages and looks for and activates newly connected slaves During normal operation the system keeps the maximum cycle time of 5 milliseconds 5 2 Configuration Mode The configuration mode serves to configure the AS i circuit In the configuration mode all recognized slaves are activated even when the desired and actual configurations do not match Attention 1 Activation phase and the start of normal operation maybe so short that the numbers can not be seen in the display Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 13 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Operating the AS
61. k GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 5 AS i PROFIBUS Gateway PROFIBUS DP FrUMURR 66 mide ELEKTRONIK Response byte 27 26 25 24 23 22 2 20 1 7446 2 T result 3 character 1 18 character 16 BUTTONS With this call the use of the buttons can be enabled disabled Request byte 2 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 7 FD Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK CF ExtDiag is set by ConfigError 1 APF ExtDiag is set by APF 1 PF ExtDiag is set by PeripheryFault
62. lave 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 Murrelektronik Printed in Germany 37 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP F l q MURR mide ELEKTRONIK 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 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 P
63. low byte Subject to reasonable modifications due to technical advances 58 Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK 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 23 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D
64. 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 automatic address assign ment will not be carried out Attention 5 5 2 Manual Address Assignment 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 11 not be done via the host interface using the AS i Control Tools or with a hand held addressing device the slave addresses can also be changed with the help of the push buttons and the figure display of the device Note In protected operating mode wrong assignments are displayed as errors see chapter 5 3 By pressing the set button you can display all faulty assignments one after the other By pressing the set button for more than five seconds you can select the 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
65. mide ELEKTRONIK AS i 2 1 DP VO and DP V1 AS i PROFIBUS Gateways User Manual Article No 55 767 issue date 16 10 2001 AS i PROFIBUS Gateway Table of Contents 5 M U R R mide ELEKTRONIK Table of Contents 1 The Used SyMbols 0 0 cececsesenesseeeesseeeseseeeaseeesasseeeaseeeenseeeseneeesaseeenaneeeeens 3 2 Safely oarak dinaar aena pa araa aara aa a aeoea aaaea AESA Aroia Euan 2 1 Intended Use saaneeseen 2 2 General Safety Information 3 General Information siisscscisiccssscsssscivacciwesctncccsssncaxaswivasneneecesssansouanwaatevendens 7 4 Connections Displays and Operating KeyS scsssseessseeneeeensseeeens 41 Power Supply Concepts and AS i Connection Techniques 4 1 1 Single Masters in IP20 with Power Supply A ou eee eee ie 4 2 The PROFIBUS Interface ccstscessesseessneesseessnesseeeeseeesseessneeseeessnesseeeseneesneesones 42 1 Devicesin IP20 nnn cides vvexs acd a a R AE aagi itii 4 3 Display and Operating Elements 4 3 1 LEDs of the Single Masters 0 0 0 0 cseccsssessssseseecsnecssnessasseaeeoseeseeseseeseoresseessaeeesees 5 Operating the AS i PROFIBUS Gateway ccsssseeeeeseeseeeeeeeeenees 5 1 Master Start Up 5 2 Configuration Mode 5 3 Protected Operating Mode ccsscsssesseesnessseeseneesneesseesseeesseessnesseeeseneneneeeeeee 5 3 1 Switching to Protected Operating Mode uo eee cece eeeeeeeeeeeeeseaeeeeeeteaeeeeeeeaes 5 3 2 Configurat
66. n 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 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 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway 5 M URR 5 4 5 4 1 5 4 2 mide ELEKTRONIK 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 Assigning an AS i Address in
67. necessary to use the toggle bit Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com mide ELEKTRONIK 69 AS i PROFIBUS Gateway PROFIBUS DP p ql MURR mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 70 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Commissioning Tools and Accessories f i q M URR 9 1 BAAN ELEKTRONIK 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 art no 55717 This software communicates with the AS i PROFIBUS gateway by means of a PROFIBUS DP Mastersimulator DP V1 or Serial PROFIBUS Master which converts the RS 232 signals of the PC to PROFIBUS Windows Software AS i Control Tools 1 For that purpose plug in PROFIBUS DP Master Simulator DP V1 or serial PROFI BUS Master 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
68. nstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Connections Displays and Operating Keys f l 4 M U R R 12 mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway 5 M URR mide ELEKTRONIK 5 Operating the AS i PROFIBUS Gateway 5 1 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 PROFIBUScommunication is interrupted the AS i master sw
69. opyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating by Full graphic Display P i i M UR R mide ELEKTRONIK 6 1 2 PROFIBUS Status The function PROFIBUS status indicates if and how many connections are active on each PROFIBUS channel DPVO cyclic channel 0 not active 1 active DPV1 acyclic channel 0 not active 0 number of connections 6 2 Setup Configuration of the AS i Circuit Within the menue Setup you can choose one of the following submenues e AS i Circuit AS i Slave Addr AS i Slave Address e Force Offline switch AS i Master offline Operation Mode Store Act Cfg store actual detected configuration Permanent Param projected parameter Permanent Cfg projected configuration data Addr Assistant address assistent e LOS list of offline slaves 6 2 1 AS i Circuit This function is only availbale in devices with 2 AS i masters It makes possible to change the AS i circuit that is actually active for operating by the user Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekt
70. osis 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 initiate preventive maintenance 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 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 Article no 55717 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany
71. ows for each single AS i slave wether at least one configuration error was released through an errorneous telegram transmission This function is especially im portant if the configuration error only occurs short time 6 5 1 Error Counters Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 9 AS i PROFIBUS Gateway Operating by Full graphic Display f l 4 M URR mide ELEKTRONIK empty field no error X AS i slave released a configuration error Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 30 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Advanced Diagnostics for AS i Masters 5 M U R R 7 1 7 2 B N ELEKTRONIK 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 agnos
72. r 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 Murrelektronik Printed in Germany 56 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway PROFIBUS DP F IMURR mide ELEKTRONIK 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 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
73. re 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 EC 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 Murrelektronik Printed in Germany 34 Murrelektronik GmbH Falkenstr 3 D 71570
74. red 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 error counter is included in the command master AS i Diagnostics of AS i Con trol Tools Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Advanced Diagnostics for AS i Masters p l a M U R R 7 3 32 B N ELEKTRONIK 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
75. rger than 50 and are therefore outside the slave address range These codes are described in the appendix chapter 10 Attention PRONEN p Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 17 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway f l 4 M U R R 18 mide ELEKTRONIK Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 ELEKTRONIK Operating by Full graphic Display AS i PROFIBUS Gateway snaldoud 830 Wy 1035 apan soya WEL T appv saets t s pee ea apop onde sD 4 apon asseio Snpow aeyosyesBioA Snpow Jaupsissery SOUBE paoueape s souberg Operating by Full graphic Display 1002 01 91 aep anss Copyright Murrelektronik Printed in Germany Subject to reasonable modifications due to technical advances Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway Operating by Full graphic Display P i l M URR 6 1 6 1 1 20 mide E
76. ries are read out of the AS i PROFIBUS Gateway The list of active AS i slaves LAS 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 2 2 of 23 2 2 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 He LDS 19 31B 30B 29B 28B 27B 26B 25B 24B 20 7A 6As 5A 4A 3A 2A 1A 0A e 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com FIMURR AS i PROFIBUS Gateway PROFIBUS DP B N ELEKTRONIK GET_LCS With this call the List of Corrupted Slaves LCS is read out of the AS i PROFIBUS Gateway Request
77. ronik com AS i PROFIBUS Gateway Operating by Full graphic Display j l M URR 6 2 2 6 2 3 22 mide ELEKTRONIK The number behind Old Circuit shows the active AS i circuit By selecting New Cir cuit you can choose the other AS i circuit to be active AS i Slave Addr AS i Slave Address AS i Add bid Address 21A This function sets and changes the addresses of the AS i slaves This function replac es the handheld AS i address programming device Old Address shows the address of the first detected AS i slave on the AS i circuit Please note that you have selected the desired AS i circuit when you operate a device with two AS i circuits see chapter 6 2 1 If Old Address is selected you can choose the next detected AS i slave with the OK button The new address for the AS i slave has to be set with New Address If an error occurs while addressing a slave one of the following error messages is dis played for about 2 seconds Failed SND slave with old address not detected Failed SDO slave with address zero detected Failed SD2 slave with new address detected Failed DE error with deletion of old address Failed SE error with settinng of new address Failed AT new address could only be stored temporarily Failed RE error with reading the extended ID code 1 Force Offline switch AS i Master offline This function shows the actual state of the AS i Master Yes AS i Master is offlin
78. s see chapter 5 6 PROFIBUS Adresse Ea Abbrechen Hilfe 3 4 5 6 7 8 9 1 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 80 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 j i M URR mide ELEKTRONIK 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
79. slave s configuration data must match the configuration data 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 10 When all faulty assignments are eliminated the display is empty Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 16 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating the AS i PROFIBUS Gateway 5 M URR mide ELEKTRONIK 5 6 Setting of the PROFIBUS Station Address 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 5 7 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 la
80. 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 RD_7X_OUT_X 554 Read 4 7 3 slaves out data 3 34 A Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com AS i PROFIBUS Gateway PROFIBUS DP F l q MURR mide ELEKTRONIK Values for command value meaning Red ERES j AGC Len Len Grp READ_ODI 5646 Read ODI 2 34 A GET_LISTS 301g Get LDS LAS LPS Flags 2 29 A GET_LCS 6046 Get LCS 2 10 B GET_LOS 61 4 GET_LOS 2 10 A SET_LOS 6246 SET_LOS 10 2 C GET_TECA 6346 Get transm 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 7416 Software options 2 18 A BUTTONS 7546 Disable pushbuttons 3 A RD_EXT_DIAG 7Big Read ExtDiag Settings 2 A INVERTER 7Cig Configure Inverter Slaves 12 C Values for results Values for result value place meaning OK 0016 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 l O data area respec tively the length of the DPV1 Requests is too short HI_LACCESS 146 HI no access r
81. ssages 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 already occupie
82. 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 5 AS i PROFIBUS Gateway PROFIBUS DP f a MURR 46 mide ELEKTRONIK 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 the AS i slave as a response to the write_parameter job Request byte 27 28 2 24 23 2 2 er 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
83. tics 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 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 Note 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 Error Counters Counters of Corrupted Data Telegrams The AS i master with advanced diagnostics has an error counter for each AS i slave which is increased every time there is a corrupted AS i telegram This makes it pos sible to judge the quality of the AS i network even if only a few corrupted telegrams occur
84. to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelektronik com 1 AS i PROFIBUS Gateway Appendix Putting PROFIBUS into Operation with a Siemens S5 j M URR 82 mide ELEKTRONIK 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 Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik
85. uit Once you have stored an AS i configuration to the master the AS i address assistant ad dresses a virgin AS i slaves with address zero to the desired address Selecting Assistant On or Assistant off switches the AS i address assistant off or on The actual state of the AS i address assistant is displayed Assistant on AS i address assistant is switched on Assistant off AS i address assistant is switched off Procedure 1 Store an AS i configuration to the device You can do this very comfortably with the Windows software AS i Control Tools Master Write configuration to the AS i Master Or directly with the fullgraphic display see chapter 6 2 7 2 All AS i slaves have to be addressed to 0 or to the desired address The slaves must be disconnected from the AS i circuit 3 Start the AS i address assistant 4 Now connect the AS i slaves one after the other exactly in the order that the AS i address assistant displays The last line on the display of the AS i address assis tant shows which AS i slave has to be connected next 6 2 9 LOS List of Offline Slaves LOS List of set all clear all il See also Advanced Diagnostics for AS i Masters chapter 6 Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany 24 Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murr
86. ves The display is as follows AS i slave address hexadecimal 16 bit value bar display Analog Outputs This function shows the state of the analog outputs for all AS i slaves The display is as follows AS i slave address hexadecimal 16 bit value bar display The analog outputs can be changed after selecting the desired AS i slave Subject to reasonable modifications due to technical advances Copyright Murrelektronik Printed in Germany Murrelektronik GmbH Falkenstr 3 D 71570 Oppenweiler Phone 49 71 91 47 0 Fax 49 71 91 47 130 Internet http www murrelekronik com issue date 16 10 2001 issue date 16 10 2001 AS i PROFIBUS Gateway Operating by Full graphic Display P i i M URR mide ELEKTRONIK 6 3 5 Parameter This function shows the hexadecimal value of the actual AS i paramerters for all AS i slaves The actual AS i parameters can be changed after selecting the desired slave ad dress 6 4 Diagnosis Normal AS i Diagnosis The menue Diagnosis enables you to choose one of the following submenues e EC Flags Execution control flags Actual Config actual configuration LPF list of periphery faults AS i Master Info 6 4 1 EC Flags Execution Control Flags This function shows the EC flags hexadecimal binary and as single bits beginning with the lowest order bit Bit 0 Config_OK Bit 1 Normal_Op Bit 2 LDS 0 Bit 3 Auto_Addr_Asn Bit 4 Auto_Addr_Avl Bit 5 Config_Active Bit 6 AS
Download Pdf Manuals
Related Search
Related Contents
Amplificateur PA-940 - produktinfo.conrad.com Benutzerhandbuch für die Software zur elektronischen pa-28-236 - the P28B Web Site TRANSTEC Copyright © All rights reserved.
Failed to retrieve file