Galil Motion Control optcom Page 58
Optima DMC-1xxx and DMC-18x2 Command Reference
CB
i
47
CB
FUNCTION: Clear Bit
DESCRIPTION:
The CB command sets the specified output bit low. CB can be used to clear the outputs of
extended I/O which have been configured as outputs.
ARGUMENTS: CB n
where
n is an integer corresponding to a specific output on the controller to be cleared (set to 0).
The first output on the controller is denoted as ouput 1.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
--
In a Program
Yes
Default Format
--
Command Line
Yes
Controller Usage
ALL CONTROLERS
RELATED COMMANDS:
"
SB
"
Set Bit
"
OB
"
Ouput Bit
"
OP
"
Define output port (byte-wise)
EXAMPLES:
CB 7
Clear output bit 7
CB 16
Clear ouput bit 16 (8 axis controllers only)