get_language_reference
Retrieve XML structure rules and error-free examples for any Control Expert programming language (ST, LD, FBD, SFC, IL) to guide section creation and import.
Instructions
REQUIRED READING before writing any program logic: the authoring guide for a Control Expert language ('ST', 'LD', 'FBD', 'SFC', 'IL').
Returns the exchange-XML structure rules (validated against a live Control Expert build) and a complete example section that imports and builds with 0 errors — mirror its shapes exactly. Workflow: read this guide -> write the section XML -> import_xml(kind='section') -> build_project -> fix any errors listed in the build output -> repeat. For ST, prefer the write_st_logic tool (no XML needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes |