Pepper-computer Modular Computers RS485 User Manual Page 134

  • Download
  • Add to my manuals
  • Print
  • Page
    / 320
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 133
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 4 - 46
Chapter 4 Digital Modules
4.3.8.9 SMREL1GetExtVcc
Syntax
error_code SMREL1GetExtVcc(u_int8 PortNr,
u_int8 *buffer);
Description
This function gets the input of the port PortNr and writes it to buffer.
If there is no external Vcc, then it returns 0, otherwise it returns 1.
Input
u_int8 PortNr
SM-Port number to get data
u_int8 *buffer
pointer to buffer where data is written
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 = SMREL1GetExtVcc(0, buffer);
Page view 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 319 320

Comments to this Manuals

No comments