DMC-1400 Series Command Reference WH 219
WH
FUNCTION: Which Handle
DESCRIPTION:
The WH command is used to identify the handle in which the command is executed. The
command returns IHA through IHF to indicate on which handle the command was
executed. The command returns RS232 if communicating serially.
ARGUMENTS: None
USAGE:
While Moving Yes Default Value --
In a Program Yes Default Format --
Command Line Yes
Can be Interrogated Yes
Used as an Operand Yes
Controller Usage DMC-1415/1416/1425
RELATED COMMANDS:
TH Tell Handle
IH Internet Handle
OPERAND USAGE:
_WH contains the numeric representation of the handle in which a command is executed.
Handles A through H are indicated by the value 0 – 5, while a -1 indicates the serial port.
EXAMPLES:
:WH Request handle identification
IHC Command executed in handle C
:WH Request handle identification
RS232 Command executed in RS232 port