
!
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
Comentarios a estos manuales