Pepper-computer Modular Computers RS485 Instrukcja Użytkownika Strona 314

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 320
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 313
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 6- 32
Chapter 6 Communications Modules
6.2.12.4 SMSSISetSetPoint
Syntax
error_code SMSSISetSetPoint(u_int8 PortNr,
u_int32 Setpoint);
Description
This function copies the setpoint to an internal register which will only be
sent to the SM-SSI when the function SMSSISetCtrlReg() is called. This
function is used to set the preset value for the comparator if testing for a
match.
Input
u_int8 PortNr Number of the SM port to set
u_int32 Setpoint Value of the comparator register
(0x0 -> 0xFFFFFF) 24-bit
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 = SMSSISetSetPoint(0, 0xFF00FF);
Przeglądanie stron 313

Komentarze do niniejszej Instrukcji

Brak uwag