Pepperl+Fuchs VBG-PB-K20-DMD-C1 Manual Download Page 62

  

     

  

    

  

  

      

AS-Interface

PROFIBUS DP

Subject to reasonable modifications due to technical advances.

Copyright Fuchs, Printed in Germany

Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com

Is

s

ue dat

e -

 12.

8.

2007

60

A command of the command interface will be edited if the toggle bit T has 
changed. This way the same command can be used repeatedly.

The commands of the command interface can also be activated with PROFIBUS 
DP V1. Even the process data exchange is possible via the command interface. 
This way the Windows configuration software "AS-i Control Tools" can run the 
whole communication via DP V1.

9.2

DP V1

To exchange data between the PROFIBUS master and the AS-i/PROFIBUS gate-
way via PROFIBUS DP V1 only one data block is used - slot 1, index 16. Within 
this data block a command interface is installed like the one used in the DP tele-
gram.

The DP V1-command interfaces are edited every time they are sent. Therefore it 
is possible to execute the same command several times without changing "com-
mand" or "circuit" and setting a toggle bit.

Answer

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

command (mirrored)

2

result

3

response parameter byte 1

34

response parameter byte 32

Summary of Contents for VBG-PB-K20-DMD-C1

Page 1: ...VBG PB K20 DMD C1 AS Interface PROFIBUS Gateway FACTORY AUTOMATION MANUAL 3 0 Spec...

Page 2: ...ms of Delivery for Products and Services of the Electrical Industry published by the Central Association of the Electrical Industry Zentralverband Elektrotech nik und Elektroindustrie ZVEI e V in its...

Page 3: ...splay and operating elements 14 5 2 1 LED display Profibus 14 5 2 2 Push buttons 15 6 Commissioning of the AS i PROFIBUS Gateway 16 6 1 Double Master VBG PB K20 DMD C1 16 6 1 1 Advanced display mode 1...

Page 4: ...34 7 6 2 IO Param Test Testing AS i In and Outputs as well as reading and writing AS i Parameters 35 7 6 3 Binary input 35 7 6 4 Binary outputs 36 7 6 5 Analog inputs 36 7 6 6 Analog outputs 37 7 6 7...

Page 5: ...the commands 66 10 3 1 2 Read 1 16 bit Slave in Data RD_7X_IN 67 10 3 1 3 Write 1 16 bit Slave out Data WR_7X_OUT 67 10 3 1 4 Read 1 16 bit Slave out Data RD_7X_OUT 68 10 3 1 5 Read 4 16 bit Slave in...

Page 6: ...onfiguration SET_PCD 91 10 3 5 6 Get extended permanent configuration GET_PCD 92 10 3 5 7 Set list of projected slaves SET_LPS and SET_LPS_R6 6Bh 92 10 3 5 8 Get list of projected slaves GET_LPS 93 10...

Page 7: ...SIMATIC Step Configuration 139 12 2 1 Configuration of the Hardware 139 12 2 2 Insert AS i PROFIBUS Gateway 142 12 2 3 Configuring AS i PROFIBUS Gateway in output 144 12 2 4 AS i PROFIBUS Gateway PROF...

Page 8: ...Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com issue date 12 8 2007 6 14 2 7 4 Error display last error 168 14 2 8 Add...

Page 9: ...rnet http www pepperl fuchs com Issue date 12 8 2007 7 1 The Used Symbols This symbol warns the user of possible danger Not following this warning can lead to personal injury or death and or destructi...

Page 10: ...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 Safety and correct func...

Page 11: ...tp www pepperl fuchs com Issue date 12 8 2007 9 3 General Information This operating instruction holds for the following devices of the Pepperl Fuchs GmbH The AS i PROFIBUS Gateways are designated to...

Page 12: ...l via PROFIBUS The serial PROFIBUS Master and the AS i Control Tools can be used for monito ring the AS i data online via the PROFIBUS DP V1 Advanced Diagnostics Diagnostics which go far beyond the st...

Page 13: ...apore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 11 5 Connections Displays and Operating Keys 5 3 4 1 2 6 On the front panel of the device in stainless steel housing are locat...

Page 14: ...0 91 Internet http www pepperl fuchs com Issue date 12 8 2007 12 5 1 Double Master in version 1 power supply 1 gateway for 2 AS i circuits 5 1 1 Connections of the AS i 3 0 PROFIBUS Gateway VBG PB K20...

Page 15: ...ay sends and receives on pins 3 and 8 of the SUB D socket The PROFIBUS signal RxD TxD N data line A 1 is located on pin 8 the signal RxD TxD P data line B 1 is located on pin 3 The pins 5 0 V and 6 5...

Page 16: ...er supply is sufficient Profibus LED on Gateway is allocated to a PROFIBUSmaster LED off Gateway is not allocated to a PROFIBUS master Config err Configuration error At least one configured slave is m...

