DMC-40x0 Command Reference QH • 195
QH
FUNCTION: Hall State
DESCRIPTION:
The QH command transmits the state of the Hall sensor inputs. The value is decimal and
represents an 8 bit value.
Bit Status
07 Undefined (set to 0)
06 Undefined (set to 0)
05 Undefined (set to 0)
04 Undefined (set to 0)
03 Undefined (set to 0)
02 Hall C State
01 Hall B State
00 Hall A State
ARGUMENTS: QHn returns the Hall sensor input byte where
n=A, B, C, D, E, F, G, H
USAGE: DEFAULTS:
While Moving Yes Default Value 0
In a Program Yes Default Format 1.0
Command Line Yes
Controller Usage
DMC-40x0-D430x0
OPERAND USAGE:
_QHn Contains the state of the Hall sensor inputs
RELATED COMMANDS:
PA Position Absolute
BS Brushless Setup
EXAMPLE:
QHY
:6 Hall inputs B and C active on Y axis