background image

 26

.9.20

1

3

26

AS-i 3.0 PROFIBUS Gateway in Stainless Steel

Electrical connection

7.4.3

Electrical connection VBG-PB-K20-D-EV

 

Terminal

Signal / Description

+ASI 1–

Connection to AS-i circuit 1

+ASI 2–

Connection to AS-i circuit 2

ASI +PWR– /

24 V, 0 V

Supply voltage for AS-i circuits (max. 4 A) /

AS-i Power24

1

 supply optional

1.

The gateway is AS-i Power24V capable and can be operated directly on a 24V (PELV) power supply.

FE

Function ground

+

-

+

-

+

-

+ASI

 

1–

+ASI

 

1–

+

ASI +PWR– (max. 4A) 

/

 24V, 0V

+ASI

 

2– 

+ASI1

-

+ASI1

-

+ASI2

-

+ASI PWR-

    24V 0V

+

-

M4

5 mm max!

Function ground

Information!

AS-i Circuit 1 and 2 are both powered from a Fuchs GmbH power supply!

No other power supplies are approved!

Attention!

Earth fault detector sensor without function when using AS-i Power24!

Information!

For additional information, please refer to the sections: <AS-i and power supply termi-
nal assignments> and <AS-i Power24V capable>.

Содержание AS-I 3.0 PROFIBUS

Страница 1: ...AS I 3 0 PROFIBUS GATEWAY IN STAINLESS STEEL FACTORY AUTOMATION MANUAL ...

Страница 2: ...y for Products and Services of the Electrical Industry published by the Central Association of the Electrical Industry Zentralverband Elektrotechnik und Elektroindustrie ZVEI e V in its most recent version as well as the supplementary clause Expanded reservation of proprietorship AS i 3 0 PROFIBUS Gateway in Stainless Steel ...

Страница 3: ...ess Steel 9 4 3 New Generation of AS i Gateways with ethernet diagnostics interface 10 4 4 AS i specification 3 0 10 5 Specifications 11 5 1 Technical data 11 6 Installation 12 6 1 Dimensions 12 6 2 Connections 12 6 3 Installing in the control cabinet 13 6 4 Removing 13 6 5 Inbetriebnahme 14 6 5 1 Wechsel in erweiterten Modus 14 6 5 2 Einstellen der PROFIBUS DP Adresse 14 14 6 6 AS i Slaves anschl...

Страница 4: ...1 1 Card unformatted 28 7 7 1 2 Data not compatible 29 7 7 1 3 Card empty 29 7 7 1 4 Data compatible 29 7 7 1 5 Data in the device and on the chip card identical 29 7 7 1 6 Data in the device and on the chip card not identical 29 7 8 Indicators and operating elements 31 7 8 1 LED indicators master 31 7 8 2 Buttons 32 8 Operation in advanced display mode 33 9 Advanced Diagnostics for AS i Masters 3...

Страница 5: ...Hardware configuration 60 12 1 1 Electrical connection for AS i 60 12 1 2 Electrical connection for PROFIBUS DP 61 12 2 SIMATIC Step 7 Configuration 61 12 2 1 Configuration of the Hardware 61 12 2 2 Insert AS i 3 0 PROFIBUS Gateway in Stainless Steel 64 12 2 3 Configuring AS i 3 0 PROFIBUS Gateway in Stainless Steel in output 67 12 2 4 AS i 3 0 PROFIBUS Gateway in Stainless Steel parameters 70 12 ...

Страница 6: ...sruptions and any repairs increases the effectiveness and efficiency of your plant Keep this manual at hand for subsequent operations on the device After opening the packaging please check the integrity of the device and the number of pieces of supplied Symbols used The following symbols are used in this manual Contact If you have any questions about the device its functions or accessories please ...

Страница 7: ...conformity This product was developed and manufactured under observance of the applica ble European standards and guidelines The product manufacturer Pepperl Fuchs GmbH D 68307 Mannheim has a certified quality assurance system that conforms to ISO 9001 Information A Declaration of Conformity can be requested from the manufacturer ...

Страница 8: ...rformed Connecting the equipment and conducting any maintenance work under power must exclusively be performed by appropriately qualified personnel In case a failure cannot be eliminated the device must be taken out of operation and inadvertently operation must be prevented Repair work must be performed by the manufacturer only Additions or modifications to the equipment are not permitted and will...

Страница 9: ...V1 Article no Model Protection rating Fieldbus interface Number of AS i networks number of AS i Master 1 power supply 1 gateway for 2 AS i networks inexpensive power supplies Diagnostic and configuration interface Recognition of duplicate AS i addresses AS i fault detector AS i Power24V 1 1 AS i Power24V capable The devices can be operated directly on a 24V PELV power supply The gateway VBG PB K20...

Страница 10: ...e display AS i Power24V capable Interfaces for virtually every bus system and Ethernet solution 4 4 AS i specification 3 0 The AS i 3 0 devices already fulfil the AS i specification 3 0 The previous specifications 2 1 and 2 0 are supported as well Advanced Diagnostics Diagnostics which go far beyond the standard diagnostics facilitate the simple detection of the occasionally occurring configuratio...

Страница 11: ...US Gateway in Stainless Steel Specifications 26 9 2013 11 5 Specifications 5 1 Technical data The technical data are placed in the data sheet Please view the current version on the web page http www pepperl fuchs com ...

Страница 12: ...26 9 2013 12 AS i 3 0 PROFIBUS Gateway in Stainless Steel Installation 6 Installation 6 1 Dimensions 6 2 Connections 55 75 120 7 76 10 10 AWG 24 12 0 2 2 5 mm 2 0 2 2 5 mm 2 ...

Страница 13: ...r DIN EN 50 022 To install place the unit on the upper edge of the DIN rail and then snap in the lower edge 6 4 Removing To remove press the holding clamps 2 down using a screwdriver 1 press the unit firmly against the upper rail guide and lift out Information The enclosure of the AS i Gateway is made of stainless steel The unit is also suitable for exposed wall mounting 1 2 1 2 3 ...

Страница 14: ...BUS DP Adresse 14 OK ESC klassische Anzeige Menüaufbau siehe Zusatzblatt LCD 12A UNKNOWN SLAVE LCD PROFIBUS QUICK SETUP SETUP SLAVE ADR TOOL erweiterter Anzeigemodus 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 ADDRESS 000 ...

Страница 15: ...BUS ADDRESS OLD ADDRESS 14 2x ESC NEW ADDRESS 000 2x ESC 2x OK OK LCD PROFIBUS ADDRESS OLD ADDRESS 3 NEW ADDRESS 010 4x OK Slave 1 AS i Slave 5 AS i LCD 0 5s Slave 1 AS i Slave 5 AS i AS i prj mode Config error prg enable AS i active U AS i Profibus Power AS i prj mode Config error prg enable AS i active U AS i Profibus Power 5 1 AS i Master LCD 41 SEARCHING SLAVES AS i Master 0 5s 0 5s 24 ...

Страница 16: ...active U AS i Profibus Power 24 MISSING SLAVE MISSING SLAVE 2s 2s LCD LCD AS i Master Slave 1 AS Interface Slave 5 AS Interface Slave 24 AS Interface AS Interface 24 LCD set Slave 1 AS Interface Slave 5 AS Interface Slave 24 AS Interface AS Interface prj mode Config error prg enable AS i active U AS i Profibus Power prj mode Config error prg enable AS i active U AS i Profibus Power HOST ERROR NO C...

Страница 17: ... setup config error LCD CONFIGURATION OK LCD PROFIBUS QUICK SETUP SETUP SLAVE ADR TOOL OK LCD WARNING OUTPUTS MAY BE RESET OK OK LCD STORE AS I CONFIGURATION STORE RUN LCD STORE AS INTERFACE CONFIGURATION 2x ESC OK LCD 5 LCD HOST ERROR NO CONNECTION OK STORE PRJ MODE STORE PRJ MODE ...

Страница 18: ... OK SLAVE TEST TOOL LCD SLAVE ADR TOOL CONNECT NEW SLAVE LCD SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 3 PRG 1x LCD SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 6 2x ESC LCD 6 UNKNOWN SLAVE LCD SLAVE ADR TOOL OK OLD ADDRESS NEW ADDRESS 3xOK PRG 1x LCD SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 6 PRG OK Master Slave Modul anschließen Connect module Raccordez le module Collegare il modulo Conecte modulo ...

Страница 19: ...AS i 3 0 PROFIBUS Gateway in Stainless Steel Installation 26 9 2013 19 6 9 2 Austausch der Chipkarte Die Chipkarte darf nur in spannungslosem Zustand entnommen und eingesetzt werden 1 2 alt neu 3 ...

Страница 20: ...eändert Device card data not equal Factory configuartion changed Fehlermeldung Error message Geräte Chipdaten gleich Device data card data equal Keine Meldung No message Keine Aktion erforderlich No action required Aucune action requise Nessuna azione richiesta Ninguna deción requrida Karte löschen Clear the card Supprimer carte Cancellare chipcard Borrar chip Daten kopieren KARTE MASTER oder MAST...

Страница 21: ...013 21 7 Electrical connection 7 1 Overview of terminals indicators and operating elements 7 1 1 VBG PB K20 D BV Legend 1 LEDs 2 D sub connection PROFIBUS interface 3 LC display 4 Push buttons 5 AS i and power supply terminal 1 2 3 4 5 10 10 AWG 24 12 0 2 2 5 mm2 0 2 2 5 mm2 ...

Страница 22: ...0 D EV1 VBG PB K20 DMD EV1 VBG PB K20 D EV Legend 1 Ethernet diagnostics port1 2 LEDs 3 D sub connection PROFIBUS interface 4 LC display 5 Push buttons 6 AS i and power supply terminal 7 Chip card 1 Only in conjunction with AS i Control Tools 2 3 4 5 1 6 7 10 10 AWG 24 12 0 2 2 5 mm2 0 2 2 5 mm2 ...

Страница 23: ...ormed only by electrical technicians Information A listing of the individual devices and their features can be found in section Product information Information The cable indicated by grey must not have slaves or repeaters connected to it The yellow cable must not have AS i power suppliers or additional masters connected to it Information The function ground can be connected either to the grounding...

Страница 24: ...VBG PB K20 D EV1 Terminal Signal Description AS i Connection to AS i Circuit ASI PWR Supply voltage for AS i Circuit max 8 A FE Function ground ASI PWR max 8A ASI ASI ASI ASI NC NC ASI PWR M4 5 mm max Function ground Information For additional information please refer to the section AS i and power supply terminal assignments ...

Страница 25: ...ection to AS i circuit 2 ASI 1 PWR Supply voltage for AS i circuit 1 max 8 A ASI 2 PWR Supply voltage for AS i circuit 2 max 8 A FE Function ground ASI1 ASI2 ASI1 PWR max 8A ASI 2 PWR max 8A M4 5 mm max Function ground Information AS i circuits 1 and 2 are powered by separate power supplies Information For additional information please refer to the section AS i and power supply terminal assignment...

Страница 26: ...i Power24V capable and can be operated directly on a 24V PELV power supply FE Function ground ASI1 ASI1 ASI PWR max 4A 24V 0V ASI2 ASI1 ASI1 ASI2 ASI PWR 24V 0V M4 5 mm max Function ground Information AS i Circuit 1 and 2 are both powered from a Pepperl Fuchs GmbH power supply No other power supplies are approved Attention Earth fault detector sensor without function when using AS i Power24 Inform...

Страница 27: ...ignal RxD TxD P data line B 1 is located on pin 3 Pin 5 0 V and pin 6 5 V supply 5 V DC for the bus termination resistor 7 5 1 Terminating resistors on the PROFIBUS network PIN Designation of the D SUB connector Pin 3 Data line B RxD TxD P Pin 5 DGND 0 V Pin 6 VP 5 V Pin 8 Data line A RxD TxD N 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 l...

Страница 28: ...the left hand side 7 7 Chip card The configuration is stored in a fixed installed EEPROM and can be overwritten by the chip card The chip card does not have to be inserted in operation 7 7 1 Using the chip card The chip card integrated in the AS i master is used to read out and to store con figuration data 7 7 1 1 Card unformatted If an unformatted card is found when the device is started the foll...

Страница 29: ...with the device the following message is dis played The card configuration is written to the device From this time on all changes are made both in the device and on the chip card 7 7 1 5 Data in the device and on the chip card identical If the card and device are not empty at start and the data are identical no mes sage is displayed 7 7 1 6 Data in the device and on the chip card not identical If ...

Страница 30: ... can be exited by pressing the ESC Service key without changing the data CHIPCARD AND AS I DATA DIFFERENT CARD MASTER MASTER CARD CONTINUE Description CHIP CARD MASTER Chip card data are copied to the master MASTER CHIPCARD Master data are copied to the chip card NEXT No change to the data ...

Страница 31: ...onfiguration data does not match the nominal configuration data or the master is in the startup proc ess This LED flashes if a peripheral fault has been detected for at least one AS i slave on the AS i network If there are configuration errors as well as periphery faults only the configuration error is displayed U AS i The AS i network is sufficiently powered AS i active Normal operation is active...

Страница 32: ...wing For additional information see section Operation in advanced display mode Mode Switching between configuration mode and protected operating mode and saving the current AS i configuration as the nominal configuration Set Selecting the address of and assigning an address to a slave OK ESC Changing to the advanced display mode ...

Страница 33: ...IBUS Gateway in Stainless Steel Operation in advanced display mode 26 9 2013 33 8 Operation in advanced display mode Information You will find a description of the display menu in the separate document Display_Menue ...

Страница 34: ...mittent AS i power failures are listed in the LCS at the position of AS i slave with address 0 9 2 Protocol analysis Counters for corrupted data telegrams The AS i master with advanced diagnostics provides a counter for telegram repe titions for each AS i slave The counter counts up every time a corrupted data telegram has been found making it possible to determine the quality of the trans mission...

Страница 35: ...only the error message is sent to the host but AS i is still running Like the advanced diagnostics the parameterization offline phase on configura tion error is also supported by AS i Control Tools Command Characteristics Offline because of configuration error There are two options to reset the error message OFFLINE BY LOS 1 Deleting the complete LOS list on the affected AS i network CLEAR ALL 2 P...

Страница 36: ...s Noises is indicated on the master s display as well as in AS i Control Tools 9 4 4 Over voltage Detector Over voltages are present if the conductors of an AS i network that normally are routed electrically symmetrical with respect to machine ground are strongly elec trically raised A cause can for example be startup procedures of large consum ers However over voltages do generally not interfere ...

Страница 37: ...n more com plex applications the C programmable Gateways make the work of the PLC easi er for example by pre processing special functions 9 5 2 Interchangeable memory card Main menu SETUP CHIPCARD AS I CHIPCARD Interchangeable memory card redundant memory for C program and device con figuration 9 5 3 Earth fault monitor Main menu DIAGNOSE ASI WATCHDOG The new earth fault monitor allows the service...

Страница 38: ...splay both the maximum current and the current actually present in the respective AS i circuit Heavy consumers or a strong overload in an AS i circuit are then easy to detect Plus you can set the maximum current in the AS i circuit on these devices This ensures line protection even when using large 24V power supplies 1 Earth fault sen EFLT Ratio AS i 2 AS i DC Voltage 1 31 3V EFLT Ratio AS i 100 A...

Страница 39: ...eaningful assis tance towards rapid troubleshooting The fuse resets itself periodically to check if the error is solved The measured current value is available as diagnostic information at the field on the display and at the control level 9 5 6 AS i Power24V capable Main menu SETUP ASI POWER Gateways for AS i Power24V have been developed especially for use in small systems They don t need any spec...

Страница 40: ...within reach 9 5 8 Transitionless operating mode changes Main menu SETUP MODE CHANGE These devices are able to change the operating mode from projecting mode to the protected operating mode without having to first go to the offline phase This means the Slave outputs are not cleared and the safe Slaves not turned off Activation and deactivation is set using the PROFIBUS start parameterization This ...

Страница 41: ...address will only be set if AS i masters are used which also support these functions EC flags high and AS i watchdog bit 0 periphery fault bit 1 bit 2 failure 24 VAUX option safety monitor bit 3 failure redundant 24 V AUX option single master bit 4 earth fault bit 5 over voltage bit 6 noise bit 7 duplicate address EC flags low bit 0 configuration error bit 1 slave with address 0 detected bit 2 aut...

Страница 42: ... periphery fault If a double master is being used the data for AS i circuit are transmitted in the user parameter bytes 4 to 6 For circuit 2 3 additional bytes are added 10 1 1 1 Diagnostic description for VBG PB K20 D BV DP diagnostics single master 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 h...

Страница 43: ... 9 3 slot 4 10 4 spec 4 11 5 ec flags high circuit 1 4 12 6 ec flags low circuit 1 4 13 7 delta 0 7 circuit 1 4 14 8 delta 8 15 circuit 1 4 20 14 delta 56 63 circuit 1 4 21 15 LPF 0 7 circuit 1 4 28 22 LPF 56 63 circuit 1 4 29 23 reserved 4 36 30 reserved 4 37 31 ec flags high circuit 2 4 38 32 ec flags low circuit 2 4 39 33 delta 0 7 circuit 2 4 40 34 delta 8 15 circuit 2 4 46 40 delta 56 63 circ...

Страница 44: ...ouble masters are used is the entry circuit 2 available in the AS i flags delta list and LPF DP diagnostics Byte description 1 station state 1 2 station state 2 3 station state 3 4 Master address 5 ident high 6 ident low Tab 10 4 AS i flags Byte description 1 0x06 header 2 0xA0 circuit 1 0xA1 circuit 2 type 3 0x00 slot 4 0x00 spec 5 EC flags high 6 EC flags low Tab 10 5 Delta list Byte description...

Страница 45: ... within the diagnostic telegram 12 delta 56 63 LPF Byte description 1 0x0C header 2 0xA4 circuit 1 0xA5 circuit 2 type 3 0x00 slot 4 0x00 spec 5 LPF 0 7 6 LPF 8 15 12 LPF 56 63 Tab 10 7 Delta list Byte description Tab 10 6 DP parameters single master PDU byte user byte DP DP V1 user default 1 Station_Status 4 2 WD_Fact_1 4 3 WD_Fact_2 4 4 min Tsdr 4 5 Ident High 4 6 Ident Low 4 7 Group_Ident 4 8 1...

Страница 46: ... 3 WD_Fact_2 4 4 min Tsdr 4 5 ident high 4 6 ident low 4 7 Group_Ident 4 8 1 DPV status 1 4 8016 9 2 DPV status 2 4 0016 10 3 DPV status 3 4 0016 11 4 user byte 1 circuit 1 4 0B16 12 5 user byte 2 circuit 1 4 0616 13 6 user byte 3 circuit 1 4 0016 14 7 user byte 1 circuit 2 4 0B16 15 8 user byte 2 circuit 2 4 0616 16 9 user byte 3 circuit 2 4 0016 Tab 10 9 user byte 1 27 26 25 24 23 22 21 20 LPF D...

Страница 47: ...smitted F 1 EC flags will be transmitted in the diagnostics 0 EC flags will not be transmitted FD If this bit is set the PROFIBUS diagnostics is refreshed only if the PROFIBUS norm dictates this freeze diagnostics In doubt the data of the PROFIBUS masters diagnostics are not up to date CS 1 ExtDiag will be set if the LCS is not empty 0 ExtDiag will not be set if the LCS is not empty PF 1 ExtDiag w...

Страница 48: ...pecific data bytes describe the which type ID is The GSD file offers here several combinations several lengths for transmitting I O date command interface management and analog data Therefore the analog data can be transmitted directly in the process data channel and do not have to be requested by the slower DP V1 commands Maximally 8 modules can be configurated The detailed possibilities Informat...

Страница 49: ...scription Tab 10 14 Information 2 command interfaces can be intergrated Length description 2 bytes management command interface 4 bytes management command interface 8 bytes management command interface 11 bytes management command interface 12 bytes management command interface 34 bytes management command interface 36 bytes management command interface Tab 10 16 Length description 24 bytes analog i...

Страница 50: ...laves 25 31 88 bytes analog output slaves 21 31 120 bytes analog output slaves 17 31 128 bytes analog output slaves 16 31 16 bytes analog output slaves 14 15 Tab 10 18 Length description 2 bytes 128 bytes analog input data circuit 1 dynamic1 1 Module parameters necessarily 2 bytes 128 bytes analog output data circuit 1 dynamic1 2 bytes 128 bytes analog input data circuit 2 dynamic1 2 bytes 128 byt...

Страница 51: ...6 26A slave 27 27A 14 slave 28 28A slave 29 29A 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 28...

Страница 52: ...ration active 1 configuration inactive Offline 0 online 1 offline LOS Master Bit 0 offline by configerror deactivated 1 offline by configerror activated EC flags high and AS i watchdog bit 0 periphery fault bit 1 bit 2 failure 24 VAUX option safety monitor bit 3 failure redundant 24 V AUX option single master bit 4 earth fault bit 5 over voltage bit 6 noise bit 7 duplicate address EC flags low bit...

Страница 53: ... area Therefore accessing analog data is as easy as accessing digital data 10 1 3 3 Command interface Only using the IDs of the process data field the PROFIBUS gateway can be used as M0 AS i master By using the command interface see chap DP V1 the functions of a M3 master become available Information A slaves map the data on channels 1 and 2 B slaves map the data on channels 3 and 4 16 bit data by...

Страница 54: ...e both for the integrated Safety Monitor and for 2nd generation Monitors The state of the outputs and the message outputs is then inserted as a cyclical in put datum 36 request parameter byte 34 Response byte 27 26 25 24 23 22 21 20 1 command mirrored 2 result 3 response parameter byte 1 36 response parameter byte 34 Tab 10 24 1 A T bit toggle bit is only needed to execute two commands directly on...

Страница 55: ... 0 3 state or color description 0016 green permanent lighting output on 0116 green flashing delay time is running at stop category 1 0216 yellow permanent lighting start up restart disable active 0316 yellow flashing external test necessary acknowledgement start delay active 0416 red permanent lighting output off 0516 red flashing error 0616 grey or off output not projected 0716 reserved Bit 6 sta...

Страница 56: ...ue to the SPC3 MSC1 inputs data outputs data single master 288 bytes1 doppel master 272 bytes2 diagnosis 62 bytes parameter single master 53 bytes doppel master 88 bytes configuration3 32 bytes SetSlaveAddress 4 bytes MSAC1 SAPs PDU 1 72 bytes4 MSAC2 SAPs PDU 2 72 bytes5 Tab 10 28 1 The maximum length of the input and output data can vary up to 288 bytes input or output data if the I M information...

Страница 57: ...ion of the AS i network Connection Setup Connect the device to the PC via its serial interface and the diagnostic inter face Start AS i Control Tools Select l Master New Information AS i Control Tools must be installed first This way the device driver is copied into the previous designed folder in AS i Control Tools and should be recognized automatically Information To operate the software you nee...

Страница 58: ...agnostic Interface Stainless Steel Gateways and con firm with OK If the IP address of the gateway is known enter it directly Otherwise use the button Search and Configure The found available Gateways can be selected via the pulldown menu Curr IP Address connection parameters can be configured via the Settings button ...

Страница 59: ...ntrol Tools 26 9 2013 59 Select between TCP IP Configuration via DHCP or enter the values manu ally Apply the values using the button Apply and Activate AS Interface configuration Hinweis A detailed description of the software see the help function of the AS i Control Tools ...

Страница 60: ...S i slave address using the function AS i SLAVE ADDR func tion from the submenu SETUP on the VBG PB K30 D S For more detailed in formation refer to chapter Operating in advanced Display Mode Information This example shows the start up of the AS i 3 0 PROFIBUS Gateway in Stainless Steel VBG PB K30 D S a Siemens S7 300 programmable logic controller The start up is the same with new range of devices ...

Страница 61: ...nnected on the PROFIBUS as the last station the termination resistor on the PROFIBUS plug must be enabled 12 2 SIMATIC Step 7 Configuration The remainder of this description presumes that a SIMATIC Step7 project has been created and added to an S7 300 Now the hardware configuration must be opened for this SIMATIC 300 station 12 2 1 Configuration of the Hardware Before configuring the hardware the ...

Страница 62: ...B K20 DMD 576 A1745 gsd to the hardware catalog After successful installation of the GSD file you may now open the hardware cata log The modules contained under SIMATIC 300 3 profile rail 4 power supply e g PS 307 5A 5 CPUe g CPU 315 2 DP are added to the project When selecting the CPU module note the correct hard ware version identifiable by the imprint of the part number at lower left and the fi...

Страница 63: ...sired 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 DP Master The CPU PROFIBUS DP Properties can be used to display the properties for the PROFIBUS Clicking on the Settings button displays the PROFIBUS settings Profile DP is generally used as the PROFIBUS profile ...

Страница 64: ...rameters us ing the profile Properties PROFIBUS Network settings Profile User defined 12 2 2 Insert AS i 3 0 PROFIBUS Gateway in Stainless Steel Once the SIMATIC hardware has been added to the hardware configuration and the PROFIBUS configured you can add the VBG PB K30 D S to the project After successfully installing the GSD file VBG PB K20 DMD 576 A1745 gsd you will find the VBG PB K30 D S in th...

Страница 65: ... i circuit you have and on the desired communication pos sibilities For simple transmission of the data bits in an AS i circuit with AS i standard sen sors in the I O area of the SIMATIC CPU use the module 16 Byte Digital In Out 0 31 With this module 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...

Страница 66: ...3 0 Command Interface In order to send the analog values for AS i slaves directly the modules can be used with the keyword Analog The value in parentheses indicates which ad dress range is to be used for the AS i Analog slaves For modules nn Byte Analog In n Sl and nn Byte Analog Out n Sl the AS i address of the analog slave can be freely selected When adding the VBG PB K30 D S VBG PB K30 D S 485_...

