Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Instrukcja Użytkownika Strona 57

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 114
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 56
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library 2-17
long SerialPutString(const char *string);
Puts a character string into the ASCII transmit buffer.
Returns 0 if successful, or -1 on an error.
Serial Status
long SerialClearToSend(void);
Returns non-zero if space is available in ASCII transmit buffer.
long SerialDataReady(void);
Returns non-zero if data is available in ASCII receive buffer.
long SerialReceiverFull(void);
Returns non-zero if ASCII receive buffer is full.
long SerialTransmitterEmpty(void);
Returns non-zero if ASCII transmit buffer is empty.
Timer Services
long TimerAccumulated(long channel);
Returns the time accumulated by the specified timer channel.
Accumulated time is in milliseconds. Valid channel arguments are 1 -
8.
long TimerEnable(long channel, long preset);
initializes the specified timer with the specified preset. Preset is in
milliseconds. Valid channel arguments are 1 - 8.
Returns 0 if successful, or -1 on an error.
Przeglądanie stron 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 113 114

Komentarze do niniejszej Instrukcji

Brak uwag