
7 Operation
88
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
SPA 1 0x5E 13
, to select lines 1, 3, and 4.
SPA 1 0x60 5
, to invert the signal polarity of lines 1 and 3.
7.5
Analog Input Signals
The analog inputs of the C-863.12 are available on the
I/O
socket (p. 266).
➢
Get the number of the analog input lines available on the C-863.12 with the
TAC?
command (p. 197).
➢
Query the voltage on the analog inputs with the
TAV?
command (p. 197).
➢
Use the data recorder (p. 74) to record the analog input signals.
Potential applications:
▪
Use in macros (p. 89): Details and examples of macros are found in "Controller Macros"
(p. 97).
▪
Scanning applications with PIMikroMove (see PIMikroMove manual)
INFORMATION
The analog inputs (pins 1 to 4) on the
I/O
socket can also be used as digital inputs.
▪
Analog: 0 to +5 V
▪
Digital: TTL
7.5.1
Commands for Analog Inputs
The following commands are available for the use of analog inputs:
Command Syntax
Function
CPY
CPY <Variable>
<CMD?>
Copies the voltage value of an analog input line to a variable
when used in combination with the TAV? query command.
Use in macros to set local variables (p. 118).
DRC
DRC {<RecTableID>
<Source>
<RecOption>}
Configures the data recorder. Analog input values can be
recorded using record option 81.
JRC
JRC <Jump>
<CMD?> <OP>
<Value>
Can only be used in macros. Triggers a relative jump of the
pointer when running the macro depending on the voltage
at an analog input line when used in conjunction with the
TAV? query command.
MEX
MEX <CMD?> <OP>
<Value>
Can only be used in macros. Stops running of the macro
depending on the voltage at an analog input line when used
in conjunction with the TAV? query command.