Pepper Computer RS485, RS232 user manual End

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 194
Image 194

SMART I/O User’s Manual

Chapter 5 Analog Modules

 

 

 

 

 

 

 

 

 

 

Figure 5.2.8.1. illustrates a typical programming structure for the correct operation of an SM-PT100 SMART-Module.

Figure 5.2.8.1 SM-PT100 Programming Flow Diagram

START

SMADCInit()

Install Signal Handler

- OS-Intercept

SMADCSetSensorType()

(for a channel)

SMADCEnableRead()

(for a channel)

SMADCEnableConversion()

(for a channel)

SMADCSetSignal()

(for a channel)

SMADCSetCyclicCalib()

(for a channel)

Sleep(0)

SMADCReadConverted()

(for a channel)

No

Finished

Yes

SMADCDeinit()

END

 

 

 

 

Page

5 - 38

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 194
Image 194
Pepper Computer RS485, RS232 user manual End