background image

                  

AS-Interface

Connections, Displays and Controls

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

16

Lead breakage as well as a short circuit caused by the power rail is prevented due to 
the power rail's solid construction..

5.3.3

Device Terminal Connections

In addition to or in combination with power rail connections, the KF… designs can be 
conventionally connected by means of removable device terminals. The terminal ar-
rangement is shown below. 

The device terminals consist of screw type cable piercing terminals which allow for 
the connection of 14 AWG cables (2.5 mm²). The connectors are 3 pin connectors; 
they can be keyed to prevent connection errors. 

Removable 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 AS-i circuit. A connection to the AS-i cable is es-
tablished by means of the power rail and/or with the device terminals. The terminal 
layout is displayed in the diagram above. 

It is important to note when using the power unit that these AS-Interfaces are compat-
ible and have the necessary decoupling coils. 

5.4

The PROFIBUS Interface

The serial interface is a 9 pin SUB-D connector. It is located on the right side of the 
device front. The other possibility is to use the device terminals. The wiring is shown 
in the picture below:

The AS-i/Profibus-Gateway with an RS485 interface transmitts and receives through 
pins 3 and 8 of the SUB-D connector or terminals 25 and 26 of the device terminals. 
The RxD-TxD-P signal (B cable per PROFIBUS specifications) is assigned to pin 3 

UPR 05

PR 05

PROFIBUS
interface

RxD/TxD-P

RxD/TxD-P

Shield

Shield

RxD/TxD-N

RxD/TxD-N

Summary of Contents for VAG-PB-KF-R4

Page 1: ...FACTORY AUTOMATION Manual Manual VAG PB KF R4 AS Interface PROFIBUS Gateway AS Interface PROFIBUS Gateway IP20 IP20...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviews: