Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 316

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 315
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 6- 34
Chapter 6 Communications Modules
6.2.12.6 SMSSIGetStatus
Syntax
error_code SMSSIGetStatus(u_int8 PortNr,
u_int8 *pStatus1, u_int8 *pStatus2);
Description
This function reads the status of the module selected on port PortNr.
Input
u_int8 PortNr SM-Port number to get status
u_int8 *pStatus1 Pointer to the value read in the status
register 1 (0x0 -> 0xFF)
u_int8 *pStatus2 Pointer to the value read in the status
register 2 (0x0 -> 0xFF)
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 = SMSSIGetStaus(0, &Status1, &Status2);
Seitenansicht 315
1 2 ... 311 312 313 314 315 316 317 318 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare