問題:
最近因工作需要,在Win10 專業版上裝了TwinCAT3(TC31-Full-Setup.3.1.4022.16.exe),但是在IO掃描Box時,首先出現警告:init15\IO: set state TComObj PREOP OP: Device Device 1 (EtherCAT Automation Protocol) (set to SAFEOP) >> AdsError: 1792(0x700,");
點擊確定後,一系列的警告接踵而來,最後留下警告:Warning 1 2018/8/6 17:48:07 389 ms | 'TCOM Server' (10): PREOP to SAFEOP of 'Device 1 (EtherCAT Automation Protocol)' (0x03010010) failed - 'device error' 0x98110700;並且掃描不到Box,如下圖所示:
解決方案:
找到TwinCAT的安裝路徑,然後找到System文件夾中的 win8settick.bat(TwinCAT\3.1\System),然後右擊,以管理員身份運行,然後重啓TwinCAT,完美解決問題。結果下圖: