EasyManuals Logo

Galil Motion Control DMC-40x0 Series User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #79 background imageLoading...
Page #79 background image
DMC-40x0 Command Reference CO • 69
CO
FUNCTION: Configure Extended I/O
DESCRIPTION:
The CO command configures which points are inputs and which are outputs on the extended I/O.
The 32 extended I/O points of the controller can be configured in banks of 8. The extended I/O is
denoted as bits 17-48 and banks 2-5.
ARGUMENTS: CO n where
n is a decimal value which represents a binary number. Each bit of the binary number represents
one bank of extended I/O. When set to 1, the corresponding bank is configured as an output.
The least significant bit represents bank 2 and the most significant bit represents bank 5. The
decimal value can be calculated by the following formula.
n = n
2
+ 2*n
3
+ 4*n
4
+ 8*n
5
where n
x
represents the bank. To configure a bank as outputs, substitute a one into that n
x
in the
formula. If the n
x
value is a zero, then the bank of 8 I/O points will be configured as inputs.
For example, if banks 3 and 4 are to be configured as outputs, CO 6 is issued.
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL
OPERAND USAGE:
_CO returns extended I/O configuration value
RELATED COMMANDS:
CB Clear Output Bit
SB Set Output Bit
OP Set Output Port
777TI Tell Inputs
EXAMPLES:
CO 15 Configure all points as outputs
CO 0 Configure all points as inputs
CO 1 Configures bank 2 as outputs on extended I/O
Hint: See user manual appendix for more information on the extended I/O board.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-40x0 Series and is the answer not in the manual?

Galil Motion Control DMC-40x0 Series Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-40x0 Series
CategoryController
LanguageEnglish

Related product manuals