C' Programming; Sm-Therm Library; Hardware Requirements - PEP Modular Computers Modular Computers RS485 User Manual

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

Advertisement

SMART I/O User's Manual

5.3.8 'C' Programming

5.3.8.1 SM-THERM Library

The SM-THERM library of functions smartio.l provide a convenient way of
accessing the SM-THERM module.
• All functions are written in ANSI C;
• Prototypes are to be found in the file adclib.h.

Hardware Requirements

• SMART I/O Base Module or Base Module and Extension unit;
• SM-THERM Module.
Software Requirements
The compiler from one of the following:
• Ultra C Version 1.1.2 or higher;
• FasTrak version 2.0.2 or higher.
The leftmost SM-Module has number 0 assigned to it a far as programming
is concerned although physically this is slot 1!
Before a library function can be used, the function SMADCInit must first be
called. This allocates the requested resources. Furthermore, this function
needs to be called for each SM-THERM module called within the task. Upon
completion of the application, the function SMADCDeInit needs to be called
for each SM-THERM module that has been initialized.
In order to illustrate the use of the SM-THERM library, an application
example called demoadc.c can be found in the SMART I/O application
directory (normally found in /<device>/APPLIC/SMART/CMDS).
Page 5 - 64
©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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Modular computers rs232Smart i/o

Table of Contents