
8 GCS Commands
C-863.12 Mercury Controller
MS249E
Version: 1.2.1
145
If <OutputOn>=1 the line is set to HIGH/ON, if
<OutputOn>=0 it is set to LOW/OFF.
Do not use DIO on output lines for which the trigger output
is activated with TRO (p. 200).
DIO? (Get Digital Input Lines)
Description:
Queries the states of the specified digital input lines.
Use TIO? (p. 198) to query the number of available digital
I/O lines.
Format:
DIO? [{<DIOID>}]
Arguments:
<DIOID> is the identifier of the digital input line, see below
for details.
Response:
{<DIOID>"="<InputOn> LF}
where
<InputOn> specifies the state of the digital input line, see
below for details.
Notes:
You can use the DIO? command to read digital input lines 1
to 4 on the
I/O
socket directly (p. 266).
The <DIOID> identifiers to use for the lines are 1 to 4. If the
identifier is left out or 0, all lines are queried.
If <InputOn>=0, the digital input is LOW/OFF; if
<InputOn>=1, the digital input is HIGH/ON. If <DIOID> is 0,
<InputOn> is a bit pattern which gives the states of all lines
in hexadecimal format.
DRC (Set Data Recorder Configuration)
Description:
Determines the data source to be used and the type of
data to be recorded (record option) for the data recorder
table specified.
Format:
DRC {<RecTableID> <Source> <RecOption>}