background image

                  

AS-Interface

Appendix: AS-i Slave Lists and Data Telegrams

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

u

e

 d

a

te

 1

2

.1

0

.1

9

9

9

56

Содержание VAG-PB-KF-R4

Страница 1: ...FACTORY AUTOMATION Manual Manual VAG PB KF R4 AS Interface PROFIBUS Gateway AS Interface PROFIBUS Gateway IP20 IP20...

Страница 2: ...of the Electrical Industry as published by the Central Association of the Elektrotechnik und Elektroindustrie ZVEI e V including the supplementary clause Extended reservation of title We at Pepperl Fu...

Страница 3: ...ating the AS i PROFIBUS Gateway 19 6 1 Master Start Up 19 6 2 Configuration Mode 19 6 3 Protected Operating Mode 20 6 3 1 Switching to Protected Operating Mode 20 6 3 2 Configuration Errors in Protect...

Страница 4: ...38 8 3 3 Configuration of the Profibus DP Master 38 8 4 Profibus Diagnosis telegram 41 8 4 1 Diagnosis telegram in easy mode and advanced mode 41 8 4 2 Diagnosis telegram in professional mode 43 9 Acc...

Страница 5: ...http www pepperl fuchs com issue date 12 10 1999 5 1 Declaration of Conformity The AS i PROFIBUS Gateway VAG PB G4F R4 have been developed and produced in accordance with the applicable European stan...

Страница 6: ...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...

Страница 7: ...90 91 Internet http www pepperl fuchs com issue date 12 10 1999 7 2 The Used Symbols This symbol warns the user of possible danger Failure to heed this warning can lead to personal injury or death and...

Страница 8: ...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 www pe...

Страница 9: ...ely qualified personnel in accordance with this operating manual Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual i...

Страница 10: ...onable 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 www pepperl...

Страница 11: ...can be transmitted to the AS i slaves Also the mini PLC AS i Control is accessible All AS i Control functions are available program download upload start stop read and write user memory The profession...

Страница 12: ...o 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 www p...

Страница 13: ...found on the front of the AS i Profibus gateway see diagram be low 1 Connection terminals for the AS i circuit also used for the power supply 2 A nine pin SUB D connector as a Profibus interface see...

Страница 14: ...g place when the PB active LED is not illuminated This means that with configuration errors at least one projected slave is missing or the actual configuration data does not correspond with the refere...

Страница 15: ...3 1 Mounting The KF design of the gateway can be mounted on a 35 mm DIN rail in accordance with EN 50022 and facilitates electrical connection through the Power Rail It is also possible to use the mo...

Страница 16: ...le terminals simplify the assembly of the switch encloser and allow for the replacement of components without taking the system off line 5 3 4 Gateway Power Supply The gateway is supplied through the...

Страница 17: ...USA 3 30 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl fuchs com issue date 12 10 1999 17 and to terminal 25 The RxD TxD N signal A cable per PROFIBUS specifications is assigned to pin 8...

Страница 18: ...bject 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 htt...

Страница 19: ...nd 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...

Страница 20: ...cted Operating Mode 6 3 1 Switching to Protected Operating Mode Pressing the button shortly Exits the configuration mode without projecting the current AS i configuration Pressing the button for more...

Страница 21: ...ble with the AS i PROFIBUS Gateway using the push buttons How it works is described as follows 6 4 1 Assigning a Slave Address assigning an available address to a slave with address zero In configurat...

Страница 22: ...al 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...

Страница 23: ...ve 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 Onc...

Страница 24: ...ubject 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 ht...

Страница 25: ...e 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 7 2 Error Counter Counter of corrupted data te...

Страница 26: ...er for this feature 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...

Страница 27: ...asy mode because it is much easier than the advanced modes following Functions are available in easy mode in advanced mode in professional mode Transmission of AS i input and outut data X X X AS i cir...

Страница 28: ...buttons set and mode see chapter 6 4 8 1 3 Projecting of the Profibus DP Master To project the Profibus DP network you have to copy a GSD file enclosed on dis kette to the working directory of your P...

Страница 29: ...ut bytes shall AS i parameters be transmitted shall AS i Control code be transmitted shall user memory be transmitted Size of the Window for the AS i Input and Output Data The size of the window for t...

Страница 30: ...ry to be written or read can be different 8 2 1 Mapping of the AS i Data in the Profibus DP Telegram The data in the DP telegram is always mapped in the same fixed order AS i I O data AS i parameters...

Страница 31: ...figuration data of the AS i slaves ID code and I O configuration should be known before configuring the DP master You find them in the AS i slave s docu mentation 8 2 3 Configuration of the Profibus D...

Страница 32: ...n of 4 bytes of AS i Control code additionally Bit 4 1 Transmission of 8 bytes of AS i Control code additionally Bit 5 0 reserved 0 cogently necessary Bit 6 1 Transmission of AS i input data 0 AS i in...

Страница 33: ...be set to 0 If no user memory bytes shall be transmitted it is recommended to set the user memory statement to FFhex FFhex FFhex FFhex The maximum length of the user memory window is 128 bytes Exampl...

Страница 34: ...de The extended functionality of the advanced mode affords a more extensive configu ration of Profibus DP The I O window has to be enlarged for the additional data management commands and user memory...

Страница 35: ...short always return as mirrored command byte 00hex or 80hex if the toggle bit was set Commands that may fail return an error code 00hex OK FFhex error in data byte 0 status The possible commands are l...

Страница 36: ...he slave whose address should be changed does not exist 03 There is a slave with address zero AS i command call output 0Bhex slave address data input 0Bhex status answer write AS i Control flags outpu...

