Agilent Technologies E1470A user manual Relay Control Registers

Page 46

Relay Control Registers

These registers control the individual E1470A relays. When a “1” is written to a bit, the relay controlled by that bit becomes SET (COMMON to NO). When a “0” is written to a bit, the relay controlled by that bit becomes RESET (common to NC, the power-on state). All bits are “0” at power-on and reset. Reading a bit returns the state of that bit.

The left-hand relay assembly (when viewed from the front panel of the of the module) has relays K000 through K133. The right-hand relay assembly has relays K201 through K331.

Table B-5. Left-hand Relay Assembly Registers (b + 20h)

b + 20h

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

32768

16384

8192

4096

2048

1024

512

256

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

K034

K033

K032

K031

K024

K023

K022

K021

K014

K013

K012

K011

K041

K003

K002

K001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

K034

K033

K032

K031

K024

K023

K022

K021

K014

K013

K012

K011

K041

K003

K002

K001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table B-6. Left-hand Relay Assembly Registers (b + 22h)

b + 22h

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

32768

16384

8192

4096

2048

1024

512

256

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

K134

K133

K132

K131

K124

K123

K122

K121

K114

K113

K112

K111

K051

K103

K102

K101

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

K134

K133

K132

K131

K124

K123

K122

K121

K114

K113

K112

K111

K051

K103

K102

K101

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table B-7. Right-hand Relay Assembly Registers (b+24h)

b + 24h

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

32768

16384

8192

4096

2048

1024

512

256

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

K334

K333

K332

K331

K324

K323

K322

K321

K314

K313

K312

K311

K251

K203

K202

K201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

K334

K333

K332

K331

K324

K323

K322

K321

K314

K313

K312

K311

K251

K203

K202

K201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table B-8. Right-hand Relay Assembly Registers (b+26h

b + 26h

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

32768

16384

8192

4096

2048

1024

512

256

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

K234

K233

K232

K231

K224

K223

K222

K221

K214

K213

K212

K211

K241

K203

K202

K201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

K234

K233

K232

K231

K224

K223

K222

K221

K214

K213

K212

K211

K241

K203

K202

K201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table B-9. Relays on BOTH Assemblies Register (b+28h)

b + 28h

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

32768

16384

8192

4096

2048

1024

512

256

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write

K256

K255

K254

K253

K252

K244

K243

K242

k056

K055

K054

K053

K052

K044

K043

K042

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read

K256

K255

K254

K253

K252

K244

K243

K242

k056

K055

K054

K053

K052

K044

K043

K042

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

46 Register-Based Programming

Appendix B

Image 46
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Agilent Technologies Warranty Statement Government Restricted RightsSafety Symbols Documentation HistoryDeclares, that the product Product Name Manufacturer’s NameManufacturer’s Address Model NumberPage Switching Diagram Using This ChapterChapter Cascade Relays COM 33 332 Configuring the RF Switch Chapter Creating Multiple MultiplexersChapter Configuring the RF Switch RF Switch ConfigurationMaximum POWER. The maximum RF power that can be applied On this moduleSetting the Logical Address Setting the Interrupt Request Level Connecting User Wiring Installing User Wiring Configuring the RF Switch ChapterAssembling SMB Connector Jacks SMB Connectors and Connector HousingsUser Connections Wiring Installing Device Drivers RF SwitchAddressing the Switch Programming the RF Switch ChapterChapter Programming the RF Switch Programming ExamplesProgramming the RF Switch Chapter Example Closing a Signal Path Example Opening Closing Signal Paths Example Saving Recalling Module States Programming the RF Switch Chapter Scpi Commands Format Command TypesCommon Commands Format Chapter RF Switch Command ReferenceLinking Commands Scpi Command ReferenceRF Switch Command Reference Chapter DIAGnostic DIAGnosticCLOSeDIAGnosticOPEN relay,relay... opens individual relays on DIAGnosticCLOSe?DIAGnosticOPEN Reset to its power-on state Common to NCDIAGnosticOPEN? DIAGOPEN333DIAGnosticRELAY? RSTDIAGThis programCLOS042,043,053,054,256REL?returnsROUTe ROUTePATHCOMMonExample Closing Channel Path 10002 SYSTem SYSTemERRor?SYSTemVERSion? Ieee 488.2 Common Commands Quick Reference CommandCommands Quick Reference DescriptionAppendix a RF Switch Specifications Appendix aRF Switch Specifications Appendix a Register Addressing Appendix BAbout This Appendix Addressing OverviewBase Address Figure B-1. Register Address Locations Within VXI A16A16 Address Space Outside the Command Module Table B-2. Register Map Register DefinitionsTable B-1. General Register-based Programming Method Register-Based Programming Appendix BTable B-3. Status Register Bit Patterns read Table B-4. Control Register Bit Pattern writeRelay Control Registers Vxie Table B-10. Writing to Relay Control Registers Register Programming Example Create and open a device sessionWait 5 seconds before resetting module Void errhandler /* Error Handling Routine Register-Based Programming Appendix B Appendix C RF Switch Error Messages Appendix CRF Switch Error Messages Appendix C Index IndexIndex E1470-90002