Skip to content

Shylenko Device Bench

Sensor stations and IODD files, by Andrii Shylenko.

The browser editor and hosted MCP server use the same XML-preserving authoring engine. The MCP server provides 42 typed tools for authoring, recovery, reusable definitions and firmware artifacts. They create and reopen projects, edit identity, parameters, process fields, texts, events and menus, retain package assets, compare revisions and generate firmware mapping headers. Each edit is its own tool; the former iodd_edit tool was replaced (see Upgrading from iodd_edit).

The examples contain example vendor/device IDs. Replace them with IDs assigned to your device before release. Basic model and CRC checks help catch authoring errors; they do not constitute official IODD approval or a manufacturer declaration. Run the official checker separately for release validation.

Connect your assistant

Use the client picker for copyable ChatGPT, Claude, Codex, Cursor and VS Code setup instructions.

The hosted Streamable HTTP endpoint is:

https://mcp.iolinki.com/mcp

No Shylenko Device Bench account is needed. Hosted projects are processed on the server. Export project JSON or a ZIP for a copy you control, or explicitly save a private-token recovery snapshot for up to 24 hours. Use the browser editor when files should stay on your machine.

  • ChatGPT: enable Developer mode in Settings → Security and login, then open Plugins, select +, and enter the endpoint. Availability depends on account and workspace policy. Official guide.
  • Claude Code: claude mcp add --transport http iolinki-iodd https://mcp.iolinki.com/mcp. Official guide.
  • Codex: codex mcp add iolinki-iodd --url https://mcp.iolinki.com/mcp. Official guide.
  • Cursor: use the install button in the client picker, or add the URL in MCP settings. Official install-link format.
  • VS Code: run MCP: Add Server, choose HTTP, and enter the endpoint. Official guide.

Give your agent context

Read llms.txt or download the agent plugin and skills for stack, hardware and IODD workflows.

Example prompt:

Create a switching-sensor IODD. Ask for my assigned vendor and device IDs. Inspect its threshold, hysteresis and process-data fields, apply my defaults, and validate it. Export editable JSON, XML and ZIP, save a recovery snapshot, and keep its token private. Export the complete firmware source kit and report its source-generation status. Report basic checks, official XSD and official Checker separately. Mark compilation and execution as not-run.

Validation covers model references, ranges, process bits and CRC. Official checker results are reported separately when a checker is configured.

Tools

Tool Purpose
iodd_create Create a minimal new, counter or switching-sensor project
iodd_import Import XML, project JSON or package ZIP content
iodd_inspect Read identity, parameters, process fields and assets
iodd_validate Report basic model/CRC and separate external validation results
iodd_export Export XML, editable project JSON or ZIP
iodd_diff Compare two project revisions
iodd_header Generate a C parameter/process mapping header
iodd_close Release a session project from memory
iodd_tree Read the complete preserving XML tree
iodd_elements_inspect Inspect supplied reusable definition XML
iodd_elements_export Export selected definitions with dependencies
iodd_profile_inspect Inspect supplied profile variants and placeholders
iodd_firmware_create Package supplied binary/resources as IOLFW1.0
iodd_firmware_inspect Inspect IOLFW metadata, inventory and CRC
iodd_save Save an explicit snapshot and return a private recovery token
iodd_restore Restore a snapshot into a new session project
iodd_delete_saved Delete a snapshot using its token
iodd_firmware_source Export application source with build/test configuration data
iodd_firmware_kit Export a complete switching-sensor source ZIP

Editing tools

Each editing tool applies one atomic change to a session project and returns the updated project, as iodd_inspect does. They are marked as changing data (readOnlyHint false, destructiveHint true, openWorldHint false), so a client may ask before running one.

Tool Purpose
iodd_set_identity Change vendor and device IDs, vendor and product names, product ID, release date or document version
iodd_add_variable Add a parameter, by default 16-bit unsigned read-write at the next free index from 256
iodd_edit_variable Change fields of a parameter chosen by its XML ID
iodd_remove_variable Remove a parameter chosen by its XML ID
iodd_add_process_field Add a field to a process-data record
iodd_edit_process_field Change a process-data field chosen by record ID and position
iodd_remove_process_field Remove a process-data field chosen by record ID and position
iodd_set_text Set the text for a text ID in one language
iodd_set_event Add a device event or update the one with the same code
iodd_remove_event Remove a device event by code
iodd_set_menu Add a menu or update the one with the same ID
iodd_remove_menu Remove a menu by ID
iodd_set_asset Add a package file from base64 content or replace the one with the same name
iodd_remove_asset Remove a package file by name
iodd_set_communication Set wired or wireless communication properties
iodd_set_validation_rules Replace the declarative validation rules
iodd_elements_import Import selected reusable elements from supplied IODDElements XML
iodd_profile_load Load supplied profile definitions as a profile pack
iodd_profile_apply Apply a profile variant from a loaded profile pack
iodd_tree_set_attributes Set or remove attributes of an XML element
iodd_tree_set_text Replace the text of a leaf XML element, text node or comment
iodd_tree_insert Insert an XML element, text node or comment
iodd_tree_remove Remove an XML element, text node or comment

