Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Instrukcja Użytkownika Strona 208

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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();
Przeglądanie stron 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag