hw_lookup
EtherCAT device data from the ESI index (index\esi.db: the ESI files in the knowledge folder's manuals\ and TwinCAT's ESI folders): name, product code, revisions, E-bus current, mailbox, DC modes, sync managers, PDOs with every entry…
Instructions
EtherCAT device data from the ESI index (index\esi.db: the ESI files in the knowledge folder's manuals
and TwinCAT's ESI folders): name, product code, revisions, E-bus current, mailbox, DC modes, sync managers,
PDOs with every entry (index, subindex, bit length, type; gaps marked), the predefined PDO assignments, slots
of modular devices with their modules, the CoE object list, the diagnosis catalogue size, the ESI file(s).
query = type / order code ('EL3356-0010'), part of a name, or a product code ('#x07D83052', '0x07D83052'; a
number is read as a decimal product code and as digits of a type or name — read_as). revision: '#x…' as
shown, '0x…' or decimal. detail: 'newest' (default) = all of that for the newest revision of each type (or of
revision), other revisions as one line each; 'summary' = counts only; 'full' = everything for every
revision. Nothing found: note says what is not there — a revision of an indexed device
(revisions_available), or the device (then: add its ESI file). One CoE object with sub-indices, defaults
and enum texts: hw_object; full-text: hw_search; a diagnosis text id: hw_diag. The index's first build starts
by itself (minutes); until it is there the answer says so. source: the index the answer came from (state,
built; state_note when it is not current). manuals names the indexed PDF manuals that mention the
product, with pages (the twincat-docs skill reads them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| detail | No | newest | |
| revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||