Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 193

Advertising
background image

API Library of Routines

Appendix B

DTL_PUT_3BCD

B-62

BASIC Example

The BASIC function code is 14.

procedure COPRO

DIM status : INTEGER

DIM bcd_buff(2) : BYTE

DIM bcd_val : INTEGER

.

.

.

rem * DTL_PUT_3BCD

RUN AB_BAS (14, 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_4BCD();

Advertising