Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 317

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 316
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHOctober 01, 1996 Page 6 - 35
6
Chapter 6 Communications Modules
6.2.12.7 SMSSIGetData
Syntax
error_code SMSSIGetData(u_int8 PortNr,
u_int32 *pData);
Description
This function returns the absolute position data from the SM-SSI. If auto-
matic mode is selected then a wait will not be performed otherwise SOT will
be set and the read performed only when TC has been set.
Input
u_int8 PortNr SM-Port number to get data
u_int32 *pData Pointer to the value returned from the data
register (0x0 -> FFFFFF)
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 = SMSSIGetData(0, &pData);
Seitenansicht 316
1 2 ... 312 313 314 315 316 317 318 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare