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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 137

Appendix B

B-7
BASIC Example
The BASIC function code is 34.
Important: For BASIC, the data type for the
inbuff and trgmask
parameters is INTEGER. There is no byte-type constant; therefore,
byte-type variables must be used to pass the byte-type information.
DIM status,timeout,inbuff(32),trgmask : INTEGER
DIM size : BYTE
.
.
.
timeout=4
trgmask=4
size=6
.
.
RUN AB_BAS(34,status,size,ADDR(inbuff(1)),timeout,trgmask)
.
.
.
References
BPI_WRITE();
Przeglądanie stron 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag