Black Box SW487A-R2 manual LAN/Serial-Port Commands

Page 27

6 x 4 ELECTRONIC SCSI SWITCH

5.6 LAN/Serial-Port Commands

You can use simple ASCII-character commands to control the SCSI Switch through either its LAN port (by opening a socket connection to port 3001) or one of its RS-232 serial ports. For serial control, set your computer’s serial port this way:

a. Baud rate: 9600 (the switch’s factory default) or 19,200 bps.

b. Data format: 8 data bits, 1 stop bit, no parity.

c. Transmission mode: Half-duplex.

So, for example, the DOS command to set a PC for serial communication with the switch would be MODE COMx 9600,N,8,1. Whether you’re using a LAN or serial connection, commands have the same syntax (format):

a. Start sequence: ASCII <cr> (carriage return) followed by two slashes (“//”)

b. Switch box number (you need this even if you have only one SCSI Switch):

Box 1

- 7C hex (ASCII “”)

Box 3

- 7E hex(ASCII “~”)

Box 2

- 7D hex (ASCII “}”)

Box 4

- 7F hex (ASCII <del>)

c. Port selection: Port A to port 1: “A1”; Port C to port 4: “C4”; and so on.

NOTE

1.More than one numbered port can be connected to port A or B. For example, to connect port A to both port 1 and port 3, and port B to both port 2 and port 4, transmit “A13B24.”

2.“0” clears (diconnects) all numbered ports. For example, “A0” clears all numbered ports connected to port A.

d.Connection or disconnection type:

ASCII “K” connects the specified ports and strictly adheres to SCSI rules.

NOTE

With “K,” if port A, B, C, or D is not specified, no action will be taken on that port. If a connection is selected (for example, “A1”), that connection will be made, and other numbered ports will be disconnected from that lettered port. For example, entering “A2” when port A is connected to port 5 will disconnect port A from port 5 and connect it to port 2.

ASCII “N” connects the specified ports without breaking existing connections. ASCII “F” disconnects the specified ports.

e. End sequence: ASCII <cr>

So, for example, the complete command to connect the first SCSI Switch’s port A to port 5 and its port B to ports 1 and 4 would look like this: <cr>//A5B14K<cr>

26

Image 27
Contents 4 Electronic Scsi Switch RADIO-FREQUENCY Interference Statements 4 Electronic Scsi Switch NOM Statement Trademarks Used in this Manual Contents 4 Electronic Scsi Switch Differential DE Scsi SW485A Only SpecificationsScsi Interface Single-Ended SE Scsi SW487A-R2 OnlyAgency Approvals Low-Voltage Differential LVD Scsi SW487A-R2 OnlySerial Interface LAN PortPhysical About the Scsi Switch FeaturesIntroduction Introduction Technical DescriptionGeneral Hardware Description Electronic Scsi Switch block diagram Typical switch installation What’s Included InstallationSwitch Placement Power Equipment OffScsi Interface Cabling RS-232 Serial Port CablingEthernet LAN Port Cabling Operator Controls and Indicators AC Power SwitchLCD Display, Keypad, and Indicators Indicators LCD Display Control Menus SET Serial Ports Display BUS Activity Scsi Switch Default Configuration Scsi Switch Port ConfigurationConfiguration and Operation Scsi Cable Interface RequirementsInternal Terminator Selection Selecting External Terminator Power Selecting Internal Terminator PowerSerial-Port Pinout Signal Description DB9 Pin DB25 PinLAN/Serial-Port Commands Command Cmd Example Command String Response Expanded List of Commands 4 Electronic Scsi Switch Set Temperature Limit Graphical User Interface GUI Ascii Character Reference for Scsi Switch Box SelectionRackmount Installation Connecting Multiple Scsi SwitchesSample applications Typical ApplicationsNetwork Control of Scsi Switch Apconcfg Utility Apconcmd Utility Scsi Basics Scsi Technical InformationScsi Technical Information Scsi Installation TipsScsi Interface Signal Descriptions Signal Name Signal Signal Connector Name Name Pin Number HVD LVD Scsi Switch component placement Troubleshooting Calling Black BoxShipping and Packaging Disclaimers and Notices Copyright 2002. Black Box Corporation. All rights reserved