Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 232

Advertising
background image

API Library of Routines

Appendix B

MSG_TST_MASK

B-101

BASIC Example

The BASIC function code is 46.

DIM status : INTEGER

DIM msg_w_mask : INTEGER

.

.

.

rem * MSG_TST_MASK - test bit in msg_w_mask for message 1

RUN AB_BAS (46,status,ADDR(msg_w_mask),1)

.

.

.

References

MSG_READ_HANDLER(); MSG_WRITE_HANDLER();
MSG_WAIT(); MSG_SET_MASK(); MSG_CLR_MASK();
MSG_ZERO_MASK();

Advertising