Page 17: ...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...

Page 18: ...er PROFIBUS DP Adresse LCD PROFIBUS OK QUICK SETUP ASI SAFETY OK LCD PROFIBUS ADDRESS PROFIBUS STATUS LCD PROFIBUS ADDRESS OLD ADDRESS 3 2x OK NEW ADDRESS 000 LCD PROFIBUS ADDRESS OLD ADDRESS 3 NEW AD...

Page 19: ...eway Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Inter...

Page 20: ...0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 18 6 1 5 Quick setup config error LCD 1 CONFIGURATION OK LCD PROFIBUS QUICK SETUP SETUP SLAVE ADR T...

Page 21: ...AS Interface Slave 24 AS Interface 1 1 AS Interface prj mode Config error prg enable AS i active U AS i Profibus Power 1 24 MISSING SLAVE MISSING SLAVE 2 0s 2 0s LCD LCD AS Interface Master 6 1 6 2 Er...

Page 22: ...Addressing 6 1 7 1 Programming slave 2 to address 6 LCD 1 41 SEARCHING SLAVE OK 2x LCD PROFIBUS QUICK SETUP SLAVE ADR TOOL OK SLAVE TEST TOOL LCD SLAVE ADR TOOL CONNECT NEW SLAVE LCD SLAVE ADR TOOL OL...

Page 23: ...RFL 3 2500 17898 20023 STORE AS I CONFIGURATION STORE RUN STORE PRJ MODE ANALOG IN 1 0 2500 1 17898 2 32767 OVERFL 3 20023 AS I CONTROL PROFIBUS ADV DIAGNOSIS AS I SAFETY IO PARAM TEST DIAGNOSIS QUICK...

Page 24: ...TE ADR LPF LIST OF PERIPH FAULTS 1A X 2A 3A 4A X 5A X 30A X 31A 1B X 2B X 3B X 4B X 5B X 30B X 31B X VERSION 20000919 FEATURE STRING ZEFOD1 AS ER 0A 1A 7A28 C TYPE CONFLICT LCS LIST OF CORRUPTED SLAVE...

Page 25: ...en change them with the arrow buttons and confirm 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...

Page 26: ...s The number behind Old Address shows the actual stationstation address By sel ecting New Address this address can be changed 7 1 2 PROFIBUS Status The function PROFIBUS Status indicates if and how ma...

Page 27: ...maintenace service CHANGE the display changes between ENABLED and DISABLED DISABLED I M service is off ENABLED I M service is on Switching off of I M SERVICES sets additional memory in the SPC3 free...

Page 28: ...plays the current status of the AS control control program START BIT SET the control program was started START BIT RESET the control program was stopped RUNNING the control program is running STOPPED...

Page 29: ...en the selected menu 5 10111101 4 83 BD F2 58 select the required flag with hot keys the selected flag appears in the upper line binary coded press OK to edit the selected flag in the upper line 7 3 S...

Page 30: ...address zero has been detected Failed SD2 slave with new address has been detected Failed DE could not delete old address Failed SE error setting new address Failed AT new address could be stored tem...

Page 31: ...ted slave Existing errors are indicated Binary inputs digital inputs see also Binary input chapter 7 6 3 Binary outputs digital outputs see also Binary outputs chapter 7 6 4 Analog inputs see also Ana...

Page 32: ...t makes possible to change the AS i circuit that is currently active for being ope rated The active circuit is marked by the cursor 7 5 2 Description of setup mode AS I SLAVE ADDR FORCE OFFLINE OPERAT...

Page 33: ...be changed The new address of the slave has to be set in the menu entry NEW ADDRESS The addressing is carried out by pressing the OK button 7 5 4 Force offline FORCE OFFLINE NO CHANGE This function sh...

Page 34: ...ter is in protected mode the following error message will appear Failed No Config Mode If an AS i slave with address zero exists storing the configuration will be confirmed with OK However the configu...

Page 35: ...e AS i Configuration to the master This can be done very comfortably with the Windows software AS i Control Tools Master Write configuration to the AS i Master or directly with the fullgraphic display...

Page 36: ...e chosen by selecting the menu entry DO RESET 7 6 IO Param Test 7 6 1 AS i circuit AS I CIRCUIT 1 AS I CIRCUIT 2 To reach this setup menu you have to change the desired AS i circuit by using the arrow...

Page 37: ...riting AS i Parameters WA R N U N G O U T P U T S M AY B E S E T A N D H O S T M AY L O S E C O N T R O L Before changing to the menu the following warning message will displayed Warning Outputs may b...

Page 38: ...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 7 6 5 Analog inputs ANALOG INPUTS 1 X 2 A 3 B This function shows th...

