Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual de usuario Pagina 247

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 311 312

Comentarios a estos manuales

Sin comentarios