Create/import returns a projectId; pass it to subsequent tools. iodd_diff takes beforeId and afterId. Imports take format, content and optional filename. XML and project JSON content are UTF-8 text; ZIP content is base64. Export replies identify their encoding and filename. Generated projects use a canonical IODD XML filename; exports preserve the project basename so downloaded XML can be checked directly. Editing a project changes only that project; a rejected edit leaves it intact.

An editing tool takes the projectId and only the fields that edit needs. For example, iodd_set_identity:

{
  "projectId": "ID-FROM-CREATE",
  "values": { "vendorName": "My Company", "productName": "Pulse Counter" }
}

Inspect the project before editing to discover existing IDs. Tool schemas enumerate identity and parameter fields, datatype/access choices, and numeric bounds. Partial edits preserve omitted values. Process fields accept name, type (BooleanT, UIntegerT, IntegerT), offset (0–255), and bits (1 for BooleanT, 2–64 for integers); they must fit without overlap. Field index is the zero-based position returned by inspection, separate from the IODD subindex. Tool schemas describe the required ID, field index, language or content. Errors include an actionable message; correct the input and retry. There is no undo: save or export a copy before removing or replacing content.

The server allows up to 32 projects and 64 MiB of serialized project state per process. Individual imports retain the engine's limits: 4 MiB XML, 16 MiB expanded package content, 128 files and safe relative filenames. Close unused projects to release state. The server bounds incoming MCP frames to 32 MiB; clients exporting large packages or project JSON may need a receive limit of at least 32 MiB.

Upgrading from iodd_edit

iodd_edit applied whichever edit its operation object described. It was replaced by one tool per operation and no longer exists: calling it returns Tool iodd_edit not found. This is a breaking change for anything that names the tool, including Claude Code and Codex setups, agent instructions or skills copied before plugin version 1.4.0, and the Shylenko Device Bench plugin in ChatGPT. The current hosted endpoint and plugin expose only the new tools.

To migrate, call the tool for the operation and pass the fields of the old operation next to projectId, without its type (and without action, which the tool name replaces). Field checks (types, ranges and lengths) are unchanged, and a rejected call still leaves the project unchanged. For example, this iodd_edit call:

{
  "projectId": "ID-FROM-CREATE",
  "operation": {
    "type": "editVariable",
    "id": "V_SP1",
    "values": { "defaultValue": 6400 }
  }
}

is now a call to iodd_edit_variable:

{
  "projectId": "ID-FROM-CREATE",
  "id": "V_SP1",
  "values": { "defaultValue": 6400 }
}
Old operation Replacement tool Arguments next to projectId
identity iodd_set_identity values
addVariable iodd_add_variable values (optional)
editVariable iodd_edit_variable id, values
removeVariable iodd_remove_variable id
addProcessField iodd_add_process_field id, values
editProcessField iodd_edit_process_field id, index, values
removeProcessField iodd_remove_process_field id, index
text iodd_set_text language, id, value
event iodd_set_event values
removeEvent iodd_remove_event code
menu iodd_set_menu values
removeMenu iodd_remove_menu id
asset iodd_set_asset name, base64
removeAsset iodd_remove_asset name
communication iodd_set_communication mode, values
validationRules iodd_set_validation_rules rules
importElements iodd_elements_import xml, selectors, optional destination, collision, prefix
profile with action:"load" iodd_profile_load xml, optional name
profile with action:"apply" iodd_profile_apply id, profileId, optional replacements
tree with action:"attributes" iodd_tree_set_attributes selector, values
tree with action:"text" iodd_tree_set_text selector, value
tree with action:"insert" iodd_tree_insert selector, node, optional index
tree with action:"remove" iodd_tree_remove selector

Recover a project

Call iodd_save with { "projectId": "YOUR-PROJECT-ID" }. Its response includes token, expiresAt, lifetimeMs, bytes and durable. Hosted storage is durable across runtime/session restarts, with a maximum 24-hour lifetime from the save. Session projects are still temporary; edits do not automatically update a saved snapshot. Save again to capture later work.

