Galil Motion Control manc 18x 6 Page 58
DMC-18x6 Command Reference
50
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 output 1.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
Set Bit
Output Bit
Define output port (byte-wise).
EXAMPLES:
CB 7
Clear output bit 7
CB 16
Clear output bit 16 (8 axis controllers only)