PLC Quick Lookup
plc_lookupQuickly decode PLC prefixes, state numbers, and error codes. Get instant answers for naming conventions and error diagnostics.
Instructions
Quick lookup for PLC conventions and error codes — instant answers without loading full knowledge topics. USE WHEN: you need a single fact — prefix, state number, error code — without loading a full topic. Try this BEFORE plc_knowledge for point lookups. Actions: 'hungarian' (type→prefix), 'type_prefix' (POU→prefix), 'state' (state number→name), 'error_code' (decode Festo/CiA402/CODESYS error), 'fb_interface' (standard FB pattern), 'list_standard' (full reference).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | The value to look up (type name, POU type, state number, or error code) | |
| action | Yes | 'hungarian': get prefix for a type | 'type_prefix': get prefix for POU type | 'state': decode state number | 'error_code': decode error | 'fb_interface': show standard FB pattern | 'list_standard': full convention reference |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| action | Yes | ||
| details | Yes | ||
| message | Yes |