Command Set
57
PH get hardware status
USAGE
IMM
♦
MIP
♦
SYNTAX
xxPH?
PARAMETERS
Description xx
[ int ]
-
Controller number
Range xx
-
0 to 255
Units xx
- None
Defaults xx
missing: None
out of range: None
DESCRIPTION
This command will return the value of the I/O ports of the
processor in the Controller. The are 3 bytes reported for 3 ports B,
D, and E represented in a decimal format.
NOTE: The retuned value are 3 bytes represented in decimal
format. Once converted to a binary representation the below Bit
Map table can be used determine the state of each I/O line.
RETURNS
3 bytes for the values of the I/O ports.
REL.
COMMANDS
none
EXAMPLE
14PH?
| Returns the value of the I/O ports (3
bytes) of controller 14