trace_tag
Trace an Ignition tag end-to-end through OPC and L5X mappings to PLC logic. Returns the full signal chain, identifying every rung or line referencing the tag to speed up debugging.
Instructions
Trace a single tag end-to-end: Ignition config → OPC path → L5X tag → PLC logic.
Returns the complete signal chain showing where the tag is defined in Ignition, what PLC tag it maps to, and every rung/line of PLC logic that references it.
Args: ignition_path: Path to Ignition project directory or .zip export. l5x_path: Path to Studio 5000 .l5x file. tag_name: Ignition tag name to trace (e.g. "Running", "Conveyors/Line1/Speed"). mapping_file: Optional JSON file with explicit tag mappings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l5x_path | Yes | ||
| tag_name | Yes | ||
| mapping_file | No | ||
| ignition_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |