Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual de usuario Pagina 208

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 207

Appendix B

B-77
C Example
unsigned status;
unsigned size;
unsigned integer_file;
short *integer_data;
.
.
.
status = DTL_SIZE (integer_file, &size);
if (status != DTL_SUCCESS) return (status);
integer_data = (short *) malloc (size);
.
.
.
BASIC Example
The BASIC function code is 16.
procedure COPRO
DIM status : INTEGER
DIM n7_name : INTEGER
DIM dtlsize : INTEGER
.
.
.
rem * DTL_SIZE
RUN AB_BAS (16, status, n7_name, ADDR(dtlsize))
.
.
.
References
DTL_C_DEFINE();
Vista de pagina 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 311 312

Comentarios a estos manuales

Sin comentarios