background image

 

 

 

I-8017/I-9017  Series 

I/O  Module  User  Manual 

V3.0.3  July  2021 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Written  by  Edward  Ku/Cindy  Huang 

Edited by Anna Huang 

 

Summary of Contents for I-8017 Series

Page 1: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 July 2021 Written by Edward Ku Cindy Huang Edited by Anna Huang ...

Page 2: ...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 use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copy right 2018 by ICP DAS Co Ltd All rights are reserved Trademarks Names are used for identification purposes only and may be regis...

Page 3: ...14 1 2 2 I 8017HCW 15 1 2 3 I 8017DW 16 1 2 4 I 9017 17 1 2 5 I 9017 15 18 1 2 6 I 9017C 15 19 1 3 Jumper Settings 20 1 3 1 Single Ended Differential Jumper Selection 20 1 3 2 Input Impedance Jumper Selection 21 1 3 3 Voltage Current Measurement Jumper Selection 22 1 4 Wire Connections 23 1 4 1 I 8017HW I 9017 15 23 1 4 2 I 8017DW I 8017HCW I 9017 24 1 4 3 I 9017C 15 24 1 5 Block Diagram 25 1 5 1 ...

Page 4: ... 43 3 6 i8017H_ReadAI pac_i8017HW_ReadAI 45 3 7 i8017H_ReadAI_AVG pac_i8017HW_ReadAI_AVG 49 3 8 i8017H_ReadAIHex pac_i8017HW_ReadAIHex 52 3 9 i8017H_ReadAIHex_AVG pac_i8017HW_ReadAIHex_AVG 57 3 10 i8017H_ReadGainOffset_Info pac_i8017HW_ReadGainOffset_Info 61 3 11 i8017H_Read_mA_GainOffset pac_i8017HW_Read_mA_GainOffset 64 3 12 i8017H_Select_SingleEnd pac_i8017HW_Select_SingleEnd 67 3 13 i8017H_Get...

Page 5: ... 5 1 Verifying Analog Input functionality on a WinCE or WES PAC device 85 5 2 Service Request Requirements 89 5 3 What to do when the data read from the module seems unstable 90 Appendix A Error Code 91 Appendix B Read AI Function Performance 92 Appendix B Revision History 93 ...

Page 6: ...o get started an overview of the location of the demo programs Chapter 3 API introduction This chapter describes the functions provided in the I 8017HW library together with an explanation of the differences in the naming rules used for the MiniOS7 and Windows platforms Chapter 4 Calibration This chapter describes the calibration process for I 8017HW series modules on MiniOS7 and Windows platforms...

Page 7: ... current sources except for I 9017C 15 Applications High speed data acquisition systems Process monitoring and control Vibration analysis Digital pattern generator from the digital I O port The following table shows the differences between I 8017HW series modules Items I 8017HW I 8017HCW I 8017DW Channels 16 ch Single ended 8 ch Differential Range Voltage 10 V 5 V 2 5 V 1 25 V Current 20mA Require...

Page 8: ...he following table shows which platform the module applies to Platform OS Module XPAC XP 8000 WES I 8017HW I 8017DW I 8017HCW XP 8000 Atom WES I 8017HW I 8017DW I 8017HCW XP 8000 WES7 WES7 I 8017HW I 8017DW I 8017HCW XP 8000 CE6 WinCE 6 0 I 8017HW I 8017DW I 8017HCW XP 8000 Atom CE6 WinCE 6 0 I 8017HW I 8017DW I 8017HCW XP 9000 WES7 WES7 I 9017 I 9017 15 I 9017C 15 WPAC WP 8000 CE 5 0 7 0 I 8017HW...

Page 9: ...d information regarding 37 pin D sub Connectors refer to the models indicated in the table below Model Description DN 37 A I O Connector Block with DIN Rail Mounting and 37 pin D sub Connector Pitch 5 08 mm DN 37 381 A I O Connector Block with DIN Rail Mounting and 37 pin D sub Connector Pitch 3 81 mm CA 3705A Male Female D sub Cable 0 5 m CA 3710A Male Female D sub Cable 1 m CA 3715A Male Female ...

