AutoHano Works

Blog · Oct 12, 2026 · 5 min read

Inherited an XG5000 project? Let your AI read the ladder with you

Connect Claude, ChatGPT, Claude Code, Codex or Cursor to your XG5000 projects over MCP, ask what a rung does, and check the answer against the rungs.

Connect AI in AutoHano Works settings, with the connector address and the Copy address button

Someone hands you the XG5000 project for a machine you have never seen, and the comments stop halfway through. Or it is your own program from three years ago. Either way, the first job is reading ladder and noting which coil drives which contact, before you dare change anything.

What Works does about it

AutoHano Works is a Windows app for LS ELECTRIC PLC projects (XG5000 .xgwx and XP-Builder .xpd). It is not an LS ELECTRIC product, and it has no AI built in. Instead, it lets the AI you already use read your projects over MCP: Claude Desktop, Claude Code, Codex or Cursor on your PC, or Claude and ChatGPT on the web.

Works breaks a project down into facts (rungs, contacts, coils, function blocks, addresses, device comments) and hands them to the AI as tool results. The AI answers from those facts, and the locations behind each answer come back with it, so you can check them.

Through Works, the AI can read:

What "ladder as text" looks like

The ladder tool writes each rung as conditions and outputs. In its documented format, a rung reads like this (illustrative):

Rung 12: (P00000(Start) OR P00040) AND NOT P00001 → OUT P00040(Run)

AND, OR and NOT follow the circuit as drawn. Text in parentheses is the comment from XG5000's variable/comment table. Rung numbers start at 0, in XG5000's rung order, and application instructions appear as the instruction and its operands, such as TON T0000 50.

From a line like that, the AI can answer "what does rung 12 do?" in plain words. An illustrative example, not real output: "Rung 12 is a start/stop latch. Start (P00000) turns on Run (P00040), Run holds itself through its own contact, and P00001 turning on drops it out."

Step by step

1. Connect your AI

Claude Desktop. In the launcher window, open [Connect AI] and press [Connect] next to Claude Desktop. Quit Claude Desktop completely, including its icon next to the clock, and start it again. Works then appears in Claude's tool list.

Connect AI in the launcher window, with the Connect button for Claude Desktop
Launcher window: [Connect] adds Works to Claude Desktop.

Claude Code. One line in the terminal:

claude mcp add --transport http autohano-works https://works.autohano.com/mcp

Codex and Cursor. The command for connecting them on your PC is in [Settings → Connect AI], with a copy button.

Claude or ChatGPT on the web. In [Settings → Connect AI], press [Copy address] (https://works.autohano.com/mcp). In Claude, go to Settings → Connectors → Add custom connector; in ChatGPT, Settings → Connectors → Create. Paste the address and sign in with the account you use for Works. Custom connectors are often limited to paid plans, so check each company's help pages.

Whichever you use, Works has to be running on your PC, and the connection needs internet.

2. Ask

The training samples are enough to start:

For your own file, tell the AI where it is, for example "Analyze D:\PLC\Line2.xgwx". It adds a copy to Works and reads it; the original file is not changed. Then try questions like these:

3. Check the answer against the ladder

The answer names rungs, so look at them. On the version screen, click the program name and Works draws the ladder, with device comments under each contact and coil. Type an address into the box above the ladder to see only the rungs that contain it. Or open the project in XG5000, which is where any change gets made anyway.

The ladder view in AutoHano Works, with timers and device comments
Comments from XG5000's variable/comment table appear under contacts and coils.

Limits, plainly

The AI is billed by your AI tool, not by AutoHano. The Free plan includes 10 AI reads a month; one read is a 30-minute window, however many tool calls the AI makes in it. When they run out, comparison, Find address and the ladder view in the app keep working.

Where to start

The point is not to hand the machine to an AI. It is to get from "what does this program do?" to "these are the rungs to look at", with rung numbers you can check. Start with the samples, then try a project you already know well, where you can tell a good answer from a bad one.

More from the blog