beautypg.com

Starting the program, 10ć2 – Rockwell Automation 6008-SI IBM PC I/O SCNNR 6008-SI User Manual

Page 114

background image

Chapter 10

User Diagnostic Program

10-2

If your switch settings on the scanner board are as set at the factory, you
can start the diagnostic program by simply entering its name at the DOS
prompt:

u_d1

UserĆset switches

If you have changed the settings of switches, you need to tell the program
where in memory it will find the scanner board. To do that, use the

/a

option with the memory address (in hex), like this:

u_d1 /aD800

A chart in chapter 3, “Installation,” shows how switch settings on the
scanner board correspond to memory addresses in the host computer.

Other options

The u_d1 program normally assumes that your I/O devices are set at 57.6
Kbaud, that you want the line termination resistor connected, IRQ3 is
selected, and that a 1s timeout for management requests is adequate. You
can change these assumptions either at program startup by specifying
options on the command line, or later while the the program is running. A
space or tab must precede every option, including the

/a

option. We give

the options in lower case here, but upper case works too.

The following options are defined:

/b

specifies baud rate. Follow the b immediately (no spaces or tabs) with a 1 for

57.6 baud or a 2 for 115.2 baud. /b1 is the default.

/n

specifies the interrupt request line. Follow the n immediately with 3 for IRQ3, 5

for IRQ5, 10 for IRQ10 or 12 for IRQ12. /n3 is the default.

/r

specifies the line termination resistor. Follow the r immediately with a 1 for

connected or a 0 for not connected. /r1 is the default.

/t

sets the initial timeout for management requests. Follow the t immediately with a

decimal number of 55 milliseconds. The default is /t18 units, about a second.

Example:

“u_d1 /b2”

starts the program with initial operation at 115.2

Kbaud.

Starting the Program