You are on page 1of 23

Module Name Project No

AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 1(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc










About this application note:
This application note describes how to configure a
Siemens S7 Profibus master together with an Anybus-
S module for Profibus-DP. The contents describe step
by step how a configuration is done.


This document assumes that the reader is familiar with
industrial communication, Profibus networks and
Siemens PLC programming.


AnyBus-S for Profibus and Siemens S7
Application Note
Rev. 1.2
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 2(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

History
Revision Date Description Responsible
0.1 20010408 Crcatcd Martin Falkman
1.0 20010502 Rclcascd Martin Falkman
1.1 20010507 Updatcd according to intcrnal discussions Martin Falkman
1.2 20010605 Complctcd according to intcrnal discussions Lcil Malmbcrg
1.21 20010607 “Company Conlidcntial" lootcr rcmovcd Martin Falkman
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 3(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

Contents
1 11 1 Rcquircmcnts Rcquircmcnts Rcquircmcnts Rcquircmcnts ................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ ............................................. ............. ............. ............. 4 44 4
2 22 2 Systcm conliguration Systcm conliguration Systcm conliguration Systcm conliguration................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ .................................. .. .. .. 5 55 5
2.1 Hardwarc Scttings..............................................................................................................................6
2.1.1 Slavc scttings ..............................................................................................................................6
2.1.2 Connccting thc bus cablc with thc ÐSU8 conncctor ..............................................................7
2.1.3 Mastcr scttings ...........................................................................................................................7
2.2 Hardwarc conliguration .....................................................................................................................8
2.2.1 !mporting thc GSÐ lilc..............................................................................................................8
2.2.2 Conliguring thc nctwork............................................................................................................8
2.3 Soltwarc conligurations....................................................................................................................13
2.3.1 Normal opcration .....................................................................................................................13
2.3.2 Òpcration whcn sccurc data consistcncy is nccdcd..................................................................13
3 33 3 ¡rrors and diagnostics ¡rrors and diagnostics ¡rrors and diagnostics ¡rrors and diagnostics ................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ .............................................................. .............................. .............................. .............................. 16 16 16 16
3.1 Thc L¡Ð:s on thc Any8us modulc.................................................................................................16
3.2 Ðiagnostics in Stcp7.........................................................................................................................19
3.3 Troublcshooting nctwork physics ....................................................................................................20
4 44 4 Morc inlormation about thc nctwork and products Morc inlormation about thc nctwork and products Morc inlormation about thc nctwork and products Morc inlormation about thc nctwork and products................................ ................................ ................................ ................................................................ ................................ ................................ ................................................. ................. ................. ................. 23 23 23 23
5 55 5 List ol Figurcs and Tablcs List ol Figurcs and Tablcs List ol Figurcs and Tablcs List ol Figurcs and Tablcs................................ ................................ ................................ ................................................................ ................................ ................................ ................................................................ ................................ ................................ ........................................................ ........................ ........................ ........................ 23 23 23 23

Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 4(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

1 Requirements

Ðcscription Ðcscription Ðcscription Ðcscription Namc / Typc Namc / Typc Namc / Typc Namc / Typc \crsion \crsion \crsion \crsion
Sicmcns S7 PLC CPU 3152 ÐP
6¡S7 3152AF020A80
Sicmcns PLC programming cablc n.a. n.a.
PC with Sicmcns PLC programming soltwarc Stcp7 5.1
Prolibus slavc modulc Any8usS Prolibus 1.3
GSÐ lilc lor thc Any8us modulc HMS_1003.GSÐ 1.0
Any8usS Parallcl Ðcsign Guidc A8SÐGP1.13 1.13
Any8usS Ficldbus Appcndix Prolibus A8SPÐP1.2 1.2
Prolibus standard cablc n.a. n.a.
Prolibus ÐSU8 contacts n.a. n.a.
Powcr supply 24\ÐC n.a. n.a.
Host dcvicc lor thc Any8us modulc (any host dcvicc
can bc uscd, in this cxamplc thc startcrkit lrom HMS)
n.a. n.a.
Sicmcns PLC programming cablc n.a. n.a.

Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 5(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

2 System configuration
8clow you lind an ovcrvicw ol thc systcm conliguration that is dcscribcd in this documcnt.
Òthcr nodcs may bc attachcd to thc nctwork, but arc not ncccssary.


Figurc 1 Hardwarc conncction ovcrvicw

Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 6(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

2.1 Hardware Settings
2.1.1 Slave settings
Thc addrcss sctting is donc with thc two rotary switchcs on thc Any8us modulc. Notc: Thc addrcss sctting
can bc donc in dillcrcnt ways dcpcnding on thc host dcvicc. !n somc applications thc application intcrlacc is
uscd to sct thc addrcsscs with soltwarc.
• Thc addrcss is sct to #1 in this cxamplc.
• Thc tcrminating switch tcrminating switch tcrminating switch tcrminating switch should bc sct to “ÒN ÒN ÒN ÒN" il:
o Thc modulc is thc last nodc on thc nctwork -~ physical cnd ol thc bus.
o No othcr tcrmination is uscd at this cnd ol thc nctwork.
• Thc tcrminating switch tcrminating switch tcrminating switch tcrminating switch should bc sct to “ÒFF ÒFF ÒFF ÒFF" il:
o Thcrc arc othcr nodcs on both sidcs ol thc modulc in thc nctwork.
o Thc modulc is thc last nodc on thc nctwork and a Prolibus ÐSU8 conncctor is uscd which
is cquippcd with a built in and activatcd tcrmination.


Figurc 2 Any8usS Prolibus hardwarc scttings
Notc: Thc Prolibus nctwork must always bc tcrminatcd at both cnds.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 7(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

2.1.2 Connecting the bus cable with the D-SUB connector
Thc Any8us modulc can bc mountcd with scvcral typcs ol bus conncctors. Thc standard conncctor shown
bclow should bc uscd in this cxamplc.


Figurc 3 Standard Prolibus ÐSU8 conncctor

Figurc 4 8us conncctor with builtin tcrminating rcsistors and scrics inductors
2.1.3 Master settings
All thc mastcr hardwarc scttings arc donc with thc Stcp7 conligurator tool “HV Conlig" and this is
dcscribcd in chaptcr 2.2.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 8(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

2.2 Hardware configuration
Thc PLC systcm hardwarc conliguration is donc solcly with thc Sicmcns Stcp7 tool.
!n ordcr to conligurc thc bus it is ncccssary to sct up thc PLC and mastcr hardwarc lirst. !n this cxamplc wc
arc using an S73152 CPU and a 2A powcr supply with a standard rack. Plcasc rclcr to thc Stcp7
documcntation lor dctails on how to do this conliguration.
2.2.1 Importing the GSD file
!t is ncccssary to import thc lilc HMS_1003.GSÐ to thc conligurator tool in ordcr to includc thc Any8usS
as a slavc in thc nctwork.

Figurc 5 !nstall a ncw GSÐ lilc in "HV Conlig"
2.2.2 Configuring the network
Thc Any8us modulc can bc lound in thc hardwarc cataloguc altcr thc GSÐ lilc has bccn importcd.

Figurc 6 Thc Any8us modulc in thc Hardwarc Cataloguc
Vhcn thc PLC hardwarc is sct up it will look likc dcscribcd in Figurc 7 PLC with cmpty bus.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 9(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc


Figurc 7 PLC with cmpty bus
!t is now possiblc to includc thc Any8us slavc in thc nctwork. Òpcn up thc “Any8usS PÐP" cntry in thc
hardwarc cataloguc and drag and drop thc Any8us modulc on to thc nctwork, scc dcscription in Figurc 8.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 10(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc


Figurc 8 Ðrag and drop thc Any8us modulc to thc nctwork
!t is thcn ncccssary to conligurc thc Any8us modulc itscll. Thc only conliguring to bc donc is sctting up thc
nodc addrcss, input and output data arca sizcs and ollsct addrcss.
!n Figurc 9 it is shown how to cdit thc nodc addrcss. Thc cditwindow lor thc nodc addrcss is opcncd by
doing thc click scqucncc n, o, p. At p it is possiblc to sct thc dcsircd nodc addrcss. Thc addrcss sct hcrc
must cqual thc addrcss sct on thc Any8usS modulc, scc Figurc 2.

Figurc 9 Adjusting thc nodc addrcss in HV Conlig
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 11(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

Vhich dillcrcnt modulcs you likc to usc dcpcnds on what your application dcmand is. !t is possiblc to
choosc thcsc modulcs lrccly and to composc thc !/Ò sizcs nccdcd, sc cxamplcs bclow in tablc 1.

Tablc 1 ¡xamplcs ol dara arca modulcs
8ytcs nccdcd by thc application 8ytcs nccdcd by thc application 8ytcs nccdcd by thc application 8ytcs nccdcd by thc application Modulcs to usc Modulcs to usc Modulcs to usc Modulcs to usc
4 !n ÷ 2 Òut 4 !n ÷ 2 Òut
7 !n ÷ 12 Òut 4 !n ÷ 2 !n ÷ 1 !n ÷ 8 Òut ÷ 4 Òut
32 !n ÷ 32 Òut 32 !n/Òut
68 !n 64 !n ÷ 4 !n

Thc modulcs arc composcd togcthcr in thc “modulc list" ol thc Any8us as shown in Figurc 10.

Figurc 10 Sclccting !n and Òut modulcs with “Ðrag and Ðrop"
8y doublc clicking on a modulc in thc “modulc list" it is possiblc to sct thc ollsct addrcsscs. Scc cxamplc in
Figurc 11.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 12(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc


Figurc 11 Adjusting thc ollsct addrcss
Thc ollsct addrcsscs can bc choscn lrccly but ccrtain rcstrictions may apply dcpcnding on what CPU is uscd.
Vhcn all thc abovc scttings arc donc it is possiblc to pcrlorm a download ol thc conliguration to thc PLC.
Rclcr to thc Stcp7 documcntation lor dctails on how to do this. Thc bus systcm should thcn go onlinc and
start data cxchangc whcn thc PLC is sct to run modc.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 13(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

2.3 Software configurations
2.3.1 Normal operation
No cxtra PLC programming is ncccssary lor normal opcration. Thc data is acccssiblc and addrcssablc
dircctly lrom thc PLC program.
2.3.2 Operation when secure data consistency is needed
Thc S7 PLC can rcad out onc, two or lour bytcs consistcnt lrom thc !/Òimagc dircctly by acccssing thc
data as a 8ytc, a Vord or a Ðoublc Vord. !l it is rcquircd to rcad out othcr consistcnt data arcas it is
ncccssary to usc thc Systcm Function 8locks SFC14 and SFC15.
Thc lirst thing that has to bc donc is to spccily thc consistcnt data arca in thc hardwarc conliguration. Thc
“Univcrsal Modulc" can bc sclcctcd with “drag and drop" as shown in Figurc 12.

Figurc 12 Sclccting thc Univcrsal Modulc lor consistcnt data translcr
!n Figurc 13 it is shown how to sct thc propcrtics ol thc Univcrsal Modulc. This window is opcncd by
doublc clicking on thc Univcrsal Modulc linc in thc list ol sclcctcd modulcs. Thc dcsircd data typc (!n, Òut,
or !n/Òut) is sct with thc list box shown at n. Thcn thc ollsct, lcngth, unit and consistcncy scttings can bc
donc as shown at o. !n thc cxamplc bclow thc output data lcngth is sct to 12 bytcs and thc input data
lcngth sct to 38 bytcs with consistcncy ovcr thc total lcngth. Thc addrcss ollscts arc sct to 46 rcspcctivc 92.
Thc “Ðata lor Spccilic Manulacturcr" shown at p is not uscd unlcss thc dcvicc manulacturcr spccilics this.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 14(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc


Figurc 13 Spccilying thc propcrtics lor thc Univcrsal Modulc
To rcad out thc consistcnt data spccilicd in Figurc 13 and Figurc 12 a PLC program has to bc writtcn that
uscs SFC14 and SFC15. An cxamplc ol this is shown in Figurc 14. Thcsc two SFC:s arc includcd in thc
Stcp7 standard packagc and thcy also havc to bc importcd into thc activc projcct. Thcy can bc copicd lrom
thc “Standard Library" or lrom thc CPU onlinc. Rclcr to thc Stcp7 documcntation lor dctails rcgarding this.
Thc lunction blocks cnsurc that data consistcncy is sccurcd ovcr thc complctc data lcngth. Vhcrc thc data
should bc rcad or put in thc proccss imagc is dccidcd in thc hardwarc conliguration, scc Figurc 13.
SFC14 !nput data: SFC14 !nput data: SFC14 !nput data: SFC14 !nput data:
Thc purposc ol SFC14 is to rcad out thc data lrom !n arca ol thc proccss imagc and thcn copy thc data to
anothcr storagc location.
LAÐÐR: spccilics thc start bytc addrcss ol thc data to bc rcad. Thc valuc is cntcrcd in Hcx. !n this casc thc
start bytc addrcss is 92 (-5C Hcx) which can bc lound at o in Figurc 13.
R¡T_\AL: Storagc location lor crror mcssagcs. This is a Vord, in this casc MV4.
R¡CÒRÐ: This is whcrc thc data is copicd to. !n this casc it is copicd to mcmory bytc 1047. (i.c. M810
M847). Thc lcngth must cqual thc lcngth sct at o in Figurc 13.
SFC15 Òutput data: SFC15 Òutput data: SFC15 Òutput data: SFC15 Òutput data:
Thc Purposc ol SFC15 is to rcad thc data lrom any storagc location and thcn copy it to thc Òut arca ol thc
proccss imagc.
LAÐÐR: spccilics thc start bytc addrcss ol thc data to bc scnt. Thc valuc is cntcrcd in Hcx. !n this casc thc
start bytc addrcss is 46 (-2¡ Hcx) which can bc lound at o in Figurc 13.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 15(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

R¡T_\AL: Storagc location lor crror mcssagcs. This is a Vord, in this casc MV6.
R¡CÒRÐ: This is whcrc thc data is rcad lrom. !n this casc it is rcad lrom mcmory bytc 4859. (i.c. M848
M859). Thc lcngth must cqual thc lcngth sct at o in Figurc 13.
Thc data can thcn bc proccsscd as dcsircd (i.c. as bytc, word, doublc word or bit wisc) at thc othcr storagc
location spccilicd at R¡CÒRÐ.
!n thc cxamplc bclow (Figurc 14) it is dcscribcd how thc PLC program can bc donc.

Figurc 14 Thc usc ol SFC14 and SFC15 in thc PLC program
8y highlighting thc SFC in thc LAÐcditor and thcn prcssing “F1" thc hclp lunction will start and display
cxtcndcd inlormation such as crror codcs and syntax cxamplcs.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 16(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

3 Errors and diagnostics
3.1 The LED:s on the AnyBus module
Thc L¡Ð:s on thc Any8us modulc havc thc mcaning shown in
Figurc 15 and Tablc 2.


Figure 15 Indication LED:s on the AnyBus module
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 17(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

Tablc 2 Ðcsacription ol L¡Ð:s
L¡Ð # L¡Ð # L¡Ð # L¡Ð # Namc Namc Namc Namc Color Color Color Color Mcaning Mcaning Mcaning Mcaning Corrcctivc actions Corrcctivc actions Corrcctivc actions Corrcctivc actions
n nn n
Not uscd
o oo o
ÒnLinc Grccn
!ndicatcs that thc modulc is ÒnLinc on thc
licldbus.
Solid Grccn Solid Grccn Solid Grccn Solid Grccn Modulc is ÒnLinc and data
cxchangc is possiblc.
Turncd Òll Turncd Òll Turncd Òll Turncd Òll Modulc is not ÒnLinc
No actions nccdcd
p pp p
ÒllLinc Rcd
!ndicatcs that thc modulc is ÒllLinc on thc
licldbus.
Solid Rcd Solid Rcd Solid Rcd Solid Rcd Modulc is ÒllLinc and no data
cxchangc is possiblc.
Turncd Òll Turncd Òll Turncd Òll Turncd Òll Modulc is not ÒllLinc
Chcck hardwarc, i.c. cablc
conncction, baudratc sctting ctc.
Chcck hardwarc conliguration
in Stcp7

q qq q
Ficldbus
Ðiagnostics
Rcd
!ndicatcs ccrtain laults on thc Ficldbus sidc.
Flashing Rcd 1 Hz Flashing Rcd 1 Hz Flashing Rcd 1 Hz Flashing Rcd 1 Hz ¡rror in conliguration:
!N and/or ÒUT
lcngth sct during initialisation ol thc modulc
is not cqual to thc
lcngth sct during conliguration ol thc
nctwork.
Flashing Rcd 2 Hz Flashing Rcd 2 Hz Flashing Rcd 2 Hz Flashing Rcd 2 Hz ¡rror in Uscr Paramctcr
data: Thc
lcngth/contcnts ol thc Uscr Paramctcr data
sct during
initialisation ol thc modulc is not cqual to thc
lcngth/contcnts sct
during conliguration ol thc nctwork.
Flashing Rcd 4 Hz Flashing Rcd 4 Hz Flashing Rcd 4 Hz Flashing Rcd 4 Hz ¡rror in initialisation ol
thc Prolibus
communication AS!C.
Turncd Òll Turncd Òll Turncd Òll Turncd Òll No diagnostics prcscnt
Chcck hardwarc conliguration
in Stcp7
!l Flashing Rcd 4 Hz Flashing Rcd 4 Hz Flashing Rcd 4 Hz Flashing Rcd 4 Hz consult
HMS

Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 18(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

Watchdog LED
There is also a bicolour (red/green) watchdog LED on the circuit board, indicating the module status
according to Tablc 3 and Figurc 16.

Figurc 16 Vatchdog L¡Ð position

Tablc 3 !ndications on Vatchdog L¡Ð
Vatchdog lunction Vatchdog lunction Vatchdog lunction Vatchdog lunction Colour Colour Colour Colour Frcqucncy Frcqucncy Frcqucncy Frcqucncy
AS!C and FLASH RÒM chcck lault Rcd 2Hz
Modulc not initialiscd Grccn 2Hz
Modulc initialiscd and running ÒK Grccn 1Hz
RAM chcck lault Rcd 1Hz
ÐPRAM chcck lault Rcd 4Hz

Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 19(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

3.2 Diagnostics in Step7
Stcp7 and thc HV Conlig program providcs diagnostic possibilitics via thc Prolibus mastcr ovcr thc
nctwork. Start with going onlinc by clicking on thc button n in ligurc Figurc 17. Thcn rightclick on o
and chosc “Modulc !nlormation" and thc diagnostic lunction will bc startcd. Thc window p will bc
displaycd and availablc diagnostics can bc rcad out.
Vhat diagnostics that that arc availablc dcpcnds on thc application. !n standard modc thcrc arc no
application spccilic diagnostics availablc. All thc standard Prolibus diagnostics arc supportcd and
inlormation rcgarding this can bc lound in thc onlinc documcntation ol Stcp7. Application spccilic
diagnostics, crror codcs ctc. can bc lound in thc documcntation ol thc application.
!l thc mcssagc shown in thc window p appcars thc rcason can bc thc lollowing:
• Thc Any8us modulc is not attachcd propcrly to thc Prolibus nctwork. Chcck cabcling.
• Thc Any8us nodc addrcss docs not match thc addrcss sct in thc HV Conlig program.
• Thc Any8us modulc is laulty and docs not start up propcrly. Chcck thc L¡Ð:s on thc Any8us
modulc.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 20(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc


Figurc 17 Stcp7 Hardwarc diagnostics
3.3 Troubleshooting network physics
Thc most normal lailurc whcn thc diagnostic tool rcports “nonscnsc" is physical crrors on thc nctwork likc
cablc conncct crrors, miss contact, wrong tcrmination ctc. Somc simplc ways to lind thcsc crrors will bc
mcntioncd hcrc.
Ðata crrors can occur il thc PRÒF!8US cablc is incorrcctly attachcd to thc bus conncctors. Such basic crrors
can bc dctcctcd and rcmcdicd with thc simplc tcst mcthod dcscribcd bclow. Thc tcst mcthod shown
schcmatically in ligurc Figurc 18 allows you to dctcct data wircs which arc swappcd ovcr in thc bus
conncctors. Ðuring thc tcst, thc bus conncctors must not bc conncctcd to any PRÒF!8US dcviccs. !n
addition, all bus tcrminating rcsistors should bc rcmovcd or disablcd. Thc tcsts rcquirc two 9 pin lcmalc
SubÐ tcst conncctors. Tcst conncctor 1 is providcd with a singlc polc changcovcr switch, thc moving
contact ol which is conncctcd to thc shicld (casc) ol thc tcst conncctor. Thc two lixcd contacts arc conncctcd
to pin 3 (data wirc 8) and pin 8 (data wirc A), rcspcctivcly. Tcst conncctor 2 is uscd to conncct an
Òhmmctcr to thc bus. Ðuring thc cablc tcsts, thc two tcst conncctors 1 and 2 arc initially pluggcd into thc
two bus conncctors at cach cnd ol thc bus scgmcnt. Thc lollowing tcsts can bc madc by taking mcasurcmcnts
bctwccn thc contacts 3 and 8 and thc shicld ol tcst conncctor 2 whilc opcrating thc changcovcr switch on
tcst conncctor 1:
ˇ Ðata cablc swappcd ovcr
ˇ Òpcn circuit ol onc ol thc data cablcs
ˇ Òpcn circuit ol thc cablc shicld
ˇ Short circuit bctwccn thc data cablcs
ˇ Short circuit bctwccn thc data cablcs and thc cablc shicld
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 21(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

ˇ Additional bus tcrminating rcsistors inscrtcd unintcntionally

Figurc 18 Troublcshooting thc Prolibus nctwork
Carrying out thc tcsts Carrying out thc tcsts Carrying out thc tcsts Carrying out thc tcsts
• Conliguration A: Sct switch ol tcst conncctor 1 to position 3 (connccts pin 3 to thc scrccn). Conncct
ohmmctcr to tcst conncctor 2 bctwccn pin 3 and thc scrccn.
• Conliguration 8: Sct switch ol tcst conncctor 1 to position 8 (connccts pin 8 to thc scrccn). Conncct
ohmmctcr to tcst conncctor 2 bctwccn pin 8 and thc scrccn.
• Conliguration C: Sct switch ol tcst conncctor 1 to position 3 (connccts pin 3 to thc scrccn). Conncct
ohmmctcr to tcst conncctor 2 bctwccn pin 8 and thc scrccn.
• Conliguration Ð: Switch position ol tcst conncctor 1 is not important. Conncct ohmmctcr to tcst
conncctor 2 bctwccn pin 3 and pin 8.

Varning: Thc mcasurcd valuc can bc lalsilicd il thc ohmmctcr conncctions arc touchcd.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 22(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

Tcst 1: Tcst 1: Tcst 1: Tcst 1:


Figurc 19 Tcstproccdurc 1
x-110ohm/km

Tcst 2: Tcst 2: Tcst 2: Tcst 2: Samc as tcst 1 cxccpt conliguration A and conliguration 8 arc cxchangcd, i.c. start with conliguration
8.

Tcst 3: Tcst 3: Tcst 3: Tcst 3: Too many bus tcrminating rcsistors inscrtcd.

Figurc 20 Tcstproccdurc 3
!n ordcr to asscss thc mcasurcmcnts you makc, it is ncccssary to know thc loop rcsistancc ol thc bus cablc
scgmcnt. This is dcpcndcnt on thc cablc typc uscd and thc installcd cablc lcngth. Thc location ol a lault can
bc dctcrmincd without opcning up thc bus conncctors by unplugging tcst conncctor 1 and plugging it into
anothcr bus conncctor which is closcr to tcst conncctor 2 whilc carrying out rcpcatcd Òhmmctcr
mcasurcmcnts at tcst conncctor 2.
Module Name Project No
AnyBus-S Profibus
Document ID Revision
- 1.21
Issued by Date


Martin Falkman 2001-06-07
Subject Approved by Page
Siemens S7 and AnyBus-S Profibus Leif Malmberg 23(23)


Created: 2001-06-05
Last saved by: Martin Falkman
Printed: 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

4 More information about the network and products
Thc latcst manuals and GSÐ lilc lor thc Any8usS modulc can bc lound on thc HMS homcpagc
www.hmsnctworks.com
Thc Prolibus uscr organisation has a homcpagc on thc !ncrnct: www.prolibus.com
Scvcral tcchnical guidcs arc availablc in or via this pagc.
For inlormation conccrning thc PLC and Prolibus mastcr systcm rclcr to thc Sicmcns homcpagc
www.ad.sicmcns.dc/mcta/indcx_76.htm
5 List of Figures and Tables
Figurc 1 Hardwarc conncction ovcrvicw............................................................................................................5
Figurc 2 Any8usS Prolibus hardwarc scttings .................................................................................................6
Figurc 3 Standard Prolibus ÐSU8 conncctor..................................................................................................7
Figurc 4 8us conncctor with builtin tcrminating rcsistors and scrics inductors...............................................7
Figurc 5 !nstall a ncw GSÐ lilc in "HV Conlig" .............................................................................................8
Figurc 6 Thc Any8us modulc in thc Hardwarc Cataloguc ...............................................................................8
Figurc 7 PLC with cmpty bus..........................................................................................................................9
Figurc 8 Ðrag and drop thc Any8us modulc to thc nctwork..........................................................................10
Figurc 9 Adjusting thc nodc addrcss in HV Conlig.......................................................................................10
Figurc 10 Sclccting !n and Òut modulcs with “Ðrag and Ðrop" ....................................................................11
Figurc 11 Adjusting thc ollsct addrcss.............................................................................................................12
Figurc 12 Sclccting thc Univcrsal Modulc lor consistcnt data translcr ...........................................................13
Figurc 13 Spccilying thc propcrtics lor thc Univcrsal Modulc........................................................................14
Figurc 14 Thc usc ol SFC14 and SFC15 in thc PLC program ......................................................................15
Figurc 15 !ndication L¡Ð:s on thc Any8us modulc.......................................................................................16
Figurc 16 Vatchdog L¡Ð position................................................................................................................18
Figurc 17 Stcp7 Hardwarc diagnostics ............................................................................................................20
Figurc 18 Troublcshooting thc Prolibus nctwork............................................................................................21
Figurc 19 Tcstproccdurc 1 ...............................................................................................................................22
Figurc 20 Tcstproccdurc 3 ...............................................................................................................................22

Tablc 1 ¡xamplcs ol dara arca modulcs ...........................................................................................................11
Tablc 2 Ðcsacription ol L¡Ð:s........................................................................................................................17
Tablc 3 !ndications on Vatchdog L¡Ð..........................................................................................................18

Module Name

Project No

AnyBus-S Profibus
Document ID Revision

Issued by

1.21
Date

Martin Falkman
Subject Approved by

2001-06-07
Page

Siemens S7 and AnyBus-S Profibus

Leif Malmberg

2(23)

=

History
Revision Date MKN= NKM= NKN= NKO= NKON= OMMNJMQJMU= OMMNJMRJMO= OMMNJMRJMT= OMMNJMSJMR= OMMNJMSJMT= Description `êÉ~íÉÇ= oÉäÉ~ëÉÇ= réÇ~íÉÇ=~ÅÅçêÇáåÖ=íç=áåíÉêå~ä=ÇáëÅìëëáçåë= “`çãé~åó=`çåÑáÇÉåíá~äÒ=ÑççíÉê=êÉãçîÉÇ= Responsible j~êíáå=c~äâã~å= j~êíáå=c~äâã~å= j~êíáå=c~äâã~å= j~êíáå=c~äâã~å=

`çãéäÉíÉÇ=~ÅÅçêÇáåÖ=íç=áåíÉêå~ä=ÇáëÅìëëáçåë= iÉáÑ=j~äãÄÉêÖ=

=

Created: Last saved by: Printed:

2001-06-05 Martin Falkman 2001-06-07

C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc

=

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 3(23) = Contents N O KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKQ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK oÉèìáêÉãÉåíë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK Q póëíÉã=ÅçåÑáÖìê~íáçåKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKR póëíÉã=ÅçåÑáÖìê~íáçå KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK R OKN e~êÇï~êÉ=pÉííáåÖëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKS OKNKN pä~îÉ=ëÉííáåÖë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKS OKNKO `çååÉÅíáåÖ=íÜÉ=Äìë=Å~ÄäÉ=ïáíÜ=íÜÉ=aJpr_=ÅçååÉÅíçê KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKT OKNKP j~ëíÉê=ëÉííáåÖë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKT OKO e~êÇï~êÉ=ÅçåÑáÖìê~íáçå KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKU OKOKN fãéçêíáåÖ=íÜÉ=dpa=ÑáäÉKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKU OKOKO `çåÑáÖìêáåÖ=íÜÉ=åÉíïçêâKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKU OKP pçÑíï~êÉ=ÅçåÑáÖìê~íáçåëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNP OKPKN kçêã~ä=çéÉê~íáçå KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNP OKPKO léÉê~íáçå=ïÜÉå=ëÉÅìêÉ=Ç~í~=ÅçåëáëíÉåÅó=áë=åÉÉÇÉÇ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNP KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNS bêêçêë=~åÇ=Çá~ÖåçëíáÅë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK NS PKN qÜÉ=ibaWë=çå=íÜÉ=^åó_ìë=ãçÇìäÉ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNS PKO aá~ÖåçëíáÅë=áå=píÉéTKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNV PKP qêçìÄäÉëÜççíáåÖ=åÉíïçêâ=éÜóëáÅë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOM jçêÉ=áåÑçêã~íáçå=~Äçìí=íÜÉ=åÉíïçêâ=~åÇ=éêçÇìÅíëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK OP jçêÉ=áåÑçêã~íáçå=~Äçìí=íÜÉ=åÉíïçêâ=~åÇ=éêçÇìÅíëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOP KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK iáëí=çÑ=cáÖìêÉë=~åÇ=q~ÄäÉëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOP iáëí=çÑ=cáÖìêÉë=~åÇ=q~ÄäÉëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK OP KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK P Q R = = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = .

doc = .Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 4(23) = 1 Requirements = aÉëÅêáéíáçå= aÉëÅêáéíáçå= páÉãÉåë=pT=mi`= páÉãÉåë=mi`=éêçÖê~ããáåÖ=Å~ÄäÉ= m`=ïáíÜ=páÉãÉåë=mi`=éêçÖê~ããáåÖ=ëçÑíï~êÉ= mêçÑáÄìë=ëä~îÉ=ãçÇìäÉ= dpa=ÑáäÉ=Ñçê=íÜÉ=^åó_ìë=ãçÇìäÉ= ^åó_ìëJp=m~ê~ääÉä=aÉëáÖå=dìáÇÉ= ^åó_ìëJp=cáÉäÇÄìë=^ééÉåÇáñ=mêçÑáÄìë= mêçÑáÄìë=ëí~åÇ~êÇ=Å~ÄäÉ= mêçÑáÄìë=aJpr_=Åçåí~Åíë= mçïÉê=ëìééäó=OQsa`= k~ãÉ=L=qóéÉ= k~ãÉ=L=qóéÉ= `mr=PNRJO=am= åK~K= píÉéT= ^åó_ìëJp=mêçÑáÄìë= ejp|NMMPKdpa= ^_pJadmJNKNP= ^_pJmamJNKO= åK~K= åK~K= åK~K= sÉêëáçå= sÉêëáçå= SbpT=PNRJO^cMOJM^_M= åK~K= RKN= NKP= NKM= NKNP= NKO= åK~K= åK~K= åK~K= åK~K= åK~K= eçëí=ÇÉîáÅÉ=Ñçê=íÜÉ=^åó_ìë=ãçÇìäÉ=E~åó=Üçëí=ÇÉîáÅÉ= åK~K= Å~å=ÄÉ=ìëÉÇI=áå=íÜáë=Éñ~ãéäÉ=íÜÉ=ëí~êíÉêâáí=Ñêçã=ejpF== páÉãÉåë=mi`=éêçÖê~ããáåÖ=Å~ÄäÉ= åK~K= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 5(23) = 2 System configuration _Éäçï=óçì=ÑáåÇ=~å=çîÉêîáÉï=çÑ=íÜÉ=ëóëíÉã=ÅçåÑáÖìê~íáçå=íÜ~í=áë=ÇÉëÅêáÄÉÇ=áå=íÜáë=ÇçÅìãÉåíK= líÜÉê=åçÇÉë=ã~ó=ÄÉ=~íí~ÅÜÉÇ=íç=íÜÉ=åÉíïçêâI=Äìí=~êÉ=åçí=åÉÅÉëë~êóK= = cáÖìêÉ=N=e~êÇï~êÉ=ÅçååÉÅíáçå=çîÉêîáÉï= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc = .

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = .21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 6(23) = 2.1.1 Hardware Settings 2.1 Slave settings qÜÉ=~ÇÇêÉëë=ëÉííáåÖ=áë=ÇçåÉ=ïáíÜ=íÜÉ=íïç=êçí~êó=ëïáíÅÜÉë=çå=íÜÉ=^åó_ìë=ãçÇìäÉK=kçíÉW=qÜÉ=~ÇÇêÉëë=ëÉííáåÖ= Å~å=ÄÉ=ÇçåÉ=áå=ÇáÑÑÉêÉåí=ï~óë=ÇÉéÉåÇáåÖ=çå=íÜÉ=Üçëí=ÇÉîáÅÉK=få=ëçãÉ=~ééäáÅ~íáçåë=íÜÉ=~ééäáÅ~íáçå=áåíÉêÑ~ÅÉ=áë= ìëÉÇ=íç=ëÉí=íÜÉ=~ÇÇêÉëëÉë=ïáíÜ=ëçÑíï~êÉK== • • qÜÉ=~ÇÇêÉëë=áë=ëÉí=íç=@N=áå=íÜáë=Éñ~ãéäÉK= qÜÉ=íÉêãáå~íáåÖ=ëïáíÅÜ íÉêãáå~íáåÖ=ëïáíÅÜ=ëÜçìäÇ=ÄÉ=ëÉí=íç=“lk lkÒ=áÑW= íÉêãáå~íáåÖ=ëïáíÅÜ lk o o • qÜÉ=ãçÇìäÉ=áë=íÜÉ=ä~ëí=åçÇÉ=çå=íÜÉ=åÉíïçêâ=Z[=éÜóëáÅ~ä=ÉåÇ=çÑ=íÜÉ=ÄìëK= kç=çíÜÉê=íÉêãáå~íáçå=áë=ìëÉÇ=~í=íÜáë=ÉåÇ=çÑ=íÜÉ=åÉíïçêâK== qÜÉêÉ=~êÉ=çíÜÉê=åçÇÉë=çå=ÄçíÜ=ëáÇÉë=çÑ=íÜÉ=ãçÇìäÉ=áå=íÜÉ=åÉíïçêâK= qÜÉ=ãçÇìäÉ=áë=íÜÉ=ä~ëí=åçÇÉ=çå=íÜÉ=åÉíïçêâ=~åÇ=~=mêçÑáÄìë=aJpr_=ÅçååÉÅíçê=áë=ìëÉÇ=ïÜáÅÜ= áë=ÉèìáééÉÇ=ïáíÜ=~=Äìáäí=áå=~åÇ=~Åíáî~íÉÇ=íÉêãáå~íáçåK== qÜÉ=íÉêãáå~íáåÖ=ëïáíÅÜ íÉêãáå~íáåÖ=ëïáíÅÜ=ëÜçìäÇ=ÄÉ=ëÉí=íç=“lcc lccÒ=áÑW= íÉêãáå~íáåÖ=ëïáíÅÜ lcc o o = = cáÖìêÉ=O=^åó_ìëJp=mêçÑáÄìë=Ü~êÇï~êÉ=ëÉííáåÖë= kçíÉW=qÜÉ=mêçÑáÄìë=åÉíïçêâ=ãìëí=~äï~óë=ÄÉ=íÉêãáå~íÉÇ=~í=ÄçíÜ=ÉåÇëK== = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

2 Connecting the bus cable with the D-SUB connector qÜÉ=^åó_ìë=ãçÇìäÉ=Å~å=ÄÉ=ãçìåíÉÇ=ïáíÜ=ëÉîÉê~ä=íóéÉë=çÑ=Äìë=ÅçååÉÅíçêëK=qÜÉ=ëí~åÇ~êÇ=ÅçååÉÅíçê=ëÜçïå= ÄÉäçï=ëÜçìäÇ=ÄÉ=ìëÉÇ=áå=íÜáë=Éñ~ãéäÉK== = = cáÖìêÉ=P=pí~åÇ~êÇ=mêçÑáÄìë=aJpr_=ÅçååÉÅíçê= = cáÖìêÉ=Q=_ìë=ÅçååÉÅíçê=ïáíÜ=ÄìáäíJáå=íÉêãáå~íáåÖ=êÉëáëíçêë=~åÇ=ëÉêáÉë=áåÇìÅíçêë= 2.1.doc = .1.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 7(23) = 2.3 Master settings ^ää=íÜÉ=ã~ëíÉê=Ü~êÇï~êÉ=ëÉííáåÖë=~êÉ=ÇçåÉ=ïáíÜ=íÜÉ=píÉéT=ÅçåÑáÖìê~íçê=íççä=“et=`çåÑáÖÒ=~åÇ=íÜáë=áë= ÇÉëÅêáÄÉÇ=áå=ÅÜ~éíÉê=OKOK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = .2.1 Importing the GSD file fí=áë=åÉÅÉëë~êó=íç=áãéçêí=íÜÉ=ÑáäÉ=ejp|NMMPKdpa=íç=íÜÉ=ÅçåÑáÖìê~íçê=íççä=áå=çêÇÉê=íç=áåÅäìÇÉ=íÜÉ=^åó_ìëJp= ~ë=~=ëä~îÉ=áå=íÜÉ=åÉíïçêâK== = cáÖìêÉ=R=fåëí~ää=~=åÉï=dpa=ÑáäÉ=áå=?et=`çåÑáÖ?= 2.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 8(23) = 2.2 Hardware configuration qÜÉ=mi`=ëóëíÉã=Ü~êÇï~êÉ=ÅçåÑáÖìê~íáçå=áë=ÇçåÉ=ëçäÉäó=ïáíÜ=íÜÉ=páÉãÉåë=píÉéT=íççäK== få=çêÇÉê=íç=ÅçåÑáÖìêÉ=íÜÉ=Äìë=áí=áë=åÉÅÉëë~êó=íç=ëÉí=ìé=íÜÉ=mi`==~åÇ=ã~ëíÉê=Ü~êÇï~êÉ=ÑáêëíK=få=íÜáë=Éñ~ãéäÉ=ïÉ= ~êÉ=ìëáåÖ=~å=pTPNRJO=`mr=~åÇ=~=O^=éçïÉê=ëìééäó=ïáíÜ=~=ëí~åÇ~êÇ=ê~ÅâK=mäÉ~ëÉ=êÉÑÉê=íç=íÜÉ=píÉéT= ÇçÅìãÉåí~íáçå=Ñçê=ÇÉí~áäë=çå=Üçï=íç=Çç=íÜáë=ÅçåÑáÖìê~íáçåK= 2.2.2 Configuring the network qÜÉ=^åó_ìë=ãçÇìäÉ=Å~å=ÄÉ=ÑçìåÇ=áå=íÜÉ=Ü~êÇï~êÉ=Å~í~äçÖìÉ=~ÑíÉê=íÜÉ=dpa=ÑáäÉ=Ü~ë=ÄÉÉå=áãéçêíÉÇK== = cáÖìêÉ=S=qÜÉ=^åó_ìë=ãçÇìäÉ=áå=íÜÉ=e~êÇï~êÉ=`~í~äçÖìÉ= tÜÉå=íÜÉ=mi`=Ü~êÇï~êÉ=áë=ëÉí=ìé=áí=ïáää=äççâ=äáâÉ=ÇÉëÅêáÄÉÇ=áå=cáÖìêÉ=T===mi`=ïáíÜ=Éãéíó=ÄìëK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = .21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 9(23) = = cáÖìêÉ=T===mi`=ïáíÜ=Éãéíó=Äìë= fí=áë=åçï=éçëëáÄäÉ=íç=áåÅäìÇÉ=íÜÉ=^åó_ìë=ëä~îÉ=áå=íÜÉ=åÉíïçêâK=léÉå=ìé=íÜÉ=“^åó_ìëJp=mamÒ=Éåíêó=áå=íÜÉ= Ü~êÇï~êÉ=Å~í~äçÖìÉ=~åÇ=Çê~Ö=~åÇ=Çêçé=íÜÉ=^åó_ìë=ãçÇìäÉ=çå=íç=íÜÉ=åÉíïçêâI=ëÉÉ=ÇÉëÅêáéíáçå=áå=cáÖìêÉ=UK== = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

doc = .Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 10(23) = = cáÖìêÉ=U=aê~Ö=~åÇ=Çêçé=íÜÉ=^åó_ìë=ãçÇìäÉ=íç=íÜÉ=åÉíïçêâ= fí=áë=íÜÉå=åÉÅÉëë~êó=íç=ÅçåÑáÖìêÉ=íÜÉ=^åó_ìë=ãçÇìäÉ=áíëÉäÑK=qÜÉ=çåäó=ÅçåÑáÖìêáåÖ=íç=ÄÉ=ÇçåÉ=áë=ëÉííáåÖ=ìé=íÜÉ= åçÇÉ=~ÇÇêÉëëI=áåéìí=~åÇ=çìíéìí=Ç~í~=~êÉ~=ëáòÉë=~åÇ=çÑÑëÉí=~ÇÇêÉëëK= få=cáÖìêÉ=V=áí=áë=ëÜçïå=Üçï=íç=ÉÇáí=íÜÉ=åçÇÉ=~ÇÇêÉëëK=qÜÉ=ÉÇáíJïáåÇçï=Ñçê=íÜÉ=åçÇÉ=~ÇÇêÉëë=áë=çéÉåÉÇ=Äó= ÇçáåÖ=íÜÉ=ÅäáÅâ=ëÉèìÉåÅÉ= I= I= K=^í= =áí=áë=éçëëáÄäÉ=íç=ëÉí=íÜÉ=ÇÉëáêÉÇ=åçÇÉ=~ÇÇêÉëëK=qÜÉ=~ÇÇêÉëë=ëÉí=ÜÉêÉ= ãìëí=Éèì~ä=íÜÉ=~ÇÇêÉëë=ëÉí=çå=íÜÉ=^åó_ìëJp=ãçÇìäÉI=ëÉÉ=cáÖìêÉ=OK= = cáÖìêÉ=V=^ÇàìëíáåÖ=íÜÉ=åçÇÉ=~ÇÇêÉëë=áå=et=`çåÑáÖ= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

doc = .21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 11(23) = tÜáÅÜ=ÇáÑÑÉêÉåí=ãçÇìäÉë=óçì=äáâÉ=íç=ìëÉ=ÇÉéÉåÇë=çå=ïÜ~í=óçìê=~ééäáÅ~íáçå=ÇÉã~åÇ=áëK=fí=áë=éçëëáÄäÉ=íç= ÅÜççëÉ=íÜÉëÉ=ãçÇìäÉë=ÑêÉÉäó=~åÇ=íç=ÅçãéçëÉ=íÜÉ=fLl=ëáòÉë=åÉÉÇÉÇI=ëÉ=Éñ~ãéäÉë=ÄÉäçï=áå=í~ÄäÉ=NK== = q~ÄäÉ=N=bñ~ãéäÉë=çÑ=Ç~ê~=~êÉ~=ãçÇìäÉë= _óíÉë=åÉÉÇÉÇ=Äó=íÜÉ=~ééäáÅ~íáçå= _óíÉë=åÉÉÇÉÇ=Äó=íÜÉ=~ééäáÅ~íáçå= Q=få=H=O=lìí= T=få=H=NO=lìí= PO=få=H=PO=lìí= SU=få= = qÜÉ=ãçÇìäÉë=~êÉ=ÅçãéçëÉÇ=íçÖÉíÜÉê=áå=íÜÉ=“ãçÇìäÉ=äáëíÒ=çÑ=íÜÉ=^åó_ìë=~ë=ëÜçïå=áå=cáÖìêÉ=NMK= jçÇìäÉë=íç=ìëÉ= jçÇìäÉë=íç=ìëÉ= Q=få=H=O=lìí= Q=få=H=O=få=H=N=få=H=U=lìí=H=Q=lìí= PO=fåLlìí= SQ==få=H=Q=få= = cáÖìêÉ=NM=pÉäÉÅíáåÖ=få=~åÇ=lìí=ãçÇìäÉë=ïáíÜ=“aê~Ö=~åÇ=aêçéÒ= _ó=ÇçìÄäÉ=ÅäáÅâáåÖ=çå=~=ãçÇìäÉ=áå=íÜÉ=“ãçÇìäÉ=äáëíÒ=áí=áë=éçëëáÄäÉ=íç=ëÉí=íÜÉ=çÑÑëÉí=~ÇÇêÉëëÉëK=pÉÉ=Éñ~ãéäÉ=áå= cáÖìêÉ=NNK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 12(23) = = cáÖìêÉ=NN=^ÇàìëíáåÖ=íÜÉ=çÑÑëÉí=~ÇÇêÉëë= qÜÉ=çÑÑëÉí=~ÇÇêÉëëÉë=Å~å=ÄÉ=ÅÜçëÉå=ÑêÉÉäó=Äìí=ÅÉêí~áå=êÉëíêáÅíáçåë=ã~ó=~ééäó=ÇÉéÉåÇáåÖ=çå=ïÜ~í=`mr=áë=ìëÉÇK= tÜÉå=~ää=íÜÉ=~ÄçîÉ=ëÉííáåÖë=~êÉ=ÇçåÉ=áí=áë=éçëëáÄäÉ=íç=éÉêÑçêã=~=Ççïåäç~Ç=çÑ=íÜÉ=ÅçåÑáÖìê~íáçå=íç=íÜÉ=mi`K= oÉÑÉê=íç=íÜÉ=píÉéT=ÇçÅìãÉåí~íáçå=Ñçê=ÇÉí~áäë=çå=Üçï=íç=Çç=íÜáëK==qÜÉ=Äìë=ëóëíÉã=ëÜçìäÇ=íÜÉå=Öç=çåäáåÉ=~åÇ= ëí~êí=Ç~í~=ÉñÅÜ~åÖÉ=ïÜÉå=íÜÉ=mi`=áë=ëÉí=íç=êìå=ãçÇÉK== = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc = .Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

1 Normal operation kç=Éñíê~=mi`=éêçÖê~ããáåÖ=áë=åÉÅÉëë~êó=Ñçê=åçêã~ä=çéÉê~íáçåK=qÜÉ=Ç~í~=áë=~ÅÅÉëëáÄäÉ=~åÇ=~ÇÇêÉëë~ÄäÉ= ÇáêÉÅíäó=Ñêçã=íÜÉ=mi`=éêçÖê~ãK= 2.2 Operation when secure data consistency is needed qÜÉ=pT=mi`=Å~å=êÉ~Ç=çìí=çåÉI=íïç=çê=Ñçìê=ÄóíÉë=ÅçåëáëíÉåí=Ñêçã=íÜÉ=fLlJáã~ÖÉ=ÇáêÉÅíäó=Äó=~ÅÅÉëëáåÖ=íÜÉ= Ç~í~=~ë=~=_óíÉI=~=tçêÇ=çê=~=açìÄäÉ=tçêÇK==fÑ=áí=áë=êÉèìáêÉÇ=íç=êÉ~Ç=çìí=çíÜÉê=ÅçåëáëíÉåí=Ç~í~=~êÉ~ë=áí=áë= åÉÅÉëë~êó=íç=ìëÉ=íÜÉ=póëíÉã=cìåÅíáçå=_äçÅâë=pc`NQ=~åÇ=pc`NRK=== qÜÉ=Ñáêëí=íÜáåÖ=íÜ~í=Ü~ë=íç=ÄÉ=ÇçåÉ=áë=íç=ëéÉÅáÑó=íÜÉ=ÅçåëáëíÉåí=Ç~í~=~êÉ~=áå=íÜÉ=Ü~êÇï~êÉ=ÅçåÑáÖìê~íáçåK=qÜÉ= “råáîÉêë~ä=jçÇìäÉÒ=Å~å=ÄÉ=ëÉäÉÅíÉÇ=ïáíÜ=“Çê~Ö=~åÇ=ÇêçéÒ=~ë=ëÜçïå=áå=cáÖìêÉ=NOK= = cáÖìêÉ=NO=pÉäÉÅíáåÖ=íÜÉ=råáîÉêë~ä=jçÇìäÉ=Ñçê=ÅçåëáëíÉåí=Ç~í~=íê~åëÑÉê= få==cáÖìêÉ=NP=áí=áë=ëÜçïå=Üçï=íç=ëÉí=íÜÉ=éêçéÉêíáÉë=çÑ=íÜÉ=råáîÉêë~ä=jçÇìäÉK=qÜáë=ïáåÇçï=áë=çéÉåÉÇ=Äó= ÇçìÄäÉ=ÅäáÅâáåÖ=çå=íÜÉ=råáîÉêë~ä=jçÇìäÉ=äáåÉ=áå=íÜÉ=äáëí=çÑ=ëÉäÉÅíÉÇ=ãçÇìäÉëK=qÜÉ=ÇÉëáêÉÇ=Ç~í~=íóéÉ=EfåI=lìíI= çê=fåLlìíF=áë=ëÉí=ïáíÜ=íÜÉ=äáëí=Äçñ=ëÜçïå=~í= K=qÜÉå=íÜÉ=çÑÑëÉíI=äÉåÖíÜI=ìåáí=~åÇ=ÅçåëáëíÉåÅó=ëÉííáåÖë=Å~å=ÄÉ= ÇçåÉ=~ë=ëÜçïå=~í= K==få=íÜÉ=Éñ~ãéäÉ=ÄÉäçï=íÜÉ=çìíéìí=Ç~í~=äÉåÖíÜ=áë=ëÉí=íç=NO=ÄóíÉë=~åÇ=íÜÉ=áåéìí=Ç~í~= äÉåÖíÜ=ëÉí=íç=PU=ÄóíÉë=ïáíÜ=ÅçåëáëíÉåÅó=çîÉê=íÜÉ=íçí~ä=äÉåÖíÜK=qÜÉ=~ÇÇêÉëë=çÑÑëÉíë=~êÉ=ëÉí=íç=QS=êÉëéÉÅíáîÉ=VOK= qÜÉ=“a~í~=Ñçê=péÉÅáÑáÅ=j~åìÑ~ÅíìêÉêÒ=ëÜçïå=~í= =áë=åçí=ìëÉÇ=ìåäÉëë=íÜÉ=ÇÉîáÅÉ=ã~åìÑ~ÅíìêÉê=ëéÉÅáÑáÉë=íÜáëK== = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.3.doc = .3 Software configurations 2.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 13(23) = 2.3.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 14(23) = = cáÖìêÉ=NP=péÉÅáÑóáåÖ=íÜÉ=éêçéÉêíáÉë=Ñçê=íÜÉ=råáîÉêë~ä=jçÇìäÉ= qç=êÉ~Ç=çìí=íÜÉ=ÅçåëáëíÉåí=Ç~í~=ëéÉÅáÑáÉÇ=áå=cáÖìêÉ=NP=~åÇ=cáÖìêÉ=NO=~=mi`=éêçÖê~ã=Ü~ë=íç=ÄÉ=ïêáííÉå=íÜ~í= ìëÉë=pc`NQ=~åÇ=pc`NRK=^å=Éñ~ãéäÉ=çÑ=íÜáë=áë=ëÜçïå=áå=cáÖìêÉ=NQK=qÜÉëÉ=íïç=pc`Wë=~êÉ=áåÅäìÇÉÇ=áå=íÜÉ= píÉéT=ëí~åÇ~êÇ=é~Åâ~ÖÉ=~åÇ=íÜÉó=~äëç=Ü~îÉ=íç=ÄÉ=áãéçêíÉÇ=áåíç=íÜÉ=~ÅíáîÉ=éêçàÉÅíK=qÜÉó=Å~å=ÄÉ=ÅçéáÉÇ=Ñêçã= íÜÉ=“pí~åÇ~êÇ=iáÄê~êóÒ=çê=Ñêçã=íÜÉ=`mr=çåäáåÉK=oÉÑÉê=íç=íÜÉ=píÉéT=ÇçÅìãÉåí~íáçå=Ñçê=ÇÉí~áäë=êÉÖ~êÇáåÖ=íÜáëK= qÜÉ=ÑìåÅíáçå=ÄäçÅâë=ÉåëìêÉ=íÜ~í=Ç~í~=ÅçåëáëíÉåÅó=áë=ëÉÅìêÉÇ=çîÉê=íÜÉ=ÅçãéäÉíÉ=Ç~í~=äÉåÖíÜK=tÜÉêÉ=íÜÉ=Ç~í~= ëÜçìäÇ=ÄÉ=êÉ~Ç=çê=éìí=áå=íÜÉ=éêçÅÉëë=áã~ÖÉ=áë=ÇÉÅáÇÉÇ=áå=íÜÉ=Ü~êÇï~êÉ=ÅçåÑáÖìê~íáçåI=ëÉÉ=cáÖìêÉ=NPK= pc`NQ=fåéìí=Ç~í~W== pc`NQ=fåéìí=Ç~í~W== qÜÉ=éìêéçëÉ=çÑ=pc`NQ=áë=íç=êÉ~Ç=çìí=íÜÉ=Ç~í~=Ñêçã=få=~êÉ~=çÑ=íÜÉ=éêçÅÉëë=áã~ÖÉ=~åÇ=íÜÉå=Åçéó=íÜÉ=Ç~í~=íç= ~åçíÜÉê=ëíçê~ÖÉ=äçÅ~íáçåK= i^aaoW=ëéÉÅáÑáÉë=íÜÉ=ëí~êí=ÄóíÉ=~ÇÇêÉëë=çÑ=íÜÉ=Ç~í~=íç=ÄÉ=êÉ~ÇK=qÜÉ=î~äìÉ=áë=ÉåíÉêÉÇ=áå=eÉñK=få=íÜáë=Å~ëÉ=íÜÉ= ëí~êí=ÄóíÉ=~ÇÇêÉëë=áë=VO=EZR`=eÉñF=ïÜáÅÜ=Å~å=ÄÉ=ÑçìåÇ=~í= =áå=cáÖìêÉ=NPK== obq|s^iW=píçê~ÖÉ=äçÅ~íáçå=Ñçê=Éêêçê=ãÉëë~ÖÉëK=qÜáë=áë=~=tçêÇI=áå=íÜáë=Å~ëÉ=jtQK== ob`loaW=qÜáë=áë=ïÜÉêÉ=íÜÉ=Ç~í~=áë=ÅçéáÉÇ=íçK=få=íÜáë=Å~ëÉ=áí=áë=ÅçéáÉÇ=íç=ãÉãçêó=ÄóíÉ=NMJQTK=EáKÉK=j_NMJ j_QTFK=qÜÉ=äÉåÖíÜ=ãìëí=Éèì~ä=íÜÉ=äÉåÖíÜ=ëÉí=~í= =áå=cáÖìêÉ=NPK= pc`NR=lìíéìí=Ç~í~W== pc`NR=lìíéìí=Ç~í~W== qÜÉ=mìêéçëÉ=çÑ=pc`NR=áë=íç=êÉ~Ç=íÜÉ=Ç~í~=Ñêçã=~åó=ëíçê~ÖÉ=äçÅ~íáçå=~åÇ=íÜÉå=Åçéó=áí=íç==íÜÉ=lìí=~êÉ~=çÑ=íÜÉ= éêçÅÉëë=áã~ÖÉK== i^aaoW=ëéÉÅáÑáÉë=íÜÉ=ëí~êí=ÄóíÉ=~ÇÇêÉëë=çÑ=íÜÉ=Ç~í~=íç=ÄÉ=ëÉåíK=qÜÉ=î~äìÉ=áë=ÉåíÉêÉÇ=áå=eÉñK=få=íÜáë=Å~ëÉ=íÜÉ= ëí~êí=ÄóíÉ=~ÇÇêÉëë=áë=QS=EZOb=eÉñF=ïÜáÅÜ=Å~å=ÄÉ=ÑçìåÇ=~í= =áå=cáÖìêÉ=NPK== 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = Created: Last saved by: Printed: = .

doc = .21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 15(23) = obq|s^iW=píçê~ÖÉ=äçÅ~íáçå=Ñçê=Éêêçê=ãÉëë~ÖÉëK=qÜáë=áë=~=tçêÇI=áå=íÜáë=Å~ëÉ=jtSK== ob`loaW=qÜáë=áë=ïÜÉêÉ=íÜÉ=Ç~í~=áë=êÉ~Ç=ÑêçãK=få=íÜáë=Å~ëÉ=áí=áë=êÉ~Ç=Ñêçã=ãÉãçêó=ÄóíÉ=QUJRVK=EáKÉK=j_QUJ j_RVFK=qÜÉ=äÉåÖíÜ=ãìëí=Éèì~ä=íÜÉ=äÉåÖíÜ=ëÉí=~í= =áå=cáÖìêÉ=NPK= qÜÉ=Ç~í~=Å~å=íÜÉå=ÄÉ=éêçÅÉëëÉÇ=~ë=ÇÉëáêÉÇ=EáKÉK=~ë=ÄóíÉI=ïçêÇI=ÇçìÄäÉ=ïçêÇ=çê=Äáí=ïáëÉF=~í=íÜÉ=çíÜÉê=ëíçê~ÖÉ= äçÅ~íáçå=ëéÉÅáÑáÉÇ=~í=ob`loaK= få=íÜÉ=Éñ~ãéäÉ=ÄÉäçï=EcáÖìêÉ=NQF=áí=áë=ÇÉëÅêáÄÉÇ=Üçï=íÜÉ=mi`=éêçÖê~ã=Å~å=ÄÉ=ÇçåÉK= = = cáÖìêÉ=NQ=qÜÉ=ìëÉ=çÑ=pc`NQ=~åÇ=pc`NR=áå=íÜÉ=mi`=éêçÖê~ã= _ó=ÜáÖÜäáÖÜíáåÖ=íÜÉ=pc`=áå=íÜÉ=i^aJÉÇáíçê=~åÇ=íÜÉå=éêÉëëáåÖ=“cNÒ=íÜÉ=ÜÉäé=ÑìåÅíáçå=ïáää=ëí~êí=~åÇ=Çáëéä~ó= ÉñíÉåÇÉÇ=áåÑçêã~íáçå=ëìÅÜ=~ë=Éêêçê=ÅçÇÉë=~åÇ=ëóåí~ñ=Éñ~ãéäÉëK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

doc = .1 The LED:s on the AnyBus module qÜÉ=ibaWë=çå=íÜÉ=^åó_ìë=ãçÇìäÉ=Ü~îÉ=íÜÉ=ãÉ~åáåÖ=ëÜçïå=áå== cáÖìêÉ=NR=~åÇ=q~ÄäÉ=OK= = Figure 15 Indication LED:s on the AnyBus module = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 16(23) = 3 Errors and diagnostics 3.

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 17(23) = q~ÄäÉ=O=aÉë~Åêáéíáçå=çÑ=ibaWë= iba=@= k~ãÉ= iba=@= k~ãÉ= `çäçê= jÉ~åáåÖ== `çäçê= jÉ~åáåÖ== fåÇáÅ~íÉë=íÜ~í=íÜÉ=ãçÇìäÉ=áë=låJiáåÉ=çå=íÜÉ= pçäáÇ=dêÉÉå=J=jçÇìäÉ=áë=låJiáåÉ=~åÇ=Ç~í~= pçäáÇ=dêÉÉå ÉñÅÜ~åÖÉ=áë=éçëëáÄäÉK= `çêêÉÅíáîÉ=~Åíáçåë= `çêêÉÅíáîÉ=~Åíáçåë= = = kçí=ìëÉÇ= låJiáåÉ= dêÉÉå= ÑáÉäÇÄìëK= kç=~Åíáçåë=åÉÉÇÉÇ= = lÑÑJiáåÉ= oÉÇ= qìêåÉÇ=lÑÑ=J=jçÇìäÉ=áë=åçí=låJiáåÉ= qìêåÉÇ=lÑÑ fåÇáÅ~íÉë=íÜ~í=íÜÉ=ãçÇìäÉ=áë=lÑÑJiáåÉ=çå=íÜÉ= ÑáÉäÇÄìëK= pçäáÇ=oÉÇ=J=jçÇìäÉ=áë=lÑÑJiáåÉ=~åÇ=åç=Ç~í~= pçäáÇ=oÉÇ ÉñÅÜ~åÖÉ=áë=éçëëáÄäÉK= qìêåÉÇ=lÑÑ=J=jçÇìäÉ=áë=åçí=lÑÑJiáåÉ= qìêåÉÇ=lÑÑ `ÜÉÅâ=Ü~êÇï~êÉI=áKÉK=Å~ÄäÉ= ÅçååÉÅíáçåI=Ä~ìÇê~íÉ=ëÉííáåÖ=ÉíÅK= `ÜÉÅâ=Ü~êÇï~êÉ=ÅçåÑáÖìê~íáçå= áå=píÉéT= = `ÜÉÅâ=Ü~êÇï~êÉ=ÅçåÑáÖìê~íáçå= áå=píÉéT= cä~ëÜáåÖ=oÉÇ=Q=eò=Åçåëìäí= fÑ==cä~ëÜáåÖ=oÉÇ=Q=eò= ejp= = cáÉäÇÄìë= oÉÇ= aá~ÖåçëíáÅë= fåÇáÅ~íÉë=ÅÉêí~áå=Ñ~ìäíë=çå=íÜÉ=cáÉäÇÄìë=ëáÇÉK= cä~ëÜáåÖ=oÉÇ=N=eò=J=bêêçê=áå=ÅçåÑáÖìê~íáçåW= cä~ëÜáåÖ=oÉÇ=N=eò fk=~åÇLçê=lrq= äÉåÖíÜ=ëÉí=ÇìêáåÖ=áåáíá~äáë~íáçå=çÑ=íÜÉ=ãçÇìäÉ= áë=åçí=Éèì~ä=íç=íÜÉ= äÉåÖíÜ=ëÉí=ÇìêáåÖ=ÅçåÑáÖìê~íáçå=çÑ=íÜÉ= åÉíïçêâK= cä~ëÜáåÖ=oÉÇ=O=eò=J=bêêçê=áå=rëÉê=m~ê~ãÉíÉê= cä~ëÜáåÖ=oÉÇ=O=eò Ç~í~W=qÜÉ= äÉåÖíÜLÅçåíÉåíë=çÑ=íÜÉ=rëÉê=m~ê~ãÉíÉê=Ç~í~= ëÉí=ÇìêáåÖ= áåáíá~äáë~íáçå=çÑ=íÜÉ=ãçÇìäÉ=áë=åçí=Éèì~ä=íç=íÜÉ= äÉåÖíÜLÅçåíÉåíë=ëÉí= ÇìêáåÖ=ÅçåÑáÖìê~íáçå=çÑ=íÜÉ=åÉíïçêâK= cä~ëÜáåÖ=oÉÇ=Q=eò=J=bêêçê=áå=áåáíá~äáë~íáçå=çÑ= cä~ëÜáåÖ=oÉÇ=Q=eò íÜÉ=mêçÑáÄìë= ÅçããìåáÅ~íáçå=^pf`K= qìêåÉÇ=lÑÑ=J=kç=Çá~ÖåçëíáÅë=éêÉëÉåí= qìêåÉÇ=lÑÑ = = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc = .Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 18(23) = Watchdog LED There is also a bicolour (red/green) watchdog LED on the circuit board.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = . = cáÖìêÉ=NS==t~íÅÜÇçÖ=iba=éçëáíáçå = q~ÄäÉ=P=fåÇáÅ~íáçåë=çå=t~íÅÜÇçÖ=iba= t~íÅÜÇçÖ=ÑìåÅíáçå= t~íÅÜÇçÖ=ÑìåÅíáçå= ^pf`=~åÇ=ci^pe=olj=ÅÜÉÅâ=Ñ~ìäí== jçÇìäÉ=åçí=áåáíá~äáëÉÇ== jçÇìäÉ=áåáíá~äáëÉÇ=~åÇ=êìååáåÖ=lh= o^j=ÅÜÉÅâ=Ñ~ìäí= amo^j=ÅÜÉÅâ=Ñ~ìäí= `çäçìê= `çäçìê= oÉÇ= dêÉÉå== dêÉÉå= oÉÇ= oÉÇ= cêÉèìÉåÅó= cêÉèìÉåÅó= Oeò= Oeò= Neò= Neò= Qeò= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S. indicating the module status according to q~ÄäÉ=P and cáÖìêÉ=NS.

doc = .2 Diagnostics in Step7 píÉéT=~åÇ=íÜÉ=et=`çåÑáÖ=éêçÖê~ã=éêçîáÇÉë=Çá~ÖåçëíáÅ=éçëëáÄáäáíáÉë=îá~=íÜÉ=mêçÑáÄìë=ã~ëíÉê=çîÉê=íÜÉ= åÉíïçêâK=pí~êí=ïáíÜ=ÖçáåÖ=çåäáåÉ=Äó=ÅäáÅâáåÖ=çå=íÜÉ=Äìííçå= =áå=ÑáÖìêÉ=cáÖìêÉ=NTK=qÜÉå=êáÖÜíJÅäáÅâ=çå= ~åÇ=ÅÜçëÉ=“jçÇìäÉ=fåÑçêã~íáçåÒ=~åÇ=íÜÉ=Çá~ÖåçëíáÅ=ÑìåÅíáçå=ïáää=ÄÉ=ëí~êíÉÇK=qÜÉ=ïáåÇçï= =ïáää=ÄÉ= Çáëéä~óÉÇ=~åÇ=~î~áä~ÄäÉ=Çá~ÖåçëíáÅë=Å~å=ÄÉ=êÉ~Ç=çìíK== tÜ~í=Çá~ÖåçëíáÅë=íÜ~í=íÜ~í=~êÉ=~î~áä~ÄäÉ=ÇÉéÉåÇë=çå=íÜÉ=~ééäáÅ~íáçåK=få=ëí~åÇ~êÇ=ãçÇÉ=íÜÉêÉ=~êÉ=åç= ~ééäáÅ~íáçå=ëéÉÅáÑáÅ=Çá~ÖåçëíáÅë=~î~áä~ÄäÉK=^ää=íÜÉ=ëí~åÇ~êÇ=mêçÑáÄìë=Çá~ÖåçëíáÅë=~êÉ=ëìééçêíÉÇ=~åÇ= áåÑçêã~íáçå=êÉÖ~êÇáåÖ=íÜáë=Å~å=ÄÉ=ÑçìåÇ=áå=íÜÉ=çåäáåÉ=ÇçÅìãÉåí~íáçå=çÑ=píÉéTK=^ééäáÅ~íáçå=ëéÉÅáÑáÅ= Çá~ÖåçëíáÅëI=Éêêçê=ÅçÇÉë=ÉíÅK=Å~å=ÄÉ=ÑçìåÇ=áå=íÜÉ=ÇçÅìãÉåí~íáçå=çÑ=íÜÉ=~ééäáÅ~íáçåK== fÑ=íÜÉ=ãÉëë~ÖÉ=ëÜçïå=áå=íÜÉ=ïáåÇçï= • • • = =~ééÉ~êë=íÜÉ=êÉ~ëçå=Å~å=ÄÉ=íÜÉ=ÑçääçïáåÖW= qÜÉ=^åó_ìë=ãçÇìäÉ=áë=åçí=~íí~ÅÜÉÇ=éêçéÉêäó=íç=íÜÉ=mêçÑáÄìë=åÉíïçêâK=`ÜÉÅâ=Å~ÄÉäáåÖK= qÜÉ=^åó_ìë=åçÇÉ=~ÇÇêÉëë=ÇçÉë=åçí=ã~íÅÜ=íÜÉ=~ÇÇêÉëë=ëÉí=áå=íÜÉ=et=`çåÑáÖ=éêçÖê~ãK= qÜÉ=^åó_ìë=ãçÇìäÉ=áë=Ñ~ìäíó=~åÇ=ÇçÉë=åçí=ëí~êí=ìé=éêçéÉêäóK=`ÜÉÅâ=íÜÉ=ibaWë=çå=íÜÉ=^åó_ìë= ãçÇìäÉK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 19(23) = 3.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 20(23) = = cáÖìêÉ=NT=píÉéT=e~êÇï~êÉ=Çá~ÖåçëíáÅë= 3.doc = .3 Troubleshooting network physics qÜÉ=ãçëí=åçêã~ä=Ñ~áäìêÉ=ïÜÉå=íÜÉ=Çá~ÖåçëíáÅ=íççä=êÉéçêíë=“åçåëÉåëÉÒ=áë=éÜóëáÅ~ä=Éêêçêë=çå=íÜÉ=åÉíïçêâ=äáâÉ= Å~ÄäÉ=ÅçååÉÅí=ÉêêçêëI=ãáëë=Åçåí~ÅíI=ïêçåÖ=íÉêãáå~íáçå=ÉíÅK=pçãÉ=ëáãéäÉ=ï~óë=íç=ÑáåÇ=íÜÉëÉ=Éêêçêë=ïáää=ÄÉ= ãÉåíáçåÉÇ=ÜÉêÉK== a~í~=Éêêçêë=Å~å=çÅÅìê=áÑ=íÜÉ=molcf_rp=Å~ÄäÉ=áë=áåÅçêêÉÅíäó=~íí~ÅÜÉÇ=íç=íÜÉ=Äìë=ÅçååÉÅíçêëK=pìÅÜ=Ä~ëáÅ=Éêêçêë= Å~å=ÄÉ=ÇÉíÉÅíÉÇ=~åÇ=êÉãÉÇáÉÇ=ïáíÜ=íÜÉ=ëáãéäÉ=íÉëí=ãÉíÜçÇ=ÇÉëÅêáÄÉÇ=ÄÉäçïK=qÜÉ=íÉëí=ãÉíÜçÇ=ëÜçïå= ëÅÜÉã~íáÅ~ääó=áå=ÑáÖìêÉ=cáÖìêÉ=NU=~ääçïë=óçì=íç=ÇÉíÉÅí=Ç~í~=ïáêÉë=ïÜáÅÜ=~êÉ=ëï~ééÉÇ=çîÉê=áå=íÜÉ=Äìë= ÅçååÉÅíçêëK=aìêáåÖ=íÜÉ=íÉëíI=íÜÉ=Äìë=ÅçååÉÅíçêë=ãìëí=åçí=ÄÉ=ÅçååÉÅíÉÇ=íç=~åó=molcf_rp=ÇÉîáÅÉëK=få= ~ÇÇáíáçåI=~ää=Äìë=íÉêãáå~íáåÖ=êÉëáëíçêë=ëÜçìäÇ=ÄÉ=êÉãçîÉÇ=çê=Çáë~ÄäÉÇK=qÜÉ=íÉëíë=êÉèìáêÉ=íïç=V=éáå=ÑÉã~äÉ= pìÄJa=íÉëí=ÅçååÉÅíçêëK=qÉëí=ÅçååÉÅíçê=N=áë=éêçîáÇÉÇ=ïáíÜ=~=ëáåÖäÉ=éçäÉ=ÅÜ~åÖÉçîÉê=ëïáíÅÜI=íÜÉ=ãçîáåÖ= Åçåí~Åí=çÑ=ïÜáÅÜ=áë=ÅçååÉÅíÉÇ=íç=íÜÉ=ëÜáÉäÇ=EÅ~ëÉF=çÑ=íÜÉ=íÉëí=ÅçååÉÅíçêK=qÜÉ=íïç=ÑáñÉÇ=Åçåí~Åíë=~êÉ=ÅçååÉÅíÉÇ= íç=éáå=P=EÇ~í~=ïáêÉ=_F=~åÇ=éáå=U=EÇ~í~=ïáêÉ=^FI=êÉëéÉÅíáîÉäóK=qÉëí=ÅçååÉÅíçê=O=áë=ìëÉÇ=íç=ÅçååÉÅí=~å= lÜããÉíÉê=íç=íÜÉ=ÄìëK=aìêáåÖ=íÜÉ=Å~ÄäÉ=íÉëíëI=íÜÉ=íïç=íÉëí=ÅçååÉÅíçêë=N=~åÇ=O=~êÉ=áåáíá~ääó=éäìÖÖÉÇ=áåíç=íÜÉ= íïç=Äìë=ÅçååÉÅíçêë=~í=É~ÅÜ=ÉåÇ=çÑ=íÜÉ=Äìë=ëÉÖãÉåíK=qÜÉ=ÑçääçïáåÖ=íÉëíë=Å~å=ÄÉ=ã~ÇÉ=Äó=í~âáåÖ=ãÉ~ëìêÉãÉåíë= ÄÉíïÉÉå=íÜÉ=Åçåí~Åíë=P=~åÇ=U=~åÇ=íÜÉ=ëÜáÉäÇ=çÑ=íÉëí=ÅçååÉÅíçê=O=ïÜáäÉ=çéÉê~íáåÖ=íÜÉ=ÅÜ~åÖÉçîÉê=ëïáíÅÜ=çå= íÉëí=ÅçååÉÅíçê=NW= ˇ =a~í~=Å~ÄäÉ=ëï~ééÉÇ=çîÉê= ˇ =léÉå=ÅáêÅìáí=çÑ=çåÉ=çÑ=íÜÉ=Ç~í~=Å~ÄäÉë= ˇ =léÉå=ÅáêÅìáí=çÑ=íÜÉ=Å~ÄäÉ=ëÜáÉäÇ= ˇ =pÜçêí=ÅáêÅìáí=ÄÉíïÉÉå=íÜÉ=Ç~í~=Å~ÄäÉë= ˇ =pÜçêí=ÅáêÅìáí=ÄÉíïÉÉå=íÜÉ=Ç~í~=Å~ÄäÉë=~åÇ=íÜÉ=Å~ÄäÉ=ëÜáÉäÇ= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.doc = .21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 21(23) = ˇ =^ÇÇáíáçå~ä=Äìë=íÉêãáå~íáåÖ=êÉëáëíçêë=áåëÉêíÉÇ=ìåáåíÉåíáçå~ääó= = cáÖìêÉ=NU=qêçìÄäÉëÜççíáåÖ=íÜÉ=mêçÑáÄìë=åÉíïçêâ= `~êêóáåÖ=çìí=íÜÉ=íÉëíë= `~êêóáåÖ=çìí=íÜÉ=íÉëíë= • `çåÑáÖìê~íáçå=^W=pÉí=ëïáíÅÜ=çÑ=íÉëí=ÅçååÉÅíçê=N=íç=éçëáíáçå=P=EÅçååÉÅíë=éáå=P=íç=íÜÉ=ëÅêÉÉåFK=`çååÉÅí= çÜããÉíÉê=íç=íÉëí=ÅçååÉÅíçê=O=ÄÉíïÉÉå=éáå=P=~åÇ=íÜÉ=ëÅêÉÉåK= • `çåÑáÖìê~íáçå=_W=pÉí=ëïáíÅÜ=çÑ=íÉëí=ÅçååÉÅíçê=N=íç=éçëáíáçå=U=EÅçååÉÅíë=éáå=U=íç=íÜÉ=ëÅêÉÉåFK=`çååÉÅí= çÜããÉíÉê=íç=íÉëí=ÅçååÉÅíçê=O=ÄÉíïÉÉå=éáå=U=~åÇ=íÜÉ=ëÅêÉÉåK= • `çåÑáÖìê~íáçå=`W=pÉí=ëïáíÅÜ=çÑ=íÉëí=ÅçååÉÅíçê=N=íç=éçëáíáçå=P=EÅçååÉÅíë=éáå=P=íç=íÜÉ=ëÅêÉÉåFK=`çååÉÅí= çÜããÉíÉê=íç=íÉëí=ÅçååÉÅíçê=O=ÄÉíïÉÉå=éáå=U=~åÇ=íÜÉ=ëÅêÉÉåK= • `çåÑáÖìê~íáçå=aW=pïáíÅÜ=éçëáíáçå=çÑ=íÉëí=ÅçååÉÅíçê=N=áë=åçí=áãéçêí~åíK=`çååÉÅí=çÜããÉíÉê=íç=íÉëí= ÅçååÉÅíçê=O=ÄÉíïÉÉå=éáå=P=~åÇ=éáå=UK= = t~êåáåÖW=qÜÉ=ãÉ~ëìêÉÇ=î~äìÉ=Å~å=ÄÉ=Ñ~äëáÑáÉÇ=áÑ=íÜÉ=çÜããÉíÉê=ÅçååÉÅíáçåë=~êÉ=íçìÅÜÉÇK= = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 22(23) = qÉëí=NW= qÉëí=NW= = = cáÖìêÉ=NV=qÉëíéêçÅÉÇìêÉ=N= ñZNNMçÜãLâã= = qÉëí=OW=p~ãÉ=~ë=íÉëí=N=ÉñÅÉéí=ÅçåÑáÖìê~íáçå=^=~åÇ=ÅçåÑáÖìê~íáçå=_=~êÉ=ÉñÅÜ~åÖÉÇI=áKÉK=ëí~êí=ïáíÜ=ÅçåÑáÖìê~íáçå= qÉëí=OW _K= = qÉëí=PW=qçç=ã~åó=Äìë=íÉêãáå~íáåÖ=êÉëáëíçêë=áåëÉêíÉÇK= qÉëí=PW= = cáÖìêÉ=OM=qÉëíéêçÅÉÇìêÉ=P= få=çêÇÉê=íç=~ëëÉëë=íÜÉ=ãÉ~ëìêÉãÉåíë=óçì=ã~âÉI=áí=áë=åÉÅÉëë~êó=íç=âåçï=íÜÉ=äççé=êÉëáëí~åÅÉ=çÑ=íÜÉ=Äìë=Å~ÄäÉ= ëÉÖãÉåíK=qÜáë=áë=ÇÉéÉåÇÉåí=çå=íÜÉ=Å~ÄäÉ=íóéÉ=ìëÉÇ=~åÇ=íÜÉ=áåëí~ääÉÇ=Å~ÄäÉ=äÉåÖíÜK=qÜÉ=äçÅ~íáçå=çÑ=~=Ñ~ìäí=Å~å= ÄÉ=ÇÉíÉêãáåÉÇ=ïáíÜçìí=çéÉåáåÖ=ìé=íÜÉ=Äìë=ÅçååÉÅíçêë=Äó=ìåéäìÖÖáåÖ=íÉëí=ÅçååÉÅíçê=N=~åÇ=éäìÖÖáåÖ=áí=áåíç= ~åçíÜÉê=Äìë=ÅçååÉÅíçê=ïÜáÅÜ=áë=ÅäçëÉê=íç=íÉëí=ÅçååÉÅíçê=O=ïÜáäÉ=Å~êêóáåÖ=çìí=êÉéÉ~íÉÇ=lÜããÉíÉê= ãÉ~ëìêÉãÉåíë=~í=íÉëí=ÅçååÉÅíçê=OK= = = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc = .

Module Name Project No AnyBus-S Profibus Document ID Revision Issued by 1.21 Date Martin Falkman Subject Approved by 2001-06-07 Page Siemens S7 and AnyBus-S Profibus Leif Malmberg 23(23) = 4 More information about the network and products qÜÉ=ä~íÉëí=ã~åì~äë=~åÇ=dpa=ÑáäÉ=Ñçê=íÜÉ=^åó_ìëJp=ãçÇìäÉ=Å~å=ÄÉ=ÑçìåÇ=çå=íÜÉ=ejp=ÜçãÉé~ÖÉ= ïïïKÜãëJåÉíïçêâëKÅçã= qÜÉ=mêçÑáÄìë=ìëÉê=çêÖ~åáë~íáçå=Ü~ë=~=ÜçãÉé~ÖÉ=çå=íÜÉ=fåÉêåÉíW=ïïïKéêçÑáÄìëKÅçã== pÉîÉê~ä=íÉÅÜåáÅ~ä=ÖìáÇÉë=~êÉ=~î~áä~ÄäÉ=áå=çê=îá~=íÜáë=é~ÖÉK== cçê=áåÑçêã~íáçå=ÅçåÅÉêåáåÖ=íÜÉ=mi`=~åÇ=mêçÑáÄìë=ã~ëíÉê=ëóëíÉã=êÉÑÉê=íç=íÜÉ=páÉãÉåë=ÜçãÉé~ÖÉ= ïïïK~ÇKëáÉãÉåëKÇÉLãÉí~LáåÇÉñ|TSKÜíã= 5 List of Figures and Tables cáÖìêÉ=N=e~êÇï~êÉ=ÅçååÉÅíáçå=çîÉêîáÉïKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKR cáÖìêÉ=O=^åó_ìëJp=mêçÑáÄìë=Ü~êÇï~êÉ=ëÉííáåÖë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKS cáÖìêÉ=P=pí~åÇ~êÇ=mêçÑáÄìë=aJpr_=ÅçååÉÅíçêKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKT cáÖìêÉ=Q=_ìë=ÅçååÉÅíçê=ïáíÜ=ÄìáäíJáå=íÉêãáå~íáåÖ=êÉëáëíçêë=~åÇ=ëÉêáÉë=áåÇìÅíçêëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKT cáÖìêÉ=R=fåëí~ää=~=åÉï=dpa=ÑáäÉ=áå=?et=`çåÑáÖ? KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKU cáÖìêÉ=S=qÜÉ=^åó_ìë=ãçÇìäÉ=áå=íÜÉ=e~êÇï~êÉ=`~í~äçÖìÉ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKU cáÖìêÉ=T===mi`=ïáíÜ=Éãéíó=ÄìëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKV cáÖìêÉ=U=aê~Ö=~åÇ=Çêçé=íÜÉ=^åó_ìë=ãçÇìäÉ=íç=íÜÉ=åÉíïçêâ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNM cáÖìêÉ=V=^ÇàìëíáåÖ=íÜÉ=åçÇÉ=~ÇÇêÉëë=áå=et=`çåÑáÖKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNM cáÖìêÉ=NM=pÉäÉÅíáåÖ=få=~åÇ=lìí=ãçÇìäÉë=ïáíÜ=“aê~Ö=~åÇ=aêçéÒ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNN cáÖìêÉ=NN=^ÇàìëíáåÖ=íÜÉ=çÑÑëÉí=~ÇÇêÉëëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNO cáÖìêÉ=NO=pÉäÉÅíáåÖ=íÜÉ=råáîÉêë~ä=jçÇìäÉ=Ñçê=ÅçåëáëíÉåí=Ç~í~=íê~åëÑÉê KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNP cáÖìêÉ=NP=péÉÅáÑóáåÖ=íÜÉ=éêçéÉêíáÉë=Ñçê=íÜÉ=råáîÉêë~ä=jçÇìäÉ KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNQ cáÖìêÉ=NQ=qÜÉ=ìëÉ=çÑ=pc`NQ=~åÇ=pc`NR=áå=íÜÉ=mi`=éêçÖê~ã KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNR cáÖìêÉ=NR=fåÇáÅ~íáçå=ibaWë=çå=íÜÉ=^åó_ìë=ãçÇìäÉKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNS cáÖìêÉ=NS==t~íÅÜÇçÖ=iba=éçëáíáçåKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNU cáÖìêÉ=NT=píÉéT=e~êÇï~êÉ=Çá~ÖåçëíáÅë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOM cáÖìêÉ=NU=qêçìÄäÉëÜççíáåÖ=íÜÉ=mêçÑáÄìë=åÉíïçêâKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKON cáÖìêÉ=NV=qÉëíéêçÅÉÇìêÉ=N KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOO cáÖìêÉ=OM=qÉëíéêçÅÉÇìêÉ=P KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOO = q~ÄäÉ=N=bñ~ãéäÉë=çÑ=Ç~ê~=~êÉ~=ãçÇìäÉë KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNN q~ÄäÉ=O=aÉë~Åêáéíáçå=çÑ=ibaWëKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNT q~ÄäÉ=P=fåÇáÅ~íáçåë=çå=t~íÅÜÇçÖ=iba KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKNU = = Created: Last saved by: Printed: 2001-06-05 Martin Falkman 2001-06-07 C:\arkiv_mfa\Arbete övrigt\Application notes\Siemens Step7 and AnyBus-S.doc = .