
Chapter 5
) #$"%#%!&
5-11
Important: For the 1771-DMC1 and -DMC4 modules, the default size
allows you to create 1024 TAGs; the -DMC module default size is zero.
Use the following sections to select the appropriate TAG function for your
application. See Appendix B, Application Program Interface Routines, for
the following information on these TAG functions: description, required
parameters, condition values, and a C program example.
TAGĆTable Configuration Functions
Use these TAG configuration functions to establish a TAG table for TAG
functions:
Table 5.I
TAGĆTable Configuration Functions
Function What It Does
& "! "'%+ "'# ' '
!#)& "! #% "!& %#! ' '
'%!"& ' "(!% # "'#"& ) " ' '
!#)& #% & %#! ' ' " + "+ $%#&&
'& " #&' #% ' "'%+
Read and Write Functions
Use these TAG functions to read and write to coprocessor memory:
Table 5.J
TAG Read and Write Functions
Function What It Does
& ' %#! ' !!#%+ %
& ' %#! ' !!#%+ % '% ' ' & " *%''" +
%'& ' '# ' !!#%+ %
%'& ' '# ' !!#%+ % %'(%"& #" + '% ' ' & " % +
Lock/Unlock Functions
Use the TAG_LOCK and TAG_UNLOCK functions as a pair in your
program. The TAG_LOCK function protects against concurrent access to
the tagged area of control-coprocessor memory. The TAG_UNLOCK
function is an unlock to the TAG locked by the TAG_LOCK function.
Important: Failure to use a TAG_UNLOCK function to complement a
TAG_LOCK function in a program may cause the system to hang-up.
Komentarze do niniejszej Instrukcji