Страница 67: ...phic At this point the desired PROFIBUS communication module should be parameter rised This is done in the following steps 1 Select the VBG PB K30 D S by clicking on the Slave icon In the lower edge of the screen a table is shown which contains lines beginning with Slot 0 2 Select the desired communication module Flags Fault Detector from the hardware catalog These flags use the individual bits to...

Страница 68: ...ay in Stainless Steel Appendix Example for startup on a Siemens S7 3 Drag the selected communication module to the table line for Slot 0 4 Select the desired communication module from the hardware catalog Here 16 Byte Digital In Out 0 31 ...

Страница 69: ...unication module to the table line for slot 1 6 If desired you can now place additional modules for the command interface and analog value transmission in the following slots 7 Double clicking on the desired slot line opens a dialog window in which you can assign the PROFIBUS communication module to the address range of the CPU ...

Страница 70: ... K30 D S takes place in out the CPU address range Input output data image byte 0 to 15 12 2 4 AS i 3 0 PROFIBUS Gateway in Stainless Steel parameters The VBG PB K30 D S is symbolically represented as a rectangular window con nected with the PROFIBUS branch Double clicking in the upper line of this win dow 3 P F 15 opens the dialog window for the properties of this PROFIBUS slave ...

Страница 71: ...e SFC13 diagnostic request At this address you can use the standard function SFC13 to read out the PROFIBUS diagnostic data of this DP slave while running When invoking SFC13 note that the diagnostic address must be parameterized as a hexadecimal value For example Diagnostic address 1022 W 16 3FE Clicking on the Parameterize tab displays the possible settings for the PROFI BUS start parameters ...

Страница 72: ...uration 12 2 4 2 Device specific parameters Acyclic Communication Turning acyclic PROFIBUS DP communication on off according to the DPV1 standard Default Communication turned on according to DPV1 AS i Flags Specifies whether the AS i flags are sent in the PROFIBUS diagnostic Default Transmission in the PROFIBUS diagnostic data List of Configuration Errors The VBG PB K30 D S saves a list of all AS ...

Страница 73: ...US data reply By setting this flag the Profibus DP slave tells the PROFIBUS master that there is an error condition and that the diagnostic data are being updated In the case of the S7 controller invoking of the OB82 is triggered when an ExtDiag flag is set If the latter is not present the controller is stopped Setting this ExtDiag flag can be suppressed using this parameter Consequently no interr...

Страница 74: ...the PROFIBUS standard AS i Input Change Buffers Default Disabled Download Slave Parameters Based on this entry the parameter bits can be downloaded for each AS i slave These are then sent to the connected AS i slave when the AS i cycle is started Sending of the set parameters bits can be disabled with this value Default Sending of the AS i parameter bits enabled AS i Parameter Slave 1 1A The param...

Страница 75: ...AS i 3 0 PROFIBUS Gateway in Stainless Steel Appendix Example for startup on a Siemens S7 26 9 2013 75 ...

Страница 76: ... done in this example directly to the process image no additional Step7 program is needed for data refreshing Therefore there is no program code in OB1 OB1 Cyclical program block Access to the AS i data is via the parame terized address space in the in outputs process image OB82 PROFIBUS diagnostic alarm This OB is invoked as soon as a PROFIBUS slave has set the ExtDiag flag in the telegram reply ...

Страница 77: ...ags Fault Detector Bit 0 Configuration error Bit 1 Slave with address ZERO detected Bit 2 Automatic addressing not possible Bit 3 Automatic addressing available Bit 4 Projecting mode active Bit 5 Not in normal mode Bit 6 AS i Power Fail Bit 7 AS i Master is offline Bit 8 Peripheral error Bit 9 reserved Bit 10 reserved Bit 11 reserved Bit 12 Earth fault Bit 13 Overvoltage Bit 14 Noise Bit 15 Double...

Страница 78: ...or example the AS i data for the AS i slave having Address 12 occu py bits 7 4 in I O byte 8 of the controller Assignment of the I O address and AS i slave address Address byte Bits 7 4 Bits 3 0 I O byte 2 flags slave 1 I O byte 3 slave 2 slave 3 I O byte 4 slave 4 slave 5 I O byte 5 slave 6 slave 7 I O byte 6 slave 8 slave 9 I O byte 7 slave 10 slave 11 I O byte 8 slave 12 slave 13 I O byte 9 sla...

Страница 79: ...is may result for example from incorrect parameterizing of the AS i slave AS i Configuration Active Bit 7 0 AS i configuration is active 1 AS i configuration is inactive This bit indicates whether the AS i gateway is in protected mode Bit 7 0 or in projecting mode 12 2 6 2 AS i flags byte 0 output bits 7 4 Output bits 7 4 in byte 0 can be used to affect the status of the AS i circuit by the contro...

Страница 80: ...n by the controller AS i Protected Mode Bit 6 0 no action 1 turn on protected mode of AS i Master After successful configuration of the AS i Master through the command interface the AS i Master can be switched back to protected mode The rising edge is used for switching After Bit 7 0 in the input flags has indicat ed that the AS i Master is in configuration mode output bit 7 must be reset again by...

Страница 81: ...2 At the same time the event is written to the diagnostic buffer of the CPU If the message for the ExDiagFlag is turned off in the PROFIBUS parameters no PROFIBUS message is generated and OB82 is not activated This is always rec ommended for applications which do not have to respond immediately to an error using OB82 In such cases the status can be processed using the message bit of the AS i Flags...

Страница 82: ...3 0 PROFIBUS Gateway in Stainless Steel Appendix Example for startup on a Siemens S7 The diagnostic address here 1022 refers to the specification in the hardware specification of the S7 with respect to the VBG PB K30 D S ...

Страница 83: ... messages in the diagnostic buffer of the CPU and invoking of the OB82 is a consequence of the set ExtDiag flag for an error in the AS i 3 0 PROFIBUS Gateway in Stainless Steel This can be prevented by turning off the ExtDiag flag in the PROFIBUS parame ters of the VBG PB K30 D S The errors can be responded to by the controller by querying the AS i flag in the input data This means a configuration...

Страница 84: ...cient to check the AS i flag Config Error in the program sequence The same applies to the other messages If the message for various error states of the VBG PB K30 D S is activated via the PROFIBUS and if the data for the PROFIBUS diagnostic data are enabled the SIEMENS function module SFC13 can be used to retrieve the PROFIBUS di agnostic data of the AS i Gateway and save them to a data module Use...

Страница 85: ...a short time AS i power failure occurred 40 The AS i master is in offline 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 68 Hardware error disturbed internal communication 69 Hardware error disturbed internal communication 70 Hardware error The AS i master s EEPROM cannot be written 71 Wrong PIC type 72 H...

Страница 86: ...y 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 volatile in the slave 94 Error while changing the slave address in protected operating mode Slave has wrong configuration data 95 The error 95 is caused by a superfluous slave and not by a missing slave That is why the slave address is occupied by this su...

Страница 87: ...rent configuration of the slave De pending on the mode protected mode or configuration mode and on the current configuration the detected slave will be activated After each data exchange with all AS i slaves exactly one inquiring call is sent to one slave address Hence the AS i cycle always includes one more telegram than the number of activated slaves LAS Autoprog flags Auto Address Enable flag f...

Страница 88: ...n are activated Also see configuration mode This mode is intended for normal operation since all AS i protective measures are activated ID code The ID code is set by the slave manufacturer and cannot be changed The AS i Association determines the ID codes which are assigned for a particular class of slaves For example all A B slaves have ID code A ID1 Code extended ID1 code The ID1 code is set by ...

Страница 89: ...n of the connected slaves do not match A configuration error could be due to the follow ing Missing slave A slave entered in the LPS is not available Wrong type of slave The slave profile of the connected slave does not comply with the configuration Unknown slave A connected slave is not entered in the LPS LAS List of Activated Slaves The master exchanges I O data with the slaves entered in the LA...

Страница 90: ...om the actual configuration a configuration error exists Permanent parameter The parameters saved in the master and sent to the slave after startup of the master during the activation phase Configuration mode During the configuration mode the master exchanges data with all connected slaves no matter which of the slaves were configured Thus in this mode it is possible to operate a system without th...

Страница 91: ...OFIBUS Gateway in Stainless Steel Glossary 26 9 2013 91 AS i 2 0 slaves do not have extended ID1 and ID2 codes A 2 1 or 3 0 AS inter face master enters in this case an F for each of the extended ID1 and ID2 codes ...

Страница 92: ...9 2013 92 AS i 3 0 PROFIBUS Gateway in Stainless Steel Reference List 15 Reference List 15 1 Manual AS i 3 0 Command Interface This Manual contains a detailed description of the AS i 3 0 Command Interface ...

Страница 93: ......

Отзывы: