西门子WinCC与HMI人机界面.docx
- 文档编号:25922917
- 上传时间:2023-06-16
- 格式:DOCX
- 页数:40
- 大小:4.30MB
西门子WinCC与HMI人机界面.docx
《西门子WinCC与HMI人机界面.docx》由会员分享,可在线阅读,更多相关《西门子WinCC与HMI人机界面.docx(40页珍藏版)》请在冰豆网上搜索。
西门子WinCC与HMI人机界面
WinCC與HMI人機介面
1.在PlantView視窗下,點選欲新增人機介面之區域,
按滑鼠右鍵-InsertNewObject-Picture,新增一圖片
3.SelectPicture
2.SelectInsertNewObject
1.Clickrightkeyofmouse
2.輸入圖片名稱
Keyinthenameofpicture
3.在Componentview視窗下,點選ES-WinCCApplication-OS
在OS上按滑鼠右鍵-OpenObject
1.SelectOpenObject
2.Clickrightkeyofmouse
4.點選Computer,在右方視窗電腦名稱上按右鍵-Properties
1.SelectProperties
2.SelectComputer
3.Clickrightkeyofmouse
5.輸入該部電腦的實際ComputerName,按OK返回
1.KeyintheComputerName
sameasyourcomputer
2.ClickOK
6.滑鼠左鍵雙擊OSProjectEditor
Doubleclickleftkeyofmouse
7.進入OSProjectEditor畫面後,選取上方Layout標籤,並選取螢幕解析度與數量
3.Selectmonitorconfiguration
2.Selectscreenresolution
1.SelectLayout
8.按OK確認
ClickOK
9.返回Component視窗,點選ES-WinCCApplication-OS
在OS上按滑鼠右鍵-Compile
3.SelectCompile
2.Clickrightkeyof
mouse
1.SelectES
10.按Next進行下一步
ClickNext
11.若系統架構中含有多個操作站,則可在此選擇將圖片指向哪一個操作站
選擇完成後按Next
2.ClickNext
1.SelectStation
12.按Connection
2.ClickNext
1.ClickConnection
13.進入SelectNetworkConnection畫面後,點選S7connection,按OK確定後跳出,按Next進行下一步
1.SelectS7Connection(whenadoptOS+CP1613)
2.ClickOK
14.Data:
勾選Tagsandmessages與PictureTree
Scope:
點選EntireOS,並勾選Withmemoryreset
Minimumacquisitioncycleofthearchivetags:
依需求設定,預設為1秒
設定完成後按Next(第二次OSCompile不必勾選PictureTree)
6.ClickNext
5.Select1second
4.SelectWithmemoryreset
3.SelectEntireOS
2.SelectPictureTree
1.SelectTagsandmessages
15.按Compile
ClickCompile
16.Compile執行中
完成OSCompile後,PCS7會自動將程式中的OP_D、OP_A、DIG_MON、MEAS_MON等Block以內建物件自動轉換至人機介面
更改內建Faceplate物件
1.程式編輯時,使用OP_D
ThisisaOP_Dblock
2.在該Block上按滑鼠右鍵-ObjectProperties
2.SelectObjectProperties
1.Clickrightkeyofmouse
3.進入後可見Createblockicon有打勾,但底下欄位空白,表示其採用內建Faceplate
ClickOK
Hereisempty
Sousedefaultfaceplate
4.程式編輯完成後,執行OSCompile
5.OSCompile完成後打開該程式人機介面圖檔
Doubleclickthepicture
6.圖片開啟後可見其OP_D內建Faceplate
DefaultOP_Dfaceplate
7.如須依使用者須求更改內建Faceplate,則先開啟WinCCApplication
2.SelectOpen
Object
1.Clickrightkeyofmouse
8.點選左方視窗內的GraphicsDesigner,再雙擊右方視窗內的@@PCS7Typicals.PDL
2.Select@@PCS7Typicals.PDL
1.SelectGraphicsDesigner
9.進入後選取內建OP_D,按滑鼠右鍵-Duplicate,複製一組OP_D
Clickrightkeyofmouse
andselectDuplicate
10.將複製所得OP_D標籤更改為OP_D/2,並移至空白處,以方便辨識
Renameto
OP_D/2
11.在物件上按滑鼠右鍵-Properties
1.SelectProperties
2.Clickright
keyofmouse
12.點選左方視窗內的Customizedobject
再將右方視窗內的ObjectName更改為@OP_D/2
2.Renameto@OP_D/2
1.SelectCustomizedobject
13.點選左方視窗內的General,滑鼠左鍵雙擊右方視窗內的type
將OutputValue修改為@OP_D/2,按OK確定修改
3.ClickOK
2.Keyin@OP_D/2
1.SelectGeneral
14.點選ObjectPalette視窗內的StaticText,在主畫面上建立一靜態按鈕方塊
2.CreatenewStatictext
1.SelectStatictext
15.在新增之按鈕方塊上按右鍵-Duplicate
ClickrightkeyofmouseandselectDuplicate
16.在新增之按鈕方塊上按右鍵-Properties
ClickrightkeyofmouseandselectProperties
17.點選左方視窗Colors,依需求更改顏色
2.Changethecolorsoffont
andBackground
1.SelectColors
18.點選左方視窗Font,依須求更改字型與字體位置
2.ChangetheFontSizeand
Alignment
1.SelectFont
19.修改完成如圖所示
20.點選紅色RESET按鈕,再點選File-Export
1.Selectredbutton
2.SelectFile
3.SelectExport
21.輸入按鈕名稱,按Save
2.ClickSave
1.Keyinthename
22.重覆步驟19與步驟20,新增黑色RESET按鈕
Repeatstep19andstep20toaddblackbutton
23.在OP_D/2物件上按滑鼠右鍵-Customizedobject-Edit
3.ClickEdit
2.SelectCustomizedobject
1.Clickrightkeyofmouse
24.在原始靜態按鈕上按滑鼠右鍵-ConfigurationDialog
2.ClickConfigurationDialog
1.Clickrightkeyofmouse
25.刪除原始靜態畫面
1.DeleteoriginalStaticText
26.選取SelectionofPicture視窗內剛才所新增的按鈕reset_on與reset_off
直接拖曳至狀態0與狀態1,按OK
ClickOK
Selectnewaddstatictext
andmousemovehere
27.將修改完成之靜態圖片RESET依需求改變大小
Adjustthesizeofstatictext
28.選取整個RESET按鈕,按滑鼠右鍵-Customizedobject-Finishediting
3.SelectFinishediting
2.SelectCustomizedobject
1.Selectandclickrightkeyofmouse
29.點選File-SaveAs
1.SelectFile
2.SelectSaveAs
30.將原本的@@PCS7Typicals另存成@PCS7Typicals
2.ClickSave
1.Keyinthefilename@PCS7Typicals
31.返回程式編輯區,在預定做RESET功能的OP_D上按滑鼠右鍵-ObjectProperties
2.SelectObjectProperties
1.Clickrightkeyofmouse
32.在Createblockicon的欄位上輸入2(因該物件為@OP_D/2),按OK
2.ClickOK
1.Keyintheblockicon2
33.將修改過的程式進行Compile,選擇Changesonly即可,按OK
3.ClickOK
2.SelectChangesonly
1.Compiletheprogram
34.執行OSCompile
3.ExecuteOSCompile
35.OSCompile結束後開起圖片
Openthepicture
36.OP_D物件已更換為自行建立之REST按鈕
Thefaceplatechanged
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 西门子 WinCC HMI 人机界面