Y_MS_MessageApps
Y_MS_MessageApps
is used to read messages from the smart pendant.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| V | AxesGroup | AXES_GROUP_REF | A logical reference to a group of axes, which contains several additional substructures pertaining to the group. | |
| VAR_INPUT | ||||
| B |
Enable | BOOL | The function will continue to execute every scan while Enable is held high and there are no errors. | FALSE |
| V | MessageNum |
BYTE | Message Number |
BYTE#0 |
| V | MessageRq | BOOL | Message Request | FALSE |
| V | MessageClr | BOOL | Message Clear | FALSE |
| VAR_OUTPUT | ||||
| B |
Valid | BOOL | Indicates that the function is operating normally and the outputs of the function are valid. |
FALSE
|
| B | Busy | BOOL |
Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true.
|
FALSE |
| V | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. |
FALSE
|
| V | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. |
UINT#0 |
| V | AppsRunning | BOOL | Indicates that the app is running on the pendant |
FALSE |
| V | EditMode |
BOOL | Indicates that the pendant is in edit mode |
FALSE
|
| V | TotAvailMsg |
INT | Total available messages |
INT#0
|
| V | ActMessage |
BYTE |
Actual Message
|
BYTE#0
|
| V | ButtonFdbk1 |
BOOL |
Button feedback 1
|
FALSE
|
| V | ButtonFdbk2 |
BOOL |
Button feedback 2
|
FALSE
|
| V | ButtonFdbk3 | BOOL |
Button feedback 3
|
FALSE |
| V | ButtonFdbk4 |
BOOL | Button feedback 4 | FALSE |
Error Description
See the Function Block ErrorID List.