Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 113

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 112
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 4 - 25
4
Chapter 4 Digital Modules
Note
If the same SM-DOUT1 Module is to be accessed from different tasks,
the user must make sure that the actual output status is ensured by using
for example, semaphores within OS-9.
4.2.8.2 SMDOUT1Init
Syntax
error_code SMDOUT1Init(u_int8 PortNr);
Description
This function initializes the SM-DOUT1 Module on port PortNr and sets all
output lines to OFF.
Input
u_int8 PortNr
SM-Port number to initialize
(from 0 to 10)
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 = SMDOUT1Init(0);
Seitenansicht 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare