68
1 Gateway InterBus-S MG.10.G1.51 – VLT is a registered Danfoss trademark English Deutsch Part 1 Part 1 Part 1 Part 1 Part 1 Overview Overview Overview Overview Overview ............................................................................... ............................................................................... ............................................................................... ............................................................................... ............................................................................... 2 Part 2 Part 2 Part 2 Part 2 Part 2 Pr Pr Pr Pr Properties of PROFIBUS-DP operties of PROFIBUS-DP operties of PROFIBUS-DP operties of PROFIBUS-DP operties of PROFIBUS-DP .............................................. .............................................. .............................................. .............................................. .............................................. 3 Configuration of the frequency converter .............................. 4 Notes concerning programming ............................................ 5 Control word ................................................................... 5 Reference/Actual value ................................................... 5 Parameterization ............................................................. 5 Parameter interface in Write.Request .............................. 6 Parameter interface in Read.Request ............................. 7 Part 3 Part 3 Part 3 Part 3 Part 3 Pr Pr Pr Pr Properties of the Interbus-S operties of the Interbus-S operties of the Interbus-S operties of the Interbus-S operties of the Interbus-S ............................................... ............................................... ............................................... ............................................... ............................................... 9 ID-Code ................................................................................. 9 Length codes ........................................................................ 9 PCP Communication ........................................................... 10 Communication objects ............................................... 10 Communication reference list .............................................. 13 Error reports in PCP Communication .................................. 13 Part 4 Part 4 Part 4 Part 4 Part 4 Technical data echnical data echnical data echnical data echnical data .................................................................... .................................................................... .................................................................... .................................................................... .................................................................... 14 14 14 14 14 Example of installation ........................................................ 14 Connection of the PROFIBUS bus wire ............................... 15 Connection of the Interbus-S bus wire ................................ 15 Messages ............................................................................ 16 Operating units .................................................................... 16 Terminals and connectors ................................................... 16 Housing ............................................................................... 16 Part 5 Part 5 Part 5 Part 5 Part 5 Example of pr Example of pr Example of pr Example of pr Example of program for Siemens S5-115U ogram for Siemens S5-115U ogram for Siemens S5-115U ogram for Siemens S5-115U ogram for Siemens S5-115U ..................... ..................... ..................... ..................... ..................... 17 17 17 17 17 Index Index Index Index Index ................................................................................... ................................................................................... ................................................................................... ................................................................................... ................................................................................... 33 33 33 33 33 Contents

Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

  • Upload
    others

  • View
    37

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

1

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Part 1Part 1Part 1Part 1Part 1 ■ OverviewOverviewOverviewOverviewOverview ........................................................................................................................................................................................................................................................................................................................................................................................................... 22222

Part 2Part 2Part 2Part 2Part 2 ■ PrPrPrPrProperties of PROFIBUS-DPoperties of PROFIBUS-DPoperties of PROFIBUS-DPoperties of PROFIBUS-DPoperties of PROFIBUS-DP ...................................................................................................................................................................................................................................... 33333

Configuration of the frequency converter .............................. 4Notes concerning programming ............................................ 5

Control word ................................................................... 5Reference/Actual value ................................................... 5Parameterization ............................................................. 5Parameter interface in Write.Request .............................. 6Parameter interface in Read.Request ............................. 7

Part 3Part 3Part 3Part 3Part 3 ■ PrPrPrPrProperties of the Interbus-Soperties of the Interbus-Soperties of the Interbus-Soperties of the Interbus-Soperties of the Interbus-S ........................................................................................................................................................................................................................................... 99999

ID-Code ................................................................................. 9Length codes ........................................................................ 9PCP Communication ........................................................... 10

Communication objects ............................................... 10Communication reference list .............................................. 13Error reports in PCP Communication .................................. 13

Part 4Part 4Part 4Part 4Part 4 ■ TTTTTechnical dataechnical dataechnical dataechnical dataechnical data .................................................................................................................................................................................................................................................................................................................................................... 1414141414

Example of installation ........................................................ 14Connection of the PROFIBUS bus wire ............................... 15Connection of the Interbus-S bus wire ................................ 15Messages ............................................................................ 16Operating units .................................................................... 16Terminals and connectors ................................................... 16Housing ............................................................................... 16

Part 5Part 5Part 5Part 5Part 5 ■ Example of prExample of prExample of prExample of prExample of program for Siemens S5-115Uogram for Siemens S5-115Uogram for Siemens S5-115Uogram for Siemens S5-115Uogram for Siemens S5-115U ......................................................................................................... 1717171717

■ IndexIndexIndexIndexIndex ............................................................................................................................................................................................................................................................................................................................................................................................................................... 3333333333

Co

ntents

Page 2: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

2 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

For communication on the PROFIBUS-DP,there is a choice between PPO Types 1(Process data and parameter interface) orPPO Types 3 (process data only). Processdata is handled as I/Os, i.e. it is availablefor the user in the I/O-area of the PLC andis transmitted with

every InterBus-S-cycle.Parameterization of the VLT® via the para-meter interface is effected via PCP Com-munication.

Ove

rvie

w OverviewThe purpose of the InterBus-S /PROFIBUS-DP-Gateway is to enable theDanfoss VLT® 5000 Frequency Converterto be operated with the Field Bus systemInterBus-S. For this purpose, theGateway converts the InterBus-STelegrams to PROFIBUS-DP-Telegrams,which are then transmitted to the VLT®.

Reporting back occurs in the same way.The Gateway converts the PROFIBUS-DP-Telegrams from the VLT®, which arethen tranmitted to the master via theInterBus-S.

■ The Gateway enables connection of up to14 VLT® 5000 with a PROFIBUS OptionCard. The Gateway sends continuous in-formation of the selected PPO Type withthe actual process data block and theactual parameter block to the VLTs.

As is usual with InterBus-S, connection ofthe Gateway occurs in the form of aremote bus participant. However, thisdoes not convert to the InterBus-S LocalBus, but to PROFIBUS-DP. This alsomeans that the well-known limitations ofthe local buses, such as max. 8 nodes,ready-made bus wire, maximum extension8 metres, etc., no longer apply.

Page 3: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

3

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Properties of the PROFIBUS-DPA maximum of 14 VLTs can be linked up -using the PPO Type1 (12Byte) or the PPOType3 (4Byte). The selection of PPO Typegoes for all VLTs; mixed operation is notpermissible and will lead to an errorreport.The InterBus-S in-/output data isprojected on the PROFIBUS-DP withoutany interpretation being offered. With oneexception, bit 10 of the control word(CW), is inverted. This ensures that whenthe PLC moves to Stop and resets alloutputs, the connected VLTs will stop,too; also, when the InterBus-Scommunication starts, it is ensured thatthe VLT® 5000 remain stopped.

Pro

perties o

f PR

OF

IBU

S-D

P-P

age

■ The PPO Type1 allows parameterization ofthe VLTs, retrieval of all values and para-meters - including fault and diagnosticdata, as well as control of the VLT® withreporting back on its actual state.The PPO Type3, on the other hand, allowsonly control and reporting back on thestate of the VLT®.With respect to the functioning and hand-ling of the parameter interface in PPOType1, please refer to the manual onPROFIBUS Option Cards for VLT® 5000.The baudrate on the PROFIBUS-DP is1.5Mbaud, which means that themaximum bus cable length is 100 m.Further information is available from thePROFIBUS manual for VLT® 5000.

!!! IMPORTANT !!!Before inserting the PROFIBUS Option Card, the VLT® should be turned on andparameter 620 should be set to "Initialize". Subsequently, remove the power andinsert the PROFIBUS Option Card. When the unit is turned back on, newinitialization is effected automatically. Be aware that all parameters will be set toFactory setting!If this sequence is not possible, or if the PROFIBUS Option Card has alreadybeen inserted, the keys DISPLAY/STATUS + MENU + OK must be pressedsimultaneously before turning on the VLT®; subsequently, turn on the power andkeep the three keys pressed until the message "Manual Initialize" appears in thebottom line of the display window (see page 136 in MG.50.AX.02).

Page 4: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

4 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Configuration of the frequencyconverter

The following parameters are to be setor checked, respectively:

Parameter 502-508Motor coasting, quick-stop, DC-braking, start, reversing, reset, setupselection, selection of digital refe-rence,this is where to decide if control is goingto be via "BUS""BUS""BUS""BUS""BUS" only or via "Digital In-"Digital In-"Digital In-"Digital In-"Digital In-put"put"put"put"put" only, or via a combination of thetwo. In the case of BUS-selection only,all parameters should be set to "BUS""BUS""BUS""BUS""BUS" atthis point.

Parameter 512Telegram profilethis is where to select the telegram Prof-ile, the profiles are descriped in thePROFIBUS manual for VLT® 5000.Danfoss recommend to use Danfossprofile.

Parameter 801Baudrateenter the Bus-Baudrate selected for yourGateway, or leave the rate at "1.5"1.5"1.5"1.5"1.5MBAUD". MBAUD". MBAUD". MBAUD". MBAUD". At present, the Gatewaybaudrate has been set at a fixed rate of1.5Mbaud.

Parameter 800FMS/DP-selection,this is where to set "DP""DP""DP""DP""DP"; This is thefactory setting.

Parameter 803Bus time out,this time selection determines the delay

after a BUS drop-out before a reactionfrom the frequency converter is to ensue.

Parameter 804Bus time out function,select the reaction after a BUS drop-out.

Parameter 904PPO select,enter the telegram desired, e.g. for PPOType1 enter "PPO type1", for PPO Type3enter "PPO Type3". The PPO types aredescriped in the PROFIBUS manual forVLT® 5000.

Parameter 918Station address,this is where the station address isselected. The range of operation of theGateway is from 1-14, with attentionhaving to be given to throughgoingaddressing. The address range basicallybegins at "1" and ends at the address ofthe maximum number of units available.This physical position at the BUS has noinfluence on addressing.

Parameter 927Access to parameter change,this is where to select whether the para-meter can be altered via the BUS,("Enable"("Enable"("Enable"("Enable"("Enable"), or whether this possibility is tobe disabled ("Disable")("Disable")("Disable")("Disable")("Disable").

Parameter 928to process control,like 927, although this is where it is to bedecided whether control is going to be ef-fected via the PROFIBUS ("Enable")("Enable")("Enable")("Enable")("Enable") ornot ("Disable"("Disable"("Disable"("Disable"("Disable").

The parameters set on the VLT®

are not activated until thepower supply has been cut offand re-cycled.

All other parameters are to be set inaccordance with the intended application,as described in the product manual.

Pro

per

ties

of

PR

OF

IBU

S-D

P ■

Page 5: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

5

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

ParameterizationParameterization via the Bus is onlypossible if using PPO Type1.Parameterization is effected via PCPCommunication. The procedure is asfollows:

Order to Report fromIBS-master: VLT® to master:

Write.Request ConfirmationpositiveConfirmationnegative, reportingof error code

Read.Request Confirmationpositive includesthe data of therequested parame-ter of the VLT®

Confirmationnegative, reportingof error code

Notes concerning programming:The frequency converter can now be con-trolled via the BUS; this is effected simplythrough setting or reading of I/O-Bits.

Control wordAs opposed to what is said in the productmanual about the PROFIBUS OptionCard, bit number 10 has to be set at "0"to enable control. This will ensure that theVLT® accepts the control word. TheGateway automatically converts this bit toa "1".

The control word for:starting forward is047F047F047F047F047F Hex or 0000 0010 0111 1111.0000 0010 0111 1111.0000 0010 0111 1111.0000 0010 0111 1111.0000 0010 0111 1111.starting reverse is847F847F847F847F847F Hex or 0100 0100 0111 1111.0100 0100 0111 1111.0100 0100 0111 1111.0100 0100 0111 1111.0100 0100 0111 1111.stopping with normal ramp (Param. 208) is044F044F044F044F044F Hex or 0000 0100 0100 1111,0000 0100 0100 1111,0000 0100 0100 1111,0000 0100 0100 1111,0000 0100 0100 1111,stopping with alternative ramp (Param.210) is 064F064F064F064F064F Hex or 0000 0110 01000000 0110 01000000 0110 01000000 0110 01000000 0110 01001111.1111.1111.1111.1111.

Reference/Actual valuesThe reference and the actual value of theVLT® returned are handled in a norm-setformat. The setting range goes from-10000 for -100.00% up to +10000 for+100.00%. The 100.00% corresponds to4000 hex. Negative reference aregenerated through the two's complement.

Example:Min.frequency = 0Hz;Max.frequency = 50HzDesired is 25Hz corresponding to 50% ofthe max. rpm:50.00% = 2000 hex =0010 0000 0000 0000Binary

For 25Hz with reversing = -50% of themax. rpm:50.00% = 2000 hex =0010 0000 0000 0000Binaryreversal of a positive to a negative desiredvalue:

0010 0000 0000 0000 Binary -> 1101 1111 1111 1111 Binary One's complement -> + 1 Binary = 1110 0000 0000 0000 Binary Two's complement-50.00% = E000 hex = 1110 0000 0000 0000Binary

If you would like to know more aboutcontrol word, state-machine, referencevalue, etc, please consult the product ma-nual for the PROFIBUS Option Card.

Pro

perties o

f PR

OF

IBU

S-D

P

Page 6: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

6 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Parameter interface inWrite.RequestThe parameter interface (PCV) of the VLT®

5000 contains a total of 4 words. Thisenables reading and writing of parame-ters, reading of arrays, writing, etc.

The parameter interface can be detailedas follows:1. Word (Parameter-Identification-Value,PCA); in the lower 11 bits (bits 0..10) enterthe parameter number, in the upper fourbits (bits 12..15) select the desired action.

2. Word (Index/Subindex, IND); the byte"Index" is only used if wanting to useelements of an array. In this case, enterthe index of the element in question. Innormal parameter actions, this byte is notused. The byte subindex is intended forsubsequent extensions and is not used atthis point.

3. + 4. Word (Parameter Value, PVA); inthe case of write action, this is where thevalue of the selected parameter is ente-red. The third word is the High-Word; thefourth word is the Low-Word. The thirdword is only used if parameter valuesabove 65535 are to be transmitted.Since values are not transmitted incomma format, each parameter valuemust be multiplied by a factor. The para-meter factor in each case can be seenfrom the manual for the PROFIBUS OptionCard.

Example:In VLT® 5000, with bus address 2, theparameter 202 maximum frequency is tobe changed to 80 Hz,

PCA: 20CA

Parameter CA hex = 202

Action 2 = Change parameter value

IND: 0000

no Subindex

no Index

PVA: 0000 0320

Parameter value_low =

320 hex = 800 = 80.0 x Factor 10

Parameter value_high = 0

Pro

per

ties

of

PR

OF

IBU

S-D

P ■

Page 7: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

7

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Write.RequestNo. of subsequent values

invoke_id CommunicationsReference

indexVLT®-Address No. of Bytes

PCAIND

High_Parameter valueLow_Parameter value

8082007

00 02

5FA502 08

20CA000000000320

The request on the PCP channel nowlooks as follows:All values in hex.

Successful completion is indicated in theform of a positive confirmation.

If all VLTs are to be parameterized at thesame time, a zero is to be entered insteadof the VLT-address.

Parameter interface inRead.RequestResponses from the VLT® to an orderinitiated previosly via Write.Request. Datais only available in the case of a positiveconfirmation; if there is a negativeconfirmation, an error code is reported.

1. Word (Parameter-Identification-Value,PCA); in the lower 11 bits (bits 0..10) theVLT® enters the parameter number; in theupper four bits (bits 12..15) the type ofresponse appears.

2. Word (Index/Subindex, IND); the byte"Index" is only entered if elements of anarray have been accessed. In normal pa-rameter actions, this byte is not used. Thebyte subindex is intended for subsequentextensions and is not used at this point.

Pro

perties o

f PR

OF

IBU

S-D

P

Now the length of the data has to beentered; since, however, this is only pre-pared for the maximum layout, a length of112 bytes has to be entered here. Nowfollows the data of the VLTs, in the se-quence of their addresses.

3. + 4. Word (Parameter value, PVA); thisis where the VLT® enters the value of theselected parameter. The third word is theHigh-Word; the fourth word is the Low-Word. The third word is only used if para-meter values above 65535 have beentransmitted.Since the values to be transmitted are nottransmitted in comma format, the indivi-dual parameter value must be divided by afactor to obtain the actual value. The indi-vidual parameter factor can be seen in themanual for the PROFIBUS Option Card.

Page 8: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

8 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

After completion of the Read.Request, thefollowing data is obtained:

PCV: 10CAParameter CA hex = 202Action 1 = Transmission of

parameter valueIND: 0000

no Subindexno Index

PVA: 0000 0320Parameter value_low =320 hex = 800 =80.0 x Factor 10Parameter value_high = 0

80810003

00 02

5FA502 00

Read.RequestNo. of subsequent values

invoke_id CommunicationsReference

indexVLT-Address No. of Bytes

Example:The response from the VLT® 5000 is to beread onto the above order transmitted viaWrite.Request.The order on the PCP Channel looks asfollows:All values in hex.

Pro

per

ties

of

PR

OF

IBU

S-D

P

Page 9: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

9

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Properties of InterBus-S

ID-CodeThe ID-Code of the Gateway : F1hex -241dec32 words, of which:Bus width 4 to 32 words- 4 words PCP- 0 - 28 words process data channel

(2 words per VLT®) In- / Output

Length codesSince all register widths are not possible inInterBus-S, fill words have to be entered insome configurations of the gateway.Furthermore, not all InterBus-S-Mastersare able to serve a 4-word-wide PCPChannel (Firmware versions before 4.0).

In this case another 3 words have to beconsidered by the PCP Channel whencalculating the length code. The relevantlength codes for your configuration can beseen from the following table:

No. of InterBus-S Length code Length codeVLT® 5000 Bus width 1 word PCP 4 words PCP

0 4 03 hex 00 hex1 6 05 hex 02 hex2 8 07 hex 04 hex3 10 09 hex 06 hex4 12 0B hex 08 hex5 14 0D hex 0A hex6 16 0F hex 0C hex7 24 17 hex 14 hex8 24 17 hex 14 hex9 24 17 hex 14 hex

10 24 17 hex 14 hex11 32 1F hex 1C hex12 32 1F hex 1C hex13 32 1F hex 1C hex14 32 1F hex 1C hex

Pro

perties o

f InterB

us-S

Page 10: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

10 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Index: 5FA1 hexSymbol: ppo_typeData type: Unsigned8Access: Read only

PPO Type ppo_typePPO1 01 hexPPO3 03 hex

State of the frState of the frState of the frState of the frState of the frequency converterequency converterequency converterequency converterequency converter

If all VLT® set at the rotary switch worktroublefree at the bus, the two subindicescome out as zero. If there is a disturb-ance of communication, subindex1 givesthe lowest address at which a communi-cation error occurred, while subindex2provides more detailed information aboutthe error in question.

Selected PPO TSelected PPO TSelected PPO TSelected PPO TSelected PPO Typeypeypeypeype

Index: 5FA2 hexSymbol: inv_stateData type: Subindex1: Unsigned

8Subindex2: Unsigned8

Access: Read only

PCP Communication

Communication objects

Number of VLNumber of VLNumber of VLNumber of VLNumber of VLTTTTT®®®®® 5000 5000 5000 5000 5000

This enables reading of the number offrequency converters expected on thePROFIBUS side as set at the rotaryswitch. This is not necessarily the numberof frequency converters actuallyconnected.

Index: 5FA0 hexSymbol: inv_countData type: Unsigned8

This enables reading of the PPO Type setat the slide switch.

inv_state.2 Error type01 hex VLT® not found02 hex VLT® not in Data

exchange03 hex Master not active

Pro

per

ties

of

Inte

rBu

s-S ■

Page 11: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

11

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

InterBus-S Module errInterBus-S Module errInterBus-S Module errInterBus-S Module errInterBus-S Module errororororor

If an InterBus-S-Slave detects an error,the slave can report the error to theInterBus-S-Master. The master thenrejects the latest data cycle and begins anidentification cycle, by which the masterpinpoints the participant that reported themodule error.

Baudrate on the PROFIBUS-DPBaudrate on the PROFIBUS-DPBaudrate on the PROFIBUS-DPBaudrate on the PROFIBUS-DPBaudrate on the PROFIBUS-DP

This enables reading and setting of thebaudrate at which work is carried out onthe PROFIBUS-side. In order to changethe baudrate, the PROFIBUS must bestopped completely and initialized withthe new transmission speed.

Pro

perties o

f InterB

us-S

Index: 5FA3 hexSymbol: stat_errData type: BooleanAccess: Read/Write

Index: 5FA4 hexSymbol: baud_rateData type: Unsigned8Access: Read/Write

baud_rate Baudrate00 hex 9.600 Bit/s01 hex 19.200 Bit/s02 hex 93.750 Bit/s03 hex 187.500 Bit/s04 hex 500.000 Bit/s05 hex 750.000 Bit/s06 hex 1.500.000 Bit/s

At prAt prAt prAt prAt present it is not possible to setesent it is not possible to setesent it is not possible to setesent it is not possible to setesent it is not possible to setthe baudrate. The baudrate hasthe baudrate. The baudrate hasthe baudrate. The baudrate hasthe baudrate. The baudrate hasthe baudrate. The baudrate hasbeen prbeen prbeen prbeen prbeen pre-set permanently toe-set permanently toe-set permanently toe-set permanently toe-set permanently to1.5MBaud and the object can only1.5MBaud and the object can only1.5MBaud and the object can only1.5MBaud and the object can only1.5MBaud and the object can onlybe rbe rbe rbe rbe read.ead.ead.ead.ead.

Using stat_err, it is possible to selectwhether, an error on the PROFIBUS-DP-side is to trigger a module error.

stat_err = FF hex module error istriggeredstat_err = 00 hex module error is nottriggered

The pre-set value is FF hex, i.e. moduleerror is activated as error report.

Page 12: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

12 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

PCVPCVPCVPCVPCV-part of PPO1-part of PPO1-part of PPO1-part of PPO1-part of PPO1

This object services the purpose ofreading and writing the first 8 Octets(PCV-part) of PPO Type1. The 14elements of object 5FA5 hex can be readand written individually or jointly.In order to read or write the PCV-part of aconnected VLT®, the number of the VLT®

is transmitted as a subindex in addition tothe index in connection withWrite.Request. See example on page 6.

Index: 5FA5 hexSymbol: PCVData type: 14 OCTET_STRING

with 8 Octets eachAccess: Read/Write

Pro

per

ties

of

Inte

rBu

s-S WWWWWrite access:rite access:rite access:rite access:rite access:

Attempts at writing only receive a positiveconfirmation handshake if the new valueentered can in fact be entered for thefrequency converter in question, i.e. if :1. PPO Type1 is used,2. the PROFIBUS-DP-Master is in

Operate mode3. all frequency converters expected at

PROFIBUS-DP are in data exchangemode.

4. New data has been sent to and re-ceived by the PROFIBUS-DP at leastonce.

Read access:Read access:Read access:Read access:Read access:In order to return the response values ofthe VLTs, the structure must be read.The data is interpreted as a parameter andcombined with the corresponding value ofthe process data channel to form a tele-gram. A validity test is not carriedout.

Access to the two PPO objects is onlypossible in accordance with the switchsetting on the front panel, i.e. if the switchhas been set to PPO Type3, the PPOType1 object cannot be read or written.

Page 13: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

13

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Error reporting in PCPCommunicationError_Class _"Access“ (06 hex):ErrErrErrErrError Codeor Codeor Codeor Codeor Code AdditionalAdditionalAdditionalAdditionalAdditional DescriptionDescriptionDescriptionDescriptionDescription

ErrErrErrErrError Codeor Codeor Codeor Codeor Code05 hex object-attribute-inconsistentobject-attribute-inconsistentobject-attribute-inconsistentobject-attribute-inconsistentobject-attribute-inconsistent

10 hex bad-subindexbad-subindexbad-subindexbad-subindexbad-subindexThe transmitted subindex does not match the object in use

12 hex too-much-datatoo-much-datatoo-much-datatoo-much-datatoo-much-dataMore data bytes were transmitted than can be used for writingthe object

13 hex too-few-datatoo-few-datatoo-few-datatoo-few-datatoo-few-dataFewer data bytes were transmitted than were required for writingthe object

08 hex type-conflicttype-conflicttype-conflicttype-conflicttype-conflictAn attempt was made to give a variable a value outside its value range

Error_Class _Access“ (08 hex):ErrErrErrErrError Codeor Codeor Codeor Codeor Code AdditionalAdditionalAdditionalAdditionalAdditional DescriptionDescriptionDescriptionDescriptionDescription

ErrErrErrErrError Codeor Codeor Codeor Codeor Code00 hex otherotherotherotherother

1 hex not-prnot-prnot-prnot-prnot-projectedojectedojectedojectedojectedThe transmitted subindex in object PCV was bigger than thepre-set VLT® number

2 hex not-existentnot-existentnot-existentnot-existentnot-existentIn write access in object PCV at least one VLT® was not found

9 hex bad-data-valuebad-data-valuebad-data-valuebad-data-valuebad-data-valueThe transmitted data value does not match the object intendedfor use

Communication reference listThe following changes are required to theCRL (Communication reference list). Thiscan be done via the PLC or via the PCprogram SYSSWT. The procedure for aSiemens-PLC can be seen from the pro-gram example.

Maximum PDU length:high prior requests / responses: 00 hexlow prior requests / responses: 80 hexhigh prior indications /confirmations: 00 hexlow prior indications /confirmations: 80 hex

supported services:request / responses: 80 hex; 30 hex;00 hexindication / confirmation: 00 hex; 00 hex;00 hex

In server operation the following servicesare supported:get_OV_longread_variableswrite_variables

Pro

perties o

f InterB

us-S

Page 14: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

14 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Tech

nic

al d

ata Technical data

Supply voltage: 24 V-DC ±10% 240 mA

Oscillation test [g] 0,7Relative humidity [%] VDE 0160 5.2.1.2.Ambient temperature (as in VDE 0160) [°C] 0 → +60EMC Standards applied Emission EN 50081-2, EN 55011

Immunity EN 50082-2, IEC 1000-4-2,IEC 1000-4-3, IEC 1000-4-4,ENV 50140ENV 50141

Examples of connection

Page 15: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

15

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Connection of the PROFIBUSbus wireOn the last VLT® the bus terminating re-sistor must be activated; for this purpose,switches S1 on the PROFIBUS OptionCard is to be switched into the ON position.

Connection of the Interbus-Sbus wire

Pins 5 and 9 must be bridgedPins 5 and 9 must be bridgedPins 5 and 9 must be bridgedPins 5 and 9 must be bridgedPins 5 and 9 must be bridgedin the IBS IN plug, if nothing isin the IBS IN plug, if nothing isin the IBS IN plug, if nothing isin the IBS IN plug, if nothing isin the IBS IN plug, if nothing isconnected to the IBS OUT plug.connected to the IBS OUT plug.connected to the IBS OUT plug.connected to the IBS OUT plug.connected to the IBS OUT plug.(See above r(See above r(See above r(See above r(See above regaregaregaregaregarding connec-ding connec-ding connec-ding connec-ding connec-tion of the cable scrtion of the cable scrtion of the cable scrtion of the cable scrtion of the cable screen).een).een).een).een).

Techn

ical data

Note:The cable screen must be connected tothe VLT enclosure by means of the clampplaced beside the control card at the leftside of the VLT.

At the Gateway the cable screen must beconnected to the housing of the Sub-Dconnectors by means of the clamp insidethe connector.

Page 16: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

16 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Tech

nic

al d

ata Display messages

UbUbUbUbUball voltages are ok

BABABABABAInterBus-S active, Master is connectedand active

CCCCCCCCCCInterBus-S is ok, data exchange isoccurring

TRTRTRTRTRPCP transmission is in progress

DP okDP okDP okDP okDP okPROFIBUS-DP is ok, all participantsselected on the rotary switch communi-cate

DP TXODP TXODP TXODP TXODP TXOthe gateway is transmitting via thePROFIBUS-DP

Terminals and plugs3 terminals:3 terminals:3 terminals:3 terminals:3 terminals:Voltage supply 24 V-DC (+ ; -);Earth

1 SUB-D-1 SUB-D-1 SUB-D-1 SUB-D-1 SUB-D-female plug female plug female plug female plug female plug 9 pol.:9 pol.:9 pol.:9 pol.:9 pol.:PROFIBUS-DP-connection

1 SUB-D-male plug 9 pol.:1 SUB-D-male plug 9 pol.:1 SUB-D-male plug 9 pol.:1 SUB-D-male plug 9 pol.:1 SUB-D-male plug 9 pol.:InterBus-S IN

1 SUB-D-female plug 9 pol.:1 SUB-D-female plug 9 pol.:1 SUB-D-female plug 9 pol.:1 SUB-D-female plug 9 pol.:1 SUB-D-female plug 9 pol.:InterBus-S-OUT

■ ■

Operating elementsNumber of DP-SlavesNumber of DP-SlavesNumber of DP-SlavesNumber of DP-SlavesNumber of DP-SlavesHex-rotary switch for the number ofconnected VLTs, setting > 14 leads to aflashing LED "DP ok"

PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3Slide switches for the selection of PPOType1 or PPO Type3, all VLT® 3000 mustbe set to the same PPO Type.

The positions of these two switches areadopted at Power-Up. If these aredisplaced during operation, the LED"DP ok" flashes

HousingEnclosure IP20Terminal rail housing LDG-A30Dimensions: 112x100x75 (HxLxW)

Page 17: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

17

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Selection of start Operating modeand operating controlled

mode: DCB-Mode

Window 1: Basic address =

P-range upwards of 32

Length = 64 Bytes

Window 2: Basic address =

P-range upwards of 128

Length = 32 Bytes

Window 3: Basic address =

P-range upwards of 200

Example of program for SiemensS5-115UThe following example shows how thecommunication to a VLT® 5000 connectedto the gateway is controlled.

Also, in this example, the VLT® is parame-terized by way of PCP Communication.

Example layoutS5-115U with an Interbus-S-Mastermodule, IBS/DP-gateway with a VLT®

5000 that has a PROFIBUS Option Card.

Setting of the Interbus-S-Master

Required FBs(Function Blocks)For communication via PCP, the followingFCs are required - and can be obtainedfrom Phoenix:FB 60 INITIBFB 62 CON/INDFB 63 CIHFB 66 REQ/RESFB 68 CONTROLFB 69 DEFINEFB 72 ADDRESS

Exam

ple of program for S

iemens S

5-115U

Program referencesDB21DB21DB21DB21DB21is the Communication-Request-DB; this iswhere the orders for the PCP Communi-cation are supported

DB23DB23DB23DB23DB23is the Communication-Confirmation-DB;this is where the PCP Communicationenters the responses

FW 20FW 20FW 20FW 20FW 20is the activation word for PCP Communi-cation

FW 22FW 22FW 22FW 22FW 22is the reporting word for PCP Communi-cation

F 224.1F 224.1F 224.1F 224.1F 224.1activates the Download.

The ContrContrContrContrControl worol worol worol worol word for the VLd for the VLd for the VLd for the VLd for the VLTTTTT®®®®® is locatedin QW38QW38QW38QW38QW38, the DesirDesirDesirDesirDesirededededed value in QW40QW40QW40QW40QW40

The Status worStatus worStatus worStatus worStatus word of the VLd of the VLd of the VLd of the VLd of the VLTTTTT®®®®® is located inIW38IW38IW38IW38IW38, the ActualActualActualActualActual value in IW40IW40IW40IW40IW40

Starting the VLT®

The VLT® starts when the lower Bit-7 inQB39QB39QB39QB39QB39 has been set. Stopping can beachieved by zeroing of this bit. In thiscontext, there is a choice of motorcoasting, quick-stop and normal stop.

■ ■

Page 18: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

18 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Setting the PDU length in PCPOn the basis of the possibility of having 14VLTs connected to the gateway, there is aneed for an extended PDU length. Thefollowing example shows how in the SPSstart-up the PDU length can be changedin CRL. For further information concerningthe PCP Communication please see themanual for the InterBus-S-Master.All start-up components first branch intoFB210, which carries out the configu-ration of the InterBus-S-Master assembly.

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 19: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

19

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

OB 20OB 20OB 20OB 20OB 20:JU FB 210 ;Initialization of the IBS-module

NAME :ANLAUF:BE

OB 21OB 21OB 21OB 21OB 21:JU FB 210 ;Initialization of the IBS-module

NAME :ANLAUF:BE

OB 22OB 22OB 22OB 22OB 22:JU FB 210 ;Initialization of the IBS-module

NAME :ANLAUF:BE

OB1OB1OB1OB1OB1:JU FB 62

NAME :CON/INDIBDB : DB 9 InterBus Data blockCIDB : FY 18 CON/IND caption tableT : T 1 TimerTO : F 8.3 Time Out

:L KB 1:T FY 201:O F 0.0:ON F 0.0:= F 0.1::A F 224.1 Activation for Download:A F 200.5 Activation for FB1:JC FB 1 Parameterization VLT1

NAME :VLT-PARASTRC : F 200.0 Auxiliary flagSTR1 : F 200.1 Auxiliary flagSTR2 : F 200.2 Auxiliary flagRDB : DB 23 Request-DBCDB : DB 21 Confirmation-DBVLT : FY 201 VLT AddressAKTI : F 21.0 Activation for PCP CommunicationPKEW : FW 210 PCA to the VLTPARW : FW 212 Parameter value to the VLT

Exam

ple of program for S

iemens S

5-115U

Page 20: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

20 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

PKER : FW 214 PCA from the VLTPARR : FW 216 Parameter value from the VLTPCPR : F 200.3ERR : F 200.6OK : F 200.7

::O F 200.6 ;If error, reverse activation:R F 200.5::A F 200.7 ;OK-report from FB1:A F 224.1 ;Activation for Download:JC FB 2

NAME :PARAMETEPDB : DB 100 DB with Download dataCOUN: FW 220 Parameter counterANZA : KF +17 Number of parametersPKEW : FW 210 PCA to the VLTPARW : FW 212 Parameter value to the VLTOK : F 200.7 OK-report from FB1STRT : F 200.5 Start for FB1ZEIG : FW 222 Parameter indicatorINIT : F 224.0 Download initialized

::JU FB 66

NAME :REQ/RESIBDB : DB 9 InterBus Data blockRRDB : FY 19 REQ/RES caption tableT : T 3 TimerTO : F 8.4 Time Out

:BE

FB 210FB 210FB 210FB 210FB 210NAME :ANLAUF

:A F 8.0:ON F 8.0:S F 8.0 Activation bit: INITIB:S F 10.0 ADDRESS:L KY 20,22 CON/IND,REQ/RES:T FW 18 DB PCP caption tables

M002 :A F 8.0:JC FB 60

NAME :ANLAUFIBDB : DB 9 InterBus Data block

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 21: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

21

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

FEN3 : KF +200 Basic address: Window 3AV : KF +1 Controlled operation / report releasedRRST : DB 23 REQ/RES Standard DBCIST : DB 21 CON/IND Standard DBRRMW: KF +20 Activation wordCIMW : KF +22 Report wordCIFB : FY 63 Auxiliary driver CON/INDT : T 0 TimerSTEP : FY 9 Internal flag byteBUSY : F 8.0 Activation bitTO : F 8.1 Time OutRET : F 8.2 Return value

:A F 8.0:ON F 8.2:JC =M001:STS:BEU

M001 :JU FB 62NAME :CON/INDIBDB : DB 9 InterBus Data blockCIDB : FY 18 Caption-DB-CON/INDT : T 1 TimerTO : F 8.3 Time Out

: **** Change PDU length ********: change in CRL, here only !!!:L KF +8:T FY 100 Function 8:L KF +25:T FY 101 DB-Number is 25:L KF +0:T FY 102 upwards of DW 1:AN F 8.0 No BUSY-Signal from FB60:A F 10.0 Pseudo-cycle:JC FB 69 DEFINE from IBS

NAME :DEFINEIBDB : DB 9 InterBus DBT : T 5 Timer No.5FKT : FY 100 Function (8) Receive CRLDB : FY 101 DB-NumberDW : FY 102 upwards of DWBUSY : F 103.0TO : F 103.1

Exam

ple of program for S

iemens S

5-115U

Page 22: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

22 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

RET : F 103.2::AN F 103.0 No BUSY from DEFINE FB69:AN F 8.0 No BUSY from FB60:A F 10.0 Pseudo-cycle:JC FB 72

NAME :ADDRESSIBDB : DB 9 InterBus Data blockBUSY : F 10.0 Activation bitT : T 2 TimerIDDB : DB 10 DB: ID-Code listIDDW : KF +0 DW:LBDB : DB 11 DB: Bus segment listLBDW : KF +0 DW:INDB : DB 12 DB: IN-Address listINDW : KF +0 DW:OUDB : DB 13 DB: OUT-Address ListOUDW: KF +0 DW:KRDB : DB 14 DB: KR-Address ListKRDW: KF +0 DW:GRDB : DB 0 DB: Group definitionsGRDW: KF +0 DW:MODE: F 10.5 Mode of indicationEREG : FY 12 Error RegisterTO : F 10.1 Time OutRET : F 10.2 Return value

::JU FB 66

NAME :REQ/RESIBDB : DB 9 InterBus Data blockRRDB : FY 19 Caption-DB-REQ/REST : T 3 TimerTO : F 8.4 Time Out

:A F 8.0 INITIB:O F 10.0 ADDRESS:JC =M002:AN F 10.2:BEB:STS:BE

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 23: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

23

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

FB1FB1FB1FB1FB1NAME:VLT-PARA ;Parameterization via IBS/DPDECL :STRC IBIDECL :STR1 IBIDECL :STR2 IBIDECL :RDB BDECL :CDB BDECL :VLT IBYDECL :AKTI IBIDECL :PKEW IWDECL :PARW IWDECL :PKER QWDECL :PARR QWDECL :PCPR IBIDECL :ERR IBIDECL :OK IBI

:AN =STRC Initiate Request already sent?:JC =INIT NO-> Inititate Request:A =STR1 Ctrl1=1 AND Ctrl2=0:AN =STR2 -> wait for Write_Conf:JC =WCON:AN =STR1 Ctrl1=0 AND Ctrl2=1:A =STR2 -> wait for Read_Conf:JC =RCON:DO =RDB:L KH 8082 Identification Write_Request:T DW 0:L KH 0007 ParameterCounter = 7:T DW 1:L KH 0002 CR=2:T DW 2:L KH 5FA5 PCV-Object:T DW 3:L =VLT VLT-Address is Subindex:T DL 4:L KB 8 No. of bytes = 8:T DR 4:L =PKEW retrieve order for VLT:T DW 5:L =PARW retrieve Para-value for VLT:T DW 8:A F 0.1 VKE"1"

Exam

ple of program for S

iemens S

5-115U

Page 24: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

24 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

:S =STR1 Write_Request executed:JU =CON0 Delete conf and send order:

WCON : **** Wait for Write_Confirm.:DO =CDB Open confirmation DB:L DW 0 Retrieve conf_identification:L KH 0000:!=F ;is 0 then wait again:BEB:L DL 3 retrieve Result:><F is not ZERO:JC =FAUL -> FAULT:

READ : *** execute READ-REQUEST ****:DO =RDB Open Request DB:L KH 8081 Order identification Read_Request:T DW 0:L KH 0003 Parametercounter = 3:T DW 1:L KB 0:T DR 4 No. of bytes = 0: CR; Object and VLT remain:A F 0.1 VKE"1":RB =STR1 STR1=0 AND STR2=1:S =STR2 -> wait for Read_confirmation:JU =CON0 Delete conf and send order:

RCON : *** wait for READ-Confirmation:DO =CDB Open confirmation DB:L DW 0 Retrieve confirmation identification:L KH 0000:!=F is 0 then wait again:BEB:L DL 3 Retrieve Result-Code:><F is not 0:JC =FAUL -> FAULT:L DW 4 Retrieve PCA received:SLW 5 only Para-number:L =PKEW Retrieve Para-number sent:SLW 5 Only Para-number:!=F equal then OK:JC =OK Enter value:JU =READ if NOT ZERO, then READ again

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 25: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

25

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

OK ::L DW 4:T =PKER:L DW 7 Retrieve parameter value received:T =PARR:A F 0.1 VKE"1":S =OK Set OK-flag:RB =STR1:RB =STR2:BEU

INIT : *** INITIATE REQUEST ***:A =STR1 is not first run:JC =INI1:DO =RDB Open Request component:L KH 808B Order identification Inititate Request:T DW 0:L KH 0002 PC and CR:T DW 1 Parameter Counter:T DW 2 Invoke ID / CommRef:L KY 0,0:T DW 3 Control word, Access Group:A F 0.1 VKE"1":S =STR1

CON0 : *** Delete confirmation ***:DO =CDB Search Confirmation module:L KH 0000 Delete entries:T DW 0:T DW 1:T DW 2:T DW 3:T DW 4:T DW 5:A F 0.1 VKE"1":S =AKTI Set activation marker:BEU

INI1 **** Wait for Response ****:B =CDB Confirmation DB on:L DW 0 Fetch confirmation identification:L KH 0000:!=F is equal to 0-> no Confirmation:BEC then continue searching:L DL 3 Retrieve quitting code:L KH 0000

Exam

ple of program for S

iemens S

5-115U

Page 26: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

26 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

:!=F is 0 -> no fault:JC =INI2

FAUL : **** FAULTS ****:A F 0.1 VKE"1":S =ERR Fault occurred:RB =STRC Reset first run:RB =STR1:RB =STR2:BEU

INI2 : *** Initiate Request OK ***:A F 0.1 VKE"1":S =STRC Set Inititate successful:RB =STR1 Reset flag:BE

FB2FB2FB2FB2FB2NAME:PARAMETERDECL :PDB BDECL :COUN IWDECL :ANZA DKFDECL :PKEW IWDECL :PARW IWDECL :OK IBIDECL :STRT IBIDECL :ZEIG IWDECL :INIT IBI

::DO =PDB Open data-DB:AN =INIT:JC =INIT

STRT ::LW =ANZA retrieve number:L =COUN retrieve present number:>F not end yet:JC =WEIT -> continue:RB =OK FINISHED:RB =INIT Reverse INIT:R F 224.1:BEU and END

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 27: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

27

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

WEIT :L =ZEIG Retrieve indicator:T FW 250:DO FW 250:L DW 0 Retrieve DW from indicator address:L KH 2000:+F +2000, for write identification:T =PKEW is new PKEW:L =ZEIG:I 1:T FW 250:DO FW 250:L DW 0 load DW to indicator address:T =PARW is new parameter value:L =ZEIG:L KF +2:+F:T =ZEIG:L =COUN:I 1:T =COUN Counter + 1:RB =OK OK for FB1 reset:S =STRT and FB1 start anew:BEU

INIT :L KH 0000:T =ZEIG:T =COUN:S =INIT:JU =STRT:BE

DB9DB9DB9DB9DB90 : KH 0000;1 : KH 0000;

254 : KH 0000;255 : KH 0000;

DB10DB10DB10DB10DB10 ;Ident-code list;Ident-code list;Ident-code list;Ident-code list;Ident-code list0: KY 0,3 ;Number of parameters1: KY 5,241 ;IBS-PB Gateway2: KY 0,16 ;Diagnose Bit Register3: KY 0,17 ;Diagnose Parameter Register4: KY 0,0 ;Length code 1Unit PPO1=55: KY 0,0 ;" 6UnitsPPO1=15

Exam

ple of program for S

iemens S

5-115U

Page 28: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

28 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

DB11DB11DB11DB11DB11 ;Bus segment list;Bus segment list;Bus segment list;Bus segment list;Bus segment list0: KY 0,3 ;Number of parameters1: KY 0,0 ;IBS<>PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB12DB12DB12DB12DB12 ;IN addr;IN addr;IN addr;IN addr;IN address listess listess listess listess list0: KY 0,3 ;Number of parameters1: KY 0,32 ;IBS<>PB Gateway2: KY 0,126 ;Diagnose Bit Register3: KY 0,128 ;Diagnose Parameter Register

DB13DB13DB13DB13DB13 ;OUT addr;OUT addr;OUT addr;OUT addr;OUT address listess listess listess listess list0: KY 0,3 ;Number of parameters1: KY 0,32 ;IBS-PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB14DB14DB14DB14DB14 ;KR list;KR list;KR list;KR list;KR list0: KY 0,3 ;Number of parameters1: KY 0,2 ;IBS<>PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB20DB20DB20DB20DB20 ;CON/IND caption table;CON/IND caption table;CON/IND caption table;CON/IND caption table;CON/IND caption table0: KH 0000 ;1. CODE;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KY 0,0 ; DB,DW;4: KH 0000 ;2. CODE;5: KH 0000 ; PC ;6: KH 0000 ; KR ;7: KY 0,0 ; DB,DW;8: KH 0000 ;3. CODE;

52: KH 0000 ;14.CODE;53: KH 0000 ; PC ;54: KH 0000 ; KR ;55: KY 0,0 ; DB,DW;56: KH 0000 ;15.CODE;57: KH 0000 ; PC ;58: KH 0000 ; KR ;59: KY 0,0 ; DB,DW;60: KH 0000

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 29: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

29

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

DB21DB21DB21DB21DB21 ;CON/IND-Standar;CON/IND-Standar;CON/IND-Standar;CON/IND-Standar;CON/IND-Standard-DBd-DBd-DBd-DBd-DB0: KH 0000 ;CODE ;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KH 0000 ;Body ;4: KH 0000

30: KH 000031: KH 000032: KH 000033: KH 000034: KH 0000

DB22DB22DB22DB22DB22 ;REQ/RES caption table;REQ/RES caption table;REQ/RES caption table;REQ/RES caption table;REQ/RES caption table0: KH 0000 ;1. CODE;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KY 0,0 ; DB,DW;4: KH 0000 ;2. CODE;5: KH 0000 ; PC ;6: KH 0000 ; KR ;7: KY 0,0 ; DB,DW;8: KH 0000 ;3. CODE;

52: KH 0000 ;14.CODE;53: KH 0000 ; PC ;54: KH 0000 ; KR ;55: KY 0,0 ; DB,DW;56: KH 0000 ;15.CODE;57: KH 0000 ; PC ;58: KH 0000 ; KR ;59: KY 0,0 ; DB,DW;60: KH 0000

DB23DB23DB23DB23DB23 ;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standard-DBd-DBd-DBd-DBd-DB0: KH 808B ;CODE ;1: KH 0002 ; PC ;2: KH 0002 ; KR3: KH 0000 ;Body ;4: KH 0000

Exam

ple of program for S

iemens S

5-115U

Page 30: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

30 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

58: KH 000059: KH 000060: KH 000061: KH 000062: KH 0000

DB25DB25DB25DB25DB25 ;Setting of the PDU length;Setting of the PDU length;Setting of the PDU length;Setting of the PDU length;Setting of the PDU length0: KH 0003 ;Length 3 words1: KH 0002 ; 0.entry CR=22: KH 0A80 ;10.entry 80 hex3: KH 0C80 ;12.entry 80 hex

DB100DB100DB100DB100DB100 ;Download Data;Download Data;Download Data;Download Data;Download Data0: KF +201 ;Parameter 201 Min.Frequency1: KF +100 ;Value 100 = 10.0 Hz2: KF +202 ;Parameter 202 Max.Frequency3: KF +1000 ;Value 1000 = 100.0 Hz4: KF +2055: KF +16: KF +2067: KF +28: KF +2079: KF +310: KF +20811: KF +412: KF +20913: KF +3014: KF +21515: KF +11116: KF +21617: KF +22218: KF +21719: KF +33320: KF +21821: KF +44422: KF +023: KF +024: KF +0

Exa

mpl

e of

pro

gram

for S

iem

ens

S5-

115U

Page 31: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

31

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

25: KF +126: KF +027: KF +228: KF +029: KF +330: KF +031: KF +432: KF +033: KF +5

Exam

ple of program for S

iemens S

5-115U

Page 32: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter
Page 33: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

33

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

hIn

dex

AAAAA

Access to parameter change ....................... 4

BBBBBBaudrate ...................................................... 4Bus time out ................................................ 4Bus time out function ................................... 4

CCCCCCommunication objects ............................. 10Communication reference list ..................... 13Configuration of the frequency converter ..... 4Connection of the Interbus-S wire .............. 15Connection of the PROFIBUS bus wire ...... 15Control word ................................................ 5

DDDDDDisplay messages ...................................... 16

EEEEEError Code ................................................. 13Error reporting in PCP Communication ...... 13Example of program forSiemens S5-115U ..................................... 17Example layout .......................................... 17Example of connection .............................. 14

FFFFFFMS/DP-selection ........................................ 4Functional components ............................. 17

HHHHHHousing ..................................................... 16

IIIIIID-Code ....................................................... 9Index/Subindex, IND .................................... 6InterBus-S Module error ............................. 11

LLLLLLength codes .............................................. 9

MMMMMMaximum PDU length ................................ 13

NNNNNNotes concerning programming .................. 5Number of VLT® 5000 ................................ 10

OOOOOOperating elements .................................... 16Overview ...................................................... 2

PPPPPParameter 502-512 .................................... 4Parameter 800 ............................................. 4Parameter 801 ............................................. 4Parameter 803 ............................................. 4Parameter 804 ............................................. 4Parameter 904 ............................................. 4Parameter 918 ............................................. 4Parameter 927 ............................................. 4Parameter 928 ............................................. 4Parameter interface in Write.Request ........... 6Parameter interfaces in Read.Request ......... 7Parameter Value, PV .................................... 6Parameter-Identification-Value, PIV .............. 6Parameterization .......................................... 5PCP-Communication ................................. 10PCV-part of PPO1 ..................................... 12PPO select ................................................... 4PPO Types 1/PPO Types 3 ........................ 2Program references ................................... 17Properties of InterBus-S ............................... 9Properties of PROFIBUS-DP ........................ 3

Page 34: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

34 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Ind

ex RRRRRRead access .............................................. 12Read.Request .............................................. 5Reference/Actual values .............................. 5Reporting back ............................................ 2

SSSSSSelected PPO Type .................................... 10Setting of the Interbus-S-Masters .............. 17Setting the PDU length in PCP ................... 18Starting the VLT® ........................................ 17State of the frequency converter ................ 10Station address ............................................ 4Supported services .................................... 13

TTTTTTechnical data ............................................ 14Terminals and plugs ................................... 16

WWWWWWrite access .............................................. 12Write.Request .............................................. 5

Page 35: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

35

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

TTTTTeil 1eil 1eil 1eil 1eil 1 ■ ÜberblickÜberblickÜberblickÜberblickÜberblick ............................................................................................................................................................................................................................................................................................................................................................................................ 3636363636

TTTTTeil 2eil 2eil 2eil 2eil 2 ■ Eigenschaften der PROFIBUS-DP-SeiteEigenschaften der PROFIBUS-DP-SeiteEigenschaften der PROFIBUS-DP-SeiteEigenschaften der PROFIBUS-DP-SeiteEigenschaften der PROFIBUS-DP-Seite .................................................................................................................................. 3737373737

Konfiguration des Frequenzumrichters ................................ 38Anmerkungen für die Programmierung ............................... 39

Steuerwort .................................................................... 39Soll- / Istwert ................................................................. 39Parametrierung .............................................................. 39Parameterschnittstelle bei Write.Request ...................... 40Parameterschnittstelle bei Read.Request ..................... 41

TTTTTeil 3eil 3eil 3eil 3eil 3 ■ Eigenschaften der InterBus-S-SeiteEigenschaften der InterBus-S-SeiteEigenschaften der InterBus-S-SeiteEigenschaften der InterBus-S-SeiteEigenschaften der InterBus-S-Seite ..................................................................................................................................................................... 4343434343

ID-Code ............................................................................... 43Längencodes ...................................................................... 43PCP-Kommunikation ........................................................... 44

Kommunikationsobjekte ............................................... 44Kommunikationsbeziehungsliste ......................................... 47Fehlermeldungen bei PCP-Kommunikation ........................ 47

TTTTTeil 4eil 4eil 4eil 4eil 4 ■ TTTTTechnische Datenechnische Datenechnische Datenechnische Datenechnische Daten ...................................................................................................................................................................................................................................................................................................................... 4848484848

Anschlußbeispiel ................................................................. 48Anschluß der PROFIBUS Busleitung ................................... 49Anschluß der Interbus-S Busleitung .................................... 49Anzeigen ............................................................................. 50Bedienelemente .................................................................. 50Klemmen und Stecker ......................................................... 50Gehäuse .............................................................................. 50

TTTTTeil 5eil 5eil 5eil 5eil 5 ■ BeispielprBeispielprBeispielprBeispielprBeispielprogramm für Siemens S5-115Uogramm für Siemens S5-115Uogramm für Siemens S5-115Uogramm für Siemens S5-115Uogramm für Siemens S5-115U ........................................................................................................................ 5151515151

■ StichwortsverzeichnisStichwortsverzeichnisStichwortsverzeichnisStichwortsverzeichnisStichwortsverzeichnis ........................................................................................................................................................................................................................................................................................ 6767676767

Inh

altsverzeichn

is

Page 36: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

36 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Das Gateway ermöglicht den Anschlußvon bis zu 14 VLT® 5000 mit PROFIBUS-Optionskarte. Das Gateway sendet per-manent Nachrichten des gewählten PPO-Typs mit dem aktuellsten Prozeßdaten-block und dem aktuellsten Parameter-block an die VLT® ‘s.

Der Anschluß des Gateways erfolgt wieam InterBus-S üblich als Fernbusteil-nehmer. Jedoch setzt dieser nicht auf denInterBus-S-Lokalbus um, sondern aufPROFIBUS-DP. Daher entfallen auch diebekannten Beschränkungen des Lokal-busses wie, maximal 8 Teilnehmer,vorkonfektionierte Leitungen, maximaleAusdehnung 8 Meter usw..

Für die Kommunikation auf derPROFIBUS-DP-Seite kann man zwischendem PPO-Typen 1 (Prozeßdaten undParameterschnittstelle) oder PPO-Typen 3(nur Prozeßdaten) wählen.Die Prozeßdaten werden wie E/A’sbehandelt, d.h. sie liegen für den

Anwender im E/A-Bereich der SPS undwerden mit jedem InterBus-S-Umlaufversendet.Die Parametrierung des VLT® über dieParameterschnittstelle wird mittels PCP-Kommunikation realisiert.

ÜberblickDas InterBus-S / PROFIBUS-DP-Gatewaydient dazu, Danfoss VLT® 5000Frequenzumrichter am Feldbus-SystemInterBus-S betreiben zu können. Dazusetzt das Gateway die InterBus-STelegramme auf PROFIBUS-DP-Telegramme um, welche dann zum VLT®

gesendet werden.

In gleicher Weise erfolgt die Rückmel-dung, hierbei setzt das Gateway diePROFIBUS-DP-Telegramme des VLT®

um, welche dann mittels des InterBus-Swieder zur Steuerung übertragen werden.

Üb

erb

lick

Page 37: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

37

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Eigenschaften der PROFIBUS-DP-SeiteEs können maximal 14 VLT’sangeschlossen werden, diese können mitdem PPO-Typ1 (12Byte) bzw. PPO-Typ3(4Byte) betrieben werden. Die Wahl desPPO-Typs erfolgt für alle VLT’s, ein Misch-betieb ist nicht zulässig und führt zu einerFehlermeldung.Die InterBus-S Ein/Ausgabedaten werdenohne Interpretation auf dem PROFIBUS-DP abgebildet. Mit einer Ausnahme, dasBit 10 des Steuerwortes (STW) wirdinvertiert. So wird erreicht, daß wenn dieSPS in Stopp geht und alle Ausgängezurücksetzt die angeschlossenen VLT’sebenfalls stoppen, ebenfalls wird erreicht,daß wenn der InterBus-S anläuft die VLT®

5000 sicher gestoppt bleiben.

Der PPO-Typ1 erlaubt die Parametrierungder VLT’s, das Abfragen aller Werte undParameter, inklusive Stör- und Diagnose-werten, sowie die Steuerung des VLT’s mitRückmeldung des Zustands.Das PPO-Typ3 hingegen erlaubt nur dieSteuerung und Rückmeldung desZustands.Für die Funktion und die Handhabung derParameterschnittstelle beim PPO-Typ1benutzen Sie bitte das Handbuch zurPROFIBUS-Optionskarte für VLT® 5000.Die Baudrate auf der PROFIBUS-DP Seiteist 1,5mbaud, daß bedeutet das die maxi-male Buskabellänge 100 m beträgt,weitere Informationen können Sie demHandbuch zur PROFIBUS für VLT 5000entnehmen.

!!! WICHTIG !!!Vor dem einsetzen der PROFIBUS-Option-Card sollte der VLT eingeschaltetwerden und der Parameter 620 auf „Initialisieren“ eingestellt sein. Danach dasGerät spannungslos schalten und die PROFIBUS-Option-Card einsetzen.Beim erneuten einschalten erfolgt sodann eine automatische Neu-Initialisierung.

Sollte dies in dieser Reihenfolge nicht möglich sein, bzw. ist die PROFIBUS-Option-Card bereits eingesetzt, so müssen vor dem einschalten des VLT’s dieTasten DISPLAY/STATUS + MENU und OK gleichzeitig betätigt werden, danndas Netz einschalten und die drei Tasten solange gedrückt halten bis in deruntersten Zeile des Displays die Meldung „Manuel Initialize“ erscheint (SieheSeite 136 in MG.50.AX.03).

Eig

ensch

aften d

er PR

OF

IBU

S-D

P-S

eite

Page 38: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

38 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Konfiguration desFrequenzumrichters

Folgende Parameter sind einzustellen,bzw. zu kontrollieren:

Parameter 502-508Motorfreilauf, Schnellstopp, DC-Bremsung, Start, Drehrichtung,Quittierung, Parametersatzanwahl,Drehzahlanwahl,hier legen Sie für den jeweiligen Parame-ter fest, ob die Ansteuerung nur über"BUS""BUS""BUS""BUS""BUS", oder nur über "KLEMME""KLEMME""KLEMME""KLEMME""KLEMME", oderaus einer Kombination der beidenerfolgen soll. Bei reiner BUS-Ansteuerung sollten hier alle Parameterauf BUSBUSBUSBUSBUS eingestellt werden.

Parameter 512Telegramm profilhier kann das Telegramm profil gewähltwerden, die Profile sind im PROFIBUSHandbuch für VLT 5000 beschrieben.Danfoss empfehlen dass DanfossTelegramm profil.

Parameter 801Baudrate,tragen Sie hier die Baudrate desGateways ein, oder belassen Sie dieseauf AUTOAUTOAUTOAUTOAUTO. Zur Zeit ist die Baudrate desGateways fest auf 1,5 Mbaud gestellt.

Parameter 800FMS/DP-Wahl,hier stellen Sie DP DP DP DP DP ein, dies ist ebenfallsin der Werkseinstellung voreingestellt.

Parameter 803Zeit nach Busausfall,diese eingestellte Zeit legt fest, wannnach einem BUS-Ausfall eine Reaktion

des Frequenzumrichters erfolgen soll.

Parameter 804Funktion nach Bus-Fehler,hier legen Sie die Reaktion nach einemBUS-Ausfall fest.

Parameter 904Aktuelles PPO-Write,tragen Sie hier das von Ihnen gewünschteTelegramm ein. Z.B. für PPO-Typ1 tragenSie 900900900900900, für PPO-Typ3 902902902902902 ein. Die PPO-Typen sind im Handbuch zur PROFIBUSfür VLT 3000 beschrieben.

Parameter 918Teilnehmer Adresse,hier legen Sie die Stationsadresse fest.Der Bereich für den Betrieb am Gatewayist von 1-14, wobei auf eine durch-gehende Adressierung zu achten ist. DerAdressbereich beginnt immer bei „1“ undendet bei der Adresse der maximalvorhandenen Geräte. Die physikalischeLage am BUS hat keinen Einfluß auf dieAdressierung.

Parameter 927Bedienhoheit PKW,hier können Sie festlegen ob die Parame-ter über den BUS geändert werdenkönnen, (Mit PROFIBUSMit PROFIBUSMit PROFIBUSMit PROFIBUSMit PROFIBUS), bzw. ob dieseMöglichkeit unterdrückt werden soll,(Ohne PROFIBUSOhne PROFIBUSOhne PROFIBUSOhne PROFIBUSOhne PROFIBUS).

Parameter 928Führungshoheit,wie 927 jedoch legen Sie hier fest ob dieSteuerung über denn PROFIBUS erfolgensoll (Mit PROFIBUSMit PROFIBUSMit PROFIBUSMit PROFIBUSMit PROFIBUS), oder nicht (OhneOhneOhneOhneOhnePROFIBUSPROFIBUSPROFIBUSPROFIBUSPROFIBUS).

Die am VLT® eingestellten Para-meter werden erst nach demAbschalten und erneutenWiedereinschalten aktiv.

Alle übrigen Parameter sind entsprechendder Anwendung, die man betreibenmöchte, wie im Produkthandbuchbeschrieben einzustellen.

Eig

ensc

haf

ten

der

PR

OF

IBU

S-D

P-S

eite

Page 39: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

39

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Anmerkungen für die Program-mierung:Der Frequenzumrichter kann nun über denBUS gesteuert werden, dies erfolgt durcheinfaches setzen oder lesen von E/A-Bits.

SteuerwortDas Bit Nummer 10 muß entgegen derAussage im Produkthandbuch zurPROFIBUS-Optionskarte zum Steuern auf„0“ gesetzt sein, damit der VLT dasSteuerwort akzeptiert. Das Gatewayinvertiert dann dieses Bit automatisch ineine „1“ um.

Das Steuerwort für:starten mit Rechtsfeld lautet047F047F047F047F047F hex bzw. 0000 0010 0111 1110000 0010 0111 1110000 0010 0111 1110000 0010 0111 1110000 0010 0111 1111.starten mit Linksfeld lautet847F847F847F847F847F hex bzw. 0100 0100 0111 1111 0100 0100 0111 1111 0100 0100 0111 1111 0100 0100 0111 1111 0100 0100 0111 1111.stoppen mit normaler Rampe (Param.208) lautet 044F044F044F044F044F hex bzw. 0000 01000000 01000000 01000000 01000000 01000100 11110100 11110100 11110100 11110100 1111,stoppen mit alternativ Rampe (Param.210) lautet 064F064F064F064F064F hex bzw. 0000 01100000 01100000 01100000 01100000 01100100 11110100 11110100 11110100 11110100 1111.

Soll- / IstwertDer Sollwert sowie auch derzurückgelieferte Istwert des VLT’s, wird innormierter Form gehandhabt. DerEinstellbereich erstreckt sich von -10000für -100,00% bis auf +10000 für+100,00%. Wobei 100,00% 4000 hexentsprechen. Negative Sollwerte werdendurch bilden des Zweierkomplementserzeugt.

Beispiel:Min.Frequenz = 0Hz;Max.Frequenz = 50HzGewünscht sind 25Hz Rechtsfeldentsprechend 50% der Maximaldrehzahl:50,00% = 2000 hex =0010 0000 0000 0000Binär

Für 25Hz Linksfeld = -50% der Maximal-drehzahl:50,00% = 2000 hex =0010 0000 0000 0000Binärumwandeln des positiven in einen negativeSollwert:

0010 0000 0000 0000 Binär -> 1101 1111 1111 1111 Binär Einer-Komplement -> + 1 Binär = 1110 0000 0000 0000 Binär Zweier-Komplement-50,00% = E000 hex = 1110 0000 0000 0000Binär

Wenn Sie mehr über das Steuerwort,Zustandsmaschine , Sollwert usw. Wissenmöchten so verweisen wir auf dasProdukthandbuch zur PROFIBUS-Options-karte.

ParametrierungDie Parametrierung über den Bus ist nurbei Verwendung des PPO-Typ1 möglich.Die Parametrierung erfolgt über PCP-Kommunikation. Die Vorgehensweise istfolgende:

Auftrag zum MeldungIBS-Master: Von VLT an

den Master:

Write.Request ConfirmationpositivConfirmationnegativ, Meldungdes Fehlercodes

Read.Request Confirmationpositiv enthält dieDaten der Rück-meldung des VLT®

Confirmationnegativ, Meldungdes Fehlercodes

Eig

ensch

aften d

er PR

OF

IBU

S-D

P-S

eite

Page 40: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

40 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Parameterschnittstelle beiWrite.RequestDie Parameterschnittstelle (PKW) desVLT® 5000 besitzt insgesamt 4 Worte.Hiermit ist es möglich Parameter zu lesen,zu schreiben, Arrays zu lesen und zuschreiben usw..

Die Parameterschnittstelle im einzelnen:1. Wort (Parameter-Kennung-Wert, PKE),in den unteren 11 Bit (Bit 0..10) tragen Siedie Parameternummer ein, in den oberenvier Bit (Bit 12..15) wählen Sie die Aktion.

2. Wort (Index/Subindex, IND), das Byte„Index“ wird nur benutzt, wenn Sie aufElemente eines Arrays zugreifen wollen. Indiesem Fall tragen Sie hier den Index desElementes ein. Bei normalen Parameter-aktionen bleibt dieses Byte unbenutzt.Das Byte Subindex ist für spätereErweiterungen vorgesehen und bleibtunbenutzt.

3. + 4. Wort (Parameterwert, PWE), hierwird bei Schreibzugriffen der Wert für denangewählten Parameter eingetragen. Das3. Wort ist das High-Wort, das 4. Wortdas Low-Wort. Das 3.Wort wird nurbenutzt, wenn Parameterwerte größer65535 übertragen werden sollen.Da die zu übertragenden Werte nicht imKommaformat Übertragen werden, mußder jeweilige Parameterwert noch miteinem Faktor multipliziert werden. Denjeweiligen Faktor des Parametersentnehmen Sie dem Handbuch zurPROFIBUS-Optionskarte.

Beispiel:Es soll am VLT® 5000 mit der Busadresse2 der Parameter 202, maximal Frequenz,auf 80Hz geändert werden,

PKE: 20CA

Parameter CA hex = 202

Aktion 2 = Parameterwert ändern

IND:0000

kein Subindex

kein Index

PWE: 0000 0320

Parameterwert_low =

320 hex = 800 = 80.0 x Faktor 10

Parameterwert_high = 0

Eig

ensc

haf

ten

der

PR

OF

IBU

S-D

P-S

eite

Page 41: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

41

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Write.RequestAnzahl nachfolgender Werte

invoke_id Kommunkations-Referenz

IndexVLT-Adresse Anzahl Bytes

PKEIND

High_ParameterwertLow_Parameterwert

8082007

00 02

5FA502 08

20CA000000000320

Der Auftrag auf dem PCP-Kanal siehtdann folgendermaßen aus:Alle Werte in hex.

Die erfolgreiche Ausführung wird mittelseiner positiven Confirmation angezeigt.

Sollen alle VLT’s gleichzeitig parametriertwerden, so ist anstelle der VLT-Adresseeine Null einzutragen.

Daran anschließen muß die Länge derDaten angegeben werden. Da diese abernur für den Maximalausbau ausgelegt ist,muß hier 112Byte Länge eingegebenwerden. Nun folgen die Daten für die VLT’s,in der Reihenfolge ihrer Adressierung.

3. + 4. Wort (Parameterwert, PWE), hierträgt der VLT® den Wert für den ange-wählten Parameter eingetragen. Das 3.Wort ist das High-Wort, das 4. Wort dasLow-Wort. Das 3.Wort wird nur benutzt,wenn Parameterwerte größer 65535übertragen wurden.Da die zu übertragenden Werte nicht imKommaformat Übertragen werden, mußder jeweilige Parameterwert noch durcheinen Faktor geteilt werden, um den tat-sächlichen Wert zu erhalten. Den jeweili-gen Faktor des Parameters entnehmenSie dem Handbuch zur PROFIBUS-Optionskarte.

Parameterschnittstelle beiRead.RequestAntworten des VLT® auf einen zuvormittels Write.Request initiierten Auftrags.Daten liegen nur bei einer positivenConfirmation vor, bei einer negativenConfirmation wird der Fehlercodezurückgeliefert.

1. Wort (Parameter-Kennung-Wert, PKE),in den unteren 11 Bit (Bit 0..10) trägt derVLT® die Parameternummer ein, in denoberen vier Bit (Bit 12..15) erscheint derTyp der Antwort.

2. Wort (Index/Subindex, IND), das Byte„Index“ wird nur eingetragen, wenn Sie aufElemente eines Arrays zugegriffen haben.Bei normalen Parameteraktionen bleibtdieses Byte unbenutzt. Das ByteSubindex ist für spätere Erweiterungenvorgesehen und bleibt unbenutzt.

Eig

ensch

aften d

er PR

OF

IBU

S-D

P-S

eite

Page 42: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

42 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Nach dem ausführen des Read.Request,erhält man folgende Daten:

PKE: 10CAParameter CA hex = 202Aktion 1 = Parameterwert

übertragenIND: 0000

kein Subindexkein Index

PWE: 0000 0320Parameterwert_low =320 hex = 800 =80.0 x Faktor 10Parameterwert_high = 0

80810003

00 02

5FA502 00

Read.RequestAnzahl nachfolgender Werte

invoke_id Kommunkations-Referenz

IndexVLT-Adresse Anzahl Bytes

Beispiel:Es soll die Antwort des VLT® 5000 aufden oben mittels Write.Request gesende-ten Auftrag gelesen werden.

Der Auftrag auf dem PCP-Kanal siehtdann folgender-maßen aus:Alle Werte in hex.

Eig

ensc

haf

ten

der

PR

OF

IBU

S-D

P-S

eite

Page 43: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

43

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Eigenschaften der InterBus-S-Seite

ID-CodeDer ID-Code des Gateways : F1hex ; 241dec32 Worte, davon:Busbreite 4 bis 32 Worte- 4 Worte PCP- 0 - 28 Worte Prozeßdatenkanal

(2 Worte je VLT®) Ein / Ausgabe

LängencodesDa beim InterBus-S nicht alle Register-breiten möglich sind müssen bei bestimm-ten Konfigurationen des Gateways Füll-wörter eingetragen werden. Weiterhin sindnicht alle InterBus-S-Master in der Lageeinen 4 Wort breiten PCP-Kanal zubedienen (Firmware Version vor 4.0). In

diesem Fall müssen zur Berechnung derLängencodes weitere 3 Worte vom PCP-Kanal berücksichtigt werden. Dieentsprechende Angabe des Längencodesfür Ihre Konfiguration entnehmen Sie fol-gender Tabelle:

Anzahl InterBus-S Längencode LängencodeVLT® 5000 Busbreite 1 Wort PCP 4 Worte PCP

0 4 03 hex 00 hex1 6 05 hex 02 hex2 8 07 hex 04 hex3 10 09 hex 06 hex4 12 0B hex 08 hex5 14 0D hex 0A hex6 16 0F hex 0C hex7 24 17 hex 14 hex8 24 17 hex 14 hex9 24 17 hex 14 hex

10 24 17 hex 14 hex11 32 1F hex 1C hex12 32 1F hex 1C hex13 32 1F hex 1C hex14 32 1F hex 1C hex

Eig

ensch

aften d

er InterB

us-S

-Seite

Page 44: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

44 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Index: 5FA2 hexSymbol: inv_stateDatentyp: Subindex1: Unsigned

8Subindex2: Unsigned8

Zugriff: Nur Lesen

PCP-Kommunikation

Kommunikationsobjekte

Anzahl der VLAnzahl der VLAnzahl der VLAnzahl der VLAnzahl der VLTTTTT®®®®® 5000 5000 5000 5000 5000

Hiermit kann die am Drehschaltereingestellte Anzahl der am PROFIBUSerwarteten Frequenzumrichter gelesenwerden. Dies ist nicht immer die Anzahlder tatsächlich angeschlossenenFrequenzumrichter.

Index: 5FA0 hexSymbol: inv_countDatentyp: Unsigned8

Hiermit kann der am Schiebeschaltereingestellte PPO-Typ gelesen werden.

PPO-Typ ppo_typePPO1 01 hexPPO3 03 hex

Index: 5FA1 hexSymbol: PPO_typeDatentyp: Unsigned8Zugriff: Nur Lesen

Eingestellter PPO-TEingestellter PPO-TEingestellter PPO-TEingestellter PPO-TEingestellter PPO-Typypypypyp

Zustand der FrZustand der FrZustand der FrZustand der FrZustand der Frequenzumrichterequenzumrichterequenzumrichterequenzumrichterequenzumrichter

Wenn alle am Drehschalter eingestelltenVLT® am Bus störungsfrei arbeiten, liefernbeide Subindizes eine Null. Beimauftreten einer Kommunikationsstörungliefert Subindex1 die niedrigste Adresse,bei der ein Kommunikationsfehler auftrat,während der Subindex2 nähere Auskunftüber denn Fehler gibt.

inv_state.2 Fehlertyp01 hex VLT® nicht gefunden02 hex VLT® nicht im Daten-

austausch03 hex Master nicht aktiv

Eig

ensc

haf

ten

der

Inte

rBu

s-S

-Sei

te ■

Page 45: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

45

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Baudrate auf dem PROFIBUS-DPBaudrate auf dem PROFIBUS-DPBaudrate auf dem PROFIBUS-DPBaudrate auf dem PROFIBUS-DPBaudrate auf dem PROFIBUS-DP

Hiermit kann die Baudrate mit welcher aufder PROFIBUS-Seite gearbeitet wird,gelesen und auch eingestellt werden. Umdie Baudrate zu ändern wird derPROFIBUS komplett gestoppt und dannmit der neuen Übertragungsgeschwindig-keit neuinitialisiert.

Eig

ensch

aften d

er InterB

us-S

-Seite

Index: 5FA3 hexSymbol: stat_errDatentyp: BooleanZugriff: Lesen/Schreiben

InterBus-S ModulfehlerInterBus-S ModulfehlerInterBus-S ModulfehlerInterBus-S ModulfehlerInterBus-S Modulfehler

Erkennt ein InterBus-S-Slave einen Fehler,so kann er dem InterBus-S-Master einenModulfehler melden. Der Master verwirftdaraufhin den letzten Datenzyklus undstartet einen Identifikationszyklus, mit demder Master den Teilnehmer ermittelt,welcher den Modulfehler gemeldet hat.

Mit stat_err kann eingestellt werden, obbei einem Fehler auf der PROFIBUS-DP-Seite ein Modulfehler ausgelöst werdensoll.

stat_err = FF hex Modulfehler wirdausgelöststat_err = 00 hex Modulfehler wird nichtausgelöst

Als Voreinstellung ist FF hex eingestellt,d.h. der Modulfehler als Fehlermeldung istaktiviert.

Index: 5FA4 hexSymbol: baud_rateDatentyp: Unsigned8Zugriff: Lesen/Schreiben

baud_rate Baudrate00 hex 9.600 Bit/s01 hex 19.200 Bit/s02 hex 93.750 Bit/s03 hex 187.500 Bit/s04 hex 500.000 Bit/s05 hex 750.000 Bit/s06 hex 1.500.000 Bit/s

Zur Zeit ist es nicht möglich, dieZur Zeit ist es nicht möglich, dieZur Zeit ist es nicht möglich, dieZur Zeit ist es nicht möglich, dieZur Zeit ist es nicht möglich, dieBaudrate zu stellen. Die Baud-Baudrate zu stellen. Die Baud-Baudrate zu stellen. Die Baud-Baudrate zu stellen. Die Baud-Baudrate zu stellen. Die Baud-rate ist fest auf 1.5MBaudrate ist fest auf 1.5MBaudrate ist fest auf 1.5MBaudrate ist fest auf 1.5MBaudrate ist fest auf 1.5MBaudeingestellt und das Objekt ist nureingestellt und das Objekt ist nureingestellt und das Objekt ist nureingestellt und das Objekt ist nureingestellt und das Objekt ist nurzum Lesen frzum Lesen frzum Lesen frzum Lesen frzum Lesen freigegeben.eigegeben.eigegeben.eigegeben.eigegeben.

Page 46: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

46 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Eig

ensc

haf

ten

der

Inte

rBu

s-S

-Sei

te PKW-TPKW-TPKW-TPKW-TPKW-Teil von PPO1eil von PPO1eil von PPO1eil von PPO1eil von PPO1

Dieses Objekt dient zum Lesen undSchreiben der ersten 8 Octets (PKW-Teil)vom PPO-Typ1. Die 14 Elemente desObjekts 5FA5 hex können einzeln als auchgemeinsam gelesen und geschriebenwerden.Um den PKW-Teil eines der ange-schlossenen VLT® zu lesen oder zuschreiben wird bei dem Write.Requestzusätzlich zum Index noch die Nummerdes VLT’s als Subindex übergeben. Sieheauch das Beispiel auf Seite 6.

Index: 5FA5 hexSymbol: PCVDatentyp: 14 OCTET_STRING mit je

8 Octet (bytes)Zugriff: Lesen/Schreiben

SchrSchrSchrSchrSchreibzugrifeibzugrifeibzugrifeibzugrifeibzugriffe:fe:fe:fe:fe:Schreibversuche werden nur dann miteiner positiven Confirmation quittiert,wenn der neu geschriebene Wert an denoder die Frequenzumrichter geschriebenwerden kann, also wenn :1. PPO-Typ1 benutzt wird,2. der PROFIBUS-DP-Master im Zustand

Operate ist,3. sich alle am PROFIBUS-DP erwarteten

Frequenzumrichter im Datenaustauschbefinden

4. Mindestens einmal wurden die neuenDaten auf dem PROFIBUS-DPgesendet und empfangen.

LesezugrifLesezugrifLesezugrifLesezugrifLesezugriffe:fe:fe:fe:fe:Um die Rückgabewerte der VLT’s zuerhalten, muß die Struktur gelesenwerden.Die Daten werden als Parameterinterpretiert und mit dem entsprechendenWert des Prozeßdatenkanals zu einemTelegramm zusammengesetzt. EinePlausibilitätsprüfung findet nicht statt.

Auf die beiden PPO-Objekte kann nurentsprechend der Schalterstellung auf derFrontplatte zugegriffen werden, d.h. wennder Schalter auf PPO-Typ3 steht, kanndas Objekt PPO-Typ1 nicht gelesen odergeschrieben werden.

Page 47: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

47

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

KommunikationsbeziehungslisteFolgende Änderungen sind an der KBL(Kommunikationsbeziehungsliste)erforderlich. Dies kann über die SPSerfolgen oder über das PC-ProgrammSYSSWT. Die Vorgehensweise für eineSiemens-SPS, ist aus demBeispielprogramm ersichtlich.

maximum PDU length:high prior requests / responses: 00 hexlow prior requests / responses: 80 hexhigh prior indications / confiramtions: 00 hexlow prior indications / confiramtions: 80 hex

supported services:request / responses: 80 hex; 30 hex; 00 hexindication / confirmation:00 hex; 00 hex;00 hex

Im Serverbetrieb werden folgende Diensteunterstützt:get_OV_longread_variableswrite_variables

Eig

ensch

aften d

er InterB

us-S

-Seite

Fehlermeldungen bei PCP-Kom-munikationError_Class „Access“ (06 hex):

Error Code AdditionalError Code

Beschreibung

00 hex other

1 hex not-projectednot-projected

Der übergebene Subindex beim Object PCV war grösser als eingestellte VLT®-Anzahl

2 hex not existentnot existent

Beim Schreibzugriff auf das Object PCV wird mindestens ein gefunden

9 hex bad-data-valuebad-data-value

Der übergegebene Datenwert passt nicht zum Object, auf dawurde zuzugreifen

Error_Class „Access“ (08 hex):

Error Code AdditionalError Code

Beschreibung

05 hex object -attribut-inconsistent

10 hex bad-subindexbad-subindex

Der übergebene Subindex passt nicht zum Object, auf das gwird

12 hex too-much-datatoo-much-data

Es wurden mehr Datenbytes übergeben als zum Schreiben dverwendet werden können

13 hex too-few-datatoo-few-data

Es wurden weniger Datenbytes übergeben als zum Schreibebenötigt werden

08 hex type-conflict

Es wurde versucht einer Variablen einen Wert ausserhalb ihres Wertebereich

Page 48: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

48 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Tech

nis

che

Dat

en Technische DatenVersorgungsspannung: 24 V-DC ±10% 240mA

Schwingungstest [g] 0,7Relative Feuchtigkeit [%] VDE 0160 5.2.1.2.Umgebungstemperatur (lt. VDE 0160) [°C] 0 → +60Angewandte EMV-Standards Emission EN 50081-2, EN 55011

Immunität EN 50082-2, IEC 1000-4-2,IEC 1000-4-3, IEC 1000-4-4,ENV 50140ENV 50141

Anschlußbeispiel

Page 49: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

49

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

hTech

nisch

e Daten

■ Anschluß der PROFIBUSBusleitungAm letzten VLT® muß derBusabschlußwiderstand aktiviert werden,dazu sind die Schalter 01 auf derPROFIBUS-Optionskarte beide in ON-Stellung zu bringen.

■ Anschluß der Interbus-sBusleitung

Pin 5 und 9 muPin 5 und 9 muPin 5 und 9 muPin 5 und 9 muPin 5 und 9 muβββββ gebrückt gebrückt gebrückt gebrückt gebrücktwerwerwerwerwerden im IBS IN Stecker wennden im IBS IN Stecker wennden im IBS IN Stecker wennden im IBS IN Stecker wennden im IBS IN Stecker wennam IBS out Stecker nichtsam IBS out Stecker nichtsam IBS out Stecker nichtsam IBS out Stecker nichtsam IBS out Stecker nichtsangeschloangeschloangeschloangeschloangeschloβββββen ist.en ist.en ist.en ist.en ist.(Für die V(Für die V(Für die V(Für die V(Für die Verbindung des Kabel-erbindung des Kabel-erbindung des Kabel-erbindung des Kabel-erbindung des Kabel-schirmes, siehe oben).schirmes, siehe oben).schirmes, siehe oben).schirmes, siehe oben).schirmes, siehe oben).

Bitte beachten:Der Kabelschirm wird mit dem VLT-Gehäuse verbunden. Dazu wird dieKlemmschraube angewandt, die unter derSteuerkarte auf der linken Seite desFrequenzumrichters angebracht ist oder andie Oberfläche der Gehäuse (Buchformat).

Am Gateway wird der Kabelschirm mitdem Gehäuse der Sub-D Verbindungs-glieder verbunden. Dazu wird die Klemm-schraube angewandt, die auf der Innen-seite des Vebindungsglieds angebrachtist.

Page 50: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

50 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Tech

nis

che

Dat

en AnzeigenUbUbUbUbUballe Spannungen sind in Ordnung

BABABABABAInterBus-S aktiv, Master ist angeschlossenund aktiv

CCCCCCCCCCInterBus-S in Ordnung, Datenaustauschfindet statt

TRTRTRTRTRPCP-Übertragung läuft

DP okDP okDP okDP okDP okPROFIBUS-DP ist in Ordnung, alle amDrehschalter angewählten Teilnehmerkommunizieren

DP TXODP TXODP TXODP TXODP TXOdas Gateway sendet über PROFIBUS-DP

Bedienelemente(Anzahl der VL(Anzahl der VL(Anzahl der VL(Anzahl der VL(Anzahl der VLT's)T's)T's)T's)T's)Hex-Drehschalter für die Anzahl ange-schlossener VLT’s, Einstellungen > 14führen zu einem blinken der LED „DP ok“

PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3PPO1 / PPO3Schiebeschalter für die Anwahl PPO-Typ1oder PPO-Typ3, alle VLT® 3000 müssenauf den gleichen PPO-Typen eingestelltwerden.

Die Stellung dieser beiden Schalterwerden bei Power-Up übernommen.Werden diese während des Betriebsverstellt, so blinkt die LED „DP ok“

Klemmen und Stecker3 Klemmen:3 Klemmen:3 Klemmen:3 Klemmen:3 Klemmen:Spannungsversorgung 24V-DC (+ ; -);Erde

1 SUB-D-1 SUB-D-1 SUB-D-1 SUB-D-1 SUB-D-BuchseBuchseBuchseBuchseBuchse 9 pol.: 9 pol.: 9 pol.: 9 pol.: 9 pol.:PROFIBUS-DP-Anschluß

1 SUB-D-Stecker 9 pol.:1 SUB-D-Stecker 9 pol.:1 SUB-D-Stecker 9 pol.:1 SUB-D-Stecker 9 pol.:1 SUB-D-Stecker 9 pol.:InterBus-S IN

1 SUB-D-Buchse 9 pol.:1 SUB-D-Buchse 9 pol.:1 SUB-D-Buchse 9 pol.:1 SUB-D-Buchse 9 pol.:1 SUB-D-Buchse 9 pol.:InterBus-S-OUT

GehäuseSchutzart IP20Klemmenschienengehäuse LDG-A30Maße: 112 × 100 × 75 (H × L × B)

■ ■

Page 51: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

51

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

Beispielprogramm für SiemensS5-115UDas folgende Beispiel zeigt wie die Kom-munikation zu einem VLT® 5000 welcheran das Gateway angeschlossen istgesteuert wird.

Ebenfalls wird in diesem Beispiel der VLTmittels der PCP-Kommunikationparametriert.

BeispielaufbauSiemens S5-115U mit einer Interbus-S-Master-baugruppe, IBS/DP-Gateway miteinem VLT® 5000 mit PROFIBUS-Options-karte.

Einstellung des Interbus-S-Ma-sters

Benötigte FB’s(Funktionsbausteine)Für die Kommunikation mittels PCPwerden folgende FB’s, welche bei Phoenixbezogen werden können, benötigt:FB 60 INITIBFB 62 CON/INDFB 63 CIHFB 66 REQ/RESFB 68 CONTROLFB 69 DEFINEFB 72 ADDRESS

Anlauf- und Betriebsart-Betriebsartenwahl: gesteuert

DCB-ModeFenster 1: Basisadresse =

P-Bereich ab 32Länge = 64 Byte

Fenster 2: Basisadresse =P-Bereich ab 128Länge = 32 Byte

Fenster 3: Basisadresse =P-Bereich ab 200

Hinweise zum ProgrammDB21DB21DB21DB21DB21ist der Kommunikations-Request-DB, hierwerden die Aufträge für die PCP-Kommu-nikation hinterlegt.

DB23DB23DB23DB23DB23ist der Kommunikations-Confirmation-DB,hier trägt die PCP-Kommunikation dieAntworten ein

MW 20MW 20MW 20MW 20MW 20ist das Aktivierungswort für PCP-Kommu-nikation

MW 22MW 22MW 22MW 22MW 22ist das Meldungswort für PCP-Kommuni-kation

M 224.1M 224.1M 224.1M 224.1M 224.1aktiviert den Download.

Das Steuerwort des FrSteuerwort des FrSteuerwort des FrSteuerwort des FrSteuerwort des Frequenzumrichtersequenzumrichtersequenzumrichtersequenzumrichtersequenzumrichtersbefindet sich im AAAAAW38W38W38W38W38, der SollwertSollwertSollwertSollwertSollwert imAAAAAW40W40W40W40W40

Das Statuswort des FrStatuswort des FrStatuswort des FrStatuswort des FrStatuswort des Frequenzumrichtersequenzumrichtersequenzumrichtersequenzumrichtersequenzumrichtersbefindet sich im EW38EW38EW38EW38EW38, der IstwertIstwertIstwertIstwertIstwert imEW40EW40EW40EW40EW40

Starten des VLTDer VLT Frequenzumrichter startet wenndie unteren 7-Bit im AB39AB39AB39AB39AB39 gesetzt sind.Stoppen kann durch rücksetzen eines die-ser Bits erfolgen, wobei zwischen Motor-freilauf, Schnellstopp und Normalstoppgewählt werden kann.

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 52: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

52 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Einstell der PDU-Länge bei PCPAufgrund der Möglichkeit 14 VLT’s an dasGateway anzuschließen benötigt dieseseine vergrößerte PDU-Länge. Dasfolgende Beispiel zeigt, wie im Anlauf derSPS, die PDU-Länge in der KBL geändertwird. Für weitere Informationen bezüglichder PCP-Kommunikation verweisen wirauf das Handbuch des InterBus-S-Ma-sters.Alle Anlauf-Bausteine verzweigen zuerstzum FB210 welcher die Konfiguration derInterBus-S-Masterbau-gruppe vornimmt.

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 53: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

53

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

OB 20OB 20OB 20OB 20OB 20:SPA FB 210 ;Initialisierung der IBS-Baugruppe

NAME :ANLAUF:BE

OB 21OB 21OB 21OB 21OB 21:SPA FB 210 ;Initialisierung der IBS-Baugruppe

NAME :ANLAUF:BE

OB 22OB 22OB 22OB 22OB 22:SPA FB 210 ;Initialisierung der IBS-Baugruppe

NAME :ANLAUF:BE

OB1OB1OB1OB1OB1:SPA FB 62

NAME :CON/INDIBDB : DB 9 InterBus DatenbausteinCIDB : MB 18 CON/IND KopftabelleT : T 1 TimerTO : M 8.3 Time Out

:L KB 1:T MB 201:O M 0.0:ON M 0.0:= M 0.1::U M 224.1 Aktivierung für Download:U M 200.5 Aktivierung fuer FB1:SPB FB 1 Parametrierung VLT1

NAME :VLT-PARASTRC : M 200.0 HilfsmerkerSTR1 : M 200.1 HilfsmerkerSTR2 : M 200.2 HilfsmerkerRDB : DB 23 Request-DBCDB : DB 21 Confirmation-DBVLT : MB 201 VLT-AdresseAKTI : M 21.0 Aktivierung für PCP-KommunikationPKEW : MW 210 PKE zum VLTPARW : MW 212 Parameterwert zum VLT

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 54: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

54 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

PKER : MW 214 PKE vom VLTPARR : MW 216 Parameterwert vom VLTERR : M 200.6OK : M 200.7

::O M 200.6 ;Bei Fehler aktivierung zuruecks:R M 200.5::U M 200.7 ;OK-Meldung von FB1:U M 224.1 ;Aktivierung für Download:SPB FB 2

NAME :PARAMETEPDB : DB 100 DB mit Download-DatenCOUN: MW 220 ParameterzählerANZA : KF +17 Anzahl der ParameterPKEW : MW 210 PKE zum VLTPARW : MW 212 Parameterwert zum VLTOK : M 200.7 OK-Meldung vom FB1STRT : M 200.5 Start für FB1ZEIG : MW 222 ParameterzeigerINIT : M 224.0 Download initialisiert

::SPA FB 66

NAME :REQ/RESIBDB : DB 9 InterBus DatenbausteinRRDB : MB 19 REQ/RES-KopftabelleT : T 3 TimerTO : M 8.4 Time Out

:BE

FB 210FB 210FB 210FB 210FB 210NAME :ANLAUF

:U M 8.0:ON M 8.0:S M 8.0 Aktivierungs-Bit: INITIB:S M 10.0 ADDRESS:L KY 20,22 CON/IND,REQ/RES:T MW 18 DB PCP-Kopftabellen

M002 :U M 8.0:SPB FB 60

NAME :INITIBIBDB : DB 9 InterBus Datenbaustein

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 55: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

55

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

FEN3 : KF +200 Basisadresse: Fenster 3AV : KF +1 gest.Betrieb / Meldung freigebenRRST : DB 23 REQ/RES Standard DBCIST : DB 21 CON/IND Standard DBRRMW: KF +20 AktivierungswortCIMW : KF +22 MeldewortCIFB : FB 63 Hilfstreiber CON/INDT : T 0 TimerSTEP : MB 9 Internes MerkerbyteBUSY : M 8.0 Aktivierungs-BitTO : M 8.1 Time OutRET : M 8.2 Returnwert

:U M 8.0:ON M 8.2:SPB =M001:STS:BEA

M001 :SPA FB 62NAME :CON/INDIBDB : DB 9 InterBus DatenbausteinCIDB : MB 18 Kopf-DB-CON/INDT : T 1 TimerTO : M 8.3 Time Out

: **** PDU-Laenge aendern ********: in der KBL ändern, nur hier !!!:L KF +8:T MB 100 Funktion 8:L KF +25:T MB 101 DB-Nummer ist 25:L KF +0:T MB 102 ab DW 1:UN M 8.0 Kein BUSY-Signal von FB60:U M 10.0 Pseudo-Zyklus:SPB FB 69 DEFINE von IBS

NAME :DEFINEIBDB : DB 9 InterBus DBT : T 5 Timer Nr.5FKT : MB 100 Funktion (8) Receive KBLDB : MB 101 DB-NummerDW : MB 102 ab DWBUSY : M 103.0TO : M 103.1

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 56: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

56 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

RET : M 103.2::UN M 103.0 Kein BUSY von DEFINE FB69:UN M 8.0 Kein BUSY von FB60:U M 10.0 Pseudo-Zyklus:SPB FB 72

NAME :ADDRESSIBDB : DB 9 InterBus DatenbausteinBUSY : M 10.0 Aktivierungs-BitT : T 2 TimerIDDB : DB 10 DB: ID-Code-ListeIDDW : KF +0 DW:LBDB : DB 11 DB: Bussegment-ListeLBDW : KF +0 DW:INDB : DB 12 DB: IN-Adress-ListeINDW : KF +0 DW:OUDB : DB 13 DB: OUT-Adress-ListeOUDW: KF +0 DW:KRDB : DB 14 DB: KR-Adress-ListeKRDW: KF +0 DW:GRDB : DB 0 DB: GruppendefinitionenGRDW: KF +0 DW:MODE: M 10.5 Mode der AnzeigeEREG : MB 12 Error RegisterTO : M 10.1 Time OutRET : M 10.2 Returnwert

::SPA FB 66

NAME :REQ/RESIBDB : DB 9 InterBus DatenbausteinRRDB : MB 19 Kopf-DB-REQ/REST : T 3 TimerTO : M 8.4 Time Out

:U M 8.0 INITIB:O M 10.0 ADDRESS:SPB =M002:UN M 10.2:BEB:STS

:BE

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 57: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

57

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

FB1FB1FB1FB1FB1NAME:VLT-PARA ;Parametrierung ueber IBS/DPBEZ :STRC EBIBEZ :STR1 EBIBEZ :STR2 EBIBEZ :RDB BBEZ :CDB BBEZ :VLT EBYBEZ :AKTI EBIBEZ :PKEW EWBEZ :PARW EWBEZ :PKER AWBEZ :PARR AWBEZ :ERR EBIBEZ :OK EBI

:UN =STRC Initiate Request schon gesendet?:SPB =INIT NEIN -> Inititate Request:U =STR1 Ctrl1=1 UND Ctrl2=0:UN =STR2 -> warte auf Write_Conf:SPB =WCON:UN =STR1 Ctrl1=0 UND Ctrl2=1:U =STR2 -> warte auf Read_Conf:SPB =RCON:B =RDB:L KH 8082 Kennung Write_Request:T DW 0:L KH 0007 ParameterCounter = 7:T DW 1:L KH 0002 CR=2:T DW 2:L KH 5FA5 PKW-Object:T DW 3:L =VLT VLT-Adresse ist Subindex:T DL 4:L KB 8 Anzahl Bytes = 8:T DR 4:L =PKEW hole Auftrag fuer VLT:T DW 5:L =PARW hole Parawert fuer VLT:T DW 8:U M 0.1 VKE“1":S =STR1 Write_Request abgesetzt:SPA =CON0 Conf loeschen und Auftrag senden

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 58: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

58 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

:WCON : **** Warte auf Write_Confirm.

:B =CDB Confirmation DB oeffnen:L DW 0 Conf_Kennung holen:L KH 0000:!=F ;ist 0 dann weiter warten:BEB:L DL 3 hole Result:><F ist nicht NULL:SPB =FAUL -> FEHLER:

READ : *** READ-REQUEST absetzen ****:B =RDB Request DB oeffnen:L KH 8081 Auftragskennung Read_Request:T DW 0:L KH 0003 Parametercounter = 3:T DW 1:L KB 0:T DR 4 Anzahl Bytes = 0: CR; Object und VLT bleiben:U M 0.1 VKE“1":RB =STR1 STR1=0 UND STR2=1:S =STR2 -> warte auf Read_confiramtion:SPA =CON0 Conf loeschen und Auftrag senden:

RCON : *** warte auf READ-Confirmation:B =CDB Confirmation DB oeffnen:L DW 0 Confirmation Kennung holen:L KH 0000:!=F ist 0 dann weiter warten:BEB:L DL 3 Result-Code holen:><F ungleich 0:SPB =FAUL -> FEHLER:L DW 4 Hole empfangenes PKE:SLW 5 nur ParaNummer:L =PKEW hole gesendete Paranummer:SLW 5 Nur Paranummer:!=F gleich dann OK:SPB =OK Werte eintragen:SPA =READ wenn UNGLEICH dann neu LESEN

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 59: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

59

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

OK ::L DW 4:T =PKER:L DW 7 Hole empfangenen Parameterwert:T =PARR:U M 0.1 VKE“1":S =OK Setze OK-Merker:RB =STR1:RB =STR2:BEA

INIT : *** INITITATE REQUEST ***:U =STR1 ist nicht erster Lauf:SPB =INI1:B =RDB Schlage Request Baustein auf:L KH 808B Auftragskennung Inititate Reques:T DW 0:L KH 0002 PC und CR:T DW 1 Parameter-Counter:T DW 2 Invoke ID / CommRef:L KY 0,0:T DW 3 Password,Access Group:U M 0.1 VKE“1":S =STR1

CON0 : *** Confirmation loeschen ***:B =CDB Schlage Confirmation Baustein:L KH 0000 Eintraege loeschen:T DW 0:T DW 1:T DW 2:T DW 3:T DW 4:T DW 5:U M 0.1 VKE“1":S =AKTI Setze Aktivierungsmerker:BEA

INI1 **** Warte auf Response ****:B =CDB Confirmation DB auf:L DW 0 Confirmation-Kennung abholen:L KH 0000:!=F ist gleich 0-> keine Confirmatio:BEB dann weiter abfragen:L DL 3 Quittungscode holen:L KH 0000

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 60: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

60 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

:!=F ist 0 -> kein Fehler:SPB =INI2

FAUL : **** FEHLER ****:U M 0.1 VKE“1":S = Fehler aufgetreten:RB =STRC Reset erster Lauf:RB =STR1:RB =STR2:BEA

INI2 : *** Initiate Request OK ***:U M 0.1 VKE“1":S =STRC Setze Inititate erfolgreich:RB =STR1 Reset Schmiermerker:BE

FB2FB2FB2FB2FB2NAME:PARAMETEBEZ :PDB BBEZ :COUN EWBEZ :ANZA DKFBEZ :PKEW EWBEZ :PARW EWBEZ :OK EBIBEZ :STRT EBIBEZ :ZEIG EWBEZ :INIT EBI

::B =PDB DatenDB aufschlagen:UN =INIT:SPB =INIT

STRT ::LW =ANZA hole Anzahl:L =COUN hole momentane Anzahl:>F noch nicht Ende:SPB =WEIT -> weiter machen:RB =OK FERTIG:RB =INIT INIT zuruecksetzen:R M 224.1:BEA und ENDE

WEIT :L =ZEIG Hole Zeiger:T MW 250:B MW 250:L DW 0 hole DW an Zeigeradresse

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 61: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

61

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

:L KH 2000:+F +2000, fuer Schreibkennung:T =PKEW ist neues PKEW:L =ZEIG:I 1:T MW 250

:B MW 250:L DW 0 lade DW an Zeigeradresse:T =PARW ist neuer Parameterwert:L =ZEIG:L KF +2:+F:T =ZEIG:L =COUN:I 1:T =COUN Counter + 1:RB =OK OK fuer FB1 ruecksetzen:S =STRT und FB1 neu starten:BEA

INIT :L KH 0000:T =ZEIG:T =COUN:S =INIT:SPA =STRT:BE

DB9DB9DB9DB9DB90 : KH 0000;1 : KH 0000;

254 : KH 0000;255 : KH 0000;

DB10DB10DB10DB10DB10 ;Ident-Code-Liste;Ident-Code-Liste;Ident-Code-Liste;Ident-Code-Liste;Ident-Code-Liste0: KY 0,3 ;Anzahl der Parameter1: KY 5,241 ;IBS-PB Gateway2: KY 0,16 ;Diagnose Bit Register3: KY 0,17 ;Diagnose Parameter Register4: KY 0,0 ;Laengencode 1Geraet PPO1=55: KY 0,0 ;“ 6GeraetePPO1=15

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 62: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

62 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

DB11DB11DB11DB11DB11 ;Bussegment-Liste;Bussegment-Liste;Bussegment-Liste;Bussegment-Liste;Bussegment-Liste0: KY 0,3 ;Anzahl der Parameter1: KY 0,0 ;IBS<>PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB12DB12DB12DB12DB12 ;IN-Adr;IN-Adr;IN-Adr;IN-Adr;IN-Adress-Listeess-Listeess-Listeess-Listeess-Liste0: KY 0,3 ;Anzahl der Parameter1: KY 0,32 ;IBS<>PB Gateway2: KY 0,126 ;Diagnose Bit Register3: KY 0,128 ;Diagnose Parameter Register

DB13DB13DB13DB13DB13 ;OUT;OUT;OUT;OUT;OUT-Adr-Adr-Adr-Adr-Adress-Listeess-Listeess-Listeess-Listeess-Liste0: KY 0,3 ;Anzahl der Parameter1: KY 0,32 ;IBS-PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB14DB14DB14DB14DB14 ;KR-Liste;KR-Liste;KR-Liste;KR-Liste;KR-Liste0: KY 0,3 ;Anzahl der Parameter1: KY 0,2 ;IBS<>PB Gateway2: KY 0,0 ;Diagnose Bit Register3: KY 0,0 ;Diagnose Parameter Register

DB20DB20DB20DB20DB20 ;CON/IND-Kopftabelle;CON/IND-Kopftabelle;CON/IND-Kopftabelle;CON/IND-Kopftabelle;CON/IND-Kopftabelle0: KH 0000 ;1. CODE;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KY 0,0 ; DB,DW;4: KH 0000 ;2. CODE;5: KH 0000 ; PC ;6: KH 0000 ; KR ;7: KY 0,0 ; DB,DW;8: KH 0000 ;3. CODE;

52: KH 0000 ;14.CODE;53: KH 0000 ; PC ;54: KH 0000 ; KR ;55: KY 0,0 ; DB,DW;56: KH 0000 ;15.CODE;57: KH 0000 ; PC ;58: KH 0000 ; KR ;59: KY 0,0 ; DB,DW;60: KH 0000

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 63: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

63

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

DB21DB21DB21DB21DB21 ;CON/IND-Standar;CON/IND-Standar;CON/IND-Standar;CON/IND-Standar;CON/IND-Standard-DBd-DBd-DBd-DBd-DB0: KH 0000 ;CODE ;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KH 0000 ;Rumpf;4: KH 0000

30: KH 000031: KH 000032: KH 000033: KH 000034: KH 0000

DB22DB22DB22DB22DB22 ;REQ/RES-Kopftabelle;REQ/RES-Kopftabelle;REQ/RES-Kopftabelle;REQ/RES-Kopftabelle;REQ/RES-Kopftabelle0: KH 0000 ;1. CODE;1: KH 0000 ; PC ;2: KH 0000 ; KR ;3: KY 0,0 ; DB,DW;4: KH 0000 ;2. CODE;5: KH 0000 ; PC ;6: KH 0000 ; KR ;7: KY 0,0 ; DB,DW;8: KH 0000 ;3. CODE;

52: KH 0000 ;14.CODE;53: KH 0000 ; PC ;54: KH 0000 ; KR ;55: KY 0,0 ; DB,DW;56: KH 0000 ;15.CODE;57: KH 0000 ; PC ;58: KH 0000 ; KR ;59: KY 0,0 ; DB,DW;60: KH 0000

DB23DB23DB23DB23DB23 ;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standar;REQ/RES-Standard-DBd-DBd-DBd-DBd-DB0: KH 0000 ;CODE ;1: KH 0000 ; PC ;2: KH 0000 ; KR3: KH 0000 ;Rumpf4: KH 00005: KH 0000

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 64: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

64 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

58: KH 000059: KH 000060: KH 000061: KH 000062: KH 0000

DB25DB25DB25DB25DB25 ;Einstellen der PDU Länge;Einstellen der PDU Länge;Einstellen der PDU Länge;Einstellen der PDU Länge;Einstellen der PDU Länge0: KH 0003 ;Länge 3 Worte1: KH 0002 ; 0.Eintrag CR=22: KH 0A80 ;10.Eintrag 80hex3: KH 0C80 ;12.Eintrag 80hex

DB100DB100DB100DB100DB100 ;Download Daten0: KF +201 ;Parameter 201 Min.Frequenz1: KF +100 ;Wert 100 = 10.0Hz2: KF +202 ;Parameter 202 Max.Frequenz3: KF +1000 ;Wert 1000 = 100.0Hz4: KF +2055: KF +16: KF +2067: KF +28: KF +2079: KF +310: KF +20811: KF +412: KF +20913: KF +3014: KF +21515: KF +11116: KF +21617: KF +22218: KF +21719: KF +33320: KF +21821: KF +44422: KF +023: KF +024: KF +0

Bei

spie

lpro

gra

mm

r S

iem

ens

S5-

115U

Page 65: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

65

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

h

25: KF +126: KF +027: KF +228: KF +029: KF +330: KF +031: KF +432: KF +033: KF +5

Beisp

ielpro

gram

m fü

r Siem

ens S

5-115U

Page 66: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter
Page 67: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

67

Gateway InterBus-S

MG.10.G1.51 – VLT is a registered Danfoss trademark

En

glish

De

utsc

hS

tichwo

rtverzeichnis

AAAAA

Aktuelles PPO-Write ................... 38Anmerkungen für die Programmier-ung ............................................ 39Anschluß der Busleitung ............. 49Anschlußbeispiel ........................ 48Anzahl der VLT® 5nach einem BUS-Ausfall eine Reaktion000 ............ 44

BBBBB

Baudrate .................................... 38Bedienelemente ......................... 50Bedienhoheit .............................. 38Beispielaufbau ............................ 51Beispielprogramm ...................... 51

EEEEE

Eigenschaften der InterBus-S-Seite . 43Eigenschaften der PROFIBUS-DP-Seite .......................................... 37Eingestellter PPO-Typ ................. 44Einstellen der PDU-Länge bei PCP51Einstellen des Interbus-S-Masters ... 51Error code 00 hex ....................... 47Error code 05 hex ....................... 46Error code 08 hex ....................... 46

FFFFF

Fehlermeldungen ........................ 47FMS/DP-Wahl ............................ 38Führungshoheit .......................... 38Funktion nach Bus-Fehler ........... 38

GGGGG

Gehäuse .................................... 50

HHHHH

Hinweise zum Programm ............ 51

IIIII

ID-Code ..................................... 43Index/Subindex, IND .................. 41InterBus-S Modulfehler ............... 45

KKKKK

Klemmen und Stecker ................ 50Kommunikationsbeziehungsliste . 47Kommunikationsobjekte ............. 44Konfiguration desFrequenzumrichters .................... 38

LLLLL

Längencodes ............................. 43Lesezugriffe ................................ 46

PPPPP

Parameter 502-512 .................... 38Parameter 800 ........................... 38Parameter 801 ........................... 38Parameter 803 ........................... 38Parameter 804 ........................... 38Parameter 904 ........................... 38Parameter 918 ........................... 38Parameter 927 ........................... 38Parameter 928 ........................... 38Parameter-Kennung-Wert, PKE ...... 41Parameterschnittstelle -Read.Request ............................ 41Parameterwert, PWE .................. 41Parametrierung ........................... 39PCP-Kommunikation .................. 44PKW-Teil von PPO1 .................... 46PPO ........................................... 36PPO1 / PPO3 ............................. 50PROFIBUS-DP-Seite .................. 41Programmierung......................... 39

Page 68: Gateway InterBus-S Contents - digi table Gateway Interbus.pdf · Gateway InterBus-S For communication on the PROFIBUS-DP, there is a choice between PPO Types 1 (Process data and parameter

68 MG.10.G1.51 – VLT is a registered Danfoss trademark

Gateway InterBus-S

Sti

chw

ort

verz

eich

nis RRRRR

Read.Request ............................ 41Rückmeldung ............................. 36

SSSSS

Schreibzugriffe ............................ 46Siemens S5-115U ...................... 51Soll- / Istwert .............................. 39Starten des VLT .......................... 51Steuerwort ................................. 39supported services ..................... 47

TTTTT

Technische Daten ....................... 48Teilnehmer Adresse .................... 38

UUUUU

Überblick .................................... 36

WWWWW

Write.Request ............................. 40

ZZZZZ

Zeit nach Busausfall ................... 38