Download sách, tài liệu, video, luận văn, đô án miền phí VIDEOBOOK.VN
üeneratea Dy hoxit Ẽúh ureator © hóxit bottware
For evaluation only.
KẾT NỐI WINCC V7. VỚI PLC S7-300
❖ WinCC V7
1. Add new driver: SIMATIC S7 Protocol Suite.chn
'ff* WinCCExplorer - G:\project\009\009. MC
File Edit View Tools Help
_I -> ! J ► I i m -Til I
009\Tag Management
2. Tạo tag trong Tag Management SIMATIC S7 PROTOCOL SUITE MPI Ví dụ: Tạo
2 Group Tag là input và output Input: Tạo Tag: Onbotton và Off botton Output: Tạo
Tag: Light l
Tạo Tag On botton
a _a 009
1 3 Computer j{! Tag Management HP
Internal tags &■ ft SIMATIC S7 PROTOCOL
SUITE |=: Structure tag Graphics Designer .j
Menus and toolbars :A Alarm Logging iffi
Tag Logging ¿t Report Designer J.' Global
Script m Text Library Text Distributor jji
User Administrator Jjji Cross-Reference /y
Load Online Changes 3 Redundancy jjj User
Archive
L
) Time synchronization •*|>) Horn
Picture Tree Manager
Lifebeat Monitoring OS
Project Editor ^ Web
Navigator
Type
/Internal tags Internal tags
& Add new driver
1 ( J |j|
<K
Siemens ► WinCL ► bin ►
▼ 1 III Search bm p
1
Organize ~ New folder ä= - a ®
u Recent Places
^ Libraries *]
Documents J' Music B
Pictures H Videos
i$f I lomegroup
Computer £, Local
Disk (CO i Phan mem
(G:) a Tai lieu (H:)
Profibus DP.chn
n Profibus FMS.chn
□ SIMATIC 505 TCPIP.chn
□ SIMATIC S5 Ethernet Layer
i.CHN
□ SIMATIC S5 Profibus
FDL.chn
n SIMATIC S5 Programmers Port AS511,
□ SIMATIC S5 Serial
3964R.CHN
11_] SIMATIC S7 Protocol Suite.chn
□ SIMATIC TI Ethernet
Layer4.CI IN
□ SIMATIC TI
Serial.CHN
L_i
Simotion.c
hn
Q System Info.chn
File name: SIMATIC S7 Protocol Suite.chn
Date modified
8/18/20109:13 PM
8/18/20109:12 PM
8/18/2010 9:13 PM 8A
8/7010 9:13 PM 8A8/2010
9:14 PM CHN 8A8/2010 9:13
PM 8A8/2010 9:13 PM
Type
CHN File
CHN File
CHN File
CHN File
CHN File
CHN File
CHN File
8A8/2010 9:12 PM CHN File
Type: CHN File Size: 305 KB
Date modified: 8A8/2010 9:12 PM
8A8/2010 9:15 PM CHN File
» WinCC Communication Driver ■»
Ope
Edit Vie*// Too 5 Hrlp
¿I_J » 1 X 1*1 -ÌI
J
J > ỊĩỊBỊ jf] ?
.009
Computer
M[ Taq Manaqerrert +
/ Internal tags
JJ. SIMATIC S7 PRCTOCCL SUITE lid-
| j Industrial Ethernet (|)- | j Industrial
Ethernet (II)
- [[ MPI ; 0-M vinh
| j ft input
ft OLtput
$ jj Named Connections
ijj | PROFIEUS
i jj PROFIEUS (ID Ö~Jj Slot PLC Soft
PLC Ä- | TCP/IP [=: Structure tag G'aphics
Designer «| Menus and toolbars 1A A arm
Logging JJ] Tag Logging Report Designer
^ Script U Text Lib rary Text Distributor fjj
User Administrator -fvji Cross-Reference
•/y Load Online Changes ^ Redundancy
User Archive 9 Time synchronization
Name
^On botton
lype
Binary ~aq
Tag properties
Last Change
5/5/20118:11:56 AM —
Address properties
Propeties of
Tags Name:
Data Type ■
Length:
Address- Adapt format:
(§) Project-wide update
□ Tag synchronizafon l~1
Linear scaing Process
Value Range
Valuel
Vabe2
On botton
( Binary tag
[ I
Description
CPU
Data
AridwKS
m
M |
c
□
|5 3 Length
Convputer-loeal update
Tag Value Range
Valuel
Value2
Séecl the data area
g Manogcmcnt\SIMATlC S7 PROTOCOL SUITE\MPISvinh\inpiit\
External Tags 1 / license DEMO
Tưong tự tạo Tag Off botton.
Tao Tag Light l
CExplorer- C prcịectvOOS^CCS.MCP^^I Edit View
Tools Help
;•! J HJpg -111
J
J > ggffll
jfj ?
S Computer Ü Tag Management
h i SIMATIC S7 PROTOCOL surrE JJ Industrial Ethernet s JJ
Industrial Ethernet (ïïi B JJ MPI ÉM** vinh '■■■■■%
input output
É- JJ Named
Connections B JJ PRO-1BUS
|J PRo=iBusnn 8- jj Slot PLC
E jj Soft PLC B J| TCP,IP 3
Structure taq \ Graphics
Designer £ Menus and
toolbars ^ Alairn Logging
23 Tag Logging ¡I Repod
Designer ”, Global Script if
Text Library ^ Text
Distributor ¡J User
Administrator ¡0 Cross-
Reference Load Online
Oranges J Redundancy fl
User Archive
^ragenreniySMATTC. S7 PROTOCOI
SIITTF\MP1\vi.>l>\our[>ul\
[ Lnis/Reporting I
Mam* JgtrJ
DataType : [armi-tag
Length 1'
Address: [Twn
Adapt
format :
1 -1
0 Proj*-;Kv*-
i*
Iipria** f Crxnpn:*r4nral update
n I ag svnehroneaten □ Linear seeing Proc«£A Valu* Rang*
r
Tag Valu* Rang*
‘/altel I
2 I Vcká
Last Change
No objects exist
B1
Hjp
Fxteiivd Taw»: ? / License:
DFMO
3. Thiết lập cấu hình mạng.
f-SI
ệ-!I
ệ-H
ẻ-
y
New Driver Connection.,.
System Parameter
Find
Paste
Pro perties
B-r * \
I Soft PLC
TCP/IP
4. Xuất hiện hộp thoại System Parameter - MPI -> Unit -> Logical device
name: Chọn PC Adapter(MPI)
5. Thoát chương trình phần mềm: Chọn Yes -> OK. Sau đó mở phần mềm lên lại
6. Vào Graphic Designer: Vẽ 2 nút nhấn và 1 bóng đèn
Gán thuộc tính cho đối tượng.
On botton: Gán Tag Onbotton trong Properties: Miscellaneous -> Operator-Control
Tương tự với Off botton
Light l: Gán Tag Light l trong Properties: Miscellaneous -> Display
7.
Enable
Chọn Update Cycel là Upon change
PLCS7-300❖
1. Thiết lập phần cứng tưoTLg ứng với CPU của PLC
Viết một đoạn chương trình gồm: On botton, Off_botton, Light l
On botton: MO.O Off_botton: MO.l Light_l:Q0.0
Chọn Update Cycel là Upon change
etwork
1
MO.O MO.l
H I- - -l/h «0 . 0
Network 2 : Title:
II. 0 MỮ.0
H I 0—I
Network 3 : Title:
11.3 M0.1
H I o—I
2. Thiết lập cấu hình mạng. Vào Options -ỳ Set PG/PC interface
Title:
Comment:
«0.0 -f>
—1
Comment
:
Comment :
SIMATIC Manager-1232
Vào PC Adapter(Auto) -> Local Connection -> USB hoặc COM (tùy thuộc vào cộng Cáp)
4. Chạy chương trình và quan sát bên Runtime WinCC
Truong hop nay dung cong COM
3. Download chuơng trình xuống CPU