《PLC基于PC的控制(odk).ppt》由會(huì)員分享,可在線閱讀,更多相關(guān)《PLC基于PC的控制(odk).ppt(27頁珍藏版)》請(qǐng)?jiān)谘b配圖網(wǎng)上搜索。
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, ; KeySwitch“ At
2、tributeNames, ; 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 CMI概要 應(yīng)用示例 : 將面板的功能性集成可視化 Sub On
3、_Button_Pressed () Set_WinAC_State( RUN ) End Sub 不需要用戶控制就可通過其他的應(yīng)用程序或設(shè)備來啟動(dòng)或停止 WinCC 的 CPU: If Camera_Is_Operating Then Set_WinAC_State( RUN ) 自動(dòng)反映故障 Sub OnFeatureChanged ( . ) Send_Mail_to_Operator (O“, Panic!“) End Sub 自動(dòng)加載 PLC更新程序 自動(dòng)解釋診斷信息 執(zhí)行遠(yuǎn)程面板應(yīng)用程序 WinAC RUN STOP CMI Automation and Drives SIMATI
4、C 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 應(yīng)用 : DLL RTDLL ODK 應(yīng)用程序的設(shè)計(jì) STEP7 Library (Example) FB Init FB Param FC Stop _Action FC Start _Action FB Else _Action 傳遞 ODK 應(yīng)用給 用戶 : 創(chuàng)建處理 FB/FC ,使沒有技
5、能的操作人 員也能簡單明了的使用 ODK 應(yīng)用程序。 將這些 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 -subject to change without notice SMX PC with Windows Vent urC om RTX WinAC ODK (WinLC RTX) Wi
6、nAC 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 運(yùn)行 /停止 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的綜合平臺(tái)解決方案