Allen-Bradley 1747-OC Series User manual

Type
User manual

This manual is also suitable for

1747-OC Series
Open Controllers
1747-OCE, -OCF
User Manual
Allen-Bradley HMIs
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 part, without written permission of Rockwell Automation, is
prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
Attention statements help you to:
identify a hazard
avoid a hazard
recognize the consequences
ATTENTION: Identifies information about practices or
circumstances that can lead to personal injury or death,
property damage or economic loss
Important: Identifies information that is critical for successful
application and understanding of the product.
!
European Communities (EC)
Directive Compliance
If this product has the CE mark it is approved for installation within the
European Union and EEA regions. It has been designed and tested to
meet the following directives.
EMC Directive
This product is tested to meet the Council Directive 89/336/EC
Electromagnetic Compatibility (EMC) by applying the following
standards, in whole or in part, documented in a technical construction
file:
EN 50081-2 EMC — Generic Emission Standard, Part 2 —
Industrial Environment
EN 50082-2 EMC — Generic Immunity Standard, Part 2 —
Industrial Environment
This product is intended for use in an industrial environment.
Low Voltage Directive
This product is tested to meet Council Directive 73/23/EEC Low
Voltage, by applying the safety requirements of EN 61131-2
Programmable Controllers, Part 2 - Equipment Requirements and Tests.
For specific information required by EN 61131-2, see the appropriate
sections in this publication, as well as the Allen-Bradley publication
Industrial Automation Wiring and Grounding Guidelines For Noise
Immunity, publication 1770-4.1.
This equipment is classified as open equipment and must be mounted in
an enclosure during operation to provide safety protection.
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
Summary of Changes
Summary of Changes
This manual has been updated throughout to include the new 1747-OCF
266MHz Open Controller.
New Information
The table below shows where to find new information on the 1747-OCF
266MHz Open Controller.
For this new information: See Chapter:
comparing the 1747-OCE and 1747-OCF open controllers 1
compatibility issues between open controller models 1
setting the battery enable and scanner configuration jumpers 2
using the 1747-OCF BIOS 3
booting options for the 1747-OCF 4
defining interrupts and drive types 5
operating system considerations 5
installing software 6
using the USB port 7
using the diagnostic utility 8
specifications A
loading Windows NT on your 1747-OCF open controller B
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
SOC-2 Summary of Changes
Notes:
1747-UM001A-US-P - March 2000
Preface
Using This Manual
Who Should Use This Manual
Use this manual if you are responsible for designing, installing,
programming, or troubleshooting control systems that use the
Allen-Bradley open controller.
This manual is a guide for using the open controller. How you program the
open controller or how your application functions depends on the software
options you install on the open controller.
Additional Open Controller
Documentation
The following documents are available for additional information about the
open controller and its options.
This document:
Has this publication
number:
Open Controller User Manual 1747-UM001A-US-P
1747-OC Open Controller System Quick Start 1747-10.3
1747-OC 266MHz Open Controller System Quick Start 1747-10.6
Open Controller PCI Expansion Bus Installation Instructions 1747-5.16
Open Controller Video Interface Module Installation Instructions 1747-5.15
Open Controller Video and Ethernet Interface Module Installation
Instructions
1747-5.37
Open Controller Ethernet Interface Module Installation Instructions 1747-5.40
Open Controller PCMCIA Interface Module Installation Instructions 1747-5.13
Open Controller A-B Communication Interface Module Installation
Instructions
1747-5.14
Open Controller A-B Communication Interface Module User
Manual
1747-6.18
Adding an Embedded IDE Drive to 1747-OC Series Open
Controllers Installation Instructions
1747-IN002A-US-P
Adding System Memory to 1747-OC Series Open Controllers
Installation Instructions
1747-IN003A-US-P
Open Controller Chassis Fan Installation Instructions 1747-5.23
Open Controller IDE Interface Module for IDE-Compatible ATA
Devices (PC Cards) Installation Instructions
1747-5.29
Open Controller IDE Interface Module for an Internally-Mounted
2.5” ATA Drive Installation Instructions
1747-5.30
1747-OCE Open Controller API Software User Manual 1747-6.19
1746 I/O Interface and 1747-OCF Open Controller API Software
User Manual
1747-UM002A-US-P
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
P-2 Using This Manual
Each open controller component ships with installation instructions. The
user manuals and installation instructions are available from The
Automation Bookstore (www.theautomationbookstore.com) so you can
order or download as many copies as you need.
In addition to the above documentation, the:
1747-OCVGA1 video interface module and 1747-OCVGAE video and
Ethernet interface module include a disk with documentation for the
video drivers
1747-OCPCM2 PCMCIA interface module includes a disk with
CardSoft
documentation.
Reference Material
The following books might be useful as you develop your open controller
applications:
This document: By: Has this ISBN number:
PC System Architecture Series
PCI System Architecture
MindShare, Inc.
Addison-Wesley Publishing Company
ISBN: 0-201-40993-3
PC System Architecture Series
ISA System Architecture
MindShare, Inc.
Addison-Wesley Publishing Company
ISBN: 0-201-40996-8
PC System Architecture Series
PCMCIA System Architecture
MindShare, Inc.
Addison-Wesley Publishing Company
ISBN: 0-201-40991-7
The PCMCIA Developer’s Guide Michael T. Mori and W. Dean Welder ISBN: 0-9640342-1-2
PCI Hardware and Software Architecture and Design Edward Solari and George Willse ISBN: 0-929392-28-0
Table of Contents
Chapter 1
Introducing the Open Controller
Introducing the Open Controller CPU Module . . . . . . . . . . 1-1
Understanding the Open Controller Architecture . . . . . . . . 1-3
Communicating with the Open Controller . . . . . . . . . . . . . 1-5
Using the API software. . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Compatibility Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Open controller PCI-based option modules. . . . . . . . . . 1-6
Resource allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
DOS API considerations . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Windows NT API considerations. . . . . . . . . . . . . . . . . . 1-7
Software not using the APIs . . . . . . . . . . . . . . . . . . . . . 1-8
Hardware differences . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Summary of API Differences. . . . . . . . . . . . . . . . . . . . . 1-9
Chapter 2
Installing the Open Controller
CPU Module
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Preparing the Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
1747-OCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
1747-OCF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Setting Jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Installing System Memory . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Installing an Embedded IDE (Flash) Drive . . . . . . . . . . . . . 2-4
1747-OCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
1747-OCF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Changing the LED mask . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Inserting the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Chapter 3
Modifying BIOS Settings
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Preparing the Open Controller. . . . . . . . . . . . . . . . . . . . . . 3-1
Changing BIOS Settings (using Open Controller Video
Module and Keyboard) . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Navigating the menu system. . . . . . . . . . . . . . . . . . . . . 3-2
Using the BIOS main menu on the 1747-OCE . . . . . . . . 3-3
Using the BIOS main menu on the 1747-OCF . . . . . . . . 3-4
Saving BIOS Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Storing BIOS Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Restoring BIOS settings . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Remote BIOS setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Default BIOS Settings for the 1747-OCE . . . . . . . . . . . . . . . 3-7
Default BIOS Settings for the 1747-OCF . . . . . . . . . . . . . . . 3-12
Configuring BIOS for a Primary Drive in an
IDE Interface Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Allen-Bradley HMIs
Publication 1747-UM001A-US-P - March 2000
toc-ii Table of Contents
Chapter 4
Starting the Open Controller
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Powering Up an Open Controller CPU Module. . . . . . . . . . 4-1
Booting when an operating system is loaded . . . . . . . . 4-3
Booting when an operating system is not loaded . . . . . 4-3
Booting from a remote PC through COM2. . . . . . . . . . . 4-5
Booting from a PC Card in a PCMCIA interface module. 4-7
Booting from an external, parallel-port floppy. . . . . . . . 4-10
Chapter 5
Defining System Settings
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Defining System Interrupts . . . . . . . . . . . . . . . . . . . . . . . . 5-1
How ISA/EISA interrupts and PCI/PnP interrupts interact 5-2
Defining the primary IRQ (IRQ 14). . . . . . . . . . . . . . . . 5-4
Defining the secondary IRQ (IRQ 15) . . . . . . . . . . . . . . 5-4
Defining the interrupts for PC Cards in PCMCIA
interface modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Defining interrupts for a 1747-OCKTX,
-OCKTXD module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Defining interrupts for the open controller SCANNER . . 5-7
Defining Drive Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Using primary drives . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Using secondary drives . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Using 3.5” IDE devices. . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Using Memory Managers . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Operating System Considerations. . . . . . . . . . . . . . . . . . . . 5-9
Chapter 6
Installing Software
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Installing Software onto a Native IDE Drive . . . . . . . . . . . . 6-1
Installing software from a remote PC through COM2 . . . 6-3
Installing software through DOS interlnk . . . . . . . . . . . 6-5
Installing software from an external, parallel-port floppy 6-6
Installing software from an external, parallel-port
SCSI device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
Installing software from a PCMCIA CD-ROM or
ATA memory device . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Installing software from an external, IDE-compatible device 6-9
Temporarily installing the native IDE drive in another PC 6-11
Installing Operating Systems . . . . . . . . . . . . . . . . . . . . . . . 6-15
Installing Windows NT . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
Adding hardware to load Windows NT on the
open controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
Adjusting the standard installation procedure to load
Windows NT on the open controller. . . . . . . . . . . . . . . 6-17
Publication 1747-UM001A-US-P - March 2000
Table of Contents toc-iii
Chapter 7
Using the Open Controller
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Connecting the Keyboard and Mouse. . . . . . . . . . . . . . . . . 7-1
Using the Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Using the Parallel Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Using the Universal Serial Bus (USB) Port . . . . . . . . . . . . . 7-4
Using the External Watchdog Contact . . . . . . . . . . . . . . . . 7-5
Using the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
STATUS indicator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
BATT indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
COM1, COM2 indicators. . . . . . . . . . . . . . . . . . . . . . . . 7-7
LED 1, LED 2, LED 3, LED 4 indicators . . . . . . . . . . . . . 7-7
Chapter 8
Troubleshooting
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Using the Diagnostics Utility . . . . . . . . . . . . . . . . . . . . . . . 8-1
Appendix A
Specifications
Open Controller CPU Module Specifications. . . . . . . . . . . . A-1
Approved System and Flash Memory Products . . . . . . . . . . A-4
Calculating Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
Estimate minimum input scan time . . . . . . . . . . . . . . . . A-6
Estimate maximum input scan time. . . . . . . . . . . . . . . . A-6
Estimate minimum output scan time . . . . . . . . . . . . . . . A-7
Estimate maximum output scan time. . . . . . . . . . . . . . . A-7
Estimate output scan time plus processor overhead. . . . A-7
Open Controller CPU Module LED Templates . . . . . . . . . . A-8
Appendix B
Loading Windows NT on your
1747-OCF Open Controller
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C
Handling the 1747-BA Battery
Storing the Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Handling the Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Transporting the 1747-BA Battery . . . . . . . . . . . . . . . . . . . C-1
Allen-Bradley HMIs
Publication 1747-UM001A-US-P - March 2000
toc-iv Table of Contents
1747-UM001A-US-P - March 2000
Chapter
1
Introducing the Open Controller
Introducing the Open Controller
CPU Module
The open controller is a PC-based controller that resides in an
Allen-Bradley 1746 chassis. The open controller supports a range of
PC-based operating systems and software packages, including many
popular real-time operating systems (RTOS). There are two versions of the
open controller CPU module (Figure 1.1):
1747-OCE 5x86 class CPU
1747-OCF 266 MHz Pentium® class CPU
Both versions have a 8K-byte shared memory area that provides an
interface to an integrated 1746 local I/O scanner. The open controllers can
address all 1746 I/O and communication modules, including 1747-SN
remote I/O and 1747-SDN DeviceNet™ scanners. You can expand your
open controller system with a variety of PCI-based option modules that add
memory, communications, video display, etc.These option modules work
with either open controller CPU module.
The following table compares the features of the 1747-OCE and 1747-OCF
open controller CPU modules:
1747-OCE 1747-OCF
CPU processor 5x86 100 MHz 266 MHz Pentium®
Local I/O scanner processor 33 MHz AMD 188
System memory
1
(user-supplied)
DRAM (up to 64 Mbytes) SDRAM (up to 128 Mbytes)
512K byte battery-backed SRAM
Flash memory
1
(user-supplied)
1.3” FlashDrive™ (up to 160 Mbytes) Type I or II CompactFlash™ card (up to 192
Mbytes); or Type II 1” microdrive (170 or
340 Mbytes)
Note: The FlashDrive, CompactFlash, or microdrive will appear as an IDE hard drive to the
operating system
BIOS AMI BIOS™ General Software
Communication ports two isolated serial ports, configurable up to
115.2K bit/s:
COM1 - RS-232
COM2 - RS-232/422/485
one enhanced parallel port
same as 1747-OCE, plus:
Universal Serial Bus (USB) port
Connectors miniature PS/2 style DIN connector -
keyboard
two miniature PS/2 style DIN connectors -
keyboard and mouse
1 Refer to "Approved System and Flash Memory Products" on page A-4
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
1-2 Introducing the Open Controller
Figure 1.1
Front panel of a 1747-OCF and 1747-OCE series open controller CPU module
The open controller can address any valid 1746 chassis configuration. You
can interconnect as many as 3 chassis (for a maximum of 30 slots) to create
an expanded, local-chassis system for one open controller. Figure 1.2 shows
how to interconnect chassis.
Figure 1.2
Interconnecting 1746 chassis to create an expanded, local chassis
STATUS
BATT
COM 1
LED 1
LED 2
LED 3
LED 4
COM 2
OC 586 CPU
STATUS
BATT
COM 1
LED 1
LED 2
LED 3
LED 4
COM 2
OC 266 PENTIUM CPU
user-definable LEDs
3-position user-definable switch
serial port COM1
parallel port
1747-BA
lithium battery
keyboard port
reset switch
serial port COM2
reset switch
keyboard port
watchdog
timeout contact
mouse port
parallel port
USB port
status LEDs
1747-OCF 1747-OCE series
There is also a 2-position user-definable
jumper on the SCANNER circuit board on
both open controllers
The 1747-OCF
uses a coin-type
rechargeable
lithium vanadium
battery (enabled
by a jumper)
Use one of these interconnect cables:
1746-C7 to link chassis side by side
1746-C9 to link one chassis below the other
1746-C7
1746-C9
1747-UM001A-US-P - March 2000
Introducing the Open Controller 1-3
Understanding the Open
Controller Architecture
The architecture is basically the same for both open controllers. The
architecture consists of two CPUs (SCANNER and CONTROLLER) that
share dual-port memory. The SCANNER scans the 1746 local I/O bus and
reads/writes inputs and outputs to/from the dual-port registers. The
CONTROLLER has a PC-based architecture with either a 266 MHz
Pentium class CPU or 5x86 class CPU to run your application.
The dual port is an 8K byte memory partition that provides an interface
between the integrated SCANNER and your application software that
resides on the CONTROLLER. The 1747-OCE open controller uses an ISA
bus interface between the dual-port memory and the CONTROLLER. On
the 1747-OCF open controller, the dual-port memory and CONTROLLER
communicate across a PCI bus.
to 1746 PCI bus
dual-port memory
SCANNER
CONTROLLER (PC-based architecture)
188
CPU
bus
memory
SCANNER
software
to 1746
local I/O bus
266 MHz
Pentium
or 5x86
CPU
disk
bus
memory
BIOS
OS
application
software
open controller
CPU module
Partition: Bytes:
register 1K
commands variable
responses variable
output image variable
input image variable
host data variable
PCI bus (1747-OCF)
ISA bus (1747-OCE)
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
1-4 Introducing the Open Controller
Your application (the code you develop) uses the dual-port memory to
communicate with the SCANNER and to handle control functions on the
1746 backplane, such as:
SCANNER commands and responses
battery and SCANNER status
scan rate frequency and timing
I/O image counters
priority messages and interrupts
semaphores to ensure data integrity
software-generated watchdogs
control of the four user-definable LEDs, the 3-position switch, and the
2-position jumper
The SCANNER functionality of the dual port supports I/O control
functions, such as:
synchronizing scans to the application
forcing I/O
discrete-input interrupts
I/O module-driven interrupts (such as for the 1746-BAS module)
I/O slot enables and disables
I/O resets
In addition to providing access to the control SCANNER, the dual-port
memory also provides non-volatile storage for:
I/O values
application parameters (timers, counters, presets)
1747-UM001A-US-P - March 2000
Introducing the Open Controller 1-5
Communicating with the Open
Controller
Your CONTROLLER application software communicates with the
SCANNER to control I/O by reading and writing to the dual-port registers.
Your application can access the dual-port registers using:
the function calls in the open controller API (application program
interface) to access dual-port registers
Choose 1747-OCAPID for DOS or 1747-OCAPINT for Windows NT
a software package, such as SoftLogix 5 or Controlware, that have
built-in drivers that access the open controller dual-port registers
the drivers you develop
The dual-port documentation is available through the A-B technology
licensing program. For more information, contact Rockwell Automation
Technical Services.
Using the API software
The APIs (1747-OCAPID for DOS and 1747-OCAPINT for Windows NT)
provide libraries of C function calls for interfacing with the open controller
dual-port memory. Each library provides calls for typical control functions,
such as:
configure I/O files
initialize the SCANNER
define user LEDs, 3-position switch, 2-position jumper, and external
watchdog
read CONTROLLER status
read/write input/output data
enable/disable forces
The APIs support Microsoft and Borland C compilers in the DOS and
Windows NT environments. The DOS API is compiled as a 16-bit
MS-DOS library using the 80386 instruction set. The Windows NT API is a
standard 32-bit DLL.
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
1-6 Introducing the Open Controller
Compatibility Issues
The 1747-OCE and 1747-OCF are compatible with Allen-Bradley 1746
chassis, I/O and power supplies, as well as existing open controller optional
modules and application code, except as noted in this section.
This section describes the major functional differences between the
1747-OCE and the 1747-OCF. The main focus is on differences that may
affect software developers, primarily as it relates to accessing the local I/O
scanner.
Open controller PCI-based option modules
All open controller option modules are compatible with the 1747-OCE and
the 1747-OCF, expect as noted in the following table:
Resource allocation
The open controller CPU interfaces with the local I/O scanner through an
8K byte dual port RAM and an interrupt request line. The most significant
difference between the two open controllers is how these resources are
mapped into the system.
On the 1747-OCE, the local I/O scanner interface is ISA-bus based which
requires you to configure the memory window and interrupt through
software.
The 1747-OCF scanner uses the PCI bus. The memory window and
interrupt are allocated by the system BIOS at system startup.
This revision level Of this option module
Is compatible with
this open controller
ALL rev. levels A-B Communications Module
cat. no. 1747-OCKTX/D
1747-OCE
Rev. D01 and above only A-B Communications Module
cat. no. 1747-OCKTX/D
1747-OCF
1747-UM001A-US-P - March 2000
Introducing the Open Controller 1-7
DOS API considerations
An application using the open controller DOS API on the 1747-OCE must
select an unused 8K byte memory window address and interrupt line for the
local I/O scanner. These values are passed to the API in the
OC_OpenScanner function call. For example, the following statement
would configure the memory window at C800:0000H, and select interrupt
request 11:
OC_OpenScanner(&Handle, 0xC800, 11)
When running on the 1747-OCF, the memory window and interrupt
parameters are ignored. The OC_OpenScanner function will first search the
PCI bus for the local I/O scanner, and the values that were allocated by the
BIOS are used. This allows you to use the same code for both open
controllers since any parameters entered for the 1747-OCE will simply be
ignored if you are using a 1747-OCF.
The open controller DOS API version 1.04 has been modified to support the
1747-OCF. The DOS API is a static library; therefore, any applications
developed with earlier versions (1.03 and earlier) of the DOS API will have
to be re-linked with the updated API in order to be used with the 1747-OCF.
Contact Rockwell Automation Technical Services for information about
updating your API software.
Windows NT API considerations
The open controller Windows NT API consists of two components:
a device driver
a DLL
The device driver is responsible for allocating the dual port register (DPR)
memory window and interrupt. The device driver searches the PCI bus for
the 1747-OCF scanner and uses the resources allocated by the BIOS.
The NT API functions are contained within a DLL. It is not necessary to
make any changes to or re-link existing 1747-OCE applications that will be
used on the 1747-OCF, unless unsupported API functions are used (see
Summary of API Differences later in this chapter). All that is required is
that the new device driver and DLL be installed (version 1.03 or later of the
NT API). Contact Rockwell Automation Technical Services for information
about updating your API software.
Allen-Bradley HMIs
1747-UM001A-US-P - March 2000
1-8 Introducing the Open Controller
Software not using the APIs
Software that does not use the open controller APIs must be modified to
find the 1747-OCF scanner and retrieve the assigned resources. Sample
code that performs this function is available upon request from Rockwell
Automation Technical Services.
Hardware differences
The following features of the 1747-OCE are either not present on the
1747-OCF, or are implemented differently.
Battery backup of dual-port memory
The dual-port memory is battery backed on the 1747-OCE. It is not battery
backed on the 1747-OCF.
Scanner reset
The controller CPU has the ability to reset the local I/O scanner. This
function is implemented differently in hardware on the 1747-OCF than on
the 1747-OCE. The difference is transparent to users of the DOS or NT
APIs. Software not using the APIs (or NT device driver) must be modified.
Sample code which performs this function is available upon request from
Rockwell Automation Technical Services.
Real-time clock SRAM
The 1747-OCE includes 4K bytes of static RAM within the real-time clock.
This SRAM is not available on the 1747-OCF.
The following API functions will return an error if used with the 1747-OCF:
OC_ReadRtcSRAM
OC_WriteRtcSRAM
Static RAM
The 1747-OCF includes 512K bytes of battery-backed static RAM. This
SRAM is not available on the 1747-OCE.
The following NT API functions are available for the 1747-OCF only, and
will return an error if used with the 1747-OCE:
Important:You must write the output image data into the dual-port register
before changing your open controller to scan mode. We
recommend that you do this for both the 1747-OCE and the
1747-OCF
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126

Allen-Bradley 1747-OC Series User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI