gx3_xref_where_used
Trace every reference to a device in a MELSEC GX3 project, including POU name, real step, and device comment. Build the xref database first with 'gx3-cli xref build'.
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. |