Communicating With The Open Controller; Using The Api Software - Allen-Bradley 1747-OC Series User Manual

Open controllers
Table of Contents

Advertisement

Communicating with the Open
Controller
Allen-Bradley HMIs
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.
Introducing the Open Controller
1747-UM001A-US-P - March 2000
1-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1747-oce1747-ocf

Table of Contents