PEP Modular Computers Modular Computers RS485 User Manual page 224

8 channel ac input unit micro plcs and real-time computers
Table of Contents

Advertisement

SMART I/O User's Manual
5.3.8.2 SMADCInit
Syntax
error_code SMADCInit(u_int8 PortNr);
Description
This function initializes the SM-THERM Module on port PortNr, and:
- identifies boards supported by this library
- provides an internal list of known sensors (contact PEP Modular
Computers for advice on sensors not included in this list)
- creates or links the data module for communication with HW task (the
module name is 'ADC_Data')
- starts the task accessing the Hardware (HW task)
- prepares parameters depending on the used SM-THERM module.
Input
u_int8 PortNr
Output
error_code
Example
RetVal = SMADCInit(0);
Page 5 - 68
Port number of module to initialize
(from 0 to 10)
SUCCESS
If wrong type of module or no
E_MNF
module is fitted on the selected port
E_PRCABT If starting of the HW task failed
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 5 Analog Modules
March 12, 1996

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Modular Computers RS485 and is the answer not in the manual?

This manual is also suitable for:

Modular computers rs232Smart i/o

Table of Contents