Application program interface libraryof functions – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 132

Advertising
background image

Appendix

B

B-1

Application Program Interface

Libraryof Functions

This appendix provides information on the Application Program Interface
(API) library of functions. For each function available, you are given the
following:

C

syntax

parameters
returns
description
C

example

BASIC

example

references

API is a library of functions and executable commands. The following are
the functions and commands available in the API library.

API Function Definition

BPI

ControlĆcoprocessor commands that access the dataĆtable memory of a

programmable controller through the backplane interface (BPI)

CC

ControlĆcoprocessor utility commands that handle functions such as trap

initialization, error handling, ASCII displays, etc.

DTL

DataĆtable library (DTL) commands that access the dataĆtable memory of a

programmable controller that is directly connected (directĆconnect mode) to the

control coprocessor

MSG

ControlĆcoprocessor message (MSG) commands that handle unsolicited

Message Instructions from a programmable controller ladderĆlogic program

(directĆconnect mode)

TAG

ControlĆcoprocessor commands (TAG) that provide access to the

controlĆcoprocessor memory for external devices that are connected via the serial

interface(s); ControlView

R

is an example of such a device that would require

access to controlĆcoprocessor memory; TAG also provides access to

controlĆcoprocessor memory between OSĆ9 program modules

See Chapter 5, “Planning Programs for the Control Coprocessor”, for
information on how to use these API functions in your C, assembler, and
BASIC programs.

Appendix Objectives

What Is the Application

Program Interface

Advertising