GX Works2 MCP — Mitsubishi PLC Ladder & SFC Agent
Author ladder logic from a process description (boolean logic, timers, counters, MOV/ADD/DMOV/CMP data rungs) and write a new native .gxw.
Free
Works with the AI Agents you already use
GX Works2 MCP — Mitsubishi PLC Ladder & SFC Agent
Example session with this skill installed
Create a new Mitsubishi FX3U ladder project for a motor starter. Start is X0, Stop is X1 (NC), Output is Y0. Include a seal-in circuit and save to C:/plc/motor.gxw.
- Read your context and instructions
- Compiled the gx works2 mcp
I have authored the motor starter ladder logic, validated the instruction set for FX3U, and saved the project to the specified path.
Mitsubishi FX3U Project: Motor Starter
| Component | Address | Logic Type | Description |
|---|---|---|---|
| Start Button | X0 | NO Contact | Manual Start Input |
| Stop Button | X1 | NC Contact | Manual Stop Input (Hardware NC) |
| Motor Contactor | Y0 | Coil | Main Output |
| Seal-in | Y0 | NO Contact | Auxiliary contact for latching |
# Logic Configuration
{
"name": "motor_starter",
"cpu": "FX3U",
"rungs": [
{
"out": "Y0",
"logic": {
"and": [
{"or": ["X0", "Y0"]},
"X1"
]
},
"comment": "Motor start with seal-in and stop priority"
}
],
"target_path": "C:/plc/motor.gxw",
"status": "Success",
"checksum": "SHA256:8f43aa..."
}
Next steps
- Run
gx_simulator_startto verify the latching behavior. - Use
gx_handover_exportto generate the commissioning documentation. - Open the file in GX Works2 to perform a final Global Rebuild.
Connects securely to your tools. The creator never sees your data.
About this skill
PLC work with AI usually stops at 'here is some ladder logic, good luck typing it in.' This skill teaches your agent to use gxworks2-mcp, an open-source MCP server with 51 tools for Mitsubishi GX Works2, so the program actually lands in a project file and comes back with evidence.
What it does:
- Author ladder logic from a process description (boolean logic, timers, counters, MOV/ADD/DMOV/CMP data rungs) and write a new native .gxw.
- Native SFC: generate, compile, check, save and read back an FX3U SFC project in one call (sequential, two-way selection, jumps).
- Edit safely: versioned slices and patches by stable instruction ID, so stale edits are rejected; file locks for multi-agent work.
- Simulator acceptance: batch tests in GX Simulator2 with timing windows, hold times and forbidden output combinations, fail-fast.
- Diagnose why a Y/M output is not on, down to the unmet contact or 16/32-bit comparison.
- Change impact: diff two versions and get a retest list.
- Handover: export a ZIP with IL, I/O comments, set/reset lists, checks and same-version SHA256 evidence, then verify it.
How it works: the skill gives your agent the workflows, parameter limits and guardrails; the MCP server (installed locally from GitHub, free, MIT) does the deterministic work. Install steps for Claude Code, Cursor and Codex are included.
Where it stops:
- Fully verified only on Windows + GX Works2 1.620 + FX3U/FX3UC. Q/L series: partial parsing and MC-protocol only.
- No parallel SFC branches. Plain ladder writes may still need a compile in GX Works2.
- GX Works2 is not included; you need your own licence.
- Simulator results are not field, wiring or safety acceptance. Live-PLC writes and RUN/STOP always require your explicit approval.
Independent project, not affiliated with Mitsubishi Electric.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Requires Windows and GX Works2 for native writes/simulation. SFC lacks parallel branches. Simulator results do not replace safety certification. PLC writes require explicit manual confirmation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 20 days ago
- Free with an Agensi account
- Software
- Gxworks2 MCP
Python
Git