Keep the token private: anyone possessing it can restore or delete that snapshot. In a new session, call iodd_restore with { "token": "YOUR-PRIVATE-TOKEN" } and use the new returned projectId. Restoration leaves the snapshot available until expiry or iodd_delete_saved. Delete with the same token when recovery is no longer needed. iodd_close releases only the current session project, not its saved snapshots or exported files.

Hosted recovery currently accepts at most 8 MiB of serialized project data per snapshot; an export can remain useful when the recovery limit is exceeded. A saved snapshot is distinct from an expiring export-download URL. Hosted export links remain available after the client disconnects and across runtime restarts until their advertised ten-minute expiry. Durable download storage is bounded to 128 artifacts and 16 MiB per shard; it is separate from recovery snapshots. Download exports promptly and keep project JSON for longer retention.

Export the authored sensor application source

For a compatible switching-sensor project, call iodd_firmware_source with projectId. It returns the complete application source in compile.source and compile.files, build and test configuration data in compile and verify, scope and source provenance. The result reports status: "source_generated", compilation: "not-run" and execution: "not-run". Source generation finishes within this service and does not require another plugin.

iodd_firmware_kit exports a ZIP containing the same source, editable project JSON/XML, generated mapping and defaults, license, upstream hashes, checksums and a README. The labwired.json file preserves compatible build configuration and test vectors as data. It does not direct the agent to call another service. The unchanged GPL-3.0-or-later sensor implementation is pinned to iolinki v2.1.0, commit ad892f43fa7292cb3d4ccf60410f5541a0d0a5ca. The kit rejects incompatible parameter indexes, access/ranges or process bits. Its generated defaults are applied through the parameter service when the program runs.

The included MCU configuration targets stm32f401cdu6-blackpill, with C entry src/main.c and a UART2 oracle. The test program checks authored defaults, threshold/hysteresis, validity, parameter write/readback, big-endian process-byte decoding, inversion and teach when built and run. The README also provides an optional local host build with a C compiler. A host run checks application logic; it does not establish MCU execution.

These tools export source and test data. They do not compile or execute it, flash a device, or establish IO-Link transport/PHY/cable behavior, physical-master communication, retained flash, IAR builds or official conformity. Report the returned generation status. Keep any later build, execution or hardware evidence separate and tied to the exact exported source.

Official XSD and separate Checker validation

Hosted iodd_validate runs the published October 2025 official IODD schema package through an XSD validator after the full basic check set passes. The package is pinned by archive SHA-256; included schemas resolve locally, with no request-selected schema URLs or external-entity fetching. Inspect the returned schema status, validator and provenance/digest: a failed or unavailable validator is not a schema pass.

An XSD pass establishes schema validity. It does not run the official IODD Checker or issue a manufacturer declaration. The hosted official Checker is not configured; its separate officialChecker result must not be treated as passed. A genuine IO-Link IODD Checker 1.1.4 was acquired from the publicly downloadable Autonics atIOLink installer archive and executed locally through Mono with the original executable and required Microsoft Visual Basic runtime assembly. Its binary/runtime files remain private operator installations and are not redistributed in these packages.

The final minimal starter, counter and switching-sensor templates and exported example packages returned zero errors and zero warnings with Checker 1.1.4. Malformed XML and an unknown attribute returned failing statuses. This is a dated, older Checker result, not Checker 2025.1 approval. Validation against the current October 2025 official XSD is recorded separately.

The templates now declare standard direct parameters, product name and Application Specific Tag. Their Test configurations use index 24 for a short tag (Config1) and a longer tag (Config3). Sensor Config2 writes threshold index 256 with default 5000; the parameter-free counter uses index 256 as a negative IndexNotAvailable test. These are declared device-test inputs. Checker acceptance does not execute those writes on a physical device or demonstrate master communication.

Full XML, profiles and firmware packages

iodd_tree reads the complete XML tree. iodd_tree_set_attributes, iodd_tree_set_text, iodd_tree_insert and iodd_tree_remove edit it atomically, using an XML ID or a root-relative child-index array as the selector; [] means the root. Attribute values are strings; null removes an attribute. Generic tree edits preserve supported unfamiliar sections, and export still requires basic checks to pass.

iodd_elements_inspect reads supplied XML for reusable elements. iodd_elements_export exports selected project elements and their dependencies. Import them with iodd_elements_import, which takes xml, selectors, optional destination, collision (rename or error) and prefix. iodd_profile_inspect lists variants and placeholders in supplied official IODDProfileDefinitions XML. Load it with iodd_profile_load (xml), read the pack ID from the profiles list of the returned project, then apply a variant with iodd_profile_apply (id, profileId and replacements). Official profile files are obtained separately from IO-Link; the repository does not redistribute their documents.

iodd_set_communication takes mode ("wired" or "wireless") and values. Wired fields include bitrate, minCycleTime, mSequenceCapability and sioSupported. Wireless fields include WMinCycleTimeIn, WMinCycleTimeOut, maxTxPower, defaultSlotType, isABridge and isLowPowerDevice. The schemas describe their bounds. iodd_set_validation_rules replaces the declarative rules with up to 128 required, range or bounded pattern checks; they cannot execute code or bypass export checks.

iodd_firmware_create packages supplied base64 binary and optional resources into an IOLFW1.0 archive. iodd_firmware_inspect verifies the archive's metadata, file references and continuous CRC, and reports informational SHA-256 fingerprints. These operations create and inspect files; they do not sign firmware, approve device compatibility or flash hardware. The format follows the released IO-Link BLOBs & Firmware Update V1.2.1 package, which retains IOLFW1.0.

Firmware metadata uses this shape:

{
  "vendorId": 1234,
  "vendorName": "Example",
  "firmwareDescriptor": "Counter",
  "releaseDate": "2026-10-02",
  "version": "V1.0",
  "copyright": "Example",
  "fwRevision": "V1.0",
  "hardwareIds": [{ "idPattern": "COUNTER-A" }],
  "binaryName": "firmware.bin"
}

Replace example IDs and hardware patterns with values assigned to and implemented by your device. Optional fields include fwPasswordRequired, fwActivationRetryCount, descriptions and infoMessages (arrays of {lang,description}). Each MCP resource is {id,name,base64}. Package filenames are derived from vendor, descriptor and release date; the metadata XML uses the same basename.

Packages contain flat filenames, at most 128 files and at most 16 MiB of expanded content. Firmware CRC covers metadata with the root CRC value emptied, then binary bytes, then resource bytes in metadata order.

Capability and verification matrix

The published IODD Studio feature list informed this workflow checklist. This records implemented functionality and observed tests; it does not establish equivalence with every behavior of proprietary software.

Workflow Available here Independent verification and limits
Create a device or manufacturer template True minimal new device plus editable counter/sensor examples; browser and MCP New projects have no invented application parameters or process fields. Default IDs are illustrative; enter assigned IDs.
Wired/wireless authoring Typed communication forms and complete XML tree Generated wired/wireless XML checked with released official IODD XSD; no physical RF or device execution proof.
Parameter/process/XML editing Atomic forms, bit layout, preserving tree and XML Negative edits leave prior projects intact; export keeps full safety checks. Unsupported mixed-content or prefixed-root documents are rejected with guidance.
Configurable validators Inspection switches and declarative required/range/pattern rules Switches filter reports and cannot bypass export safety. Patterns use a bounded linear matcher supporting atoms, classes, anchors and quantifiers; groups, alternatives and backreferences are rejected.
Save/reopen and templates Project JSON, preserving ZIP/XML, revision comparison; explicit hosted 24-hour snapshots Browser desktop/mobile roundtrips, real MCP roundtrips and package limits tested.
Finder search/import Browser search against the official public Finder through a narrow read-only CORS proxy Real browser CORS, ten Festo SDAT results, 54,097-byte download and browser import verified through the deployed proxy. Finder requires network access; local edits and supplied imports stay local.
Identification/diagnostic and BLOB/FW profiles Load supplied official definition packs; inspect variants/placeholders, bind and apply Common Profile 16384, Locator 33025 and BLOB Transfer 48 generated XML independently checked against released official XSD. Other pack variants are available for inspection/application but have not all been individually certified. Required-profile dependencies produce guidance.
Reusable imported elements Export/import selected definitions and dependency closure with collision policies Existing IODDs and reusable libraries tested; collisions remap references and variable indexes or report errors.
IOLFW package creation Original IOLFW1.0 flat ZIP creator/inspector in browser and MCP Released V1.2.1 sample CRC, generated official-XSD validation, corruption rejection, and actual desktop/mobile browser downloads verified. Packaging does not sign, flash or validate hardware compatibility.
Official conformance checking Optional operator-installed official checker and official XSD Actual process status/output remains separate from model/CRC checks. No automatic manufacturer declaration or official checker approval is generated.

The default MCP create mode is new. MCP creation accepts optional typed identity values. Use iodd_validate with a checks object to inspect a selected check set. Supported keys are structure, references, ranges, processData, crc, assets and rules. External validation runs only when the full basic check set passes.