1260-45 User Manual
2 Addendum Page 6/98
Control Information for the 1260-45 (A, B, and C)
The following information describes the control-register-to-relay-channel mapping for a 1260-45
Relay Module. This information may be used to control a 1260-45 when using a 1260-01T in the
register-based mode of operation.
The relays used on this module are latching relays. They stay closed even if power is removed.
However, guard relays isolate the matrix from the edge connector when power is removed.
A variety of control registers are used to control the matrix relays. These control registers are
accessible by writing to memory locations in the A24 address space. The A24 address of each
control register is based on three items:
•
the A24 Offset assigned to the 1260-01T by the Resource Manager
•
the Module Address assigned to the relay module with DIP Switch SW-1
•
which control register to write to (Control Register 0 through 5)
The “A24 Base Address” of the 1260-45 module can be computed by:
(A24 Address Assigned to 1260-01T) + (Module Address x 400
16
) + 1
For example, suppose the following setup:
A24 Address Assigned to 1260-01T by Resource Manager = 204 000
16
Module Address of 1260-45 = 7
Then the “A24 Base Address” for the 1260-45 Module would be:
204
000
16
+ (7 x 400
16
) + 1 =
204
000
16
+ 1C00
16
+ 1 =
205
C01
16
Control Registers are located at offsets from the “A24 Base Address” of the module. Control
Registers are located only at odd addresses. The following Control Registers are implemented by
the 1260-45:
Designator
Offset from A24
Base Addr
Description
CROWADDR1
0
Holds Row to Close, Channels 0000 thru 1315
CROWADDR2
2
Holds Row to Close, Channels 2000 thru 3315
OROWADDR1
4
Holds Row to Open, Channels 0000 thru 1315
OROWADDR2
6
Holds Row to Open, Channels 0000 thru 3315
CWADDR1
8
Write Address for columns 0 thru 7 of selected row
CWADDR2
A (hexadecimal)
Write Address for columns 8 thru 15 of selected row
GRDADDR
C (hexadecimal)
Control Address for Guard Relays
NOTE: When using VISA functions, such as viIn8() and viOut8(), the base A24 offset of the 1260-
01T is already included by VISA. Therefore, when using a function such as viOut8() to write the
value A7 (hex) to CWADDR1 in the example above, do
NOT
include the A24 in the function call:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com