Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 133

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 132
SMART I/O Users ManualChapter 4 Digital Modules
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 4 - 45
4
4.3.8.8 SMREL1SetLed
Syntax
error_code SMREL1SetLed(u_int8 PortNr,
u_int8 *buffer);
Description
This function sets the status of the User LED on the port PortNr with the
contents of the buffer. If a bit is set to 0 then the LED is OFF otherwise it is
ON.
Input
u_int8 PortNr
SM-Port number to write data
u_int8 *buffer
Pointer to buffer where data is stored
Output
error_code SUCCESS
E_BMODE
if the module is unknown
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMREL1SetLed(0, buffer);
Seitenansicht 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare