PLC Cloud Sim — LAD/SCL simulation over MCP
Cloud PLC simulator: validate and step-run LAD/SCL programs, run scenarios, return PASS/FAIL.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http plc-cloud-sim-lad-scl-simulation-over-mc 'https://tia.hubwiz.com/sim/mcp' --header 'Authorization: <Bearer API key from https://tia.hubwiz.com/sim, format '\''Bearer sim_live_...'\''. WeChat login issues a free key with 100 calls; top-ups are 1000 calls for ¥9.>'
{
"mcpServers": {
"plc-cloud-sim-lad-scl-simulation-over-mc": {
"type": "http",
"url": "https://tia.hubwiz.com/sim/mcp",
"headers": {
"Authorization": "<Bearer API key from https://tia.hubwiz.com/sim, format 'Bearer sim_live_...'. WeChat login issues a free key with 100 calls; top-ups are 1000 calls for ¥9.>"
}
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
PLC Cloud Sim — MCP server for LAD / SCL simulation
Cloud PLC simulator over MCP by 汇智网 (hubwiz.com). Validate and step-run Ladder (LAD) and SCL programs, run scenario acceptance, get a PASS/FAIL report — without installing TIA Portal.
This repository is documentation and client configuration only. The simulator runs as a hosted service at
tia.hubwiz.com; its implementation is not open source.
- Endpoint:
https://tia.hubwiz.com/sim/mcp - Transport: Streamable HTTP (stateless, POST JSON-RPC)
- Auth:
Authorization: Bearer sim_live_…(theX-API-Keyheader is also accepted) - Dashboard / API keys: https://tia.hubwiz.com/sim
- Registry entry:
io.github.tia-forge/plc-cloud-sim(official MCP Registry)
What it does
| Tool | Purpose |
|---|---|
lad_validate | Validate one or more LadDoc ladder documents |
lad_simulate | Run scan cycles with given inputs, read back variables and diagnostics |
lad_run_scenario | Run a declarative scenario (cases / exhaustive matrix / seeded fuzz / always invariants) |
scl_validate | Parse and validate SCL source |
scl_simulate | Step-run SCL across scan cycles and read variables back |
scl_run_scenario | Run a declarative SCL scenario |
Semantics match a real PLC scan: contacts, coils, timers/counters, FC/FB calls, jumps, and
IF/CASE/FOR/WHILE for SCL. Execution is deterministic and reproducible — the same
input yields the same result, so a scenario is usable as a regression test.
Quick start
Claude Code
claude mcp add --transport http sim-cloud https://tia.hubwiz.com/sim/mcp \
--header "Authorization: Bearer sim_live_YOUR_KEY"
claude mcp list
Cursor / VS Code / any JSON-configured client
{
"mcpServers": {
"sim-cloud": {
"url": "https://tia.hubwiz.com/sim/mcp",
"headers": { "Authorization": "Bearer sim_live_YOUR_KEY" }
}
}
}
Ask the agent for something
Validate this SCL block, then run it for two scans with Start=false then Start=true,
and tell me the final value of Motor.
Pricing
- WeChat login on the dashboard issues a key immediately: 100 calls free, no signup form.
- Top-ups: 1000 calls for ¥9, one-off — no subscription, no monthly fee.
- Handshake requests (
initialize,tools/list) are free; eachtools/callcosts 1 call.
Notes
- No TIA Portal installation is required — the program text (LadDoc / SCL) is sent to the service. If your policy forbids uploading program text, use an on-premises path instead (see TiaLink for the on-machine gateway).
- Related services: LadDoc Cloud (LadDoc → SimaticML), TIA Portal ladder examples.
- Documentation license: CC BY 4.0. "TIA Portal", "SIMATIC" and "S7" are trademarks of Siemens AG; this service is an independent third-party tool, not affiliated with or endorsed by Siemens.
الأسئلة الشائعة
ما هو PLC Cloud Sim — LAD/SCL simulation over MCP؟
Cloud PLC simulator: validate and step-run LAD/SCL programs, run scenarios, return PASS/FAIL.
كيف أثبّت PLC Cloud Sim — LAD/SCL simulation over MCP؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http plc-cloud-sim-lad-scl-simulation-over-mc 'https://tia.hubwiz.com/sim/mcp' --header 'Authorization: <Bearer API key from https://tia.hubwiz.com/sim, format '\''Bearer sim_live_...'\''. WeChat login issues a free key with 100 calls; top-ups are 1000 calls for ¥9.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج PLC Cloud Sim — LAD/SCL simulation over MCP إلى مفتاح API؟
نعم. يتطلب Authorization، وتضبطها في إعداداته.
هل PLC Cloud Sim — LAD/SCL simulation over MCP مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون PLC Cloud Sim — LAD/SCL simulation over MCP؟
ينشره tia-forge. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.