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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 230
! 
Appendix B

B-100
Tests the bit associated with the specified message number.
C Syntax
#include <copro.h>
status = MSG_TST_MASK (mask,msg_num)
unsigned *mask;
unsigned msg_num;
Parameters
mask
Address of the read or write mask used with the MSG_WAIT function.
This function will test the bit corresponding to the message number.
msg_num
Number of the PLC-5 programmable-controller message (0-31).
Returns
Value Meaning
       
             "
Description
Use the MSG_TST_MASK function to test bits in the message
read/write masks.
C Example
See MSG_WAIT on page B-102 for a complete example of asynchronous
message processing.
MSG_TST_MASK
Vista de pagina 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 311 312

Comentarios a estos manuales

Sin comentarios