Rockwell Automation 6008-SV2R VMEbus remote I/O Scanner User Manual

Page 59

Advertising
background image

Chapter

Operating in SVĆCompatible Mode

5

5Ć8

The VME master processor writes 13 (hex) to the command byte. Then
the VME master processor writes these parameters to the first 7 bytes of
the selected channel’s general data area:

Byte

offset:

Parameter: Description:

Byte

offset:

Parameter: Description:

120

I/O link

baud rate

Write one of these values (hex):
01 57.6 kbps (default)

02 115.2 kbps

FF no change
Values 00, 03-FE are reserved. If you write a

reserved value to this field, the scanner writes error

11H in the confirmation status byte.

124

command

complete

interrupt

status ID

The VME master processor writes an 8Ćbit value

here that the scanner will pass to the VME interrupt

handler during the VMEbus interrupt cycle. The

default value is 40H.

121

master

processor

watchdog

timeout

Write one of these values (hex):
00

500 ms (default)

0A-FE

(value x 100) ms (1000-25400ms)

FF

no change

Values 01-09 are reserved. If you write a reserved

value to this field, the scanner writes error 11H in

the confirmation status byte.

125

command

complete

interrupt

enable

Write one of these values (hex):
00 generate VMEbus interrupt

upon command completion (default)

01 do not generate VMEbus interrupt

upon command completion

FF no change
Values 02-FE are reserved. If you write a reserved

value to this field, the scanner writes error 11H in

the confirmation status byte.

122

master

processor

watchdog

disable

Write one of these values (hex):
01

disable watchdog timer

00,

enable watchdog timer (default)

02-FF
Disable the watchdog timer when you want to run a

master processor application in debug mode without

incurring timeouts that disrupt the application. The

default is debug disabled.

126

SYSFAIL

mask

enable

Write one of these values (hex):
00 SYSFAIL monitor enabled (default)

01 SYSFAIL monitor disabled

FF no change
Values 02-FE are reserved. If you write a reserved

value to this field, the scanner writes error 11H in

the confirmation status byte.

123

command

complete

VMEbus

interrupt

level

Write one of these values (hex):
01 level 1

05

level 5

02 level 2

06

level 6

03 level 3

07

level7

04 level 4 (default)
Values outside the range 01-07 are reserved. If

you write a reserved value to this field, the scanner

writes error 11H in the confirmation status byte.

Your code for a SETUP command should include these tasks:

1. get the semaphore
2. set up the general data area
3. send the command interrupt
4. wait for the result

(either poll for confirmation status or wait for an interrupt)

5. clear the semaphore

parameters

coding sequence

Advertising
This manual is related to the following products: