Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 187

Advertising
background image

API Library of Routines

Appendix B

DTL_INIT

B-56

C Example

unsigned status;

status = DTL_INIT (100); /*creates room for 100

DTL data definitions*/

BASIC Example

The BASIC function code is 1.

procedure COPRO

DIM status : INTEGER

.

.

.

rem * DTL_INIT - Initialize DTL for 100 definitions

RUN AB_BAS (1,status,100)

.

.

.

References

DTL_C_DEFINE();

Advertising