Extended I/O Of The Dmc-1600 Controller; Configuring The I/O Of The Dmc-1600 - Galil Motion Control DMC-1600 Series User Manual

Table of Contents

Advertisement

Extended I/O of the DMC-1600 Controller

The DMC-1600 controller offers 64 extended I/O points which can be configured as inputs or
outputs in 8 bit increments through software. The I/O points are accessed through a single 80 pin
High Density connector. Rev A&B DMC-16x0 controllers used a 100 pin HD connector.

Configuring the I/O of the DMC-1600

The 64 extended I/O points of the DMC-1600 series controller can be configured in blocks of 8.
The extended I/O is denoted as bits 17-80 and blocks 2-9.
The command, CO, is used to configure the extended I/O as inputs or outputs, in blocks of 8 bits.
The CO command has one field:
n is a decimal value which represents a binary number. Each bit of the binary number represents
one block of extended I/O. When set to 1, the corresponding block is configured as an output.
The least significant bit represents block 2 and the most significant bit represents block 9. The
decimal value can be calculated by the following formula. n = n
+32* n
7
8 I/O points is to be configured as an output. If the n
points will be configured as an input. For example, if block 4 and 5 are to be configured as
outputs, CO 12 is issued.
8-Bit I/O Block
17-24
25-32
33-40
41-48
49-56
57-64
65-72
73-80
The simplest method for determining n:
Step 1. Choose which 8-bit I/O blocks that should be configured as outputs.
Step 2. From the table, determine the decimal value for each I/O block to be set as an output.
Step 3. Add up all of the values determined in step 2. This is the value to be used for n.
For example, if blocks 1 and 2 are to be outputs, then n is 3 and the command, CO3, should be
issued. Note: This calculation is identical to the formula: n = n
+32* n
7
DMC-1600
CO n
+64* n
+128* n
where n
8
9
Block
Binary Representation
0
2
2
1
3
2
2
4
2
3
5
2
4
6
2
5
7
2
6
8
2
7
9
2
+64* n
+128* n
where n
8
9
represents the block. If the n
x
value is a zero, then the block of 8 I/O
x
Decimal Value of Bit
1
2
4
8
16
32
64
128
represents the block.
x
+ 2*n
+ 4*n
+ 8*n
+16* n
2
3
4
5
value is a one, then the block of
x
+ 2*n
+ 4*n
+ 8*n
+16* n
2
3
4
5
Appendices • 183
6
6

Advertisement

Table of Contents
loading

Table of Contents