Configuring The I/O Of The Dmc-18X2 With Db-14064 - Galil Motion Control DMC-18 2 Series User Manual

Table of Contents

Advertisement

increments through software. The I/O points are accessed through two 50-pin IDC connectors, each
with 32 I/O points.

Configuring the I/O of the DMC-18x2 with DB-14064

The 64 extended I/O points of the DMC-18x2 w/DB-14064 series controller can be configured in
blocks of 8. The extended I/O is denoted as blocks 2-9 or bits 17-80.
The command, CO, is used to configure the extended I/O as inputs or outputs. The CO command has
one field:
CO n
Where, 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
n
+128* n
8
be configured as an output. If the n
as an input. For example, if block 4 and 5 is to be configured as an output, 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. Determine which 8-bit I/O blocks to 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 2 and 3 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
+128* n
where n
9
Saving the State of the Outputs in Non-Volatile Memory
The configuration of the extended I/O and the state of the outputs can be stored in the EEPROM with
the BN command. If no value has been set, the default of CO 0 is used (all blocks are inputs).
182 ● Appendices
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
where n
represents the block. If the n
9
x
value is a zero, then the block of 8 I/O points will be configured
x
Block
Binary Representation
2
0
2
3
1
2
4
2
2
5
3
2
6
4
2
7
5
2
8
6
2
9
7
2
represents the block.
x
+ 2*n
+ 4*n
+ 8*n
2
3
4
5
value is a one, then the block of 8 I/O points is to
x
Decimal Value for Block
1
2
4
8
16
32
64
128
+ 2*n
+ 4*n
+ 8*n
+16* n
2
3
4
5
+16* n
+32* n
+64*
6
7
+32* n
+64* n
6
7
8
DMC-18x2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-1812Dmc-1822Dmc-1832Dmc-1842

Table of Contents