HP SB manual Programming Guide

Page 4

Sample Driver Application: Electrical Equivalent of Driver

17

Powering Up the Switch

18

Using and Selecting a Channel

18

Setting the GPIB Address

19

Setting the Interface Command Set for SC and SX Switches

19

Controlling the Drivers

19

Controlling the Switch Locally

20

Controlling the Switch Remotely by GPIB Interface

20

Controlling the Switch Remotely by RS232 Interface

20

Calibrating the Switch

21

Maintaining the Switch

21

Programming Guide

23

GPIB Pin Assignment

23

Setting the GPIB Address

23

GPIB Interface Functions

24

RS232 Pin Assignment

24

RS232 Interface Specifications

24

RS232 Driver Pin Assignment

25

Operation and Query Commands

25

Command Parser Rules

25

Operation Commands

26

Query Commands

27

Status Reporting and Service Request Control

29

Condition Register

29

Status Register

29

SRQ Mask Register

30

GPIB Programming Examples

30

Sending Commands

31

Serial Polling the Status Register

31

Generating a Service Request Interrupt

32

Learn Query (LRN?)

32

RS232 Programming Examples

32

Sending Commands

33

Querying Status

33

Reading the Status Register

33

Setting the Interface Command Set

33

SC Series Switch Command Set (SCXXX-0XXX Models)

34

SX Series Switch Command Set

34

SD000153 Rev. J

May 2000

Image 4
Contents SB Series Fiberoptic Switch User’s ManualPage Contents Programming Guide SD000153 Rev. J May Safety Information, Instructions, and Symbols Safety InformationBefore Initializing and Operating the Unit Safety InstructionsOperating the Unit Safety Symbol Safety SymbolsProceeding Compliance CE ComplianceSingle-Common SB-C Switch Configuration General Information and SpecificationsGeneral Information Dual-Common SB-D Switch Configuration Single Step Dual Common SB-E Switch ConfigurationDual-Common Blocking SB-F Switch Configuration Key FeaturesStandard Accessories Optional AccessoriesSpecifications Parameter Typical MaximumPhysical ElectricalEnvironmental Getting Started Before Initializing and Operating the UnitInitial Inspection Operating EnvironmentStoring and Shipping Cleaning Connectors Installing the Switch Connector Cleaning connector type can varyOperating and Maintenance Instructions Front PanelOperating Keys Key DescriptionExternal Switch Module without TTL Input Controls External Switch Module ConnectionsRear Panel External Switch Module with TTL Input Controls Sample Driver Application Electrical Equivalent of DriverPowering Up the Switch Using and Selecting a ChannelSetting the Interface Command Set for SC and SX Switches Setting the Gpib AddressControlling the Drivers Controlling the Switch Remotely by Gpib Interface Controlling the Switch LocallyControlling the Switch Remotely by RS232 Interface Maintaining the Switch Calibrating the SwitchPrint #1, CLOSE? Input #1,A$ Print A$ END Operating and Maintenance Instructions Programming Guide Gpib Pin AssignmentRS232 Interface Specifications Gpib Interface FunctionsRS232 Pin Assignment Mnemonic FunctionOperation and Query Commands Name Symbol Pin Number Signal DirectionCommand Parser Rules RS232 Driver Pin AssignmentOperation Commands ResetClose Set Optical Channel XDR i k Driver ControlQuery Commands Error Number Last Number ErrorDrivers LearnCondition Register Status Reporting and Service Request ControlStatus Register SRQ Mask Register Gpib Programming ExamplesSRQ Mask Register Bit Sending Commands Serial Polling the Status RegisterRS232 Programming Examples Generating a Service Request InterruptLearn Query LRN? Querying Status Setting the Interface Command SetReading the Status Register SC Series Switch Command Set SCXXX-0XXX Models SX Series Switch Command SetSyntax Function Bit MessageRQS Busy Normal BAD Data Unit Failure