trace_tag
Traces a single Ignition SCADA tag through OPC and Studio 5000 L5X mapping to every PLC logic rung. Returns the full signal chain from SCADA config to PLC logic.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ignition_path": "<ignition_path>",
"l5x_path": "<l5x_path>",
"tag_name": "<tag_name>"
},
"name": "trace_tag"
}
}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 |