Appendix A
A.1 MLX200 Add-on Instructions
A-38
168542-1CD
168542-1CD
MLX200 Software and
Operations
A.1.29 MLxGetErrorDetail
The MLxGetErrorDetail instruction is used to retrieve detailed error
information from the MLX200 Control Module. This error information will
populate the passed in MLxErrorDetail structure that contains the detailed
error message as well as fields describing the Type of error, Origin of
error, Remedy, and others. Note: if using the MLX200 HMI, the error
details should be automatically updated from inside the HMI Task.
Fig. A-29: MLxGetErrorDetail
Table A-29: MLxGetErrorDetail Instruction
Name Data Type Usage Description
ErrorDetail MLxErrorDetail InOut An MLxErrorDetail parameter that will contain
the detailed error information
Sts_EN BOOL Output Enable bit. This bit will stay high as long as the
ladder rung is enabled
Sts_DN BOOL Output Done bit. This bit will turn high when the
instruction has finished
Sts_ER BOOL Output Error bit. Indicates an error during instruction
execution. If using HMI, view detailed error
message on {HMI} screen. Otherwise, call
MLxGetErrorDetail for more information.
ErrorCode DINT Output If the instruction fails, this parameter will contain
the error code. Call MLxGetErrorDetail to get
detailed error information.
MLX MLxData InOut The MLxData Control Module Scope tag