Galil Extended I/O of the DMC-3425Controller, Configuring the I/O of the DMC-3425with DB-14064

Models: DMC-3425

1 210
Download 210 pages 53.34 Kb
Page 187
Image 187
64 Extended I/O of the DMC-3425 Controller

64 Extended I/O of the DMC-3425 Controller

The DMC-3425 controller offers 64 extended I/O points, which can be interfaced to Grayhill and OPTO-22 I/O mounting racks. These I/O points can be configured as inputs or outputs in 8 bit 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-3425 with DB-14064

The 64 extended I/O points of the DMC-3425 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.

Note: The CO command must be sent through the SA command to configure outputs for slave controller extended I/O.

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 = n2 + 2*n3 + 4*n4 + 8*n5 +16* n6 +32* n7 +64* n8 +128* n9 where nx represents the block. If the nx value is a one, then the block of 8 I/O points is to be configured as an output. If the nx value is a zero, then the block of 8 I/O points will be configured 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

Block

Binary Representation

Decimal Value for Block

 

 

 

 

 

17-24

2

2

0

1

 

 

 

 

25-32

3

21

2

33-40

4

22

4

41-48

5

23

8

49-56

6

24

16

57-64

7

25

32

65-72

8

26

64

73-80

9

27

128

 

 

 

 

 

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.

DMC-3425

Appendices179

Page 187
Image 187
Galil user manual Extended I/O of the DMC-3425Controller, Configuring the I/O of the DMC-3425with DB-14064