Troubleshooting
Solutions to common problems with PLC Assist
Troubleshooting
This guide covers common issues and their solutions.
Connection Issues
Browser Blocked the Connection
Symptoms:
- Clicking "Connect" does nothing or fails silently
- You previously clicked "Block" on a browser permission prompt
- Connection worked before but suddenly stopped
Why this happens:
PLC Assist runs in your browser and needs to connect to the bridge program on your computer. Your browser (Chrome/Edge) asks permission for this the first time. If you click Block, the connection is permanently blocked — the browser won't ask again.
How to fix:
- Copy this and paste it in your browser address bar:
chrome://settings/content/all - Find plc-assist.com in the list and click it
- Click Reset permissions
- Close the tab, reload PLC Assist, and click Connect again
- When the browser asks for permission, click Allow this time
This only needs to be done once. After clicking Allow, the connection works permanently.
Bridge Won't Connect
Symptoms:
- "Connection failed" error
- Cannot see project in PLC Assist
Solutions:
-
Check your PLC environment is running
- Ensure your PLC environment (CODESYS, TwinCAT XAE, etc.) is open with your project
- Verify the project is not in a locked state
-
Check the bridge is running
- CODESYS: Tools → Scripting → Execute
plc-assist-bridge-start.py - Beckhoff: Run
BeckhoffBridge.exe(should show "Listening on...")
- CODESYS: Tools → Scripting → Execute
-
Restart the bridge
- Stop the bridge script/program
- Wait a few seconds
- Start it again
-
Check for port conflicts
- Ensure no other application is using port 8555
-
Check your firewall
- Ensure localhost connections are allowed on the bridge port
Connection Drops Frequently
Symptoms:
- Connection works but disconnects randomly
- Need to restart bridge often
Solutions:
-
Update the bridge
- Download the latest scripts from PLC Assist
- Replace the old files
-
Check system resources
- Close unnecessary applications
- Ensure your PLC environment has enough memory
AI Issues
AI Not Responding
Symptoms:
- Chat messages don't get responses
- "Generating..." shows indefinitely
- Timeout errors
Solutions:
-
Check connection status
- Verify the bridge is connected
- Refresh the browser page
-
Cancel and retry
- Cancel the current request
- Try sending a simpler request
-
Start a new chat
- Create a new chat session
- Try your request again
AI Gives Poor Results
Solutions:
-
Be more specific
- Include data types explicitly
- Describe behavior in detail
- See Prompting Tips
-
Provide context
- Reference existing code in your project
- Explain your naming conventions
-
Break down the request
- Make smaller, focused requests
- Build up incrementally
Compilation Errors
Errors After Accepting Changes
Solutions:
-
Ask the AI to fix them
- The AI can see the compilation errors and fix them automatically
- Just ask: "fix the compilation errors"
-
Restart the bridge
- Stop and restart to force resync
Compilation Not Running
Solutions:
-
Check bridge connection
- Ensure the bridge shows as connected
-
Check your PLC environment
- Ensure the project is open and not in a locked state
Still Having Issues?
If none of these solutions work:
-
Collect information
- Screenshot of the error
- Steps to reproduce
- Browser and OS version
-
Contact support
- Email support at contact@plc-assist.com