Structures and Enums
StrExtArgs_typ
This structure contains an array of four booleans, integers, strings, and reals. These values can be used in the error string by adding a ‘%’ and the corresponding letter. The error string will be populated with the first member of the array and then will count up based on the error string.
| Direction | Name | Type | Description |
|---|---|---|---|
| In | r | REAL[0..4] | An array of 5 REAL values that can be used to add more description to the logbook entry |
| In | s | UDINT[0..4] | An array of 5 UDINT pointing to strings that can be used to add more description to the logbook entry |
| In | b | BOOL[0..4] | An array of 5 BOOL values that can be used to add more description to the logbook entry |
| In | i | DINT[0..4] | An array of 5 DINT values that can be used to add more description to the logbook entry |
Errors/Status
Enumerate possible errors that can occur, their ID’s, and explain them.
| Name | Value | Description |
|---|---|---|
| STREXT_ERR_INVALID_INPUT | 1 | Invalid input |