beautypg.com

Rockwell Automation 6008-SI IBM PC I/O SCNNR 6008-SI User Manual

Page 117

background image

Chapter 10

User Diagnostic Program

10-5

These commands (except the last group) are fully explained in the sections
that follow.

SingleĆGroup Discrete I/O

View I/O Group
If you answer the command prompt not with a command but with a rack
and group number (each 0 to 7, with no separators), the program displays,
in hex, the current contents of the input and output image tables for that
rack and group. (The high byte, slot 1 within the group or terminals 17-10
on a double-density module, shows as the two digits at the left.)

Set Outputs
To leave the output value unchanged, just press the

Enter

key. But to

change the output value, you have several choices:

Type 1-4 hex digits to be written to the output image table. If there are

two single density modules in the group, enter the two digit value for
slot 1 followed immediately by the two digit value for slot 0.

Type

HI

or

LO

to display, in hex, the indicated byte from the input and

output image tables. The program prompts you for new output, also in
hex. If the group contains two single density modules,

HI

corresponds

to slot 1 and

LO

to slot 0.

Type

BIT

to access one particular input or output terminal. You can

specify the terminal number (octal 0-17, 17 being the high-order bit)
adjacent to the word

BIT

or the program prompts you. The program

then displays the corresponding input and output image bits and prompt
you for a new output bit. Enter

1

to set the output terminal on or

0

to

reset.

FullĆScreen Discrete I/O

From the main command prompt, the

D

command makes the program

display the complete output and input image tables on screen. You can exit
full-screen mode and return to the command prompt by pressing the

Esc

key at any time.