Page 39: ...2 A 3 B 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 OVERFL displays any value overflows ad...

Page 40: ...I CIRCUIT 2 To reach this setup menu you have to change the desired AS i circuit by using the arrow and the OK buttons The function is only implemented in the double master It makes possible to change...

Page 41: ...07 39 7 7 3 Flags FLAGS 0131 05 0000 0001 0011 0001 0000 0101 1 PERIPHERY_OK 0 OFFLINE_READY 0 AS I_PWR_FAIL 1 NORMAL_OP 1 CONFIG_ACTIVE 0 AUTO_ADDR_AVL 0 AUTO_ADDR_ASN 0 LDS O 1 CONFIG_OK 1 AUTO_ADDR...

Page 42: ...that exactly one slave is failed Bit 4 Config_Active The flag is set in the configuration mode and is reset in the protected mode Bit 5 Normal_Op The flag is set if the AS i master is in normal opera...

Page 43: ...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 configuration of the connected A...

Page 44: ...nd the features of the AS i ma ster Version xxxxxxxx date of the firmware Feature String xxxxxxxxxxxxxxxx 7 8 Adv Diagnosis advanced AS i diagnosis ERROR COUNTERS LCS FAULT DETECTOR See also Advanced...

Page 45: ...i slave caused a configuration error 7 8 3 Fault detector FAULT DETECTOR RESET HISTORIC EFLT OVRV NOIS ACTUAL EFLT OVRV NOIS DUP ASI ADR 0 I 31B HELP EFLT EARTH FAULT OVRV OVERVOLATAGE NOIS NOISE DUP...

Page 46: ...onitor Safety Substitute Value 7 9 1 Safety slaves safety oriented slaves SAFETY ORIENTED SLAVES I 1 2 XR I 3 XX This list shows the safety directed input slaves AS i Safety at Work by which the safet...

Page 47: ...K CH 1 OFF CH 2 OFF 1 32 GREEN The AS i safety monitor reads the diagnosis data of the AS i safety monitor and shows on the display The meaning of the shown diagnosis can be seen in the de scription...

Page 48: ...the bar line with soft keys verify with OK the bar line flashes set the display contrast with soft keys assume with OK If the contrast is completely misaligned set it as follows turn the master off pr...

Page 49: ...t one configuration error since powering up the AS i master or reading the list Short time AS i power failures are listed in the LCS at the position of AS i slave with address 0 8 2 Protocol analysis...

Page 50: ...e how the system reacts to a configuration error on the AS i The AS i master can release the off line phase in critical situations i e only with certain slave addresses whereas in less critical situat...

Page 51: ...sturbances A frequent cause are insufficiently shielded frequency inverters or awkwardly shif ted cables Noises are indicated in the master s display and the AS i Control Tools 8 4 4 Overvoltage detec...

Page 52: ...0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 50 9 PROFIBUS DP This chapter contains all necessary information to operate the AS i PROFIBUS gatew...

Page 53: ...h fault PDU byte user byte DP DP V1 user 1 station_status 1 4 2 station_status 2 4 3 station_status 3 4 4 master address 4 5 ident high 4 6 ident low 4 7 1 header 4 4 8 2 type 4 9 3 slot 4 10 4 spec 4...

Page 54: ...ult 1 periphery fault 0 no periphery fault 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 which i...

Page 55: ...you can select which conditions have to be fulfilled to set the ExtDiag bit within the diagnosis telegram The bits in User Byte 1 and User Byte 3 have the following meanings DP Parameters Double Mast...

Page 56: ...ExtDiag will not be set The GSD s default user parameter telegram is DPV1 enabled diagnosis settings according to chapter 9 1 1 If a double master is being used the data for AS i circuit are transmitt...

Page 57: ...ves 0 23B 32 bytes digital input slaves 0 31B Length Description 4 bytes digital output slaves 0 7 8 bytes digital output slaves 0 15 12 bytes digital output slaves 0 23 16 bytes digital output slaves...

Page 58: ...laves 16 31 16 bytes analog input slaves 14 15 Length Description 24 bytes analog output slaves 29 31 56 bytes analog output slaves 25 31 88 bytes analog output slaves 21 31 120 bytes analog output sl...

Page 59: ...24 23 22 21 20 0 flags slave 1 1A F3 F2 F1 F0 D3 D2 D1 D0 1 slave 2 2A slave 3 3A 2 slave 4 4A slave 5 5A 3 slave 6 6A slave 7 7A 4 slave 8 8A slave 9 9A 5 slave 10 10A slave 11 11A 6 slave 12 12A sl...

Page 60: ...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 deleted 9 1 3 2 EC Flags and AS i watchdog In addition to EC flags the AS i watch...

