Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 153

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 152
Digital Modules
08 Jan. 98
SMART I/O User’s Manual
Page 4 - 67Manual ID 09901, Rev. Index 0500
Example
RetVal = SMACI1DeInit(0);
4.4.8.4 SMACI1Get
Syntax
error_code SMACI1Get(u_int8 PortNr, u_int8
*buffer);
Description
This function fetches the status of ALL 8 input lines of the port
PortNr and writes it to the address pointed to by buffer with bit 0
of the buffer representing input 0 of the module.
Input
u_int8 PortNr
SM-Port number to fetch data.
u_int8 *buffer
Pointer to buffer where data is to be stored.
Output
error_code SUCCESS
or OS-9 error code (refer to the OS-9 Technical Manual Error
Codes Section).
Example
RetVal = SMACI1Get(0, buffer);
Seitenansicht 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare