ads_export
Generates C#, TypeScript, or JSON code from TwinCAT runtime types and symbols for ADS communication, converting PLC structs and enums into usable definitions.
Instructions
Generate code from the runtime: fmt=csharp (explicit-offset structs + enums for Beckhoff.TwinCAT.Ads ReadAny/WriteAny), typescript (interfaces), json (type descriptions), or csharp_symbols (const symbol paths under prefix). types = struct/enum names; prefix = take the types of every symbol under it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | csharp | |
| types | No | ||
| prefix | No | ||
| out_path | No | ||
| namespace | No | Transflo.Plc | |
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||