background image

                  

AS-i/PROFIBUS Gateway

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

u

e

 d

a

te

 1

2

.1

0

.1

9

9

9

33

If the same command byte shall be sent several times one after the other, the bit 7 
(valence 2

7

) has to be toggled each repetition.

The bit 6 (valence 2

6

) of the command byte states the number of the AS-i Masters to 

address to. If this bit is 0, AS-i Master 1 is addressed, otherwise AS-i Master 2. With 
single masters this bit has to be 0, with double masters the AS-i circuit to address can 
be selected. (e.g. command read AS-i Control Flags of AS-i circuit 2: 4D

hex

)

After execution of the command the command byte is mirrored. Illegal commands 
(AS-i circuit number 2 with single masters, illegal command byte or a data field which 
is too short) always return as mirrored command byte 00

hex

 or 80

hex

, if the toggle bit 

was set.

Commands that may fail return an error code (00

hex

: OK, FF

hex

: error) in data byte[0] 

(status).

The possible commands are listed as follows:

AS-i function

command 

byte

data

byte[0]

data

byte[1]

data 

byte[2]

data 

byte[3]

Idle 
(no function)

output

00

hex

-

-

-

-

input

00

hex

-

-

-

-

write projected 
parameter

output

01

hex

slave address

parameter

-

-

input

01

hex

status

-

-

-

read projected 
parameter

output

02

hex

slave address

-

-

-

input

02

hex

status

parameter

-

-

write parameter

output

03

hex

slave address

parameter

-

-

input

03

hex

status

parameter

-

-

read actual 
paramter

output

04

hex

slave address

-

-

-

input

04

hex

status

parameter

-

-

write (project) 
actual parameter

output

05

hex

-

-

-

-

input

05

hex

status

-

-

-

write projected 
coniguration

output

06

hex

slave address

conf.-daten

-

-

input

06

hex

status

-

-

-

read projected 
coniguration

output

07

hex

slave address

-

-

-

input

07

hex

status

conf.-daten

-

-

write projected 
coniguration

output

08

hex

-

-

-

-

input

08

hex

status

-

-

-

read actual con-
figuation

output

09

hex

slave address

-

-

-

input

09

hex

status

conf.-daten

-

-

address AS-i slave

output

0A

hex

old address

new address

-

-

input

0A

hex

status

-

-

-

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

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

Страница 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: ...6 1 Master Start Up 17 6 2 Configuration Mode 17 6 3 Protected Operating Mode 18 6 3 1 Switching to Protected Operating Mode 18 6 3 2 Configuration Errors in Protected Operating Mode 18 6 4 Assigning...

Страница 4: ...of the Profibus DP Master 36 8 4 Profibus Diagnosis telegram 39 8 4 1 Diagnosis telegram in easy mode and advanced mode 39 8 4 2 Diagnosis telegram in professional mode 41 9 Accessories for Putting AS...

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

Страница 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: ...rols 5 1 Device Views The diagrams below display the design and dimensions of the Gateways The follow ing are located on the face of the AS i Profibus Gateway 1 2 PG9 threading for the PROFIBUS transm...

Страница 14: ...with configuration errors at least one projected slave is missing or the actual configuration data does not correspond with the reference configuration data for a projected and recognized slave U AS...

Страница 15: ...ordance with EN 50022 It can also be mounted on a wall Mounting holes have been included in the design of the black base for this purpose The following steps should be taken when mounting the gateway...

Страница 16: ...When using the power units it is important to ensure that they are AS Interface compatible and have the necessary de coupling coils 5 3 4 The PROFIBUS Interface The PROFIBUS transmission cable is con...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 62: ...pore 7 79 90 91 Internet http www pepperl fuchs com issue date 12 10 1999 62 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...

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

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

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

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

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

Страница 68: ...face Areas of Application Machine engineering Conveyor or transport Packaging and bottling Automotive industry Subject to reasonable modifications due to technical advances Copyright PEPPERL FUCHS Pri...

Отзывы: