《PLC基于PC的控制(odk).ppt》由會員分享,可在線閱讀,更多相關《PLC基于PC的控制(odk).ppt(27頁珍藏版)》請在裝配圖網上搜索。
1、Automation and Drives SIMATIC WinAC ODK PC-based Control SIMATIC WinAC ODK Application CCX CMI A Return value (Err): TRUE: successful FALSE: failed Parameter: CPU Handle for CPU (Multi PLC operation) Offset number of bytes in Dual-Port-RAM BIT32 Example Values: FeatureName As String, ;
2、KeySwitch“ AttributeNames, ; Value“ AttributeValues, ; RUN, STOP, ... pErrorID As Long ) WinAC RUN STOP CMI Automation and Drives SIMATIC WinAC ODK PC-based Control SIMATIC WinAC ODK Application CCX CMI A&D AS, 07/2004, Chart 24 Siemens AG 2004 -subject to change without notice SMX C
3、MI概要 應用示例 : 將面板的功能性集成可視化 Sub On_Button_Pressed () Set_WinAC_State( RUN ) End Sub 不需要用戶控制就可通過其他的應用程序或設備來啟動或停止 WinCC 的 CPU: If Camera_Is_Operating Then Set_WinAC_State( RUN ) 自動反映故障 Sub OnFeatureChanged ( ... ) Send_Mail_to_Operator (O“, Panic!!“) End Sub 自動加載 PLC更新程序 自動解釋診斷信息
4、 執(zhí)行遠程面板應用程序 WinAC RUN STOP CMI Automation and Drives SIMATIC WinAC ODK PC-based Control SIMATIC WinAC ODK Application CCX CMI A&D AS, 07/2004, Chart 25 Siemens AG 2004 -subject to change without notice SMX ODK 應用 : DLL RTDLL ODK 應用程序的設計 STEP7 Library (Example) FB Init FB Param FC
5、Stop _Action FC Start _Action FB Else _Action 傳遞 ODK 應用給 用戶 : 創(chuàng)建處理 FB/FC ,使沒有技能的操作人 員也能簡單明了的使用 ODK 應用程序。 將這些 FB/FC 收集保存到 STEP7 程序庫 My ODK lication Automation and Drives SIMATIC WinAC ODK PC-based Control SIMATIC WinAC ODK Application CCX CMI A&D AS, 07/2004, Chart 26 Siemens AG 2004 -
6、subject to change without notice SMX PC with Windows Vent urC om RTX WinAC ODK (WinLC RTX) WinAC RTX (CPU-Proxy) 3rd party Robot Control Int er fa ce Driver Parallel I/O Driver 3rd party Field bus COM Port ( RS 232) HD Data Base Interface Int er fa ce Int er fa ce Barcode Scanner 運行 /停止 lication Automation and Drives SIMATIC WinAC ODK PC-based Control SIMATIC WinAC ODK Application CCX CMI A&D AS, 07/2004, Chart 27 Siemens AG 2004 -subject to change without notice SMX PC- based Control 基于 PC的綜合平臺解決方案