User`s guide

MCP.NO.POT System Switch
The V+ system switch MCP.NO.POT is included in V+ 16.2 and later revisions. When this
switch is enabled, the functionality is changed from that description above. The differences
are that the error message mentioned in the previous section is not displayed, and the Speed
Bar does not need to be pressed.
Refer to the V+ Language Reference Guide for the complete details on this switch.
Reading the State of the Pendant
It is good programming practice to check the state of the pendant before ATTACHing to it. The
instruction:
cur.state = PENDANT(-3)
returns a value to be interpreted as follows:
1. Indicates that one of the predefined function buttons has been pressed.
2. Indicates that the pendant is in the Background state (not ATTACHed to an application
program).
3. Indicates that an error is being displayed.
4. Indicates that the pendant is in the USER state (ATTACHed to an application program).
See the section Programming Example: Pendant Menu on page 301 for a program example
that checks the pendant state.
Detecting User Input
V+Language User's Guide, v17.0
Page 294