Pepper Computer RS232 Network Card User Manual


 
SMART I/O User’s Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 5 - 3
5
Chapter 5 Analog Modules
5.2.7 Pinouts ............................................................................................... 5-33
5.2.8 ‘C’ Programming ...............................................................................5-35
5.2.8.1 SM-PT100 Library ................................................................... 5-35
5.2.8.2 SMADCInit .............................................................................. 5-39
5.2.8.3 SMADCCalibrate .....................................................................5-40
5.2.8.4 SMADCSetCyclicCalib............................................................ 5-41
5.2.8.5 SMADCSetSensorType ............................................................5-42
5.2.8.6 SMADCGetSensorType ...........................................................5-43
5.2.8.7 SMADCSetPrecision ................................................................5-44
5.2.8.8 SMADCGetPrecision ...............................................................5-45
5.2.8.9 SMADCSetMode .....................................................................5-46
5.2.8.10 SMADCGetMode ...................................................................5-47
5.2.8.11 SMADCSetSignal................................................................... 5-48
5.2.8.12 SMADCSetGain .....................................................................5-49
5.2.8.13 SMADCGetGain .................................................................... 5-50
5.2.8.14 SMADCEnableRead...............................................................5-51
5.2.8.15 SMADCEnableConversion .................................................... 5-52
5.2.8.16 SMADCReadRaw .................................................................. 5-53
5.2.8.17 SMADCReadConverted .........................................................5-54
5.2.8.18 SMADCDeinit ........................................................................5-55
5.2.9 ISaGRAF Programming .................................................................... 5-56
5.2.9.1 The ISaGRAF Board Parameters .............................................5-56
5.2.9.2 The ISaGRAF Operate Calls .................................................... 5-57
5.3 SM-THERM ........................................................................ 5-59
5.3.1 Introduction .......................................................................................5-59
5.3.2 Specifications ....................................................................................5-59
5.3.3 Front Panel Layout ............................................................................5-60
5.3.4 Board Overview ................................................................................ 5-60
5.3.5 Functional Description ...................................................................... 5-61
5.3.6 Configuration ....................................................................................5-62
5.3.7 Pinouts ............................................................................................... 5-62
5.3.8 ‘C’ Programming ...............................................................................5-64
5.3.8.1 SM-THERM Library ................................................................5-64
5.3.8.2 SMADCInit .............................................................................. 5-68
5.3.8.3 SMADCCalibrate .....................................................................5-69
5.3.8.4 SMADCSetCyclicCalib............................................................ 5-70