PLC Cloud Sim — LAD/SCL simulation over MCP

io.github.tia-forge由 GitHub 帳號 tia-forge 發布v0.1.1更新於 Oct 25, 2026

Cloud PLC simulator: validate and step-run LAD/SCL programs, run scenarios, return PASS/FAIL.

已驗證Streamable HTTP可網頁執行雲端與基礎設施開發者工具

概覽

AI 產生的概覽

託管式雲端 PLC 模擬器,讓助理驗證並逐步執行 LAD 與 SCL 程式、執行情境並回傳 PASS/FAIL 結果,無需 TIA Portal。

可以做什麼
驗證階梯圖(LAD)文件與 SCL 原始碼,在執行前提供解析與驗證結果。依指定輸入跨掃描週期逐步執行 LAD 與 SCL 程式,並讀回變數與診斷資訊。執行宣告式情境(案例、窮舉矩陣、帶種子的模糊測試或 always 不變式),回傳 PASS/FAIL 報告。執行結果具確定性且可重現,情境可作為回歸測試。
適用情境
適合讓助理在不安裝 TIA Portal 的情況下檢查 PLC 邏輯或 SCL 程式並模擬其行為,或把情境變成可重複的回歸測試。
執行需求
遠端 Streamable HTTP 端點 tia.hubwiz.com/sim/mcp。需在 Authorization 標頭提供 Bearer API 金鑰,透過服務商儀表板的微信登入取得。呼叫按次計費:握手請求免費,每次 tools/call 計一次呼叫。
安裝前請注意
程式文字(LadDoc 或 SCL)會上傳到第三方託管服務,若政策禁止程式碼外傳則不宜使用。金鑰為付費憑證:免費 100 次呼叫,之後以 1000 次 9 元儲值。此服務與西門子無關,且非開源。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 PLC Cloud Sim — LAD/SCL simulation over MCP,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.tia-forge%2Fplc-cloud-sim/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "plc-cloud-sim-lad-scl-simulation-over": {
      "type": "http",
      "url": "https://tia.hubwiz.com/sim/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

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_… (the X-API-Key header 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

ToolPurpose
lad_validateValidate one or more LadDoc ladder documents
lad_simulateRun scan cycles with given inputs, read back variables and diagnostics
lad_run_scenarioRun a declarative scenario (cases / exhaustive matrix / seeded fuzz / always invariants)
scl_validateParse and validate SCL source
scl_simulateStep-run SCL across scan cycles and read variables back
scl_run_scenarioRun 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

bash
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

json
{  "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; each tools/call costs 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.

來源:README.md,提交 0180de8

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v0.1.1最新Oct 25, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。