Black Box SW925A Скачать руководство пользователя страница 24

45

MODULAR SMART SWITCH 

9.2  Connect Command

9.2.1  S

ELECTING A

D

ESTINATION

P

ORT

By default, the Modular Smart Switch automatically sends all data to port 1.
To send data to a different port or route back to port 1, use the following
command:

<PM CONNECT port>

where “port” represents a port number from 1 to 12.

The new destination will now be used for all subsequent data sent into the

port that gave the command until either a new command is sent, or the
Modular Smart Switch is powered off.

9.2.2  P

RINTING

S

EVERAL

C

OPIES

If several copies of a document are required, you do not need to send the file
repeatedly.  The connect command allows up to 255 copies to be generated
from a single file.  The format of the multiple copy command is:

<PM CONNECT port:copies>

To print three copies of a file on the printer/plotter attached to port 1, the

command becomes:

<PM CONNECT 1:3>

NOTE

The extra copies will not begin to be printed until the Modular Smart
Switch has accepted the whole file into its memory.  This is normally
when no further data has been received for the timeout period, which is
initially set to 16 seconds.  The timeout may be altered or switched off if
necessary (see Section 9.2.4).  Alternatively, an end-of-file command will
tell the Modular Smart Switch that it now has the whole file (see Section
9.4).  If the file is too large to fit inside the buffer, then you cannot print
more than one copy.

9.2.3  B

ROADCASTING

D

ATA TO

S

EVERAL

D

EVICES

To set the Modular Smart Switch to broadcast data to several ports
simultaneously, use the CONNECT command and specify a list of ports that
the data is to be sent to (up to 4 in total).  Separate the port numbers with a
space.  The multiple copy CONNECT command can also be repeated in this
way.  For example, to print two copies on port 3 and one copy on port 1 of
every file sent from the computer, issue the following command:

<PM CONNECT 3:2 1>

44

MODULAR SMART SWITCH

9.  Software Commands

9.1  Introduction

The Modular Smart Switch can be controlled by sending software commands
to it from any computer (serial or parallel).  These commands let you change
to switch between ports and give access to some more advanced features of
the Modular Smart Switch.  The control software (see 

Chapter 6

) for use with

IBM PCs automatically generates the required software commands.  This
section gives the format and purpose of each command.

All software commands have the following format:

<PM command {parameters}>

The command must begin with the three characters <PM and end with a

single character >.  In the following text, UPPER CASE is used to represent a
keyword, for example, CONNECT.  Anything that is in {brackets} is optional.
Text that is in lower case should be replaced by the keyword or option that it
represents.

For example, the command to connect to channel 2 (serial) would be as

follows:

<PM CONNECT 2>

A string of characters will only be recognized as a command if all the

characters are correct, thus making confusion with normal text extremely
unlikely.  Software commands should be sent to the Modular Smart Switch as
a string of ASCII characters.  A suitable way of doing this would be to create a
file containing the required command, and “print” it when needed, though
there are many other possibilities such as inserting the required selection
string at the top of a word processor document (refer to your computer
manuals).  Users of IBM compatible computers can create batch files that
send software commands (see 

Section 9.5 

for notes on how to create these).

Items in a software command can be separated by spaces, tabs, line feeds, or

form feeds; however, only one of these may be used between each item.  In
the following sections, references to single spaces apply equally to single tabs,
single line feeds, and single form feeds.

Содержание SW925A

Страница 1: ...hours a day 7 days a week Call 724 746 5500 or fax 724 746 0746 Mailing address Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 Web site www blackbox com E mail info blackbox com APRIL 20...

Страница 2: ...s operated in a commercial environment Operation of this equipment in a residential area is likely to cause interference in which case the user at his own expense will be required to take whatever mea...

Страница 3: ...ser le das antes de que el aparato el ctrico sea operado 2 Las instrucciones de seguridad y operaci n deber n ser guardadas para referencia futura 3 Todas las advertencias en el aparato el ctrico y e...

Страница 4: ...22 5 7 Using the Modular Smart Switch 24 5 8 Port Indicators 1 to 12 24 5 9 Buffer Status Indicators 25 6 Using the Control Software 26 6 1 Installing the Resident Software 26 6 2 Running the Software...

Страница 5: ...Transfer Software 42 8 3 Transferring Files Between PCs Not Compatible with IBM 42 8 4 General Hints and Tips 43 9 Software Commands 44 9 1 Introduction 44 9 2 Connect Command 45 9 2 1 Selecting a De...

Страница 6: ...Meg Memory SW925A SW925AE includes Main chassis with 6 dual port module slots and 2 memory slots Software disk in 3 5 format Power lead with 115 VAC or 230 VAC plug 5 module blanking plates with fixi...

Страница 7: ...ular Smart Switch contains two memory module slots A and B each of which can be fitted with a 1 MB or 2MB buffer memory module see Figure 3 1 The Modular Smart Switch is supplied as standard with a 1...

Страница 8: ...ed on The buffer memory indicators will flash while the test is in progress and go off when the test is complete If all the channel and buffer indicators come on permanently then the buffer has been i...

Страница 9: ...t Switch The ports on the Modular Smart Switch are configured using a number of option switches situated on the modules In addition to the port configuration the global timeout values can be set using...

