Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 173
Advertising
![background image](/manuals/579606/173/background.png)
API Library of Routines
Appendix B
DTL_C_DEFINE
B-42
BASIC Example
The BASIC function code is 2.
procedure COPRO
DIM status : INTEGER
DIM fred : INTEGER
.
.
.
rem * DTL_C_DEFINE - Define a data element
RUN AB_BAS (2,status,ADDR(fred),“N10:2,10,LONG,MODIFY”)
.
.
.
References
DTL_READ_W(); DTL_WRITE_W(); DTL_INIT();
DTL_RMW_W(); DTL_DEF_AVAIL();
Advertising