创建脚本的技巧与窍门.pdf
《创建脚本的技巧与窍门.pdf》由会员分享,可在线阅读,更多相关《创建脚本的技巧与窍门.pdf(5页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、?1.?“?”?“HMI_Tag_01”?,“?”?“HMI_Tag_02”?“HMI_Tag_02”“?”?:?2.?-SmartTags(“?”)(?)?(?)Dim Tag_01?Tag_01=SmartTags(DB10_HMI_Data)(2)?(?)Dim HMI_Data(10,10)?Dim Tag_01?Tag_01=HMI_Data(0,5)?“?”,?“?”?3.?WinCC flexible?WinCC flexible?DLL?4.?API(?)?VB?API?API?ActiveX?WinCC flexible?ActiveX?“?”?OPP?15247601?5.
2、?WinCC flexible“MsgBox”?“MsgBox”?WinCC flexible?6.?WinCC flexible?“&h”?Dim Tag_01 Tag_01=&h45E?“1118”7.?WinCC flexible?WinCC flexible?WinCC flexible?“?”?8.?&?Dim Tag_01,Tag_Text_01,Tag_Text_02,Tag_Text_03 Tag_01=Tag_Text_01&Tag_Text_02&Tag_Text_03 9.?“”?“&”?“”?1 Dim Tag_01,Tag_Text_01,Tag_Text_02,Ta
3、g_Text_03 Tag_01=Tag_Text_01&Tag_Text_02&Tag_Text_03?2?“machine index”?ShowSystemAlarm Machine&_&SmartTags(Tag_MachineIndex)&must be checked?Machine_15 must be checked 10.?“?”?“?”?“?”?“?”?Name of the script:Sample_01 Script type:Function Parameters:Param_01,Param_02 Return value:Tag of the Integer t
4、ype 11.?“Sample_01”?Dim Result Result=Param_01+Param_02 Sample_01=Result?“Sample_01”?-?12.13.?“Param_01”?“Param_02”?“?”?14.?“?”?“?”?24249449?15.?16.?In Example 01,the complete name of the screen is output through the return value of a script.?01?Screen name:Screen_01 Name of the script:Script_01 Scr
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 创建 脚本 技巧 窍门
限制150内