Smadc1Init - PEP Modular Computers Modular Computers RS485 User Manual

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

Advertisement

Chapter 5 Analog Modules

5.4.8.2 SMADC1Init

Syntax
error_code SMADC1Init(u_int8 PortNr);
Description
This function initialises the SM-ADC1 Module on port PortNr, and:
- tests the module's ID
- test the module's sub-ID for the determination of bipolar or unipolar
operation (voltage/current input)
- reads the conversion table held in EEPROM
- allocates space for the fetched resources
Input
u_int8 PortNr
Output
error_code
Example
RetVal = SMADC1Init(0);
October 01, 1996
Port number of module to initialise
(from 0 to 10)
SUCCESS or
E_BMODE
E_MEMFUL
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
if wrong or no module
if no memory resources available
5
Page 5 - 95

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Modular computers rs232Smart i/o

Table of Contents