資源描述:
《Wincc 畫面模板》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、?WinCC????????????????????????學(xué)???????а????????????????а???Motor???學(xué)???????????а?????????ON_OFF?SetValue?ActualValue????????學(xué)?????????WinCC?????????????????????????????デ??????????????????????????а???????????????????????デ??????????н??????????????デ????????н????????????????????デ?????????????????1???
2、??????デ??1???デ???俆??а????????????н?о???????о?????????????WinCC????デ?????????????????????????????????????“????”?????????????????????????????享о?????????????享???????“Structure2.”?????????????????????????TagPrefix?“????”??????????????“WinCC????”?“WinCC┊????”??TagPrefix???1.1??а????????1.1.1???????畝??
3、??а???PID???學(xué)???????????2?????學(xué)??????й????PID1?PID2?PID3????????й????WinCC?????????1.1.2????????а???PicModule.pdl?????????IO???????????????┊??????????????????????к?1.1.2.1IO??????????IO?????IO???????PID1.EntityName??3???IO???????????????????EntityName???4????4?????????IO??????學(xué)??????EntityName?Ac
4、tValue?SetValueй??????????????????????????1.1.2.2????????а??????????????????????仌????н??????????????C???C?????????????”O(jiān)nOff”????л?#include"apdefap.h"voidOnClick(char*lpszPictureName,char*lpszObjectName,char*lpszPropertyName){#pragmaoption(mbcs)BOOLa;a=GetTagBit("OnOff");//Return-Type:BOOLSetTagB
5、it("OnOff",1-a);//Return-Type:BOOL}?????仌??????????仌??????????????“???”а????????5??5???仌??????—??????????????????????????????仌????”O(jiān)nOff”?н????????6???仌??????—?????к????????????“??”????????н???”O(jiān)nOff”???7?????7???????????а?????????“??”??????????????WinCCV7??????唈?????“??仌???”???????仌?????????????
6、????“??仌???”???“?”???8??8?????仌??????????????????????????????????9??9??????????????????????????????/?????????→?????н?????仌??1.1.2.3???????????а?????????????????н????????????????10?????????”O(jiān)nOff”??10????????1.1.2.4???┊?????????“WinCC????”?“WinCC┊????”???TagPrefix???????????а??????а?┊?????????????
7、?11????“??”???????”SetValue”??????“????”??11????????┊?????????12?┊???“??”???????”ActValue”??????“????”??12?┊???????????┊?━?????????????┊?????“??—??”??????????????┊???“??”?????????”ActValue”???13??13?┊?????????1.1.2.5??