plc_diagnostics
Perform PLC diagnostics through trace recording, file upload/download/delete on the PLC, or static code analysis to identify and resolve issues.
Instructions
Run PLC diagnostics: trace recording, file upload/download/delete on PLC, or static code analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | PLC diagnostics/maintenance action to perform. | |
| lcp_path | No | Absolute path to the .lcp file. Omit to use the currently selected project. | |
| plc_path | No | File path on the PLC (for file upload/download/delete). | |
| connection | No | PLC connection string. Omit to use connection from project's .lss file. | |
| local_path | No | Local file path on the host (for file upload/download). | |
| config_path | No | Absolute path to the DataAnalyzer config file (trace action only). | |
| duration_ms | No | Duration in milliseconds to run the trace (trace action only). Default 5000. | |
| output_path | No | Destination path for the trace output or code analysis result. |