Страница 37: ...see appendix chapter 11 1 read communication errors For each slave there is one byte for the number of communication errors that occurred since the last read access With every read access only 4 byte...

Страница 38: ...and I O configuration should be known before configuring the DP master You find them in the AS i slave s docu mentation If the AS i configuration and the AS i startup parameters were not stated in the...

Страница 39: ...meters are stated in the user parameter telegram In these cases the AS i configurations stored in the EEPROM of the AS i PROFIBUS Gateway are used So AS i can be projected using the AS i Control Tools...

Страница 40: ...low nibble In the second byte s low nibble the AS i startup parameters are transmitted The upper half of this byte is unused Furthermore during the operation of the system AS i parameters can be trans...

Страница 41: ...f the AS i network Its size in bytes amounts highest AS i slave address 1 2 Any non integer value has to be rounded up to a full byte If the requested data field length for the user memory is smaller...

Страница 42: ...ex Byte 7 Lowest slave address with a configuration error hexadecimal representa tion Byte 8 Type of configuration error hexadecimal representation 00hex Projected AS i slave is missing F0hex Actual c...

Страница 43: ...chapter 11 1 A bit in the configuration error list is set if the concerning bit in the LPS List of Projected Slaves differs from the one in the LDS List of Detected Slaves or if the projected AS i co...

Страница 44: ...asonable 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 www peppe...

Страница 45: ...ed for testing the gateway With the Profibus DP Master Simulator the AS i Profibus Gateway can be put into operation with or without GSD file The user parameter string that is needed for advanced mode...

Страница 46: ...chs 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 10 1999 46 5 Do the appropriate settings e g serial interface COM 2 station...

Страница 47: ...nd 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 configu...

Страница 48: ...read and output data be written This is particularly important with time critical troubleshoot at the Profibus if e g diskettes of several manufacturers are not seizable Beyond that the Profibus DP Ma...

Страница 49: ...master starts 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 r...

Страница 50: ...ject 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...

Страница 51: ...on error list A bit in the configuration error list is set if the concerning bit in the LPS List of Projected Slaves differs from the one in the LDS List of Detected Slaves or if the projected AS i co...

Страница 52: ...m in place of the input data of slave 0 Bit 0 Config_OK 0 configuration OK 1 configuration error Bit 1 APF AS i power fail 0 power supply on AS i sufficient 1 power supply on AS i insufficient Bit 2 N...

Страница 53: ...transmission of AS i parameters is set the DP I O window is enlarged by 2 bytes These bytes are added to the window of the input or output data Structure of the bytes DP master call DP slave answer AS...

Страница 54: ...80hex address byte 0 flags Example Starting the AS i Control program in the AS i PROFIBUS Gateway Ignore_config_errors no Auto_Start no Map_Counters no DP request 80hex 01hex 00hex 00hex 00hex Coding...

Страница 55: ...hs 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 10 1999 55 Coding Upload 82hex B0 address h...

Страница 56: ...ams 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 Intern...

Страница 57: ...he terminals 24V and 0V of the master connect the ground terminal Turn on the power supply After the self test the LEDs power config err U ASI and prj mode are on The LCD shows 40 the AS i master is i...

Страница 58: ...he protected operating mode and store the AS i configuration Leave the configuration mode by press ing the mode button for at least five seconds until the prj mode LED goes out The configuration of th...

Страница 59: ...fibus for the PLC Simatic S5 135 of Siemens with the Profibus master card IM 308 C The configuration software used is the Siemens COM PROFIBUS 3 0 German version 13 1 Putting into Operation in Easy Mo...

Страница 60: ...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 10 1999 60 6 In the window DP Master System there is a ledge with several...

Страница 61: ...pperl 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 10 1999 61 8 and afterwards the dialogbox for the selection of the...

Страница 62: ...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 th...

Страница 63: ...el 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 10 1999 63 4 Execute the command File New The dialogbox Master Host Selection appears...

Страница 64: ...pore 7 79 90 91 Internet http www pepperl fuchs com issue date 12 10 1999 64 Click on AS i and drag the icon to the Profibus in the window above 7 After a second mouse click the dialogbox for the sele...

Страница 65: ...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 10 1999 65 9 Afterwards your Profibus system looks like as follows 10 Select the Profibus sl...

Страница 66: ...yte E A 13 Choose as third identification from the dialogbox ID the identification the appro priate length for user flag bytes 14 If the AS i Control user memory field is bigger than 16 bytes the iden...

Страница 67: ...tp www pepperl fuchs com issue date 12 10 1999 67 16 Select the Profibus slave With the command Configure Slave parameters Parameterize you get to the dialogbox Parameterize Edit the dialogbox as show...

Страница 68: ...nd technischer Verbesserungen vorbehalten 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 www pepperl fuch...

Страница 69: ...reasonable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http www pep...

Страница 70: ...onable modifications due to technical advances Copyright Pepperl Fuchs Printed in Germany Pepperl Fuchs Group Tel Germany 06 21 7 76 0 USA 330 4 25 35 55 Singapore 7 79 90 91 Internet http www pepperl...

Страница 71: ...of the Electrical Industry as published by the Central Association of the Elektrotechnik und Elektroindustrie ZVEI e V including the supplementary clause Extended reservation of title We at Pepperl Fu...

Страница 72: ...AS Interface Areas of Application Machine engineering Conveyor or transport Packaging and bottling Automotive industry Subject to reasonable modifications due to technical advances Copyright PEPPERL F...

Отзывы: