Pepper-computer Modular Computers RS485 Manuale Utente Pagina 314

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 320
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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);
Vedere la pagina 313

Commenti su questo manuale

Nessun commento