Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manual de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 113 114

Comentarios a estos manuales

Sin comentarios