Smart i/o user’s manual, Chapter 5 analog modules, 4 sm-adc1 -89 – Pepper Computer Modular Computers RS485 User Manual

Page 160

Advertising
background image

SMART I/O User’s Manual

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 5 - 4

Chapter 5 Analog Modules

5.3.8.5 SMADCSetSensorType ............................................................ 5-71

5.3.8.6 SMADCGetSensorType ........................................................... 5-72

5.3.8.7 SMADCSetPrecision ................................................................ 5-73

5.3.8.8 SMADCGetPrecision ............................................................... 5-74

5.3.8.9 SMADCSetMode ..................................................................... 5-75

5.3.8.10 SMADCGetMode ................................................................... 5-76

5.3.8.11 SMADCSetSignal ................................................................... 5-77

5.3.8.12 SMADCSetGain ..................................................................... 5-78

5.3.8.13 SMADCGetGain .................................................................... 5-79

5.3.8.14 SMADCEnableRead............................................................... 5-80

5.3.8.15 SMADCEnableConversion .................................................... 5-81

5.3.8.16 SMADCReadRaw .................................................................. 5-82

5.3.8.17 SMADCReadConverted ......................................................... 5-83

5.3.8.18 SMADCDeinit ........................................................................ 5-84

5.3.9 ISaGRAF Programming .................................................................... 5-85

5.3.9.1 The ISaGRAF Board Parameters ............................................. 5-85

5.3.9.2 The ISaGRAF Operate Calls .................................................... 5-86

5.4 SM-ADC1 ............................................................................ 5-89

5.4.1 Introduction ....................................................................................... 5-89

5.4.2 Specifications .................................................................................... 5-89

5.4.3 Front Panel Layout ............................................................................ 5-90

5.4.4 Board Overview ................................................................................ 5-90

5.4.5 Functional Description ...................................................................... 5-91

5.4.5.1 Input Circuitry ................................................................................ 5-91

5.4.6 Configuration .................................................................................... 5-92

5.4.7 Pinouts ............................................................................................... 5-92

5.4.8 ‘C’ Programming............................................................................... 5-94

5.4.8.1 SM-ADC1 Library.................................................................... 5-94

5.4.8.2 SMADC1Init ............................................................................ 5-95

5.4.8.3 SMADC1GetVRaw .................................................................. 5-96

5.4.8.4 SMADC1GetV ......................................................................... 5-97

5.4.8.5 SMADC1SetLed....................................................................... 5-98

5.4.8.6 SMADC1ClrLed....................................................................... 5-99

5.4.8.7 SMADC1DeInit...................................................................... 5-100

5.4.9 ISaGRAF Programming .................................................................. 5-101

5.4.9.1 The ISaGRAF Board Parameters ........................................... 5-101

Advertising
This manual is related to the following products: