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
Output
error_code
Example
RetVal = SMDIN1Init(0);
March 12, 1996
SM-Port number to initialise
(from 0 to 10)
SUCCESS
If the module is unknown
E_BMODE
or standard OS-9 error code (refer to the OS-9 Technical
Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
4
Page 4 - 13
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?