Dtl_undef – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 211
Advertising
API Library of Routines
Appendix B
DTL_UNDEF
B-80
Deletes a data definition from the DTL data-definition table.
C Syntax
#include <copro.h>
unsigned DTL_UNDEF (name_id)
unsigned name_id;
Parameters
name_id
DTL_C_DEFINE returns this handle when the data item is defined.
Description
Use the DTL_UNDEF function to delete an entry in the data-
definition table.
Returns
Status
Symbolic Name
Meaning
0
DTL_SUCCESS
Operation successful
19
DTL_E_NOINIT
Definition table not initialized
20
DTL_E_BADID
Definition ID out of range
32
DTL_E_NODEF
No such data item defined
C Example
unsigned status;
unsigned analog;
.
.
.
DTL_C_DEFINE (&analog, . . .)
.
.
.
status = DTL_UNDEF (analog);
DTL_UNDEF
Advertising