Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 210

Advertising
background image

API Library of Routines

Appendix B

DTL_TYPE

B-79

C Example

unsigned status;

int counter_id;

int data_type;

.

.

.

status = DTL_TYPE (counter_id, &data_type);

.

.

.

BASIC Example

The BASIC function code is 17.

procedure COPRO

DIM status : INTEGER

DIM n7_name : INTEGER

DIM dtltype : INTEGER

.

.

.

rem * DTL_TYPE

RUN AB_BAS (17, status, n7_name, ADDR(dtltype))

.

.

.

References

DTL_C_DEFINE();

Advertising