Страница 10: ...TPUT Automatic input output detection not guaranteed HIGH port switches LOW port switches 16 MODULAR SMART SWITCH Timeout Period When a user has sent no data for the timeout period the Modular Smart S...

Страница 11: ...matic detection is not guaranteed to work with all equipment so if you experience any problems set the ports as dedicated inputs or outputs 4 3 Setting Serial Port Protocols and Options Protocols For...

Страница 12: ...an existing cable is of the correct type because it has the correct connectors on each end or because it works between two other pieces of equipment Always use the cabling recommended in this manual C...

Страница 13: ...57600 N 8 1 enter NOTE If you are sending plot print data from IBM compatibles using a serial port make sure that your AUTOEXEC BAT includes both the MODE with P option and ADMODE commands relevant to...

Страница 14: ...eak in the transmission for more than the timeout period see Section 4 1 If two or more printers plotters are connected to the Modular Smart Switch you will need the software see Chapter 6 or software...

Страница 15: ...be used can be specified once the software has been invoked using the PC PORT function and so these options are primarily for convenience only Hx H1 default 26 MODULAR SMART SWITCH 6 Using the Control...

Страница 16: ...are as follows H1 selects CTRL ALT SHIFT H2 selects CTRL SHIFT H3 selects CTRL ALT H4 selects CTRL ALT H5 selects LEFT SHIFT RIGHT SHIFT SHIFT can be either the left or the right shift key The selecte...

Страница 17: ...ected the PC port that you wish to use to print data With the dialog box displaying the correct PC port and DESTINATION highlighted press enter A new box will appear as shown below Enter the desired d...

Страница 18: ...main menu NOTE Characters such as line feeds are displayed using an unusual set of non alphanumeric characters ADDER TECHNOLOGY ADMENU DIRECT OUTPUT DESTINATION FILE TRANSFER FUNCTIONS OPTIONS PORT 1...

Страница 19: ...TIONS 34 MODULAR SMART SWITCH 6 9 Using the Functions Menu To enter the functions menu use the up and down cursor keys on the main menu to highlight FUNCTIONS and press enter The functions menu now al...

Страница 20: ...tory on your PC At the DOS prompt type a command in the following format ADMODE COMn baud parity databits stopbits You only need to include a parameter after baud if it needs to be changed from the de...

Страница 21: ...0 19200 4800 9600 19200 38400 57600 38400 57600 parity odd even none O E N N data bits 7 or 8 7 8 8 stop bits 1 or 2 1 2 1 Using the Control Software with Windows Version 3 1 Windows version 3 1 suppo...

Страница 22: ...file transfer software A suitable batch file for Kermit would be as follows ADDER TECHNOLOGY ADMENU DESTINATION DIRECT OUTPUT FUNCTIONS OPTIONS PORT 1 COM1 ESC TO QUIT FILE TRANSFER ENTER TARGET PORT...

Страница 23: ...th your Modular Smart Switch should be used together with file transfer software The control software allows you to increase the baud rate for all normal printing and plotting operations so you can us...

Страница 24: ...and one copy on port 1 of every file sent from the computer issue the following command PM CONNECT 3 2 1 44 MODULAR SMART SWITCH 9 Software Commands 9 1 Introduction The Modular Smart Switch can be c...

Страница 25: ...be switched off With the timeout off the output channel remains constantly dedicated to the input channel until an end of file command see Section 9 4 or a new connect command is sent The timeout rema...

Страница 26: ...ine When the enter key is pressed the screen will display 1 File s copied This indicates that a file name TXT has been created that contains the software command text It is not normally possible to us...

Страница 27: ...pted Data The most common cause of corrupted data when using serial interfaces is a handshake problem If you experience corrupted data when using serial ports check that the protocols set on your equi...

Страница 28: ...TCH 10 7 Merged Printouts If the output from one computer has been printed in the middle of that from another you will probably need to increase the timeout period When no data has been sent from one...

Страница 29: ...control in ve hardware HSIN Input handshake 25 Transmit data ve TXD Output A 2 Connecting to Computers RS 232 Connections RS 232 serial ports on computers tend to vary considerably The standard recom...

Страница 30: ...Printers Most serial printers provide a standard DB25 connector for serial data The required cable wiring is shown in Figure A 3 This wiring configuration is suitable for many popular printers such as...

Страница 31: ...TCH A 5 Connecting to Plotters A wide range of different pin configurations are used on plotter serial ports The following cable can be used for most plotters including those manufactured by Hewlett P...

Страница 32: ...N HSIN TXD TXD HSOUT ve ve ve ve ve ve ve ve Flow control in Transmitted data out Flow control out Received data in 60 MODULAR SMART SWITCH A 7 Connecting to DEC LN03 Laser Printer The LN03 outputs it...

Страница 33: ...16 INIT no connection OUTPUT high 17 SELECT IN no connection OUTPUT low 18 25 SIGNAL GROUND ground ground The cables need to have a DB25 connector for connecting to the Modular Smart Switch If possib...

Страница 34: ...ect from IBM compatibles to the Modular Smart Switch require a 25 pin plug on both ends All lines should be connected straight through that is 1 to 1 2 to 2 etc B 3 Cable to 36 Pin Amphenol Connector...

Отзывы: