background image

 

I-8026W API User Manual, v1.0.1, June 2015 

Copyright ©  2015 ICP DAS Co., Ltd. All Rights Reserved.                  E-mail: [email protected]

 

1-5

 

Preface 

The I-8026W is a multifunction I/O module that provides 6 Analog Input channels, 2 Analog Output 

channels, 2 Digital Input channels, 2 Digital Output channels.

 

The information contained in this manual is divided into the following topics: 

 

Chapter 1, “Introduction”

 – This chapter provides information related to the hardware, such as 

the specifications, the jumper settings details and wiring guidelines. 

 

Chapter 2, “Quick Start”

 – This chapter provides information on how to get started, including 

an overview of the location of the demo programs, a “Getting Started Guide”, and an outline 
of the calibration process. 

 

Chapter 3, “API Functions” 

– This chapter describes the functions provided in the I-8026W 

library, together with an explanation of the differences in the naming rules used for the 
MiniOS7 and the Windows platforms. 

 

Chapter 4, “Troubleshooting” 

– This chapter provides some troubleshooting techniques should 

you encounter any problems while operating the I-8026W module. 

 

 

 

 

 

 

 

 

Содержание I-8026W

Страница 1: ...User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 I 8026W Linux API reference Manual Multifunction I O Module Version 1 1 0 Jan 2015 Written...

Страница 2: ...erves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its us...

Страница 3: ...API Functions 3 14 3 1 i8026W_Init 3 15 3 2 i8026W_GetFirmwareVer 3 16 3 3 i8026W_GetLibVersion 3 17 3 4 i8026W_ReadAOGainOffset 3 18 3 5 i8026W_WriteAO 3 19 3 6 i8026W_WriteAOHex 3 20 3 7 i8026W_Rea...

Страница 4: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Appendix A Error Codes 4 34...

Страница 5: ...are such as the specifications the jumper settings details and wiring guidelines Chapter 2 Quick Start This chapter provides information on how to get started including an overview of the location of...

Страница 6: ...programmable input range on all Analog Input channels 10 V 5 V 2 5 V 1 25 V and 20 mA while Analog Output channels are 12 bit at either 10 V 5 V 0 to 10 V 0 to 5 V or 0 to 20 mA Each Analog Input chan...

Страница 7: ...mpling Rate Max to 9k Samples sec detailed refer to below table Performance for Read AI Functions Individual Channel Configuration Yes Analog Output Output Channels 2 Output Type 10 V 5 V 0 to 10 V 0...

Страница 8: ...tors Display System LED Indicator 1 LED as Power Communication Indicator I O LED Indicator 4 LEDs as Digital Input Digital Output Isolation Intra module Isolation Field to Logic 2500 VDC EMS Protectio...

Страница 9: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 9 1 2 Pin Assignments...

Страница 10: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 10 1 3 Wire Connections...

Страница 11: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 11 1 4 Internal I O Structure...

Страница 12: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 12 1 5 Dimensions Units mm...

Страница 13: ...ation includes The version number and the FPGA version information The gain and offset values for each input range and each channel The data read from each channel 1 First user need to download LinPAC...

Страница 14: ...d Offset values for each output type i8026W_WriteAO Writes an output value to a single specified Analog Output channel in float format i8026W_WriteAOHex Writes a value to a single specified Analog Out...

Страница 15: ...return values see the Error Codes in Appendix A Note Before executing any functions on the I 8026W the i8026W_Init function needs be called once for each I 8026W module inserted in the controller uni...

Страница 16: ...sion information for the FPGA firmware The function is only used for troubleshooting or recording purposes Prototype short i8026W_GetFirmwareVer int slot Parameters slot specifies the slot number 1 8...

Страница 17: ...n is used to retrieve the version information for the I 8026W The function is only used for troubleshooting or recording purposes Prototype short i8026W_GetLibVersion void Parameters None Return Value...

Страница 18: ...ue short offsetValue Parameters slot specifies the slot number 1 8 ch specifies the Analog Output channel number 0 1 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5 V 3 1 25 V 4 20 mA gainV...

Страница 19: ...t ch short gain float fData Parameters slot specifies the slot number 1 8 ch specifies the Analog Output channel number 0 2 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5 V 3 1 25 V 4 20 m...

Страница 20: ...ex int slot int ch short gain short hData Parameters slot specifies the slot number 1 8 ch specifies the Analog Output channel number 0 2 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5 V 3...

Страница 21: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 21...

Страница 22: ...point Prototype short float i8026W_ReadbackAO int slot int ch float fVal Parameters slot specifies the slot number 1 8 ch specifies the Analog Output channel number 0 2 fVal Output the value read fro...

Страница 23: ...decimal format Prototype short i8026W_ReadbackAOHex int slot int ch short hVal Parameters slot specifies the slot number 1 8 ch specifies the Analog Output channel number 0 2 hVal Output the value rea...

Страница 24: ...he I 8026W module Prototype short i8026W_WriteDO int slot short hData Parameters slot specifies the slot number 1 8 hData the Digital Output value 0 3 as per the table below Output Value CH0 CH1 0 OFF...

Страница 25: ...odule ON or OFF Prototype short i8026W_WriteDOBit int slot int ch int bitStatus Parameters slot specifies the slot number 1 8 ch specifies the Digital Output channel number 0 1 bitVal specifies the st...

Страница 26: ...BitArr unsigned char doBitArr Parameters slot specifies the slot number 1 8 diVal Output the Digital Input data doVal Output the Digital Output data diBitArr Output the bit status of the Digital Input...

Страница 27: ..._ReadAI int slot int ch short gain float fVal Parameters slot specifies the slot number 1 8 ch specifies the Analog Input channel number 0 5 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5...

Страница 28: ...ex int slot int ch short gain short hVal Parameters slot specifies the slot number 1 8 ch specifies the Analog Input channel number 0 5 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5 V 3 1...

Страница 29: ...refOffset Parameters slot specifies the slot number 1 8 ch specifies the Analog Input channel number 0 5 gain specifies the input type 0 4 where 0 10 V 1 5 V 2 2 5 V 3 1 25 V 4 20 mA refGain Output t...

Страница 30: ...I 8026W API User Manual v1 0 1 June 2015 Copyright 2015 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 30...

Страница 31: ...erved E mail service icpdas com 4 31 4 Troubleshooting This chapter discusses how to solve some common problems you may encounter while operating the I 8026W module This chapter contains Service reque...

Страница 32: ...1 Service Request Requirements If you are using a stable signal source such as a battery to output a signal to the I 8026W module and are receiving incorrect or unstable data prepare the following thr...

Страница 33: ...orrupted signal source Instability in the signal source A floating signal source that is not referenced to a system ground point earth or building ground Because of the nature of the high speed data a...

Страница 34: ...that there have been no errors 1 ID_ERROR There was a problem with the module ID 2 SLOT_ERROR There was a slot index error Slot numbers should be in the range of 0 to 7 3 CHANNEL_ERROR There was a ch...

Отзывы: