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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 255
$++2)!).-$( ,
Appendix B

B-125
Reads data from a users TAG memory area.
C Syntax
#include <copro.h>
unsigned TAG_READ (tag,offset,size,buffer,timeout)
unsigned tag;
or
char *tag
unsigned offset;
unsigned size;
unsigned *buffer;
unsigned timeout;
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.
offset
A byte offset from the start of the tagged area from which data will
be read.
size
Specifies the number of bytes to read from the tagged area.
buffer
Specifies the buffer to copy the data read from the tagged area.
timeout
Timeout value in seconds (valid range 0-16383). The function will
timeout unless the TAG can be read before the timeout expires. The
TAG may not be able to be read if another process has the TAG locked.
A value of CC_FOREVER (defined in COPRO.H) will cause this
function to wait indefinitely until the TAG can be read.
Returns
Value Symbolic Name Meaning
 * +-$)( ,. ,,!.&
    !$(  ).- )! +("
  - $- ' $, "+ - + -#( '1$'.' &&)0 
  (/&$ -$' ).- /&.
  $ ()- )'*& - $( -$'   &)% 
   ()- !).(
TAG_READ
Przeglądanie stron 255
1 2 ... 251 252 253 254 255 256 257 258 259 260 261 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag