MC_ErrorDescriptionThis function converts the PLCopenA 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 11-122: MC_ErrorDescription Function Block
For more detail on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules
| 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 BlockA function block groups an algorithm and a set of private data. It has inputs and outputs.. See PLCopen Function Block ErrorID Output for output details. |
| Data type | INT | |
| Range | 0,69 | |
| Unit | n/a | |
| Default | — |
| 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 | — |
Description:= MC_ErrorDescription(ErrorID);
Not applicable
|
Copyright © 2015 Kollmorgen™ |
|