HP SB manual SC Series Switch Command Set SCXXX-0XXX Models, Syntax Function, Bit Message

Page 39

To change the command set:

1.Press and hold the GPIB ADDR key while the SB switch powers up. The active interface setting is displayed.

2.Press the key to scroll to the required command set, for example, SB, SC, or SX.

3.Press the GPIB ADDR key to save the setting.

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

The syntax and functions for the SC series switch commands are provided in Table 12.

Table 12: SC Switch Command Set

Syntax

Function

 

 

AnE

switch to channel n

 

 

FE

verify channel

 

 

XE

turn external driver on

 

 

YE

turn external driver off

 

 

Response messages (Table 13) are formatted as qn, where q is the switch status (A = normal, I = syntax error, C = calibration error), and n is the channel number.

Table 13: Response Messages for SC Switch Commands

Status Byte Register

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Message

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

BUSY

 

 

 

 

 

 

 

 

0

0

0

0

0

0

1

NORMAL

 

 

 

 

 

 

 

 

0

RQS

0

0

0

0

1

CAL ERROR

 

 

 

 

 

 

 

 

0

RQS

0

0

1

0

1

BAD DATA

 

 

 

 

 

 

 

 

0

RQS

0

0

1

1

1

UNIT FAILURE

 

 

 

 

 

 

 

 

SX Series Switch Command Set

The syntax and functions for the SX Series switch commands are provided in Table 14.

Programming Guide – 34

Image 39
Contents User’s Manual SB Series Fiberoptic SwitchPage Contents Programming Guide SD000153 Rev. J May Safety Information Safety Information, Instructions, and SymbolsSafety Instructions Before Initializing and Operating the UnitOperating the Unit Safety Safety Symbols SymbolProceeding CE Compliance ComplianceGeneral Information and Specifications Single-Common SB-C Switch ConfigurationGeneral Information Single Step Dual Common SB-E Switch Configuration Dual-Common SB-D Switch ConfigurationOptional Accessories Dual-Common Blocking SB-F Switch ConfigurationKey Features Standard AccessoriesParameter Typical Maximum SpecificationsElectrical PhysicalEnvironmental Operating Environment Getting StartedBefore Initializing and Operating the Unit Initial InspectionStoring and Shipping Cleaning Connectors Connector Cleaning connector type can vary Installing the SwitchKey Description Operating and Maintenance InstructionsFront Panel Operating KeysExternal Switch Module Connections External Switch Module without TTL Input ControlsRear Panel Sample Driver Application Electrical Equivalent of Driver External Switch Module with TTL Input ControlsUsing and Selecting a Channel Powering Up the SwitchSetting the Gpib Address Setting the Interface Command Set for SC and SX SwitchesControlling the Drivers Controlling the Switch Locally Controlling the Switch Remotely by Gpib InterfaceControlling the Switch Remotely by RS232 Interface Calibrating the Switch Maintaining the SwitchPrint #1, CLOSE? Input #1,A$ Print A$ END Operating and Maintenance Instructions Gpib Pin Assignment Programming GuideMnemonic Function RS232 Interface SpecificationsGpib Interface Functions RS232 Pin AssignmentRS232 Driver Pin Assignment Operation and Query CommandsName Symbol Pin Number Signal Direction Command Parser RulesXDR i k Driver Control Operation CommandsReset Close Set Optical ChannelQuery Commands Learn Error NumberLast Number Error DriversStatus Reporting and Service Request Control Condition RegisterStatus Register Gpib Programming Examples SRQ Mask RegisterSRQ Mask Register Bit Serial Polling the Status Register Sending CommandsGenerating a Service Request Interrupt RS232 Programming ExamplesLearn Query LRN? Setting the Interface Command Set Querying StatusReading the Status Register Bit Message SC Series Switch Command Set SCXXX-0XXX ModelsSX Series Switch Command Set Syntax FunctionRQS Busy Normal BAD Data Unit Failure