Page 61: ...tten by the cy clically transmitted values AS i 16 bit data can be transmitted in a reserved data area Therefore accessing analog data is as easy as accessing digital data 9 1 3 4 Command Interface On...

Page 62: ...xchange is possible via the command interface This way the Windows configuration software AS i Control Tools can run the whole communication via DP V1 9 2 DP V1 To exchange data between the PROFIBUS m...

Page 63: ...itional memory into SPC3 This changes the DPVD length limit Restrictions due to the SPC3 MSC1 input output data double master 272 bytes1 1 The maximum length of the input and output data can vary up t...

Page 64: ...oo short The commands of the command interface are valid as well for PROFIBUS DP V0 as for PROFIBUS DP V1 Circuit 0 If an AS i gateway with one AS i master or the master 1 of an AS i gateway with 2 ma...

Page 65: ...ted in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 63 The coding of requests for commands to r...

Page 66: ...page 71 WR_74_75_PARAM 5A16 Write S 7 4 S 7 5 slave parameter 6 2 page 72 RD_74_75_PARAM 5B16 Read S 7 4 S 7 5 slave parameter 4 3 page 73 RD_74_75_ID 5C16 Read S 7 4 S 7 5 slave ID string 4 3 page 7...

Page 67: ...100 READ_IDI 4116 Read IDI 2 36 page 101 WRITE_ODI 4216 Write ODI 34 2 page 101 READ_ODI 5616 Read ODI 2 34 page 102 SET_OFFLINE 0A16 Set_Off Line_Mode 3 2 page 103 SET_DATA_EX 4816 Set_Data_Exchange...

Page 68: ...nd interface in the I O data area respectively the length of the DPV1 requestsis too short HI_ACCESS 1416 HI no access right EC_NG 2116 EC general fault EC_SND 2216 EC slave source addr not detected E...

Page 69: ...1 3 Write 1 16 bit Slave out Data WR_7X_OUT With this command the four 16 bit channels of an AS i output slave according to the slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be written A...

Page 70: ...8 S A 9 S 7 A A can be read out of the AS i PROFIBUS Gateway 10 3 1 5 Read 4 16 bit Slave in Data RD_7X_IN_X With this command the four 16 bit channels of 4 AS i input slaves with succesive addresses...

Page 71: ...S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be written 10 3 1 7 Read 4 7 3 Slave out Data RD_7X_OUT_X With this command the four 16 bit channels of four AS i output slaves with succe sive addresses accordin...

Page 72: ...3 1 9 Write 16 channels 16 bit slave out Data OP_WR_16BIT_IN_CX With this command the 16 channels of the 16 bit input data for slaves with succe sive addresses according to slave profile S 7 3 S 7 4...

Page 73: ...registered into the buff er in the same form as they have to be sent by AS i Since the string can be longer than the command interface it will partly be written into the buffer and then be transferre...

Page 74: ...se buffer the following meaning FFh 00h Transfer is still active FFh xxh Transfer finished with error The first byte in the buffer notequal FFH slave response The response is in the same form register...

Page 75: ...consistently By a 7 5 slave is the request always 1 The response byte contains the cyclic 16 bit slave configuration according to S 7 5 profile analog transparent bits are can celled If the response i...

Page 76: ...transmission it ist intended to act as a substitute for RD_74_75_PARAM WR_74_75_PARAM RD_74_75_ID RD_74_DIAG and Safety at Work monitor diagnnostic Since the transferred data can be longer than the co...

Page 77: ...4 Param String Read no sent data required 4 S 7 4 Param String Write buffer contains sent string 5 S 7 5 Transfer Buffer contains sent string in the same form as the telegram that have to be sent ove...

Page 78: ...s read out The first byte in the response buffer indicates the current command FF16 means transfer still active FE16 means transfer interrupted with errors The both following bytes high low set the le...

Page 79: ...jected AS i slaves LPS The flags according to the AS i slave specification Request see page Command Value Meaning Req Len Res Len page 77 GET_LISTS 3016 Get LDS LAS LPS Flags 2 29 page 79 GET_FLAGS 47...

Page 80: ...ation_Active APF APF OR Offline_Ready byte 27 26 25 24 23 22 21 20 1 3016 2 T result 3 7A 6A 5A 4A 3A 2A 1A 0A LAS 10 31B 30B 29B 28B 27B 26B 25B 24B 11 7A 6A 5A 4A 3A 2A 1A 0A LDS 18 31B 30B 29B 28B...

Page 81: ...slave with address 0 exists AAs Auto_Address_Assign This flag is being set when the automatic address programming is possible in other words AUTO_ADDR_ENABLE 1 no incorrect slave connected to the AS...

Page 82: ...when this mode has already been reached DX Data_Exchange_Active If the Data_Exchange_Active flag is set the data exchange between AS i master and slaves is available in the data exchange phase If thi...