Page 10: ...rnal 125 Ω Resistor 20 mA Jumper Select Resolution 14 bit Sample Rate Single Channel Polling Mode 90K S s Single Channel Interrupt Mode 50K S s 8 channel Scan Mode 16 K S s Accuracy 0 1 of FSR Zero Drift 0 1 uV C Span Drift 10 ppm C Input Impedance 20 K 200 K 20 M Jumper Select Input Bandwidth 100 KHz LED Indicators System LED Indicator 1 LED as Power Indicator I O LED Indicator 16 LEDs as User de...

Page 11: ...7HCW I 8017DW Isolation Intra module Isolation Field to Logic 2500 Vrms Power Power Consumption 2 W Max Mechanical Dimension L x W x H unit mm 30 x 115 x 102 30 x 114 x 85 Environment Operating Temperature 25 C 75 C Storage Temperature 30 C 80 C Humidity 10 90 RH non condensing ...

Page 12: ... Requires OptionalExternal 125 Ω Resistor 20 mA Resolution 14 bit Sample Rate Single Channel Polling Mode 900K S s Single Channel Interrupt Mode 50K S s 15 channel Scan Mode 16 K S s Accuracy 0 1 of FSR Input Bandwidth 100 KHz Zero Drift 0 1 uV C Span Drift 10 ppm C Input Impedance 20 K 200 K 20 M Jumper Select 125 ohm LED Indicators System LED Indicator 1 LED as Power Indicator I O LED Indicator ...

Page 13: ...9017 15 I 9017C 15 Isolation Intra module Isolation Field to Logic 2500 Vrms Power Power Consumption 2 W Max Mechanical Dimension L x W x H 144 mm x 30 3 mm x 134 mm Environment Operating Temperature 25 C 75 C Storage Temperature 40 C 85 C Humidity 10 90 RH non condensing ...

Page 14: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 14 1 2 Pin Assignments 1 2 1 I 8017HW ...

Page 15: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 15 1 2 2 I 8017HCW ...

Page 16: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 16 1 2 3 I 8017DW ...

Page 17: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 17 1 2 4 I 9017 ...

Page 18: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 18 1 2 5 I 9017 15 ...

Page 19: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 19 1 2 6 I 9017C 15 ...

Page 20: ...7 Series I O Module User Manual V3 0 3 P 20 1 3 Jumper Settings 1 3 1 Single Ended Differential Jumper Selection This jumper is used to set the discrete input circuits as either Differential or Single ended inputs ...

Page 21: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 21 1 3 2 Input Impedance Jumper Selection This jumper is used to set the discrete input circuits as either Differential or Single ended inputs ...

Page 22: ... User Manual V3 0 3 P 22 1 3 3 Voltage Current Measurement Jumper Selection By default I 8017HCW module is configured for current measurement I 8017DW is configured for voltage measurement I 9017 is configured for voltage measurement ...

Page 23: ...ser Manual V3 0 3 P 23 1 4 Wire Connections 1 4 1 I 8017HW I 9017 15 Input Type Differential Single ended Jumper Position Voltage Current Tips Warnings When connecting to a current source an optional external 125 Ω resistor is required ...

Page 24: ...l Single ended Jumper Position Voltage Current Tips Warnings Differential Input Type Current Input Wiring need to jumper at current input Single ended Input Type Current Input Wiring need to jumper at voltage input an options external 125 Ω resistor is required 1 4 3 I 9017C 15 Current Input Wiring Differential ...

Page 25: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 25 1 5 Block Diagram 1 5 1 I 8017HW I 8017DW I 8017HCW 1 5 2 I 9017 I 9017 15 ...

Page 26: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 26 1 5 3 I 9017C 15 ...

Page 27: ...oad show php num 2323 2 1 MiniOS7 based Controllers 2 1 1 Basic Function Basic function can be used to retrieve configuration information and verify the AI reading function Basic information includes Version number and published date of the library FPGA version Single ended Differential jumper settings Gain and offset values for each input range Data reading of each channel The following steps tak...

Page 28: ...ble enough signal 3 A 125 Ohm resistor is required when measuring current input Step 2 Plug I 8017HW in the MiniOS7 controller connect the power supply to the unit and connect the unit to the Host PC by RS 232 cable Step 3 Run 7188xw exe on the host PC and open the COM Port which is connecting to the MiniOS7 Controller Tips Warnings 7188xw exe is an interface for PC it can help users to communicat...

