CODESYS® AI-supported Engineering

CODESYS Engineering with AI support

The CODESYS Development System already includes many convenient features that make engineering easy and fast. To boost the implementation of your PLC application, use the tools bundled in the Professional Developer Edition. They provide you with even more powerful features and help you to work more effectively and securely. 

AI in CODESYS – The key development and research areas

How can AI be used to optimize your work with CODESYS? Our developers are delving deeper and deeper into this topic. What we know for sure: AI will enable you to achieve impressive results much faster and more easily—without leaving the CODESYS platform.

Chatbot for CODESYS Online Help

Features:

  • Plain text communication with the chatbot in case of problems with CODESYS
  • Clear instructions based on the CODESYS Online Help
  • Tested and approved by the CODESYS Support

Your benefit:

  • Faster and easier access to information in the CODESYS Online Help with AI-based support, including specific application examples
  • No AI hallucinations! It uses only the CODESYS Online Help and does not return any result if it cannot find suitable information there.

Status:

Code completion for ST code in CODESYS go!

Features:

  • Context-based suggestions are displayed as you type.
  • Easy acceptance at the touch of a button

Your benefit:

  • Concrete and useful suggestions that you can accept simply by pressing a button, and edit as you wish
  • The suggestions go far beyond the scope of the Intellisense® function already integrated in the CODESYS Development System -completion of function names based on library namespaces, for example). See screenshot above.
  • Consideration of your specific program context in the current program block (up to 200 lines of code before and after the current position)

Status:

  • Implementation only planned for CODESYS go!
  • Currently running as a research project, planned for inclusion in the product

Integrated data exchange with public AI systems via MCP plug-in for LLMs

Model Context Protocol (MCP) is an open standard protocol for data exchange between AI systems with large language models (LLMs) and external tools. The protocol was initially developed by the US company Anthropic (the manufacturer of the AI Claude) and is now also implemented by other AI manufacturers.

Features:

  • Integrated interface to LLMs in the CODESYS Development System:
    Remote control of Engineering by the AI system
  • Automatic generation of POUs and PLC code
  • Automatic detection and correction of coding errors

Your benefit:

  • Have the structure of a new CODESYS project automatically built simply via a plain text command in the AI chat.
  • Give your AI software commands to automatically generate program code and watch as the AI independently develops and corrects suggestions.
  • Let the AI search for syntactic or structural errors in your application and develop suggestions for improvement.
  • Have existing project code and its function explained to you.
  • Use the AI as a virtual team member for simple programming tasks.

Status:

  • Prototype of an integrated MCP Server for the CODESYS Development System
  • Successful data exchange e.g. with Claude Desktop and OpenAI/GPT-5
  • Available as a prototype for the CODESYS Development System (preview for V3.5 SP22)
  • To be integrated into the product in the near future

Further AI possibilities within CODESYS

Research project for local LLMs

Features:

  • Optimization of LLMs for use on local devices
  • Fine-tuning for PLC code generation
  • OpenVINO GenAI deployment across multiple Intel architectures

Your benefit:

  • Edge deployment on Intel AI PCs for field service
  • Programming support for prompts that don't leave your company
  • Use of hybrid architectures that leverage both discrete GPUs and integrated AI acceleration (iGPU/NPU)

Status:

  • Research in collaboration with Intel
  • Products planned for the medium term

External solutions

Features:

  • SyntaxShift from KS Solutions AG: AI-based code conversion for various PLC standards (e.g., Siemens IL, SCL ↔ CODESYS ST)
  • Additional options, e.g., for graphics to code / configuration / visualization

Your benefit:

  • Significant time savings in code conversion
  • Ideal for retrofit options and flexible manufacturer changeovers

Status:

  • Available as a product/service from KS Solutions AG - coming soon to the CODESYS Store

Conclusion

  • The CODESYS development team is working intensively to offer you integrated AI capabilities for your work with CODESYS.
  • The first integration is already available, further products are planned.

Benefit from CODESYS with AI integration

Delegate simple coding tasks to AI and concentrate on exciting and challenging tasks.

Use integrated AI functions to find errors, explain and document code, etc. – and thus implement your PLC application faster and more securely.