Page 83: ...ith 25 in order to create a local copy of the LCS Reading with bit 25 1 transmits the upper part of the copy With the call GET_LCS the List of Corrupted Slaves LCS is read out of the AS i PROFIBUS Gat...

Page 84: ...Gateway The list of detected AS i slaves LDS Response if O 0 byte 27 26 25 24 23 22 21 20 1 4516 2 T result 3 7A 6A 5A 4A 3A 2A 1A 0A 10 31B 30B 29B 28B 27B 26B 25B 24B Response if O 1 byte 27 26 25 2...

Page 85: ...found in the description of the AS i slave 10 3 4 9 Get list of offline Slaves GET_LOS With this call the list of slaves causing the offline phase when a configuration error occurs in being read out L...

Page 86: ...a configuration error occurs in being defined List of Offline Slaves LOS The user can choose the reaction of the master when a configuration error occurs The master can be switched offline when an im...

Page 87: ...rted The counts are being read out via the corresponding host interface and will be de leted with every read access The counter s value is limited to 254 255 will cause a counter overflow The counts c...

Page 88: ...he counter s value is limited to 254 255 will cause a counter overflow The counts could be independent of the counters which are displayed in the dis play of the gateway 10 3 4 13 Get transm err count...

Page 89: ...r are read out In the first byte are stored the values transferred in the moment in the second all values since the last deleting By it it is possible to recognize immediate no more existing before me...

Page 90: ...aves with duplicate addresses the assignement of one address to two slaves is read out Request byte 27 26 25 24 23 22 21 20 1 1116 2 T O circuit Response if O 0 byte 27 26 25 24 23 22 21 20 1 1116 2 T...

Page 91: ...actual configuration The OPERATION MODE bit is stored permanently in other words it is retained after a cold warm restart When you change from configuration mode to protected mode the AS i master will...

Page 92: ...S 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 maste...

Page 93: ...on the EEPROM of the AS i PROFIBUS gateway and are used as the expected configuration by the AS i mas ter in the protected mode The configuration data are specified by the manufactur er of the AS i sl...

Page 94: ...B B 0 Single AS i slave or A slave B 1 B slave 10 3 5 7 Set list of projected slaves SET_LPS and SET_LPS_R6 6Bh The command SET_LPS_R6 6Bh differs from the command SET LPs in no empty byte 3 half so...

Page 95: ...Gateway The list of projected AS i slaves LPS 4 7A 6A 5A 4A 3A 2A 1A 11 31B 30B 29B 28B 27B 26B 25B 24B Request if O 1 byte 27 26 25 24 23 22 21 20 1 2916 2 T 1 circuit 3 0016 4 1A 2A 3A 4A 5A 6A 7A 1...

Page 96: ...AS i slave parameter value transferred with the command is passed on to the addressed AS i slave The parameter is stored in the AS i PROFIBUS Gateway only temporarily and is not stored as a configured...

Page 97: ...S i slave as a response to the write_p job This command can not be used for a directly reading of an AS i parameter out of an AS i slave Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave 1...

Page 98: ...S i PROFIBUS Gateway is read Meaning of bit B B 0 Single AS i slave or A slave B 1 B slave 10 3 5 14 Set auto address enable SET_AAE This call can enable or disable the automatic address programming f...

Page 99: ...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 an...

Page 100: ...command Request byte 27 26 25 24 23 22 21 20 1 3F16 2 T circuit 3 xID1 Response Byte 27 26 25 24 23 22 21 20 1 3F16 2 T result see page Command Value Meaning Req Len Res Len page 98 Other commands pag...

Page 101: ...put slave interpretation data 4 2 page 104 FP_DATA 7E16 Functional Profile Data 3 2 page 108 funcion 0016 0016 slaves with released safety function response contains EcFlags 3 8 page 109 funcion 0D16...

Page 102: ...read out of the AS i PROFIBUS Gateway in addition to the cyclic data exchange Though the com mand READ_IDI transmits all execution control flags byte 3 and byte 4 Pok Periphery_Ok S0 LDS 0 AAs Auto_A...

Page 103: ...data values of all AS i slaves are written in addition to the cyclic data exchange 10 3 6 5 Read output data image READ_ODI With this call the output data values of all AS i slaves is being read out...

Page 104: ...errors This is followed by the inclusion phase in which existing AS i slaves are searched and newly added AS i slaves are entered in the LDS or LAS In the management phase jobs by the user such as wr...

Page 105: ...e of the buttons can be enabled disabled 10 3 6 9 FP_PARAM This command is used for parametrization of functional profiles The content of the request and response bytes depends on the called function...

Page 106: ...content of the request and response bytes depends on the called function see chapter 10 4 Functional profiles 10 3 6 11 EXT_DIAG With this call the conditions when to set the ExtDiag bit can be selec...

