Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 195

Advertising
background image

API Library of Routines

Appendix B

DTL_PUT_4BCD

B-64

BASIC Example

The BASIC function code is 15.

procedure COPRO

DIM status : INTEGER

DIM bcd_buff(2) : BYTE

DIM bcd_val : INTEGER

.

.

.

rem * DTL_PUT_4BCD

RUN AB_BAS (15, status, bcd_val, ADDR(bcd_buff(1)))

.

.

.

References

DTL_GET_WORD(); DTL_GET_FLT();
DTL_GET_3BCD(); DTL_GET_4BCD();
DTL_PUT_WORD(); DTL_PUT_FLT();
DTL_PUT_3BCD();

Advertising