get_code_template
Return a ready-to-adapt IEC 61131-3 template for common automation patterns, so you can start with the structure and add your specific PLC logic.
Instructions
Returns a ready-to-adapt IEC 61131-3 code template for a common automation pattern. Use this as the structural starting point, then fill in the user-specific logic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Automation pattern slug | |
| language | No | IEC 61131-3 language | ST |