EasyManua.ls Logo

PEP Modular Computers Modular Computers RS485 - Page 101

Default Icon
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 4 - 13
4
Chapter 4 Digital Modules
4.1.8.2 SMDIN1Init
Syntax
error_code SMDIN1Init(u_int8 PortNr);
Description
This function initialises the SM-DIN1 Module on port PortNr by allocating
space in memory for resources and resetting all inputs.
Input
u_int8 PortNr
SM-Port number to initialise
(from 0 to 10)
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 = SMDIN1Init(0);

Table of Contents