搜索
您的当前位置:首页SIMATIC NET OPC Server与S7-200EM277的 S7连接

SIMATIC NET OPC Server与S7-200EM277的 S7连接

来源:乌哈旅游


SIMATIC NET OPC Server󰏢S7-200/EM277󲱘 S7󴖲󱥹

S7 communication via SIMATIC NET OPC Server to S7-200/EM277 Getting-Started Edition (2011󱑈7󱳜)

󱨬 󳽕 󱴀󱭛󴗮󴖛󱑨󲫼󱅲󰕟󰒟󳒡󰑚󰽖󰔩󴗮󴖛Profibus󱅲󲦄SIMATIC NET OPC Server󰏢S7-200/EM277󲱘S7󴖲󱥹󰋈󴗮󴆃󴆒󳕂󰦞󲊼󱛣󰑟󴹍󰇄

󰝇󴬂󴆡󰋖S7󴖲󱥹󰋈SIMATIC NET OPC Server󰋈S7-200/EM277󰋈Profibus

Key Words󰋖S7connection󰋈SIMATIC NET OPC Server󰋈S7-200/EM277󰋈Profibus

IA&DT Service & Support

Page 2-25

󲳂 󱔩

SIMATIC NET OPC Server󰏢S7-200/EM277󲱘 S7󴖲󱥹.................................1 1. 󳋏󳒳󰝐󱆍󱗻...................................................................................................4

1.1 1.2 1.3 1.4

STEP7󰏢Microsoft Windows󱪡󰔰󳋏󳒳󲱘󰝐󱆍󱗻......................................................4 SIMATIC NET󰏢Microsoft Windows󲱘󰝐󱆍󱗻.........................................................4 STEP7 Micro/Win󰏢Microsoft Windows󱪡󰔰󳋏󳒳󲱘󰝐󱆍󱗻....................................4 SIMATIC󴕃󰓊󰣙󰧠Microsoft Windows󱪡󰔰󳋏󳒳󰒹󰦞STEP7 V5.4󰝐󱆍󱗻..............4

2. 󱅲󵁠󲦃󰹗.......................................................................................................4

2.1 2.2

󴕃󰓊󲦃󰹗.....................................................................................................................4 󲹀󰓊............................................................................................................................4

3. 󳒘󱗕󴗮󴆃󰕟󲿟................................................................................................5

3.1 3.2 3.3 3.4

󴜡󳕂PC Station.........................................................................................................5 󰳼STEP7󰐁󳒘󱗕 PC Station.....................................................................................6 󲫳󱟤S7-200󴹍󲳂.....................................................................................................15 OPC Scout󲌟󴆩󴗮󴆃................................................................................................18

4. 󱘏󳒧............................................................................................................22 5. 󴰘󱔩󰋉󱥼󳤤󳔥󰴔..........................................................................................24

IA&DT Service & Support

Page 3-25

1. 󳋏󳒳󰝐󱆍󱗻

1.1 STEP7󰏢Microsoft Windows󱪡󰔰󳋏󳒳󲱘󰝐󱆍󱗻

󰦖󳾕󴫒󱥹󰋖http://support.automation.siemens.com/CN/view/zh/8250891

1.2 SIMATIC NET󰏢Microsoft Windows󲱘󰝐󱆍󱗻 󰦖󳾕󴫒󱥹󰋖http://support.automation.siemens.com/CN/view/zh/9859007 1.3 STEP7 Micro/Win󰏢Microsoft Windows󱪡󰔰󳋏󳒳󲱘󰝐󱆍󱗻 󰦖󳾕󴫒󱥹󰋖http://support.automation.siemens.com/CN/view/zh/8675614 1.4 SIMATIC󴕃󰓊󰣙󰧠Microsoft Windows󱪡󰔰󳋏󳒳󰒹󰦞STEP7 V5.4󰝐󱆍󱗻 󰦖󳾕󴫒󱥹󰋖http://support.automation.siemens.com/CN/view/zh/22645302 2. 󱅲󵁠󲦃󰹗

2.1 󴕃󰓊󲦃󰹗

Windows XP Professional SP2 SIMATIC NET PC Software V6.4

STEP7 Professional 2006 SR5 (V5.4+SP4) STEP7-Micro/win V4.0Incl.SP6 2.2 󰀃󲹀󰓊

CP5611 EM277

6GK1561-1AA01 6ES7214-2AD23-0XB0 6ES7277-0AA22-0AA0 6XV1830-0EH10

6ES7972-0BB50-0XA0

CPU224XP Profibus󰀃󲬉󳓚 DP󴖲󱥹󰰼

IA&DT Service & Support

Page 4-25

3. 󳒘󱗕󴗮󴆃󰕟󲿟

3.1 󴜡󳕂PC Station

1. 󱠧󱓔Station Configration Editor󰋈󰟚󰟿󰳼󳄀󰏔󱦦󱿑󱦦󰜹OPC Server󰋈󳄀󰏝󱿑󱦦󰜹

CP5611󰤵󰋈󰽖󰳒1

󰳒1

2. 󴜡󳕂CP5611 PROFIBUS󰦖󱭄󰋈󰽖󰳒2

IA&DT Service & Support

Page 5-25

󰳒2

3. 󱳈󱬍Station Name󰋈󱴀󰕟󰐁󰦪󰧡󰐎S7con󰋈󰽖󰳒󰀔󰇄 3.2 󰳼STEP7󰐁󳒘󱗕 PC Station

1. 󱮄󱓎󰏔󰏾󴹍󲳂󰋈󴗮󴖛 Insert >Station >Simatic PC Station 󱦦󰜹󰏔󰏾PC 󳂭󰋈󲊼

󱛣󳂭󰧡󳽕󱳈󱬍󱟤Station Configuration Editor 󰐁󱠔󰩑󰧡󲱘Station Name 󰋈󰥇󰩑󰧡󰐎“S7con”󰋈󰽖󰳒3

󰳒3

2. 󱠧󱓔󲹀󰓊󳒘󱗕󳁫󰦷󰋈󳒘󱗕󰏢󱠔󱅝󳺙󲱘SIMATIC NET 󴕃󰓊󲠜󱴀󲳌󰏔󳟈󲱘󲹀󰓊󰋈󱦦󱿑󳒧

󱵘󰏢󰳼Station Configuration Editor󳒘󱗕󲱘PC 󳂭󰏔󳟈󰋈󳓪󴆥󱑊󰖱󱄬󰋈󰽖󰳒4

IA&DT Service & Support

Page 6-25

󰳒4

3. 󱠧󱓔NetPro󰋈󰳼OPC Server󲱘󴖲󱥹󳸼󲱘󳄀󰏔󳸠󰧇󴬂󴗝󱢽“Insert New

Connection”󱟪Insert >New Connection󱦦󰜹󰏾󱮄󲱘󴖲󱥹󰋈󰽖󰳒5

IA&DT Service & Support

Page 7-25

󰳒5

4. 󰐎OPC Server󱅮󰐝󱮄󴖲󱥹󰋈󴖲󱥹󰓭󰔈󴗝󱢽“Unspecified”󰋈󴖲󱥹󳉏󰵟󴗝󱢽“S7

connection”󰋈󰽖󰳒6

󰳒6

IA&DT Service & Support

Page 8-25

5. 󲚍󰟏“Apply”󳓪󴕥󴖲󱥹󱈲󱗻󰋈“Partner”󰴄󰴔󰸿󰝭󴗮󴆃󱮍EM277󲱘󰴄󰴔󰋈󰽖󰳒7

󰳒7

󲫳󱟤󲱘󴖲󱥹󰧡󲿄󰧃󱳈󱬍󰋈󰴄󰴔󴆺󱚙󰽖󰳒󰀛󰋈

IA&DT Service & Support

Page 9-25

󰳒8

󲊼󱛣Partner󰕻TSAP󰧋03.00󰏡󳛑󱳈󱬍󰋈󰔚EM277󰧃󰳼󰓏󱛣󱿑󰔡

6. 󲚍󰟏“OK”󴗔󰟎󳟇NetPro󳁫󰦷󰋈󲫳󱟤󴖲󱥹 S7 connection_1󰋈󲚍󰟏“Save and

Compile”󳓪󴆥󱑊󰖱󱄬󰋈󰽖󰳒9

󰳒9

IA&DT Service & Support

Page 10-25

7. 󱠧󱓔󱥻󰠊󴴶󱵓󰋈󱠧󱓔“Set PG/PC Interface”󳁫󰦷󰋈󴗝󱢽“PC internal(local)”,

󰽖󰳒10

󰳒10

