Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 145

Advertising
background image

API Library of Routines

Appendix B

CC_DISPLAY_EHEX

B-14

C Example

unsigned status;.

.

.

status = CC_DISPLAY_EHEX (0x301F);

.

.

.

BASIC Example

The BASIC function code is 105.

DIM status : INTEGER

DIM data : INTEGER

.

.

.

rem * CC_DISPLAY_EHEX - Display data to the expander as 4

rem * hexadecimal characters

RUN AB_BAS (105,status,data)

.

.

.

References

CC_ERROR(); CC_ERRSTR();

Advertising