@echo off echo ================================================================================ echo SAT9_MCM04 Compilation echo ================================================================================ echo. echo Project: SAT9_MCM04 echo L5X File: C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04_20250914_162134.L5X echo Output ACD: C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04.ACD echo. echo Checking Python 3.12... py -3.12 --version >nul 2>&1 if errorlevel 1 ( echo ERROR: Python 3.12 not found echo Please install Python 3.12 and ensure it's in PATH pause exit /b 1 ) echo Python 3.12 found echo. echo Checking Logix Designer SDK... py -3.12 -c "import logix_designer_sdk; print('SDK import successful')" >nul 2>&1 if errorlevel 1 ( echo ERROR: Logix Designer SDK not found echo Please install Logix Designer SDK for Python pause exit /b 1 ) echo Logix Designer SDK found echo. echo Starting compilation... echo Command: py -3.12 "C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\L5X2ACD Compiler\l5x_to_acd.py" "C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04_20250914_162134.L5X" echo. py -3.12 "C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\L5X2ACD Compiler\l5x_to_acd.py" "C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04_20250914_162134.L5X" echo. echo Checking compilation results... if exist "C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04.ACD" ( echo SUCCESS: ACD file created at C:\\Users\\ilia.gurielidze\\Projects\\PLC Generation\\generated_projects\\SAT9_MCM04\\SAT9_MCM04.ACD echo. echo Ready for Studio 5000! ) else ( echo ERROR: ACD file was not created echo Check the output above for errors ) echo. echo ================================================================================ pause