8.

󰖱󱄬󳓪󴆥󱮴󴇃󰧢󰋈󰽖󰳒11󱠔󲼎󲱘󰳒󱷛󰓮󱳝󵒘󳡆󳆁󰼈󱷛󴆚󰋈󱇚󲄷󲹂󳒘󱗕󰖵󱙃󰏟󴕑󰠄PC Station󰐁󰋈󰽖󰳒12

IA&DT Service & Support

Page 11-25

󰳒11

󰳒12

9. 󰏟󴕑󱅠󲆩󰧢󰋈󱶹󲳟Station Configuration Editor󲱘󲄷󲹂󲢊󱗕󰋈󰽖󰳒13󰋈󰧃󰒹󲳟󰠄

󰳒󰀔󰐁󳋿󳡆󱷛󴆚󰐁󲱘󳑶󳡆“X”󱏆󰦏󴰸

IA&DT Service & Support

Page 12-25

󰳒13

10. 󰀃󱠧󱓔“Set PG/PC Interface”󳁫󰦷󰋈󲄸󱯊󰐳󰧃󴗝󱢽“CP5611(PROFIBUS)” 󰽖󰳒

14󰋈󴖭󰏸󲾡󱥹󰦷󰦖󱭄󰟚󴜡󱮍󱓣󴛑󰏡󱕅󰪡OPC Server󰏢S7-200󲱘󴗮󴆃󰡳󳛑

IA&DT Service & Support

Page 13-25

󰳒14

11. 󱠧󱓔Start >Simatic > Simatic Net >Configuation console󱺔󱶹CP5611󱎹󰔰󱿵󱓣

󰦞󱦦󱿑󰧋󰋈󰽖󰳒15󱠔󲼎

IA&DT Service & Support

Page 14-25

󰳒15

3.3 󲫳󱟤S7-200󴹍󲳂

1. 󱠧󱓔STEP7-Micro/win󴕃󰓊󰋈󲫳󱟤S7-200󴹍󲳂󰋈󰦠󰟏󰄀󴗮󴆃󰄁󰡳󳛑󰳒󱷛󰋈󴜡󳕂

Micro/win󰏢S7-200CPU󲱘󴖲󱥹󰀃󰋈󰽖󰳒16

󰳒16

IA&DT Service & Support

Page 15-25

2. 󲚍󰟏󰄀󴆒󳕂PG/PC󱥹󰦷󰄁󴆒󱅮󴗮󴆃󰦖󱭄󰋈󰽖󰳒17󴗝󱢽“CP5611(PROFIBUS)”󱮍󱓣󰋈

󴗮󴖛EM277󴆓󴯂200CPU, 󴆹󱥹󰦷󰦖󱭄󰟚󴜡󱮍󱓣󰏡󱕅󰪡OPC Server󰏢S7-200󲱘󴗮󴆃󰡳󳛑

󰳒17

󲚍󰟏“Properties󰄁󱸌󱇍󳔥󳒰󰦖󱭄󰽖󰳒18󰋈󲚍󰟏“OK󰄁󴖨󰲲󰳒16󰋈

IA&DT Service & Support

Page 16-25

󰳒18

3. 󰦠󰟏󰄀󰠋󱮄󰄁󱧰󳋶200CPU󳡖󲚍󰴄󰴔󰋈󴗝󰐁󴆹󳡖󲚍󰋈󰴄󰴔󱷣󰐁󲱘󴖰󲿟󰴄󰴔󱳈󱬍󰐎

EM277 󰴄󰴔“4”󰽖󰳒19󰋈󲚍󰟏“OK”󴗔󰟎󰋈󴗮󴆃󴜡󳕂󱅠󱟤

IA&DT Service & Support

Page 17-25

󰳒19

3.4 OPC Scout󲌟󴆩󴗮󴆃

1. 󱠧󱓔Start >Simatic > Simatic Net >OPC Scout󰋈󲚍󰟏“OPC.Simatic.NET”󰋈󲏏

󰡴󰏔󰏾󳒘󰋈󰐎󲄸󳒘󰦪󰧡󰐎cpu224󰋈󰽖󰳒20󰇃󰳒21

󰳒20

IA&DT Service & Support

Page 18-25

󰳒21

2. 󰦠󰟏󲫳󱟤󲱘󴖲󱥹󳒘“cpu224”󱠧󱓔OPC-Navigator󰋈󴗝󱢽“S7”󰤣󴆂󰋈󳞾󰡼󱰒󲼎󱏆󳒘

󱗕󲱘S7 connection_1󰋈󲚍󰟏“objects”󱰒󲼎󱠔󱳝󴗮󴆃󱭄󱥂󰤎󰋈󰒹I/M/Q/DB󰐎󰕟󰟯󱓎󴗮󴆃󱭄󱥂󰋈󰽖󰏟󰳒22󰋈󰳒23󰋈󰳒24󲚍󰟏󰄀󰄗󰄁󱇚󱴵󲳂󲿏󴗕󰠄󰧇󰕻󳁫󰦷󰋈󲚍󰟏“OK”󰋈󰽖󴗮󴆃󲄷󱐌󰋈󰟭󰳼󰽖󰳒26 󰐁“Quality”󰏔󱷣󰐁󱰒󲼎󰐎“good”

󰳒22

IA&DT Service & Support

Page 19-25

󰳒23

󰳒24

󲊼󱛣󰋖DB󱭄󱥂󰥇󰐎200CPU󲱘󱭄󱥂󰤎V󰤎󰋈󴗮󴆃󱠔󳛑󴜡󳕂󲱘󱭄󱥂󰤎󰶳󰐎󰋖I󰇃M󰇃Q󰇃DB

IA&DT Service & Support

Page 20-25

3. 󰳼200CPU󰕻󱇍󰀹󰦬󴞣󴌟󰘐󰽖󰳒25󰋈VB200󰩠VB0

󰳒25

󰳼OPC Scout󰐁󱇍󱑨DB󰦬󴞣󱥹󰦫󱮴󴇃󰋈󰽖󰳒26,DB1.DBB200󰩠DB1.DBB0

󰳒26

4. 󰳼OPC Scout󰐁󱇍󰀴󰦬󴞣󴌟󰘐󰋈󰽖󰳒27,QB3

IA&DT Service & Support

Page 21-25

󰳒27

200CPU󰐁󱇍󱑨Q󰦬󴞣󱥹󰦫󱮴󴇃󰋈󰽖󰳒28,QB3

󰳒28

4. 󱘏󳒧

󰕟󲿟󰐁󲱘󲊼󱛣󰑟󴹍󰧃󰦖󳗗󲆣󰏔󲄹󵁸󰐁󲱘󳑶󳡆󱄫󰔧󴚼󰟚󰇄󴗮󴆃󱸐󱓣󰐎OPCServer󰏢S7-300/400󰋈󱠔󰒹󰳼󴆒󳕂󴗮󴆃󱭄󱥂󴭓󱑺󱯊󳱑󲜊󲉵󱳝󱄫󳡖󱭄󲳂󲱘󴰤󱅮󰋈󰔚󳽕󲊼󱛣󰏡󳽕󴍙󴖛200CPU󱠔󰜕󴆌󲱘󳣗󰳈󰋈󰽖M󰦬󴞣󰐎MB0~MB31󰀏󰏡󳛑󱓎󳂟󴗮󴆃󱭄󱥂MD30󰇄󱴀󰕟󱰃󰒹󰏔󰏾200CPU󰏢CP5611󱓎󰏔󰏾󴖲󱥹󰐎󰕟󰋈󰒙󰐎󴇈󱯢󰝊󴗮󴆃󰡳󳛑󲱘󰧃󳸠󱗻󰋈󰏡󳛑󰔰󰐎󴜡󳕂󱮍󱸜󰋈󰽖󱵰OPC Server󱓎󰻮󰑢8󰏾󰏢EM277󲱘󴖲󱥹󰋈󰟭󴳔󳽕󳗗󳰥󰠄CP5611󲱘󴖲󱥹󴌘󲑤󴯂󴹬󰋈󰧃󰒹󳗗󳰥CP5613󰇄

IA&DT Service & Support

Page 22-25

󰽖󱵰󱙼󱇍󴆹󱭛󱸷󱳝󰓏󰔩󱓎󴆂󰋈󴇋󱇚󱙼󲱘󱅱󴌉󱓎󴆂󱦤󰑸󳟇󰏟󴕑󰐁󱖗󲬭󳿔󱵓󰇄 󴆹󱭛󱸷󲱘󱭛󱸷󳓪󰧋󰋖A0303

IA&DT Service & Support

Page 23-25

5. 󴰘󱔩󰋉󱥼󳤤󳔥󰴔

󳞾󰡼󰣪󳋏󳒳

󳽓󴮼󱄤󰋄󰐁󰳑󰋅󱳝󴰤󰝀󰧌

󱎹󰏮󳞾󰡼󰣪󰏢󵁅󰡼󱡔󱴃󴲚󰲶 󱅶󱠋󱳡󰡵󰏢󱬃󱣕󰐁󱖗 󳔥󳂭󴽪󴹉󰋖www.4008104288.com.cn 󳞾󰡼󰣪󳋏󳒳 󰏟󴕑󰐁󱖗󰋖http://www.ad.siemens.com.cn/download/DocList.aspx?TypeId=0&CatFirst=1 󳞾󰡼󰣪󳋏󳒳 󰜼󲧗󱡔󱴃󴌘󲑤󰋖http://support.automation.siemens.com/CN/view/zh/10805045/130000 󰄀󱡒󳄨󱸜”󳞾󰡼󰣪󳋏󳒳󲠜󰤎󰋖http://www.ad.siemens.com.cn/service/answer/category.asp?cid=1027 󴗮󰖵/󳔥󳒰 󳽓󴮼󱄤󰋄󰐁󰳑󰋅󱳝󴰤󰝀󰧌 󱎹󰏮󳞾󰡼󰣪󰏢󵁅󰡼󱡔󱴃󴲚󰲶 󱅶󱠋󱳡󰡵󰏢󱬃󱣕󰐁󱖗 󳔥󳂭󴽪󴹉󰋖www.4008104288.com.cn 󴗮󰖵/󳔥󳒰 󰏟󴕑󰐁󱖗󰋖http://www.ad.siemens.com.cn/download/DocList.aspx?TypeId=0&CatFirst=12 󴗮󰖵/󳔥󳒰 󰜼󲧗󱡔󱴃󴌘󲑤󰋖http://support.automation.siemens.com/CN/view/zh/10805868/130000 󰄀󱡒󳄨󱸜”Net󲠜󰤎󰋖http://www.ad.siemens.com.cn/service/answer/category.asp?cid=1031

󰻄󱯢

󱟥󰓀󱏆󱸌󱇍󴖛󱴀󱠟󰝠󲱘󰝙󱆍󰏢󱠔󱦣󴗄󲱘󲹀󰓊󰩠󴕃󰓊󲳌󳃺󰇄󲬅󰑢󱏂󴫭󴲒󰒹󱅠󰜼󴙓󰜡󰋈󱟥󰓀󰏡󳛑󰖱󴆕󱅠󰜼󰏔󳟈󰇄󱟥󰓀󰓮󳒣󱐌󱇍󱠟󰝠󰐁󲱘󱭄󱥂󴖯󳸠󱺔󱶹󰋈󱑊󰳼󰧢󳓁󲱘󲠜󱴀󰐁󴖯󳸠󱖙󳽕󲱘󱳈󲄷󰇄󲃶󴖢󱙼󱦤󰟎󱅱󴌉󱛣󳾕󰇄

IA&DT Service & Support

Page 24-25

󲠜󱴗© 󳽓󴮼󱄤󰋄󰐁󰳑󰋅󱳝󴰤󰝀󰧌2001-2011 󲠜󱴗󰖱󲬭

󰻡󰠊󰇃󰓴󱪁󱟪󳗙󰕓󲫼󴆹󱭛󰓊󱟪󱭛󰓊󰝙󱆍󱖙󴹏󳒣󴖛󱴗󰟽󰒎󰐺󴴶󱯢󲹂󰧠󱛣󰇄󰖉󱴗󳗙󱇚󱡓󱢙󱴗󰟽󰒎󲱘󰜼󴚼󱤳󰼅󰇄󱴗󰟽󰒎󰖱󲬭󰏔󰟛󱴗󰟽󰋈󰣙󱣀󰻡󰠊󰇃󰦥󳸠󰋈󰒹󰦞󱬍󳓪󰇃󲈛󳓪󲱘󱴗󰟽󰇄

󳽓󴮼󱄤󰋄󰐁󰳑󰋅󱳝󴰤󰝀󰧌

IA&DT Service & Support

Page 25-25

因篇幅问题不能全部显示,请点此查看更多更全内容

Top