Page 107: ...1 CS ExtDiag is set if LCS is not empty 10 3 6 12 RD_EXT_DIAG With this call the conditions when the ExtDiag bit is set can be read CF ExtDiag is set by ConfigError 1 APF ExtDiag is set by APF 1 PF E...

Page 108: ...lected AS i destination parameter 10 3 6 14 Write Flag Use this command to write the flag of a control program The control program of devices with control functions takes on data from the PB interface...

Page 109: ...m of devices with control functions takes on data from the PB interface 10 3 6 16 READ_MFK_PARAM Use this command to read multiple commands of a SEW MFK21 slave 2 T result Request Byte 27 26 25 24 23...

Page 110: ...unction of the slave is activated e g emergency button pressed The bit is only set at security slaves when both contacts are released otherwise the bits have the value 0 Normal non security slaves als...

Page 111: ...K no peripheral fault 2 safety slaves with released safety function AS Inferface addresses 4 and 10 1 safety slave with unreleased safety function AS Inferface address 5 Reponse 7E 00 01 25 10 04 00 0...

Page 112: ...etched from the monitor Otherwise the function will respond out of the memory the data can be read consistently 10 4 2 1 Setting of the AS i diagnosis The setting of the AS i diagnosis takes place in...

Page 113: ...A 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 111 Call up the menu Edit Information about monitor and bus Fig 1 Calling of Information about monitor a...

Page 114: ...at Work monitor diagnosis is longer than the maximum size of the command interface it must be read with several adjacent requests The byte 5 index declares the start index in the array of diagnostic d...

Page 115: ...Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 113 Response byte 27 26 2...

Page 116: ...green OSSD1 5 number of devices not green OSSD2 6 device index 32 OSSD1 7 color of device 32 OSSD1 8 device index 33 OSSD1 9 color of device 33 OSSD1 68 device index 63 OSSD1 69 color of device 63 OS...

Page 117: ...e of OSSD2 4 number of devices not green 5 6 device index 32 7 color of device 32 8 device index 33 9 color of device 33 68 device index 63 69 color of device 63 70 device index 32 71 assignment of de...

Page 118: ...assigments to OSSDs 10 4 3 Integrated AS i Sensors Warnings Function 0316 List of integrated AS i sensors according to profile S 1 1 without extended ad dressing or profile S 3 A 1 with extended addre...

Page 119: ...For creating this list CDI and IDI are used only Integrated AS i slaves which are projected but not existing therefore are not entered here 10 4 5 Language select Function 0E16 Use this function to se...

Page 120: ...so have safety slaves input data the following meaning Bit 0 1 00 channel 1 has released 11 channel 1 has not released Bit 2 3 00 channel 2 has released 11 channel 2 has not released Set Response Byte...

Page 121: ...unction 1016 Use this function to find out the addresses of safety slaves Read Response Byte 27 26 25 24 23 22 21 20 1 7D16 2 T result Request Byte 27 26 25 24 23 22 21 20 1 7E16 2 T circuit 3 0F16 Re...

Page 122: ...cyclic data exchange Used ID module in the GSD file 12 byte management Meaning of the bytes The call of the command interaface has not been answered with the valid values since the toggle bit has not...

Page 123: ...configuration mode 2 Write the current slave configuration to the master 3 Switch master to protected mode 4 Wait until master is in normal protected operation mode 12 byte management 1 Switch master...

Page 124: ...sult 0 No error for other result codes see chapter 10 2 1 Values for re sults 2 Write the actual slave configuration to the master Response Byte 1 00hex or old values Byte 2 00hex or old values Byte 1...

Page 125: ...et master to protected mode No result because toggle bit 0 Response Byte 1 00hex or old values Byte 2 00hex or old values Byte 12 00hex or old values Request STORE_CDI Byte 1 07hex STORE_CDI Byte 2 80...

Page 126: ...operation mode 4 Wait until master is in normal operation mode and protected mode Reading out the flags until NA Normal Operation Active has been set No result because toggle bit 0 Request SET_OP_MOD...

Page 127: ...he application safely 10 5 3 Store new configuration for all slaves 1 Switch master in configuration mode 2 Write slave configuration to master 3 Write new list of projected slaves LPS 4 Write permane...

Page 128: ...results 2 Write single configuration to master Writing a configuration of an AS i slave to the master For example 16 bit input 4 CH at address 4 Slave datasheet ID 3hex ID2 Ehex IO 7hex ID1 Fhex Resp...

Page 129: ...ex slave address to write to master Byte 4 EFhex ID IO to configurate Byte 5 37hex xID2 xID1 to configurate Byte 6 00hex Byte 12 00hex Response Byte 1 00hex or old values Byte 2 00hex or old values By...

Page 130: ...st of projected slaves Write the complete LPS of your AS i circuit Every bit in the LPS corresponds to one slave after the following scheme Byte0 Bit 0 slave 0 0A can not be set Byte1 Bit 1 slave 1 1A...

Page 131: ...16 bit module at address 4 with PP 07hex No result because toggle bit 0 Request SET_LPS Byte 1 29hex Byte 2 80hex T 1 master 1 single master Byte 3 00hex Byte 4 10hex LDS byte 0 Byte 5 00hex LDS byte...

Page 132: ...t a slave to an address write the default value to the master Fhex as a permanent parameter 5 Switch Master to Protected Mode No result because toggle bit 0 Request SET_PP Byte 1 43hex SET_PP Byte 2 8...

Page 133: ...master is in normal protected operation mode Read out the flags until the NA Normal Operation Active has been set No result because toggle bit 0 Request SET_OP_MODE Byte 1 0Chex SET_OP_MODE Byte 2 80h...

Page 134: ...been set to 1 The flag NA indicates that the master is in normal operation mode Normal operation mode is necessary to run the application safely If a command of the command interface is used via PROF...

Page 135: ...easy as possible The software communicates with the AS i PROFIBUS Gateway using a PROFI BUS DP Master Simulator DP V1 11 1 Windows software AS i Control Tools The Windows software AS i Control Tools e...

Page 136: ...many 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 134 5 Do the appropriate settings e g serial interface COM 1 station address AS i cir...

Page 137: ...on Changing a slave address setting AS i parameters or AS i configuration data is possible here Additionally inputs and outputs can be tested 8 Click in the main menu on the second button from the rig...

Page 138: ...hermore the PROFIBUS DP Master Simulator also processes GSD files User parameters can be edited and the configuration can be modified and stored The PROFIBUS station address can be changed with the PR...

Page 139: ...RT is simply inserted between the PROFIBUS slave and the RS 232 connector cable Besides the software PROFIBUS DP master simulator DLL drivers for Windows98 Windows Me Windows 2000 and Windows NT as we...

Page 140: ...nder Software used GSD File for the AS i PROFIBUS Gateway in stainless steel VBG PB K20 DMD SIMATIC Step7 Version 5 2 Service Pack 1 Version K5 2 1 0 Associated documentation AS i PROFIBUS Gateway Ope...

Page 141: ...If the AS i PROFIBUS Gateway is connected on the PROFIBUS as the last sta tion the termination resistor on the PROFIBUS plug must be enabled 12 2 SIMATIC Step Configuration The remainder of this desc...

Page 142: ...G PB K20 DMD 576 A1745 gsd to the hardware catalog Clicking on the Open field adds the GSD file VBG PB K20 DMD 576 A1745 gsd to the hardware catalog After successful installation of the GSD file you m...

Page 143: ...en adding the CPU module you are prompted for the desired PROFIBUS con nection The standard proposed is for the CPU as PROFIBUS DP Master This can be directly applied The CPU mode must be set on the D...

Page 144: ...ers us ing the profile Properties PROFIBUS Network settings Profile User defined 12 2 2 Insert AS i PROFIBUS Gateway Once the SIMATIC hardware has been added to the hardware configuration and the PROF...

Page 145: ...odule the input and output data for the possible 31 slaves in an AS i circuit are send directly to the I O section of the CPU When using A B slaves use the module 32 Byte Digital In Out 0 31B The B ad...

Page 146: ...is Address 3 12 2 3 Configuring AS i PROFIBUS Gateway in output If the AS i PROFIBUS Gateway is added to the PROFIBUS using drag and drop the Step7 hardware configuration shows the following graphic A...

Page 147: ...3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 145 3 Drag the selected communication module to the table line for Slot 0 4 Select the desired communicat...

Page 148: ...79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 146 analog value transmission in the following slots 7 Double clicking on the desired slot line opens a dialog window in which you can...

Page 149: ...1022 W 16 3FE Clicking on the Parameterize tab displays the possible settings for the PROFI BUS start parameters 12 2 4 1 General DP parameters Startup when nominal configuration is not the same as ac...

Page 150: ...y analyzes the quality of the AS i voltage during running This assessment can be sent with the diagnostic data Default Not transmitted in the PROFIBUS diagnostic data ExtDiag on Configuration Errors W...

Page 151: ...ting of the ExtDiag flag on double address is disabled Freeze Diagnosis The diagnostic data are continuously updated during runtime If this is not desired this parameter can be used to disable continu...

Page 152: ...these can be sent to the CPU Since data transmission of the AS i data is done in this example directly to the process image no additional Step7 program is needed for data refreshing Therefore there is...

Page 153: ...oupled to the input output byte Address 2 to 17 of the process image The directly send AS i diagnostic information for error processing are evident from the input bits of the EW0 Flags Fault Detector...

