Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Instrukcja Użytkownika Strona 247

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 246
$$(""'&!%
Appendix B

B-116
Adds an entry to the control-coprocessor TAG table.
C Syntax
#include <copro.h>
unsigned TAG_DEFINE (name_id,tag_addr,
tag_name,tag_size,access)
unsigned *name_id;
unsigned tag_addr;
unsigned char *tag_name;
unsigned tag_size;
unsigned char access;
Parameters
name_id
Name_id is used to return a handle assigned by the TAG library to the
TAG name.
tag_addr
Pointer to the start of the users tagged area.
tag_name
Specifies the name of the users TAG. This is a null-terminated
ASCII string of up to 9 characters. The TAG name can contain the
following characters: A-Z, a-z, 0-9, and _. The first character
must be alphabetic.
tag_size
Specifies the number of consecutive bytes starting at the tag_addr to be
included in the tagged area. This number must be 240.
access
Specifies either READ or READ/WRITE access to the tagged area by
other processes. Possible values are:
Value
Symbolic Name
Access
 !( & #$"%% && $& &  ! "( &
"&$ #$"%%% ! "!(  & 
 !( #$"%% !  "$ "( & 
% %( "% $ ! 
TAG_DEFINE
Przeglądanie stron 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag