beautypg.com

Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 155

background image

API Library of Routines

Appendix B

CC_EXPANDED_STATUS

B-24

BASIC Example

The BASIC function code is 112.

DIM coprostat :INTEGER

DIM extstat(5) :INTEGER

.

.

.

rem * CC_EXPANDED_STATUS - Get current expanded coprocessor

rem * status information

RUN AB_BAS (112,coprostat,ADDR(extstat))

print using “S20<,H8”, “NV Module Memory = ”,extstat(3)

.

.

.

References

CC_STATUS(); utility cc_status