Reference
Troubleshooting
Solutions to common problems with PLC Assist
Troubleshooting
This guide covers common issues and their solutions.
Connection Issues
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
-
Restart the bridge
- Stop the bridge script
- 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