
7 Operation
84
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
7.4
Digital Input Signals
The digital inputs of the C-863.12 are available on the
I/O
socket (p. 266).
➢
Get the number of the input lines available on the C-863.12 with the
TIO?
command
(p. 198).
➢
Get the state of the input lines with the
DIO?
command (p. 145).
Potential applications:
▪
Use in macros (p. 86). Details and examples of macros can be found in "Controller
Macros" (p. 97).
▪
Use as switch signals (p. 86)
INFORMATION
The digital inputs (pins 1 to 4) on the
I/O
socket can also be used as analog inputs.
▪
Digital: TTL
▪
Analog: 0 to +5 V
7.4.1
Commands and Parameters for Digital Inputs
Commands
The following commands are available for the use of digital inputs:
Command Syntax
Function
CPY
CPY <Variable>
<CMD?>
Copies the state of a digital input line to a variable when
used in conjunction with the DIO? query command. Use in
macros to set local variables (p. 118).
DIO?
DIO? [{<DIOID>}]
Gets the state of the digital input lines.
FED
FED {<AxisID>
<EdgeID> <Param>}
Starts a move to a signal edge. The signal source can be a
digital input line.
FNL
FNL [{<AxisID>}]
Starts a reference move to the negative physical limit of the
travel range A digital input line can be used as the source of
the negative limit switch signal instead of the negative limit
switch.
FPL
FPL [{<AxisID>}]
Starts a reference move to the positive physical limit of the
travel range Limit switch. A digital input line can be used as
the source of the positive limit switch signal instead of the
positive limit switch.
FRF
FRF [{<AxisID>}]
Starts a reference move to the reference switch. A digital
input line can be used as the source of the reference switch
signal instead of the reference switch.