MC_ErrorDescription

This function converts the PLCopen
A vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML error IDs into message strings which can be used for display or logging.
Figure 8-115: MC_ErrorDescription Function Block
Arguments
For more detail on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules
Inputs
| En | Description |
If True, then this function will convert the Error Id into a string message |
| Data type | BOOL | |
| Range | 0, 1 | |
| Unit | n/a | |
| Default | — | |
| ErrorID | Description | Error ID generated from a PLCopen Function Block |
| Data type | INT | |
| Range | 0,69 | |
| Unit | n/a | |
| Default | — |
Outputs
| OK | Description |
If True, then the command completed successfully. |
| Data type | BOOL | |
| Range | 0, 1 | |
| Unit | n/a | |
| Default | — | |
| Description | Description | String error description |
| Data type | STRING | |
| Range | — | |
| Unit | n/a | |
| Default | — |
Examples
Structured Text
Description:= MC_ErrorDescription(ErrorID);
IL
Not applicable
Function Block
Ladder Diagram
|
Copyright © 2018 Kollmorgen |
|
[Top]






