EasyManua.ls Logo

PEP Modular Computers Modular Computers RS485 - Smadcinit

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 5 - 67
5
Chapter 5 Analog Modules
Figure 5.3.8.1. illustrates a typical programming structure for the correct
operation of an SM-THERM SMART-Module.
Figure 5.3.8.1 SM-THERM Programming Flow Diagram
SMADCSetCyclicCalib()
(for a channel)
Sleep(0)
SMADCReadConverted()
(for a channel)
Finished
SMADCDeinit()
END
START
SMADCInit()
Install Signal Handler
- OS-Intercept
SMADCSetSensorType()
(for a channel)
SMADCEnableRead()
(for a channel)
SMADCEnableConversion()
(for a channel)
SMADCSetSignal()
(for a channel)
Ye s
No

Table of Contents