Page 29: ...ormation and AI data from each channel are correct or not as indicated in the diagram below The Library and FPGA version information Single ended Differential jumper position The gain value is around 33000 If this value varies significantly from 33000 it means that the value is incorrect Verify the AI data from each channel ...

Page 30: ...ed Differential jumper settings Gain and offset values for each input range Data reading of each channel The following steps take pac_i8017HW_Basic_Info exe as example and display the information of I 8017HW Step 1 Please refer to the Wire Connections connect a stable signal source such as a battery to I 8017HW Tips Warnings 1 Unused channels should be connected to GND to avoid floating 2 A batter...

Page 31: ...he power supply to the unit Step 3 Run pac_i8017HW_Basic_Info exe on the controller and verify that basic information and AI data read from each channel are correct as shown in the figure below Verify the AI data from each channel Library and FPGA version Single ended differential jumper position Gain value is around 33000 ...

Page 32: ...the power cable Ethernet cable VGA monitor the communication cable between controller and PC has been connected well and then check the i 8017W 9017 has been plugged in the controller Step 3 Refer to the Jumper Settings section Ensure that the Differential Single ended selection jumper is in the Differential position Connect a stable signal source to the module e g a battery output using the diffe...

Page 33: ... link https www icpdas com en download show php num 2323 API Naming Table The following table shows the API names on different platforms and the beginning of API Platform Product included API prefix characters C C C Windows CE5 I 8017HW I 8017HCW I 8017DW pac_i8017W_ function name pac8017HWNet pac8017HW function name Windows CE6 I 8017HW I 8017HCW I 8017DW Windows CE7 I 8017HW I 8017HCW I 8017DW I...

Page 34: ...for the currently installed Library i8017H_GetSingleEndJumper pac_i8017HW_GetSingleEndJumper Used to read the status of the input jumper Differential or Single ended mode i8017H_ReadAI pac_i8017HW_ReadAI Used to read the Analog Input value from a specific channel in float format i8017H_ReadAI_AVG pac_i8017HW_ReadAI_AVG Used to read the average Analog input value from a specific channel in float fo...

Page 35: ... I 9017 15 API Description i8017H_Select_SingleEnd pac_i8017HW_Select_SingleEnd Used to set the Single ended differential mode of I 9017 15 API for I 9017 15 API Description i8017H_Select_SingleEnd pac_i8017HW_Select_SingleEnd Used to set the Single ended differential mode of I 9017 15 API for I 8017DW API Description i8017H_Get_D_Sub_Status pac_i8017HW_Get_D_Sub_Status Used to get connector statu...

Page 36: ...using any other function Syntax For MiniOS7 short i8017HW_Init int slot For Windows CE and WES short pac_i8017HW_Init int slot For Linux short I8017_Init int slot for LinPAC 8000 short I9017_Init int slot for LinPAC 9000 LX 9000 Parameters slot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC Return Values Refer to Appendix A Error Code for more details ...

Page 37: ...3 0 3 P 37 Examples C C int slot i8017HW_Init slot C int slot pac8017HW Init slot C For LinPAC int main int slot ret ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot Close_Slot slot return 0 ...

Page 38: ...firmware For Windows CE and WES short pac_i8017HW_GetFirmwareVersion int slot short firmware For Linux short I8017_GetFirmwareVersion int slot short firmware for LinPAC 8000 short I9017_GetFirmwareVersion int slot short firmware for LP 9000 LX 9000 Parameters slot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC firmware Output The firmware version information for the I 8017 ...

Page 39: ...n slot firmware C int slot Int16 firmware 0 pac8017HWNet pac8017HW FirmwareVersion slot ref firmware C For LinPAC int main int slot ret short firmware ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_GetFirmwareVersion slot firmware Close_Slot slot return 0 ...

Page 40: ...ormation for the Library Syntax For MiniOS7 short i8017HW_GetLibVersion void For Windows CE and WES short pac_i8017HW_GetLibVersion void For Linux short I8017_GetLibVersion void for LinPAC 8000 short I9017_GetLibVersion void for LinPAC 9000 LX 9000 Parameters None Return Values The version number Others Refer to Appendix A Error Code Definitions for more details ...

Page 41: ...n i8017HW_GetLibVersion C Int16 version version pac8017HWNet pac8017HW LibVersion C For LinPAC int main int slot ret short version ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot version i8017HW_GetLibVersion Close_Slot slot return 0 ...

Page 42: ...r the Library Syntax For MiniOS7 void i8017HW_GetLibDate char libDate For Windows CE and WES void pac_i8017HW_GetLibDate char libDate Parameters libDate A string indicating the build date of the Library Return Values Refer to Appendix A Error Code for more details Examples C C char date i8017HW_GetLibDate date C string date date pac8017HWNet pac8017HW LibDate ...

Page 43: ...ctJumper For Windows CE and WES short pac_i8017HW_GetSingleEndJumper int iSlot short selectJumper For Linux short I8017_GetSingleEndJumper int iSlot short selectJumper for LinPAC 8000 short I9017_GetSingleEndJumper int iSlot short selectJumper for LP 9000 LX 9000 Parameters iSlot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC selectJumper Output The status of module 0 Diffe...

Page 44: ...in int slot jumper ret ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_GetSingleEndJumper slot jumper Close_Slot slot return 0 Note The old version LinPAC SDK will show I8017_GetSingleEndJumper slot function in demo if you want to use new I8017_GetSingleEndJumper slot jumper function it is necessary to install the latest SDK and recomp...

Page 45: ...t I8017_ReadAI int iSlot int iChannel int iGain float fValue for LinPAC 8000 short I9017_ReadAI int iSlot int iChannel int iGain float fValue for LP 9000 LX 9000 Parameters iSlot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC iChannel Specifies channel number For I 8017HW I 8017HCW I 8017DW I 9017 0 8 in differential method 0 15 in single ended method For I 9017 15 0 14 in ...

Page 46: ...calibrate the data that read from the chip and convert it into 16 bit data The following pictures show the scale of voltage and data and how to calculate the hexadecimal data into floating data If hexadecimal data 0 floating data hexadecimal data 32767 10 Else floating data hexadecimal data 32768 10 If hexadecimal data 0 floating data hexadecimal data 32767 5 Else floating data hexadecimal data 32...

Page 47: ...a hexadecimal data 32767 2 5 Else floating data hexadecimal data 32768 2 5 If hexadecimal data 0 floating data hexadecimal data 32767 1 25 Else floating data hexadecimal data 32768 1 25 If hexadecimal data 0 floating data hexadecimal data 32767 20 Else floating data hexadecimal data 32768 20 ...

Page 48: ...t ch gain fValue C int slot ch gain float fValue pac8017HWNet pac8017HW ReadAI slot ch gain ref fValue C For LinPAC int main int slot ch gain ret float fValue ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_ReadAI slot ch gain fValue Close_Slot slot return 0 ...

Page 49: ...AVG int slot int iChannel int iGain unsigned short averageCnt float fValue For Windows CE and WES short pac_i8017HW_ReadAI_AVG int slot int iChannel int iGain unsigned short averageCnt float fValue For Linux short I8017_ReadAI_AVG int slot int iChannel int iGain unsigned short averageCnt float fValue for LinPAC 8000 short I9017_ReadAI_AVG int slot int iChannel int iGain unsigned short averageCnt f...

Page 50: ...ngle ended method For I 9017C 15 always 0 14 iGain Specifies the input range 0 10 0V 1 5 0V 2 2 5V 3 1 25V 4 20mA averageCnt the average count for each sampling routine 1 65535 fValue Output the analog input value in float format Return Values Others Refer to Appendix A Error Code for more details Note The parameter fValue is an arithmetic mean value This function will read 14 bit AD data many tim...

Page 51: ...pac_i8017HW_ReadAI_AVG slot ch gain cnt fValue C int slot ch gain Uint cnt float fValue pac8017HWNet pac8017HW ReadAI_AVG slot ch gain cnt ref fValue C For LinPAC int main int slot ch gain unsigned short cnt float fValue Open_Slot slot I8017_Init slot I8017_ReadAI_AVG slot ch gain cnt fValue Close_Slot slot return 0 ...

Page 52: ...ormat Syntax For MiniOS7 short i8017HW_ReadAIHex int iSlot int iChannel int iGain short iValue For Windows CE and WES short pac_i8017HW_ReadAIHex int iSlot int iChannel int iGain short iValue C For LinPAC short I8017_ReadAIHex int iSlot int iChannel int iGain short iValue for LinPAC 8000 short I9017_ReadAIHex int iSlot int iChannel int iGain short iValue for LP 9000 LX 9000 ...

Page 53: ...r I 8017HW I 8017HCW I 8017DW I 9017 0 8 in differential method 0 15 in single ended method For I 9017 15 0 14 in differential method 0 29 in single ended method For I 9017C 15 always 0 14 iGain Specifies the input range 0 10 0V 1 5 0V 2 2 5V 3 1 25V 4 20mA iValue Output the analog input value in hexadecimal format Return Values Others Refer to Appendix A Error Code for more details ...

Page 54: ...ule User Manual V3 0 3 P 54 Note I 8017HW series modules use a 14 bit AD chip This function will calibrated the data that read from the chip and convert it into 16 bit data The following pictures show the scale of voltage and data ...

Page 55: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 55 ...

Page 56: ...les C int slot ch gain short hval pac_i8017HW_ReadAIHex slot ch gain hval C int slot ch gain int hval pac8017HWNet pac8017HW ReadAIHex slot ch gain ref hval C For LinPAC int slot ch gain short hval Open_Slot slot I8017_Init slot I8017_ReadAIHex slot ch gain hval ...

Page 57: ... i8017HW_ReadAIHex_AVG int slot int iChannel int iGain unsigned short averageCnt short iValue For Windows CE and WES short pac_i8017HW_ReadAIHex_AVG int slot int iChannel int iGain unsigned short averageCnt short iValue For Linux short I8017_ReadAIHex_AVG int slot int iChannel int iGain unsigned short averageCnt short iValue short I9017_ReadAIHex_AVG int slot int iChannel int iGain unsigned short ...

Page 58: ...ingle ended method For I 9017C 15 always 0 14 iGain Specifies the input range 0 10 0V 1 5 0V 2 2 5V 3 1 25V 4 20mA averageCnt the average count for each sampling routine iValue Output the analog input value in hexadecimal format Return Values Others Refer to Appendix A Error Code for more details Note The parameter iValue is an arithmetic mean value This function will read 14 bit AD data many time...

Page 59: ...e User Manual V3 0 3 P 59 Examples C int slot ch gain unsigned short cnt short hval pac_i8017HW_ReadAIHex_AVG slot ch gain cnt hval C int slot ch gain uint cnt int hval pac8017HWNet pac8017HW ReadAIHex_AVG slot ch gain cnt ref hval ...

Page 60: ...3 P 60 C For LinPAC int main int slot ch gain ret unsigned short cnt short hval ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_ReadAIHex_AVG slot ch gain cnt hval Close_Slot slot return 0 ...

Page 61: ... i8017HW_ReadGainOffset_Info int iSlot int iGain unsigned short iGainValue short iOffsetValue For Windows CE and WES short pac_i8017HW_ReadGainOffset_Info int iSlot int iGain unsigned short iGainValue short iOffsetValue For Linux short I8017_ReadGainOffset_Info int iSlot int iGain unsigned short iGainValue short iOffsetValue for LinPAC 8000 short I9017_ReadGainOffset_Info int iSlot int iGain unsig...

Page 62: ... Specifies the calibrated Gain value iOffsetValue Output Specifies the calibrated Offset value Return Values Refer to Appendix A Error Code for more details Examples C Int slot Gain unsigned short GainValue short OffsetValue short pac_i8017HW_ReadGainOffset_Info slot Gain GainValue OffsetValue C Int slot Gain unsigned short GainValue short OffsetValue pac8017HWNet pac8017HW GainOffset_Info slot Ga...

Page 63: ...LinPAC int main int slot Gain ret unsigned short GainValue short OffsetValue ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_ReadGainOffset_Info slot Gain GainValue OffsetValue Close_Slot slot return 0 ...

Page 64: ... For MiniOS7 short i8017H_Read_mA_GainOffset int slot short ch unsigned short GainValue short offsetValue For Windows CE and WES short pac_i8017H_Read_mA_GainOffset int slot short ch unsigned short GainValue short offsetValue For Linux short I8017_Read_mA_GainOffset int slot short ch unsigned short GainValue short offsetValue for LinPAC 8000 short I9017_Read_mA_GainOffset int slot short ch unsigne...

