Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 179

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 178
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 5 - 23
5
Chapter 5 Analog Modules
5.1.8.8 SMDAD1SetLed
Syntax
error_code SMDAD1SetLed(u_int8 PortNr, u_int8 LedNr);
Description
This function switches on one of the two LEDs fitted to the SM-DAD1.
Input
u_int8 PortNr
SM-Port number to be accessed
u_int8 LedNr
Number of the LED to switch on (1-2)
Output
error_code SUCCESS
E_SEEK
if module was not initialized
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 = SMDAD1SetLed(0, 2);
Seitenansicht 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare