nmpButtonPressedReceive (Functionblock) |
Top Previous Next |
This function block returns the ID of a pressed configurable button on an NMP. Note that the ID is only valid after an "NMP Button Pressed" event is raised; the event will be removed when this function block is called.
Input: None.
Output: id : INT The ID of the pressed button.
ready : BOOL
Declaration: FUNCTION_BLOCK nmpButtonPressedReceive;
Example: INCLUDE rtcu.inc |