Files
DCU_ECAT_Master/ecat.bat
T

9 lines
283 B
Batchfile
Raw Normal View History

2026-09-03 01:56:29 +08:00
@echo off
rem EtherCAT master tool for DCU LAN9252 (scan/flash/send/monitor)
rem Examples: ecat.bat status | ecat.bat flash | ecat.bat send --u64 0x1,0x2,0x3,0x4 --duration 5
chcp 65001 >nul
set PYTHONUTF8=1
cd /d "%~dp0"
"%~dp0venv\Scripts\python.exe" ecat_tool.py %*
pause