Tag_def_avail – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 246

Advertising
background image

API Library of Routines

Appendix B

TAG_DEF_AVAIL

B-115

Returns the number of TAG definitions available in the TAG table.

C Syntax

#include <copro.h>

unsigned TAG_DEF_AVAIL ( )

Parameters

Returns

Value

Meaning

xx

The number of TAG definitions available in the TAG table

Description

Use TAG_DEF_AVAIL to determine the number of TAG definitions
available in the system’s TAG table. The function calculates the difference
between the number of entries defined in the online utility and the number
of successful TAG definitions made using TAG_DEFINE.

C Example

unsigned avail_val;

avail_val = TAG_DEF_AVAIL ( );

BASIC Example

The BASIC function code is 63.

References

TAG_DEFINE(); TAG_UNDEF(); TAG_LINK();
TAG_GLOBAL_UNDEF();

TAG_DEF_AVAIL

Advertising