Page 65: ...s the channel Valid range I 8017HCW I 9017 0 to 7 I 9017C 15 0 to 14 GainValue Specifies the calibrated Gain value offsetValue Specifies the calibrated Offset value Return Values Refer to Appendix A Error Code for more details Examples C C int slot short ch unsigned short GainValue short OffsetValue i8017H_Read_mA_GainOffset slot ch GainValue OffsetValue ...

Page 66: ...HW Ch_mAGainOffset slot ch ref GainValue ref OffsetValue C For LinPAC int main int slot ret short ch unsigned short GainValue short OffsetValue ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init int slot I8017_Read_mA_GainOffset slot ch GainValue OffsetValue Close_Slot slot return 0 ...

Page 67: ...ect_SingleEnd int slot short selection For Windows CE and WES short pac_i8017HW_Select_SingleEnd int slot short selection For Linux short I9017_Select_SingleEnd int slot short selection for LinPAC 9000 LX 9000 Parameters slot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC selection The status of module 0 Differential Mode 1 Single ended Mode Return Values Refer to Appendix ...

Page 68: ... slot status C Int slot Int16 selection pac8017HWNet pac8017HW Select_SingleEnd_Differential slot selection C For LinPAC int main int slot ret short status ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I9017_Init slot I9017_Select_SingleEnd slot status Close_Slot slot return 0 ...

Page 69: ...ows CE and WES short pac_i8017HW_Get_D_Sub_Status int iSlot short D_Sub_Status For Linux short I8017_Get_D_Sub_Status int iSlot short D_Sub_Status for LinPAC 8000 Parameters slot Specific slot number 0 7 except range of slot is number 1 8 for LinPAC D_Sub_Status The status of D_Sub 1 Open 0 Close Return Values Refer to Appendix A Error Code for more details Note function for I 8017DW module only i...

Page 70: ...ub_Status slot status C int slot Int16 selection pac8017HWNet pac8017HW D_Sub_Status slot selection C For LinPAC int main int slot ret short status ret Open_Slot slot if ret 0 printf Open Slot d failed return value d n slot ret return 1 I8017_Init slot I8017_Get_D_Sub_Status slot status Close_Slot slot return 0 ...

Page 71: ...ter A Calibration Program Please visit ICP DAS website and download demo programs the calibration program will be inside Tips Warnings 1 An unstable calibration source will cause calibration errors and will affect the accuracy of the data acquisition 2 I 8017HW I 8017HCW I 8017DW I 9017 15 only uses channel 0 to calibrate every type of range 3 The gain and offset value of the range of 20 mA for I ...

Page 72: ...pter of the IP 8000 user manual to establish RS 232 connection between the controller and the PC and connect the power supply to the controller Set the Differential Single ended jumper to the differential position connect source and modules in differential mode and connect the voltage or current meter to the wiring like the following figure Then plug module into the controller ...

Page 73: ...owing link https www icpdas com en download show php num 2323 In order to upload programs please refer to the 2 2 2 Installing the MiniOS7 and 2 5 2 Uploading and Executing iPAC 8000 programs of the IP 8000 user manual to download MiniOS7 Utility which can help users to upload programs and learn how to operate After uploading the calibration program right click on it and click Run to execute it ...

Page 74: ... range that needs to be calibrated and press the number corresponding to the range Output stable positive source to channel 0 and type the value displayed on the voltage meter Output stable negative source to channel 0 and type the value displayed on the voltage meter Press y to save new gain and offset values ...

Page 75: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 75 After finish the calibration press t to test calibrated AI data with new gain and offset values and check whether the AI value is correct or not ...

Page 76: ...ebsite Please refer to the following link https www icpdas com en download show php num 2323 In order to upload programs please refer to the 2 2 2 Installing the MiniOS7 and 2 5 2 Uploading and Executing iPAC 8000 programs of the IP 8000 user manual to download MiniOS7 Utility which can help users to upload programs and learn how to operate After uploading the calibration program right click on it...

Page 77: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 77 Step 2 Restore defaults After execute the program press r to restore defaults ...

