Tag_global_undef – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 250
Advertising
![background image](/manuals/579606/250/background.png)
API Library of Routines
Appendix B
TAG_GLOBAL_UNDEF
B-119
Removes a TAG or TAGs from the TAG table defined by any
calling process.
C Syntax
#include <copro.h>
unsigned TAG_GLOBAL_UNDEF (tag)
unsigned tag;
or
char *tag;
Parameters
tag
Use to access the TAG table. This can be either the symbolic TAG or
the handle returned from a TAG_LINK or TAG_DEFINE call. A value
of CC_ALLTAGS (defined in COPRO.H) will remove all TAGs defined
in the TAG table.
Returns
Value
Symbolic Name
Meaning
0
CC_SUCCESS
Operation successful
120
CC_E_BADID
TAG define ID out of range
176
CC_E_NOTAG
TAG not found
Description
Use the TAG_UNDEF function to remove a TAG or TAGs from the
TAG table.
C Example
unsigned status;
status = TAG_GLOBAL_UNDEF (“Fred”);
TAG_GLOBAL_UNDEF
Advertising