Diagnosis upload
Diagnosis upload | |
Description | While the CNC is running, the PLC can command an upload of diagnosis data using this control unit. The control unit is enabled by enable_w = TRUE. |
Data type | MC_CONTROL_BOOL_UNIT, see description Control unit |
Access | PLC reads request_r + state_r and writes command_w + enable_w |
ST Path | gpPform^.diagnosis_upload |
Commanded, requested and return values | |
ST Element | .command_w .request_r .state_r |
Data type | BOOL |
Value range | [TRUE = diagnosis upload activated, |
Redirection | |
ST Element | .enable_w |
Special feature | Note: The data item command_w must remain at TRUE until state_r reverts to FALSE. Otherwise, the data is not complete since the diagnosis data upload is aborted. |
Diagnosis upload state | ||
Description | State value for a diagnosis upload.
If the diagnosis file cannot be opened, state 2 is retained and is reset in the next successful diagnosis upload. For more information on diagnosis upload, see Diagnose-Upload [FCT-M9// Diagnosis upload] | |
ST path | gpPform^.diagnosis_upload_state | |
Data type | UDINT | |
Value range | Value | Constant |
0 | HLI_DIAG_STATE_IDLE: Basic state, diagnosis upload not active | |
1 | HLI_DIAG_STATE_ACTIVE: Diagnosis upload active | |
2 | HLI_DIAG_STATE_FILE_ERROR: File cannot be opened | |
3 | HLI_DIAG_STATE_WAIT_END_ACK: Wait for acknowledgement of the diagnosis upload from the PLC | |
Access | PLC is reading | |
Note | Available as of CNC Builds V2.11.2844, V3.1.3081.4 or V3.1.3110. |