Rockwell Automation 6008-SV2R User Manual

VMEbus Remote I/O
User
Scanner
(Cat.
No. 6008SV1R,
6008SV2R)
Manual
Important User Information
Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control (available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc., is prohibited.
Throughout this manual we use notes to make you aware of safety considerations:
ATTENTION: This notation identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss.
Attention statements help you to:
identify a hazard avoid the hazard recognize the consequences
Important: This notation identifies information that is critical for successful application and understanding of the product.

Table of Contents

Using This Manual pi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction pi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Audience pi Required Hardware pi Terms
Scanner Overview 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Chapter 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction 11 VMEbus How the Scanner Scans 16 Comparison to 6008SV Scanner 18 Operating Modes 19 VME Master Processor Watchdog Timer 111
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relationship
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
pii
14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing the Scanner 21. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Chapter 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Handling the Scanner 21 Setting Switches 21 Removing VME Backplane Jumpers 26 Grounding the VME Chassis 26 Inserting the Scanner 27 Determining PowerSupply Requirements 27 Connecting
Addressing
Using This Chapter 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Addressing Concept 31 Choosing an Addressing Mode 33 Addressing BlockTransfer Modules 36 Assigning Racks 37
to the Remote I/O Link
I/O
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
28. . . . . . . . . . . . . . . . . . . . . . . .
31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communicating with Remote I/O 41. . . . . . . . . . . . . . . . . . . .
Using This Chapter 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting Devices that You Can Connect 41 Introduction Designing Specifying a Scan List 45 Processing Processing Block Data 48
to Remote I/O
a Remote I/O Link
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Discrete I/O
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
42. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43. . . . . . . . . . . . . . . . . . . . . . . . . . . .
46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contentsii
Operating
Using This Chapter 51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing Command Summary 56 SETUP command byte 13 57 description 57 parameters 58 coding sequence 58 AUTOCONFIGURE command byte 10 59 description 59 parameters 510 coding sequence 512 SCAN LIST command byte 11 513 description 513 parameters 513 coding sequence 515 FAULT DEPENDENT GROUP command byte 12 516 description 516 parameters 516 coding sequence 518 SET MODE command byte 20 519 description 519 parameters 519 coding sequence 520 LINK STATUS command byte 21 521 description 521 parameters 522 coding sequence 524 BT READ command byte 01 525 description 525 parameters 526 coding sequence 526 BT WRITE command byte 02 527 description 527 parameters 527 coding sequence 528 RESET 529 description 529 parameters 530 coding sequence 530
in SV
Compatible Mode 51. . . . . . . . . . . . . . . . . . .
Global RAM
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents iii
Operating
Using This Chapter 61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing Command Summary 67 SETUP command byte 13 68 description 68 parameters 68 coding sequence 610 AUTOCONFIGURE command byte 10 611 description 611 parameters 612 coding sequence 614 SCAN LIST command byte 11 615 description 615 parameters 615 coding sequence 617 FAULT DEPENDENT GROUP command byte 12 618 description 618 parameters 618 coding sequence 620 SET MODE command byte 20 621 description 621 parameters 621 coding sequence 622 LINK STATUS command byte 21 623 description 623 parameters 624 coding sequence 627 BT READ command byte 01 628 description 628 parameters 630 coding sequence 631 BT WRITE command byte 02 632 description 632 parameters 634 coding sequence 635 CONTINUOUS BT READ command byte 06 636 description 636 parameters 638 coding sequence 639 CONTINUOUS BT WRITE command byte 07 640 description 640 parameters 642 coding sequence 643 RESET 644
in SV
Superset Mode 61. . . . . . . . . . . . . . . . . . . . .
Global RAM
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contentsiv
description 644. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
parameters 645 coding sequence 645
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting the Scanner 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Chapter 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the Scanner States 71 Powering Up the Scanner 74 After Waking Up the Scanner 78
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming the Scanner 81. . . . . . . . . . . . . . . . . . . . . . . . .
Using This Chapter 81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Semaphore 81 Knowing When a Command Is Complete 82 Programming Examples of Each Scanner Management Command 82 Programming Block Transfers 834 Communicating with PLC5 Processor in Adapter Mode 839
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
.
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
Troubleshooting 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Chapter 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indicators 91 Error Codes 92 Troubleshooting Suggestions 94
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Specifications A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Environmental Performance VMEbus
Specifications
Specifications
Specifications
A1. . . . . . . . . . . . . . . . . . . . . . . . . . .
A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Manual

Preface

Introduction
Audience
Required Hardware
This manual describes how to install and use the VMEbus remote I/O scanners (catalog numbers 6008-SV1R and 6008-SV2R).
You should have experience in system development and integration and in writing software for VMEbus master processors. You should also have a working knowledge of the C programming language, including the concepts of structures and pointers. Knowledge of Allen-Bradley 1771 I/O products is helpful but not essential.
You need a VMEbus-compatible VME master processor to set up and control the VMEbus remote I/O scanner. You install the scanner in a standard 6U, full-height VME rack.
The 1771 I/O modules that the scanner monitors and controls depend on your application. You also need an adapter in the 1771 chassis to allow communication between the scanner and the I/O modules. You can use any A-B adapter module or a PLC-5 processor that operates in adapter mode.
pi
Preface
Terms
This table defines common terms:
This term: Refers to the:
scanner
VME master processor main CPU of your VME system
VME chassis frame that VME cards are mounted in
VMEbus circuit board or backplane mounted in the chassis that the scanner, the
I/O chassis AllenBradley 1771 series I/O chassis
input image table area of global memory in the scanner that contains the data from the
output image table area of global memory in the scanner that contains output data for
block transfer transfer of data between an intelligent I/O module and a scanner
general data area designated area of global VME memory, existing within the scanner,
global RAM an area of global VME memory in the scanner that can be accessed
semaphore bit bit that indicates whether part of the global RAM (the general data
scan list list that the scanner maintains internally to determine the I/O racks that
both remote scanners (catalog numbers 6008SV1R and 6008SV2R)
The VME master processor runs the application program that accesses the scanner. A VME system can have more than one VME master processor, each assigned different duties and both accessing the same scanner(s).
Both the scanner and the VME master processor are mounted in the chassis along with other VME hardware.
VME master processor, and other VME cards plug into
This is the frame that houses the I/O modules, power supply, and adapter or PLC processor.
input terminals of input modules
When an input switch is closed its corresponding input bit in the image table is set to 1.
terminals of output modules
When a bit is set to 1, the corresponding output turns on.
A block transfer sends as many as 64 words of data at a time.
that is used to pass information between the scanner and a VME master processor.
Scanner commands are processed in this data area.
by both the scanner and the VME master processor(s).
This area of memory is the key means for communication between the scanner and the VME master
area) is being used.
Typically this bit is used to prevent multiple masters or the scanner from writing to the general data area simultaneously.
it is to scan, and the order in which it is to scan them.
You create the scan list using the AUTOCONFIGURE command or the SCAN LIST command.
pii
Scanner Overview
Chapter
1
Using This Chapter
Introduction
This chapter provides an overview of the scanner. This chapter describes how the scanner relates to the VMEbus and to the remote I/O link.
If you want to read about: go to page:
introduction VMEbus relationship 14 how the scanner scans 16 operating modes 19 VME master processor watchdog timer 111
The VMEbus scanners (catalog number 6008-SV1R and 6008-SV2R) monitor and control remote Allen-Bradley I/O modules without using a PLC processor. Use your VME master processor(s) to manage as many as 32 racks of remote A-B I/O (16 per scanner channel).
The scanner communicates with I/O adapters that reside in the left slot of a remote chassis and with other products that have node adapters built into them. The scanner transfers the information necessary to control discrete and block-transfer data to and from the VMEbus.
The VMEbus scanner physically resides in the VME chassis. The scanner occupies one 6U (full-height) VME slot. The scanner uses the P1 connector to interface to the VMEbus. You can use more than one scanner in your VME system to create large and flexible I/O subsystems.
11
To the VMEbus, the scanner is a memory-mapped slave that responds to 8-bit or 16-bit accesses in either A16 or A24 address space. The scanner can act as a VME interrupter on any of the seven VMEbus interrupt lines.
The SV1R and SV2R scanners replace the Allen-Bradley 6008-SV scanner. The SV1R has one remote I/O channel; the SV2R has two remote I/O channels. The SV1R and SV2R scanners have an extra embedded communication microprocessor, which gives them more flexibility and faster performance than the 6008-SV scanner. The new scanners are backward-compatible with the 6008-SV scanner and offer:
continuous block-transfer operations each remote I/O channel supports as many as 16 racks of remote I/O configurable scan rate at 57.6, 115.2, or 230.4 kbps
VME interrupt signals change in the scanner input table
11
Chapter
1
Scanner Overview
Figure 1.1
connection overview
System
HP 9000 computer
VAX computer
Ethernet network
Vision
VME CPU
VME CPU
PanelView
PLC5 processor
Ethernet
Data
remote I/O channel B
6008SV2R
VME chassis
remote I/O channel A
1336 drive
Flex I/O
Note: The 6008SV1R scanner is interchangeable with the 6008SV2R scanner, except that the SV1R scanner supports only one channel of remote I/O.
12
chassis with 1771ASB
Chapter
1
Scanner Overview
Each scanner channel supports as many as 32 physical adapters (16 logical racks). Figure 1.2 shows the front panels of the scanners.
6008SV2R
6008SV2R
PWR
BPLN COM
FLT
AB
Indicators:
power (green)
VMEbus backplane communication (green)
fault (red)
Indicators:
channel status (green/red)
Channels:
remote I/O channel A communication port (factory enabled)
Figure 1.2 Scanner
front panel
6008SV1R
6008SV1R
A
PWR
BPLN COM
FLT
Table 1.A Significance of scanner indicators
When this indicator:
PWR
(power) green LED
BPLN COM
(backplane communication) green LED
FLT
(fault) red LED
is: it means:
illuminated power is applied to the
module
illuminated for approximately a half second
illuminated the scanner board is reset,
a VMEbus access is made to the scanner board
performing a self test, or a fault has been detected
Table 1.B Significance
of channel status
indicators
When the status indicator is:
off
green is on line, in Run mode, and
the scanner:
is off line
scanning the racks in the scan list
remote I/O channel B communication port (factory disabled)
blinking green is on line, in Run mode, and
scanning only some of the racks in the scan list
red has an unrecoverable fault
blinking red has a recoverable fault
13
Chapter
1
Scanner Overview
VMEbus Relationship
The scanner complies with the VMEbus specification (revision C.1) and responds to VME masters on the VMEbus. The scanner appears as an area of global VME RAM to other master processors on the VMEbus. This area contains the I/O image area, control/status area, general data area, and interrupt ID area.
memory map for one channel
SVcompatible mode SVsuperset mode
output image table
64 words
input image table
64 words
control/status area
16 words
general data area
1872 words
output image table
128 words
input image table
128 words
control/status area
16 words
general data area
112 words
interrupt/VME ID area
32 words
continuous BT write
16 entries (72 words each)
continuous BT read
32 entries (72 words each)
interrupt/VME ID area
32 words
For more details on these memory areas, see chapter 5 or 6 for SV-compatible mode or SV-superset mode, respectively.
There is no direct communication between a VME master processor and the discrete I/O, rather the VME master processor communicates with the I/O image table in the scanner (shown above). The VME master processor reads the status of inputs from the input image table and controls the outputs by writing data to the output image table.
14
Chapter
Scanner Overview
1
These VMEbus transfers are asynchronous to the scanner’s I/O update. This means there is no way to know exactly when the data being put in the output image table will be sent to the appropriate I/O rack. Data is sent to an adapter only when that adapter is being scanned. Best-case timing is if the data is placed in the output image table just before the specified adapter is scanned; worst-case timing is if the data is placed in the output image table just after the specified adapter was scanned. In the worst-case scenario, the data does not reach the specified I/O rack until the next time that adapter is scanned.
How the Scanner Responds to VME Signals
The scanner can generate interrupts on any of seven request levels (IRQ1-IRQ7). When a VMEbus master acknowledges the interrupt, the scanner replies with a vector (status/id) using the odd 8 bits of the data bus.
Important: The VME master processor might “crash” if there is no software routine written to process an interrupt from the scanner. Or, you can use the SETUP command to configure the scanner so that it never generates interrupts, in case no interrupt software routine has been written. If the scanner does not generate interrupts, the application program must “poll” the scanner to see when commands have been processed.
The scanner responds to Data Transfer Bus (DTB) cycles initiated by masters that transfer data 16 bits at a time or 8 bits transferred in an even and odd format (D16, D08EO). The scanner works in the 16-bit (short) addressing mode or the 24-bit (standard) addressing mode.
The scanner responds to common VME signals as follows:
This VME signal:
SYSFAIL
ACFAIL When the scanner recognizes an ACFAIL signal, it shuts itself down because this
SYSRESET If SYSRESET is asserted on the VMEbus, the scanner resets itself and goes
means:
When the scanner recognizes a SYSFAIL signal, it can either ignore the signal or shut itself down, depending on how the scanner is configured. When the scanner shuts down, the I/O serviced by the adapter either resets to a default condition or holds all of its current values, as determined by switches on the I/O chassis backplane. When the scanner is faulted or shut down, it asserts SYSFAIL on the VMEbus.
means that power will soon be gone. When the scanner shuts down, the I/O serviced by the adapter either resets to a default condition or holds all of its current values as determined by switches on the I/O chassis backplane.
through its initialization tests. The scanner does not clear (reset to 0) the input and output image tables. After a SYSRESET signal, you have to wake up the scanner, the same as a powerup situation.
15
Chapter
Scanner Overview
1
For more information, see the VMEbus specification (revision C.1) published by VITA (VMEbus International Trade Association), 10229 N. Scottsdale Rd., Suite B, Scottsdale, AZ, 85253, (602) 951-8866. Contact a VITA representative for a copy.
VMEbus Address Modifier Codes
The scanner can respond to the following VMEbus address modifier codes, depending on how you configure the scanner’s address space and response to VME accesses.
How
the Scanner Scans
This code (hex):
3D
39 standard (A24) nonprivileged access
2D short (A16) supervisory access
29 short (A16) nonprivileged access
means:
standard (A24) supervisory access
The scanner runs asynchronously to other VME master processors. Once in Run mode, the scanner continuously scans all the adapters in its scan list. The scan list identifies which adapters to scan and in what order to scan them. An adapter can appear several times in the scan list. For more information about using the scan list, see chapter 4.
When the scanner scans an adapter, it brings in digital input data and places the data in the scanner’s input image table. At the same time, the scanner sends digital output data to the adapter.
16
VME system with scanner (scanner using only 1 channel)
Chapter
1
Scanner Overview
remote I/O system
adapter 1
example scan list:
adapter 1 adapter 2 adapter 1 adapter 3
scan adapter 1
scan
list: adapter 1 adapter 2 adapter 1 adapter 3
scan adapter 3
remote I/O channel A
remote I/O channel B (6008SV2R only)
if the VME master
processor sent a command, execute the command and then return to processing the scan list
if there is no command, continue processing the scan list
adapter 2
adapter 3
command processing
scan adapter 2
scanner
scan adapter 1
adapter scan
output data
status and input data
scanning the adapters in the scan list
17
Chapter
Scanner Overview
1
Getting the Scanner's Attention
For a VME master processor to get the scanner’s attention, it must write a value (any value) to any byte in the scanner’s identification area. This area is located in the last 64 bytes of the global RAM for each scanner channel.
The scanner gets the attention of a VME master processor by generating a VMEbus interrupt to which the VME master processor must respond. This interrupt is sent when the scanner finishes commands that a VME master processor initiated.
Comparison to 6008SV Scanner
The 6008-SV1R and 6008-SV2R scanners replace and are backward compatible with the Allen-Bradley 6008-SV VMEbus remote I/O scanner. The 6008-SV1R and 6008-SV2R scanners offers these improvements:
each remote I/O channel controls as many as 32 adapters configurable communication rate of 230.4, 115.2, or 57.6 kbps lets you
select I/O scan time embedded communication microprocessor increases
scanner performance VME interrupt signals change in the scanner input table configurable VME operating mode lets you select the scanner features
you need for your application
Important: The SCAN LIST command is the only difference between the 6008-SV1R and 6008-SV2R scanners and the 6008-SV scanner. If you use that command, you must modify the command to specify the rack size.
The 6008-SV1R and 6008-SV2R also offer improved block transfer operations. In addition to single block transfer operations, the 6008-SV1R and 6008-SV2R support continuous block transfer operations. A single block transfer is a single read or write transfer to a specific intelligent I/O module. If your application needs to continuously poll a module to receive up-to-date data, use a continuous block transfer request. The continuous block transfer requests uses less programming overhead than programming a single block transfer request each time you need the data.
18
Chapter
1
Scanner Overview
Operating
Modes
Before you begin using the scanner, you have several choices to make concerning how the scanner operates. You need to specify how the scanner operates in the VME system and how you want to program the scanner.
Selecting VME Operating Mode
The scanner offers two VME operating modes. The mode you select determines the command set available to the scanner and the memory structure the scanner uses. You set a switch on the scanner to specify the operating mode you want.
If you want: select this VME
the scanner to operate exactly as the 6008SV scanner
This mode is compatible with the 6008SV so you can run previouslydeveloped applications with minor modifications. Select this mode if you are replacing a 6008SV with a 6008SV2R and do not want to modify your application.
In any application that uses the SCAN LIST command with the 6008SV scanner, you must modify the command to specify the rack size.
For more information see chapter 5. the scanner to use the new commands and additional memory, as
compared to the SVcompatible mode
This mode provides additional features, as compared to the 6008SV.
For more information, see chapter 6.
operating mode:
SVcompatible
SVsuperset
Important: An application developed for one operating mode will not work in another operating mode.
19
Chapter
1
Scanner Overview
Selecting a Programming Mode
Select the appropriate programming mode for programming the scanner.
Table 1.C Programming
modes
If you want these conditions: select this
the scanner doesn't send output information to the adapters
all module outputs are reset (off); outputs are disabled, so they
remain reset
discrete input information is updated
the scanner doesn't send blocktransfer requests to the adapters,
but the scanner will queue the requests from the VME master processor
the scanner sends output information to the adapters
all module outputs are held reset (off) outputs are disabled, so they
remain reset
discrete input information is updated
the scanner sends blocktransfer requests to the adapters, but
actual outputs are disabled (reset)
the scanner sends output information to the adapters
input information is updated
the scanner sends blocktransfer requests to the adapters
all outputs are allowed to energize
programming mode:
Program
Test
Run
When your application program first starts the scanner with the SETUP command, the scanner is in the Program mode. Your program must issue a SET MODE command to change the scanner to Run mode.
110
Chapter
Scanner Overview
1
VME
Master Processor
Watchdog Timer
The VME master processor must issue a valid command to the scanner at least once in a user-specified time period (the default is 500 msec). If the scanner fails to see a valid command from a VME master processor in this time period (as counted by the watchdog timer), the scanner resets itself and repeats its startup initialization sequence. This causes the I/O racks on the link to fault within 100 msec and the I/O all turn off or remain in their last state, depending on the switch setting on the I/O chassis.
You can disable the watchdog timer or change its timeout period with the SETUP command.
To keep the watchdog from shutting down the scanner, periodically issue a LINK STATUS command. This command provides the application program with important diagnostic information about the status of the I/O link and, at the same time, causes the least amount of overhead for the scanner to complete the command.
To debug your application program you can select debug mode and disable the watchdog timer using the SETUP command.
ATTENTION: Unwanted machine action can result from disabling the VME master processor watchdog. When the VME master processor watchdog is disabled, the scanner has no way of knowing that communication has been lost with your VME master processor and will continue to send data from the output image table to the output modules.
111
Installing the Scanner
Chapter
2
Using This Chapter
Handling the Scanner
This chapter explains how to install the scanner and connect it to a remote I/O link. For information about programming and using the scanner, use the flow chart preceding each chapter to determine where to find the information you need.
If you want to read about: go to page:
handling the scanner setting switches 21 removing VME backplane jumpers 26 grounding the VME chassis 26 inserting the scanner 27 determining power requirements 27 connecting to the remote I/O link 28
The scanner is shipped in a static-shielded bag to guard against electrostatic damage. Electrostatic discharge can damage integrated circuits or semiconductors in the scanner. Avoid electrostatic damage by observing these precautions.
Remain in contact with an approved ground point while handling the
scanner (by wearing a properly grounded wrist strap).
21
Wrist strap
Setting Switches
Do not touch the backplane connector or connector pins.
When not in use, keep the scanner in its static-shielded bag.
The scanner has several on-board switches you set to configure:
address space VME operating mode VME address space scanner responses to VME accesses
21
Chapter
2
Installing the Scanner
Determine the VMEbus A24/A16 Address Space
Use this diagram and the example to set SW1 and SW2 for the correct VMEbus address space.
12345678
slide switch pushed up on = closed = 0
slide switch pushed down off = open = 1
SW2
SW1
Important: These pins are for manufacturing use only
- do not jumper these pins.
A23 A22 A21 A20 A19 A18 A17 A16
SW2
12345678
reserved
A15 A14 A13 A12
SW1
12345678
22
In this VME operating mode:
SVcompatible
SVsuperset A23 through A13 1 channel active
If there are switches not accounted for in a particular address space, such as the switches for A16A23 for SVcompatible, A16 address space, the switch position does not affect scanner operation.
these bits: are valid for this
A23 through A12 1 channel active A23 through A13 2 channels active
A15 through A12 1 channel active A15 through A13 2 channels active
A23 through A14 2 channels active
address space:
A24
A16
A24
Chapter
2
Installing the Scanner
Determine the Operating Mode, Address Space, Scanner Response, and Rack Configuration
Use this diagram and Table 2.A on page 2-4 to set SW3.
SW3
Important: These pins are for manufacturing use only
- do not jumper these pins.
12345678
slide switch pushed up on = closed = 0
slide switch pushed down off = open = 1
SW3
12345678
23
Chapter
2
Installing the Scanner
This switch: configures: with these options:
Table 2.A
settings for SW3
Switch
switch 1, 2, 3
switch 4, 5 VME operating mode switch 4 switch 5
switch 6 VME address space on A16
switch 7 how the scanner responds to
switch 8 which channels are active on only channel A is active
not used set to off
on on SV compatible on off SV superset off off reserved off on reserved
off A24 Select A24 if you select SVsuperset as the VME operating mode.
on responds to nonprivileged and supervisory VME accesses
VME accesses
off responds to supervisory VME accesses
off both channel A and B are active
this switch is ignored if you are configuring the 6008SV1R
(2D, 3D, 29, and 39 address modifiers)
(29 and 39 address modifiers)
24
For example:
12345678
12345678
SW3
SW2
Chapter
2
Installing the Scanner
These switch settings specify:
SVcompatible mode
A24 address space
response to both nonprivileged and supervisory access
only channel A is active
Switch
These switch settings specify VME address 562,000.
SW1
12345678
Specifying VME addresses
You specify the first digit (for A16) or first 3 digits (for A24) of the address space; the remaining digits are always 0. The switches are set from left to right. For example, to set the address space at 562,000 (hex) in A24 with one channel active, set the bits as:
VME address space of 562,000 (hex) A24 address mode with 1 channel active
SW1SW2
A23 A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12
Setting
010101100010 (on) (off) (on) (off) (on) (off) (off) (on) (on) (on) (off) (on)
562
The last three digits in 562,000 (hex) address are already determined by the scanner, so there are no switches to set.
25
Chapter
Installing the Scanner
2
Removing
VME
Backplane Jumpers
one empty slot (jumpers are installed)
The VMEbus has several daisy-chained control signals. Almost all VMEbus backplanes contain jumpers for these control signals to allow systems to operate with empty slots. There are five jumpers per VME slot, one for each of the four bus-grant arbitration levels and one for the interrupt-acknowledge daisy chain.
Depending on the backplane manufacturer, the jumpers can be on the rear pins of the J1 connector or alongside it on the front of the backplane. The scanner uses 1 slot of the VME backplane. Remove these jumpers from the slot where you plan to insert the scanner.
remove all the backplane jumpers in the slot where you insert the scanner
backplane
Grounding the VME Chassis
other VME module
scanner
CPU
Allen-Bradley makes specific recommendations for properly grounding its racks so that their operation is as safe and error-free as possible. VME systems, on the other hand, may have no formal specifications for grounding the VME chassis frame. Allen-Bradley recommends that you ground the VME chassis frame and that you connect the logic ground (common) of the VME power supply to the chassis frame’s earth ground.
The specific procedure for grounding a VME chassis varies depending on the style of the chassis. Read the Programmable Controller Wiring and Grounding Guidelines, publication 1770-4.1, for information on how Allen-Bradley racks are grounded, and try to ground your VME chassis frame in a similar way.
26
Chapter
Installing the Scanner
2
Inserting the Scanner
Insert the scanner in one slot in a 6U (full-height) VMEbus chassis.
ATTENTION: Make sure that your VME system is powered off. The scanner is not designed to be inserted or removed from a live system.
ATTENTION: Avoid touching the circuit board and connectors. You might damage the board, or electrostatic discharge might damage the board.
Use the VME chassis card guides to slide the scanner into the chassis. Use firm pressure on the top and bottom handles of the scanner to make its P1 connector fit firmly into the connector on the backplane. Tighten the screws on the top and bottom of the front panel to prevent the scanner from loosening.
Determining PowerSupply Requirements
The scanner operates on 5V dc @ 2.3A (typical), 2.5A (maximum).
27
Chapter
2
Installing the Scanner
Connecting to the Remote I/O Link
Each scanner channel supports as many as 32 physical adapters. Use 1770-CD (or Belden 9463) cable. Connect a remote I/O network using a daisy-chain or trunkline/dropline configuration.
Table 2.B
number of devices the scanner supports
Total
In this mode: the maximum number
SVcompatible
SVsuperset 16 32
of logical racks per channel is:
8 16
and the maximum number of physical adapters per channel is:
Important: The maximum cable length for remote I/O depends on the transmission rate. Configure all devices on a remote I/O link to communicate at the same transmission rate.
Table 2.C
the correct cable length based on the link'
Choose
A remote I/O link using this communication rate:
57.6 kbps
115.2 kbps 1,524 m (5,000 ft)
230.4 kbps 762 m (2,500 ft)
cannot exceed this cable length:
3,048 m (10,000 ft)
s communication rate
For proper operation, terminate both ends of a remote I/O link by using external resistors. See Table 2.D for information on whether to use a 150W or 82W terminator.
28
Chapter
2
Installing the Scanner
Table 2.D Terminating
If your remote I/O link:
operates at 230.4 K bit/s
operates at 57.6 or 115.2 K bit/s, and no devices listed below are linked
Scanners 1771SN; 1772SD, SD2;
1775SR, S4A, S4B; 6008SQH1, SQH2
Adapters 1771AS; 1771ASB (series A only); 1771DCM
Miscellaneous 1771AF
connects to any device listed below:
Scanners 1771SN; 1772SD, SD2;
1775SR, S4A, S4B; 6008SQH1, SQH2
Adapters 1771AS; 1771ASB (series A only); 1771DCM
Miscellaneous 1771AF
operates at 57.6 or 115.2 K bit/s, and you do not require over 16 physical devices
the remote I/O link
You can connect a remote I/O link in one of two ways:
trunkline/dropline—from the drop line to the connector screw terminals
on the remote I/O connectors of the scanner
usethis
his
use t resistor rating:
82W
150W
the maximum number of
physical devices that you can connect on the link is:
32 16
16 16
racks that you can scan on the link is:
daisy chain—to the connector screw terminals on the remote I/O
connectors of the scanner and then to the remote I/O connector screw terminals of the next remote I/O device
Important: The cable connections for the 6008-SV1R and 6008-SV2R scanner are opposite from those for the earlier 6008-SV scanner. Make sure you follow the instructions in Figure 2.1 below.
29
Chapter
2
Installing the Scanner
Figure 2.1
remote I/O connections
Make
To connect the remote I/O cable, do the following:
1. Run the cable (1770CD) from the processor to each
remote I/O adapter in the remote I/O system.
2. Connect the signal conductor with blue insulation to the
3pin connector terminal labeled 1 on the scanner and to each remote I/O adapter in the remote I/O system.
3. Connect the signal conductor with clear insulation to the
3pin connector terminal labeled 2.
4. Connect the shield drain wire to the middle 3pin
terminal (it is not labeled).
5. Tie wrap the remote I/O network cable to the chassis to
relieve strain on the cable.
6. Terminate the remote I/O link by connecting an external
terminator resistor between the remote I/O terminals labeled 1 and 2.
Important:
Last device on the remote I/O link. Terminate both ends of a remote I/O link.
To another remote I/O device
Blue
Shield
Clear
1770CD
(Belden 9463)
82or 150
resistor
210
Addressing I/O
Chapter
3
Using This Chapter
I/O Addressing Concept
Classification: Term: Relation to memory:
A specific terminal on an I/O module
I/O terminals that when combined occupy 1 word in the input image table and 1 word in the output image table
Combinations of bits or I/O groups I/O rack 128 input bits and 128 output bits
This chapter provides an overview of I/O addressing. This chapter also explains the basics of how the scanner processes discrete I/O and block-transfer data.
If you want to read about: go to page:
I/O addressing concept
choosing an addressing mode 33
addressing blocktransfer modules 36
assigning racks 37
Each terminal on an input or output module that can be wired to a field device occupies a bit within the scanner’s input image table or output image table.
I/O addressing maps the physical location of an I/O module terminal to a bit location in the processor memory. I/O addressing is just a way to segment memory:
terminal or point
I/O group 16 input bits = 1 word in the input image table
The density of an I/O module, i.e., 8point, 16point, 32point, directly relates to the amount of memory (bits) the module occupies in memory. For example, a 16point input module occupies 16 bits in the input image table.
16 output bits = 1 word in the output image table
or
8 input words and 8 output words
or
8 I/O groups
31
Figure 3.1 shows the relationship between an I/O terminal and its location in scanner memory.
31
Loading...
+ 164 hidden pages