Page 78: ... the differential position connect source and modules in differential mode and connect the voltage or current meter to the wiring like the following figure Then plug module into the controller Step 2 Download and execute calibration program The calibration program can be downloaded in ICP DAS website Please refer to the following link https www icpdas com en download show php num 2323 ...

Page 79: ... 9017 Series I O Module User Manual V3 0 3 P 79 Step 3 Calibrate After execute the program please follow the steps one by one Select the index where the module is Select the name of module and click Next button ...

Page 80: ...age Step 4 5 Output stable positive source to channel 0 and type the value displayed on the voltage meter then Click Read button Change to page Step 6 7 Output stable negative source to channel 0 and type the value displayed on the voltage meter then Click Read button ...

Page 81: ... Manual V3 0 3 P 81 Change to page Step 8 Click Test to read calibrated AI data with new and original gain and offset values and check whether the new gain and offset values are correct or not Click SAVE to save new gain and offset values ...

Page 82: ...d execute calibration program The calibration program can be downloaded in ICP DAS website Please refer to the following link https www icpdas com en download show php num 2323 Step 2 Restore defaults After execute the program please follow the steps one by one Select the index where the module is Select the name of module and click Next button ...

Page 83: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 83 Click Restore Defaults button ...

Page 84: ... 5 Troubleshooting This chapter discusses how to solve some common problems you may encounter This chapter contains How to verify the AI function on a WinCE or WES PAC Service Request Requirements What to do when the data read from the module seems unstable ...

Page 85: ... the module a Connect your input signal according to whether differential or single ended Jumper settings are used See the Jumper Settings section for more details b The input range can be from 10 V to 10 V c Insert the module into a slot in a Windows platform controller and then power on the controller Tips Warnings 1 A battery output should provide a stable enough signal 2 A 125 Ω resistor is re...

Page 86: ...lot index drop down list b Click the Basic Information tab The Basic Information page includes The version information for the FPGA firmware The current position of the Differential Single ended jumper The Gain and Offset values for each input type Click the Save button to save all the information to the Slot1_8017W_Info txt file This information is useful for troubleshooting when requesting servi...

Page 87: ...in values again and confirm whether or not they are correct b Relocate the module to a different slot and then repeat Steps 2 and 3 to confirm whether or not the Gain values are correct Test the input function a Click the AI test tab and then select the required input range from the Gain drop down list b Enter the required sample count and choose the data format from the Format drop down list c Cl...

Page 88: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 88 d If necessary click the Save button to save the data and the sampling time to the SampleData_Hex_mm_dd_hh_mim_sec csv file ...

Page 89: ...ut a signal to the module such as a battery and are receiving incorrect or unstable data prepare the following three items and e mail them to service icpdas com An image of the physical wiring The file saved from the Basic Information tab See step 3 in Section 6 1 above The file saved from the AI Test tab See step 4 in Section 6 1 above ...

Page 90: ...in the signal source A floating signal source that is not referenced to a system ground earth or building ground Because of the nature of the high speed data acquisition function on the module any noise coupled to a signal or any change in voltage on an unstable source is also captured In this situation signal filtering or isolation should be considered in order to enhance the quality of the signa...

Page 91: ...icates that there have been no errors 1 ID_ERROR There is a problem with the module ID 2 SLOT_ERROR There is a Slot index error 3 CHANNEL_ERROR There is a Channel index error 0 15 4 GAIN_ERROR There is a Gain error 0 4 6 NOT_SUPPORT_ERROR The function is not support the Firmware 7 NOT_Calibration The module is not calibrated ...

Page 92: ...ing a single channel as it provides the best performance However when using multiple channels the MUX needs to be switched and you should be aware that the performance will be affected by switching the MUX 2 The MiniOS7 system is not designed for mathematical operations so it is more suitable for non continuous data sampling in high speed applications 3 Large amounts of non continuous data samples...

Page 93: ...017HCW modules Added calibration instructions for modules based on the Windows platform Added performance information for all platforms 3 0 0 March 2018 Added content for the I 9017 I 9017 15 I 9017C 15 modules Modify library demo path Added WP 9000 ippc wes7 library demo path Modify API functions 3 0 2 August 2019 Modify calibrate steps 3 0 3 May 2021 Modify Quick start Modify the download path o...

Reviews: