kipj2 (Customer) asked a question.

Feature Request: Import and Export ASCII Ladder Logic Files

Please add the ability to import and export ASCII text files that symbolically represent ladder logic programming. Each file should be able to contain either a single procedure or a combination of procedures.

 

This capability would support development workflows using VS Code, Codex, ChatGPT, and other AI coding agents. Instead of manually retyping ladder logic changes into the CLICK Programming Software, users could export existing procedures, modify or generate logic externally, and then import the updated procedures back into CLICK.

 

The current print output already appears to use a symbolic representation of procedures, which may provide a practical starting point for defining the import/export format. This feature would reduce manual entry, minimize transcription errors, and make AI-assisted ladder logic development more efficient.

 

Here's how to do it: How to Display Ladder Logic in Text Format Without Attachments – Industrial Monitor Direct


OkiePC and kipj2 like this.
  • ssweber (Customer)

    In maybe a week or two I'll finish up the next phase of this - how to specifically work directly with a AI coding agent and Click - it reads the pyrung generated code, makes changes, can run it to make sure it works (click simulator), and then proposes diffs that popup and you can paste them in - either a rung at a time, or the whole main or subroutine.

     

    Allowing the AI to run the scan cycle itself catches so many problems than just 'make changes for me'.

    Expand Post
      • ssweber (Customer)

        I don't intend on adding those functions - encoding/decoding to a stylistic notation (for me) has little additional benefit. Thanks for the suggestion.

      • kipj2 (Customer)

        CODEX inside VSCode and it is AWSOME!!! I'm coding Python and Reaper Lua script now with it. You could probably plug this github repository you have into VSCode and Codex and add these two new functions in two seconds.