Page 154: ...heir position in the I O data field The data fields for non present slaves are filled with zero This means for example the AS i data for the AS i slave having Address 12 occupy bits 7 4 in I O byte 8...

Page 155: ...there is a failure of the AS i supply voltage this is indicated by the AS i pow er fail bit AS i Peripheral Error Bit 6 0 AS I peripheral OK 1 AS I peripheral error This bit indicates that there is a...

Page 156: ...the AS i Master to configuration mode Then for example the command interface can be used to save an existing AS i configuration using the controller The rising edge is used for switching After Bit 7 1...

Page 157: ...Error Bit 4 in Byte 2 is set 3 If the standard parameters for the PROFIBUS hardware configuration were ap plied unchanged for the AS i PROFIBUS Gateway the Gateway sets the ExtDiag flag in the PROFIB...

Page 158: ...12 8 2007 156 In the diagnostic buffer of the CPU the configuration error which occurred is en tered with Module error The affected AS i DP Gateway can be ascertained from the diagnostic address of t...

Page 159: ...AS i DP Gate way This can be prevented by turning off the ExtDiag flag in the PROFIBUS parame ters of the AS i Gateway The errors can be responded to by the controller by querying the AS i flag in th...

Page 160: ...pyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 158 data of the A...

Page 161: ...different meaning see chapter 6 2 7 All displayed numbers bigger than 31 which can not be interpreted as a slave address are status or error messages of the master They have the following me anings 3...

Page 162: ...ve address Target address is already used 92 Error while changing slave address New address could not be set 93 Error while changing slave address New address could only be stored volatilely in the sl...

Page 163: ...splay Subject to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Inte...

Page 164: ...rmany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 162 14 Appendix Installation Instructions 14 1 Listi...

Page 165: ...USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 163 14 2 1 Dimensions 55 75 120 7 76 Documentation AS i PROFIBUS Gateways english Die Ger te d rfen n...

Page 166: ...ur l usage Au c ble pour l alimentation aucun escla ve ou r p teur ne peut tre raccord Au c ble pour le circuit AS i aucune alimentation ou autre ma tre ne peut tre raccord I circuiti AS i 1 e 2 sono...

Page 167: ...stazione dell indirizzo PROFIBUS DP Ajuste de la direcci n PROFIBUS DP LCD PROFIBUS OK QUICK SETUP ASI SAFETY OK LCD PROFIBUS ADDRESS PROFIBUS STATUS LCD PROFIBUS ADDRESS OLD ADDRESS 3 2x OK NEW ADDRE...

Page 168: ...ct to reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 6 21 7 76 0 USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http w...

Page 169: ...USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com Issue date 12 8 2007 167 14 2 6 Quick setup config error LCD 1 CONFIGURATION OK LCD PROFIBUS QUICK SETUP SETUP SLAVE ADR T...

Page 170: ...AS i Slave 24 AS i 1 1 AS i prj mode Config error prg enable AS i active U AS i Profibus Power 1 24 MISSING SLAVE MISSING SLAVE 2 0s 2 0s LCD LCD AS Interface Master 14 2 7 4 Error display last error...

Page 171: ...Addressing 14 2 8 5 Programming slave 2 to address 6 LCD 1 41 SEARCHING SLAVE OK 2x LCD PROFIBUS QUICK SETUP SLAVE ADR TOOL OK SLAVE TEST TOOL LCD SLAVE ADR TOOL CONNECT NEW SLAVE LCD SLAVE ADR TOOL...

Page 172: ...ca de 35 mm 1 14 2 10 Accessories Netzteil 8 A Power supply 8 A Alimentation 8 A Alimentazione 8 A Fuente de poder 8 A PC Software AS i Control Tools mit seriellem Kabel zum Anschluss des AS i Ma ster...

Page 173: ...ress and in case of an answer the master tries to read the actual configuration of the slave Depending on the mode protected mode or configuration mode and on the actual configuration the detected sla...

Page 174: ...D1 code extended ID1 code The ID1 code is specified by the manufacturer of the slave In contrast to the other codes defining the profile this code can be modified by the master or by an addres sing un...

Page 175: ...are activated which are expected by the master and are entered in the LPS In the configuration mode all slaves entered in the LDS are activated LDS List of Detected Slaves All slaves from which the ma...

Page 176: ...ve after start up of the master in the activation phase Configuration mode During the configuration mode the master exchanges data with all connected sla ves no matter which of the slaves are projecte...

Page 177: ...76 0 E mail info de pepperl fuchs com USA Headquarters Pepperl Fuchs Inc Twinsburg Ohio 44087 USA Tel 1 330 4253555 E mail sales us pepperl fuchs com Asia Pacific Headquarters Pepperl Fuchs Pte Ltd Co...

Reviews: