
##(!!&% $
Appendix B
B-98
Sets the bit associated with the specified message number.
C Syntax
#include <copro.h>
unsigned MSG_SET_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 set the bit corresponding to the message number.
msg_num
Number of the PLC-5 programmable-controller message (0-31).
Returns
Status Symbolic Name Meaning
"#%! $&$$&
$$ &# '
Description
Use the MSG_SET_MASK function to set 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_SET_MASK
Komentarze do niniejszej Instrukcji