gx3_xref_where_used
Find all usages of a specified device in the project, returning the POU name, step, and device comment. Requires the cross-reference database to be built beforehand.
Instructions
Writers and readers of a device with POU name and real step. The first line carries the device comment; repeat it alongside the device in your answer instead of reporting a bare device number. Requires the xref DB: run gx3-cli xref build --root <root> once per project first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Extracted project folder. | |
| device | Yes | Device to look up. |