Home

Eagle Tech 72A/C User's Manual

image

Contents

1. Table 4 1 SERIAL uDAQ DIO Port Assignments Eagle Technology O Copyright 2003 www eagledaq com 17 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Counters The counter sub system is supported by functions to Write Read Configure and controlling the gate There are 6 counters Counter timers are only supported by the SRL24C SRL 48C SRL 72C and SRL 96C The table below shows the relation of the counters and their software assigned numbers Counter i Assigned Number i Description CTO 0 Counter 0 CT1 1 i Counter 1 CT2 2 i Counter 2 CT3 3 i Counter 3 CT4 4 i Counter 4 CT5 i 5 i Counter 5 Table 4 2 Counter Assignment SRL48C SRL96C Counter Timer Architecture 10 MHz Oscillator External Clack Pin Clock Source Select Counter Counter Out Sofhuare Gate External Gate Fin Gate Source Select Figure 4 2 Counter Timer Architecture Writing the initial counter value A single call is necessary to write a counters initial load value API CALL Long EDRE CTWrite ulng Sn ulng Ct ulng Value The serial number counter number and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Write long Port ulng Value The counter number and a value must be passed by the calling function A return code will indicate if any errors occurred Reading the counter value A single call is necessary to read a counter A
2. SERIAL Digital I O Series User Manual Counter Timer Characteristics Number of Counter Timer Channels Resolution Compatibility Clock Source Gate Source Interrupt Source I O Characteristics Eagle Technology Data Acquisition Device Channels SRL 24A SRL 24C SRL 48A SRL 48C SRL 72A SRL 72C SRL 96A SRL 96C SRL 120A SRL 26 SRL 30 SRL 73 HO o OS DOODODO 16 bits 82C54 TTL Software Selectable 1 Internal 10 MHz 2 External Software Selectable 1 Software Controlled 2 External 6 x Terminal Count TC Input Low Voltage Input High Voltage Low Level Input Current High Level Input Current Output High Voltage Output Low Voltage Low Level Output Current High Level Output Current Eagle Technology O Copyright 2003 www eagledaq com 32 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Analog Output Characteristics SRL 30 Number of Channels 4 Resolution 14 bits Maximum Update Rate 2 milliseconds Data Transfer Programmed I O Full Scale Error 1 LSB 1 220 millivolts Zero Offset Error 1 4 LSB 0 306 millivolts Output Drive 5 milliamp Load Characteristics 2KQ 10 nF Power On State 0 Volt Eagle Technology Copyright 2003 www eagledaq com 33 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Analog Input Characteristics SRL 26 30 Input Characteristics Number of Channels R
3. 13 EDRE BAD PARAMETER 14 EDRE BUSY i 15 EDRE_IO_FAIL i 16 EDRE_BAD_ADGAIN 17 EDRE_BAD_QUERY 18 EDRE BAD CHAN i 19 EDRE_BAD_VALUE 20 EDRE BAD CT 21 EDRE BAD CHANLIST i 22 EDRE BAD CONFIG i 23 EDRE BAD MODE i 24 EDRE HW ERROR 25 EDRE HW BUSY 26 EDRE BAD BUFFER 27 EDRE REG ERROR i 28 EDRE_OUT_RES i 29 EDRE_IO_PENDING i 30 Digital I O Codes DIOOUT DIOIN DIOINOROUT DIOINANDOUT Baud Rate Codes BAUDRATE_300 BAUDRATE_1200 BAUDRATE_2400 BAUDRATE_4800 BAUDRATE_9600 BAUDRATE_19200 BAUDRATE_28800 BAUDRATE_38400 BAUDRATE_57600 BAUDRATE 115200 0 E E 3 4 5 6 7 8 E Eagle Technology Data Acquisition Description Function successfully Function call failed Invalid function call Invalid serial number Invalid device Function not supported by operating system Wait on event failed Event timed out Interrupt in use DAC value out of range Channel list size out of range Frequency out of range Data passed by buffer incorrectly sized Port value out of range Invalid parameter value specified System busy IO call failed ADC gain out of range Query value not supported Channel number out of range Configuration value specified out of range Counter timer channel out of range Channel list invalid Configuration invalid Mode not valid Hardware error occurred Hardware busy i Buffer invalid i Registry error occurred i Outof resources i Wai
4. SRL 24A C SRL 48A C SRL 72A C SRL 96A C SRL 120A SRL 26 SRL 30 SRL 73 Revision 1 Revision 1 Revision 1 i Revision 1 i Revision 1 Revision 1 Revision 1 i Revision 1 Windows 2000 98 ME XP Windows 2000 98 ME XP i Windows 2000 98 ME XP Windows 2000 98 ME XP i Windows 2000 98 ME XP Windows 2000 98 ME XP Windows 2000 98 ME XP i Windows 2000 98 ME XP Table 2 1 Operating System Support Eagle Technology Copyright 2003 www eagledaq com WDM PnP WDM PnP WDM PnP WDM PnP WDM PnP WDM PnP WDM PnP WDM PnP SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Installation This section will describe how to connect your serial device to your computer Select any unused serial port and plug in the one end of the serial cable Plug the other end of the serial cable into your serial device Driver Installation Installing the Windows 98 2000 device driver is a very straightforward task e Run edreapi exe found on the Eagle CD Rom eaglecd edre api edreapi exe and follow the on screen instructions Device Setup When done with the api installation the EDR Enhanced Setup folder can be opened form the control panel to do the device setup e First make sure that the device power LED is on e Open the EDR Enhanced Setup folder EDR Enhanced Data Acquisition Properties x EG About amp Devices Serial W TCPAP EDRE SDK
5. Web wwweagledaq com Emeil aapleffeagle co a Tel 27 21 423 4543 Fax 27 51 424 4637 Address 31 34 Hout street cape Town South Africa 8001 2002 EAGLE Technology All rights reserved Show Startup Screen Help x Cancel Select Serial Eagle Technology Copyright 2003 www eagledaq com 3 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition EDR Enhanced Data Acquisition Properties i x Remote Serial Device Setup Device List Information Serial Humber Baud Rate Fort sp Add Delete E Host Setup E Baudrate Show Startup Screen Help x Cancel Select Add x Serial Number fi 00000001 E Comm Port Baud Aate i Help x Cancel e Enter the device Serial Number select the Comm Port and select the Baud Rate Select OK Eagle Technology Copyright 2003 www eagledaq com 4 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition EDR Enhanced Data Acquisition Properties _ x Remote Serial Device Setup Device List Information Serial Number Baud Rate Part sp Add Delete Ep Host Setup Kl Baudrate Show Startup Screen Help x Cancel Select OK Eagle Technology Copyright 2003 www eagledaq com 5 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Baud Rate Setup The default baud rate of the unit is 9600 baud The device can be s
6. Description Sn i Unsigned long Device serial number Frequency Pointertoan ADC Sampling frequency unsigned long ClkSrc i Unsigned long This parameter is used to configure the clock convert source of the ADC sub system i Offset bits Description Clock Source C0 C7 i 0 Internal 10 MHz clock 1 External Convert EXT_CLK Gate Source G0 G7 0 Disable 1 External Gate EXT TRIG Example Layout Burst Unsigned long Not Used Range i Unsigned long Not used ChanList i Pointertoan This is a pointer to an array that contains the list of channels to be scanned The array length should be the i unsigned long same length as the value of ListSize GainList Pointertoan GainList is an array that contains the gain range settings for each channel in the scan list The array length unsigned long should the same as the ListSize value Offset bits Specifies the gain of the channel G UNIPOLAR SINGLE ENDED BIPOLAR SINGLE ENDED BIPOLAR SINGLE ENDED UNIPOLAR DIFFERENTIAL BIPOLAR DIFFERENTIAL ListSize unsigned long This is the length of the channel list Return long i Error code ACTIVEX CALL Long EDREADX Configure plong Channels plong Gains long ListSize The Frequency and ClockSource ADC ActiveX control must be setup before calling the configure function See the above table for the layout of the Channels and Gains lists Eagle Technology Copyright 20
7. I O connectors found on the SERIAL uDAQ DIO A and C 1 PAO 14 PA1 2 PA2 15 PA3 3 PA4 16 PAS 4 PAG 17 PA7 5 PBO 18 PB1 6 PB2 19 PB3 7 PB4 20 PB5 8 PB6 21 PB7 9 PCO 22 PC1 10 PC2 23 PC3 11 PC4 24 PC5 12 PC6 25 PC7 13 DGND Table 3 4 SERIAL uDAQ DIO Connector DB25 M Eagle Technology Copyright 2003 www eagledaq com 10 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition SERIAL DAQ CT DB25 M The table below shows the pin assignments for the DB25 M counter timer connector found on the SERIAL uDAQ CT NC NC NC OUTS GATE EXT5 CLK EXT5 CLK EXTO OUT4 GATE EXTO OUTO OUT2 CLK EXT2 CLK EXT1 GATE EXT2 OUT 1 GATE EXT1 DGND GATE EXT4 NC CLK EXT4 NC OUT3 NC GATE EXT3 CLK EXT3 Table 3 5 SERIAL uDAQ CT Connector DB25 M Pi 1 2 3 4 5 6 T 8 9 SERIAL uDAQ Analog I O DB25 M The table below shows the pin assignments for the DB25 M analog I O connectors found on the SERIAL uDAQ Analog I O ACHO ACH1 ACH2 ACH3 ACH4 ACHS ACH6 ACH7 ACH8 ACH9 ACH10 ACH11 ACH12 ACH13 ACH14 ACH15 AGND DACO DAC1 DAC2 DAC3 10V REFCAL NC EXT TRIG EXT CLK SHELL DGND Table 3 6 SERIAL uDAQ Analog I O DB25 M OMNSOUIROCNR gt f SERIAL uDAQ Temperature Input DB25 M The table below shows the pin assignments for the DB25 M temperature input connectors found on the SERIAL uDAQ Temperature device 8 4V 12V CIC 12V TCH7 TCH6 TCHS TCH
8. If used it can affect the performance of the analog I O WARNING Do not connect to the 10Volt Reference Pin Application Modules amp Accessories The USB devices support a wide range of standard applications modules These application modules can help to simply or easily duplicate installation that can save allot of time Application modules and accessories come in many forms lt has support for digital output control and digital input monitoring for AC and DC Analog signal conditioners analog amplifiers and optically isolation are also available Eagle Technology Copyright 2003 www eagledaq com 13 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Wiring Diagram RS 232 Cable Diagram The figure below shows the RS232 cable connections for the DB9 M connector FEMALE 9 PIH D SHELL FEMALE 9 PIN D SHELL CONHECTOE ON CABLE CONNECTOR ON CABLE l l a 2 3 4 4 5 5 z T 7 a 2 a Q Figure 3 1 9 Pin to 9 Pin Cable Diagram Eagle Technology Copyright 2003 www eagledaq com 14 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 4 Programming Guide The SERIAL uDAQ series is supplied with a complete software development kit EDR Enhanced EDRE SDK comes with drivers for many operating systems and a common application program interface API The API also serves as a hardware abstraction layer HAL between the control application and the hardware The E
9. O SERIAL device SRL 26 i 16 channel analog input USB device SRL 30 16 channel amp 4 channel analog input output SERIAL device SRL 73T8 i 8 Channel Thermo Couple input SERIAL device SRL 73116 16 Channel Thermo Couple input SERIAL device SRL 73T32 i 32 Channel Thermo Couple input SERIAL device SRL 73R8 8 Channel RTD input SERIAL device SRL 73R16 i 16 Channel RTD input SERIAL device SRL 73R32 i 32 Channel RTD input SERIAL device Table D 1 SERIAL uDAQ Ordering Information Eagle Technology Copyright 2003 www eagledaq com 42
10. Pointer to long Returned micro voltage Return i Long i Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Only the assigned channel value is needed A return code will indicate the voltage in microvolt Calculating Ambient Temperature API CALL Long EDRE_CalcCJCmC long cjcuv ACTIVEX CALL Long EDREADX CalcCJCmC long cjcuv Parameter Type Description Cjcuv CJCTemp channel uVolts Return i Milli Degrees Celsius Calculating Temperature for Thermocouples API CALL Long EDRE_CalcTCmC long tctype long tcuv long ambientmc ACTIVEX CALL Long EDREADX CalcTCmC long tctype long tcuv long ambientmc Parameter Description tctype Type Thermocouple used See appendix for details tcuv i Voltage read from channel uVolts ambientmc _ Ambient temperature mille Degrees Return i Milli Degrees Celsius Eagle Technology Copyright 2003 www eagledaq com 28 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Calibration SRL 26 30 If the SERIAL device needs to be calibrated the software can be found on the EDR Enhanced SDK CD Rom This application provides step by step information of how to calibrate your device Make sure that you have a high precision multimeter and calibration voltage source This will help to configure your device more accurately Calibration Procedure SRL 26 30 Install the USB Calibration Software lt EDRECD gt EDRE APPS USB 30 CAL Run
11. Temperature Input Reading CJC Channel Read Thermo Couple Channel Calculating Ambient Temperature Calculating Temperature for Thermocouples Calibration SRL 26 30 Calibration Procedure SRL 26 30 Calibration SRL 73 Calibration Procedure SRL 73 A SPECIFICATIONS Digital Input Output Characteristics Eagle Technology Copyright 2003 www eagledaq com 13 13 13 14 14 15 31 31 SERIAL Digital I O Series User Manual Counter Timer Characteristics Analog Output Characteristics SRL 30 Analog Input Characteristics SRL 26 30 Input Characteristics Conversion Characteristics External Clock EXT_CLK pin External Gate EXT_GATE pin Thermo Couple Input Characteristics Interface Power Requirements Environmental Physical Connectors B CONFIGURATION CONSTANTS Query Codes Error Codes Digital I O Codes Baud Rate Codes C TROUBLESHOOTING SRL Device Unavailable D ORDERING INFORMATION Eagle Technology Data Acquisition Eagle Technology Copyright 2003 www eagledaq com 37 37 37 37 38 38 39 39 39 40 40 42 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Table of Figures Figure 3 1 9 Pin to 9 Pin Cable Diagram aS Figure 4 1 EDR Enhanced Design Figure 4 2 Counter Timer Architecture Eagle Technology O Copyright 2003 www eagledaq com vi SERIAL Digital I O Series User Manual Eagle Technology D
12. digital I O port API CALL Long EDRE DioWrite ulng Sn ulng Port ulng Value The serial number port and a value must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Write long Port long Value The port number and value to be written needs to be passed and the returned value holds an error or the value read If the value is negative an error did occur _ Assigned i Description Number O O O N oO SRL 48A C fato oRWNMAO RL 72A C NNN 000 O NODOUIDSWNH O RL 96A C A B C A B C S A B C A B C A B C S A B C A B C A B C A QNNN OOO OMNSOAURLVN 0 Eagle Technology O Copyright 2003 www eagledaq com 16 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 10 i 8 bits i Port B 8 bits i Port C D x RL 120A 0 8 bits i Port A 1 8 bits Port B 2 8 bits Port C 3 8 bits i Port A 4 8 bits i Port B 5 i 8 bits i PortC 6 7 8 9 8 bits PortA 8 bits Port B i 8 bits i Port C i 8 bits i Port A i 10 i 8 bits i PortB 11 8 bits Port C 12 8 bits i Port A 8 bits PortB 14 8 bits Port C RARWWWNHNDNDN A AH HOC O QD RL 26 30 0 i 8 bits i Port A i 8 bits i PortB 8 bits i Port C O O O N RL 73R T 0 8 bits Port A i 8 bits Port B 2 i 8 bits i PortC NWP gt 0NUWUP gt PONNWP gt NUWP gt NUWP gt PNUP gt NWP gt 0NW O O O
13. on a DAC channel The table below shows the relation between the software channel and the channel on the connector Assigned Assigned Software Connector Channel Pin Table 4 7 Assigned DAC Channels API CALL Long EDRE DAWrite ulng Sn ulng Channel long uVoltage The serial number DAC channel and micro voltage is needed to set a DAC channel s voltage return code will indicate if any errors occurred ACTIVEX CALL Long EDREDAX Write ulng Channel long uVoltage The DAC channel and micro voltage is needed to set a DAC channel s voltage A return code will indicate if any errors occurred Eagle Technology Copyright 2003 www eagledaq com 22 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Analog Input SRL 26 SRL 30 The SRL 26 30 has a very flexible analog input sub system Configuration includes dynamic range gain reference and differential or single ended inputs Each of these settings can be applied to an individual channel while scanning The analog inputs can operate in two modes single read or scanning Only one mode can be used at a single moment The table below shows the relation between the software assigned channels and the connector Assigned i Reference Software Pin Channel O Single ACHO AGND 15 Singe ACH15 AGND 0 Differential ACHO ACH8 7 Differential ACH7 ACH15 Table 4 8 Assigned Analog Input Channels Reading a single vo
14. the USB Calibration Software Follow the step by step information on screen to tune your device Make sure to save the data to your device PS de Eagle Technology Copyright 2003 www eagledaq com 29 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Calibration SRL 73 If the SERIAL device needs to be calibrated the software can be found on the EDR Enhanced SDK CD Rom This application provides step by step information of how to calibrate your device Make sure that you have a high precision calibration voltage source This will help to configure your device more accurately Calibration Procedure SRL 73 1 Install the USB Calibration Software lt EDRECD gt EDRE APPS USB 73 CAL 2 Run the USB Calibration Software 3 Follow the step by step information on screen to tune your device 4 Make sure to save the data to your device Eagle Technology Copyright 2003 www eagledaq com 30 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition A Specifications Digital Input Output Characteristics Number of Digital Channels Device Channels Number of Grouped Channels Device Channels Compatibility TTL D C Characteristics PPI 8255 Compatible Ports Input Low Voltage 0 5V 0 8V Input High Voltage 20V 5 0V Output High Voltage 2 4V Output Low Voltage i 0 45V Output Current i 2mA Eagle Technology O Copyright 2003 www eagledaq com 31
15. 03 www eagledaq com 24 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition EDREADX Frequency This is the sampling frequency of the ADC process This parameter must be set before calling the Configure method After calling the Configure method the Frequency property will be set to the actual sampling frequency WARNING CAUTION N On the SRL 26 30 the frequency is the update rate of the A D converter This means that the board will convert the channels at a period of equal to the frequency and the channels in the sequence of the channel list The end result is that the time between samples is equal to 1 Frequency EDREADX CIockSource The clock source property is used to specify the clock settings for the ADC process Clock Source C0 C7 0 Internal 10 MHz clock 1 External Convert EXT_CLK Gate Source G0 G7 0 Disable 1 External Gate EXT_TRIG Example Layout e Starting and Stopping the ADC process A single call is necessary to start or stop the ADC process API CALL Long EDRE ADStart ulng Sn A serial number needs to be specified to start the ADC process A returned error code will indicate if the function succeeded ACTIVEX CALL Long EDREADX Start A call to the start method will start the ADC process of the device too which the ActiveX control is linked A returned error code will indicate if the function succeeded API CALL Long EDRE ADStop ulng Sn A seri
16. 100 Witte Total Timeout Multiplier 100 Write Total Timeout Constant 100 7 Help x Cancel Enter the Host ID Select OK e Close EDR Enhanced Setup Eagle Technology Copyright 2003 www eagledaq com 7 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Post Setup When done with the driver setup the EDR Enhanced Setup folder can be opened to check if the device setup was done successfully and if the device is available e First open the EDR Enhanced Setup folder e Select the Devices Page e Check under the Serial list if your board is listed and available See picture below EDR Enhanced Data Acquisition Properties x EE seu s k Devices a Serial E TCPAP Installed Devices Bus Topology Information Seral Number 1000000024 Device Index 1 Mame SRL3016 CH AD 2 KHz 4 CH D A Board Type 4117 Driver Version 1 0 1 Firmware Version 1 0 12 Manufactured On 1777r 2003 Revision Base Address 10000 Hex Interrupt Level Not Available Connection Serial Interface ADC Channels DAC Channels ee API Version 3 3 79 Show Startup Screen Help x Cancel e If SRL Device Unavailable see Appendix C for troubleshooting Eagle Technology Copyright 2003 www eagledaq com 8 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 3 Interconnections The SERIAL uDAQ series has connectors for digital I O coun
17. 4 TCH3 TCH2 TCH1 TCHO SHELL DGND O 0 NDUI0DSWN br Table 3 7 SERIAL uDAQ Temperature Input DB25 M Eagle Technology Copyright 2003 www eagledaq com 11 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Signal Definitions This sections deal with all the signals abbreviations i Description PAO 7 8255 PPI Port A PBO 7 8255 PPI Port B PCO 7 8255 PPI Port C GATE_EXTO 5 Counter External Gate CLK_EXTO 5 i Counter External Clock OUTO 5 i Counter Output DGND i Digital ground AGND Analog Ground ACHO 15 Analog Input Channels 0 15 TCH 0 7 i Thermo couple negative input TCH 0 7 i Thermo couple positive input DACO 3 i Analog Outputs Channels 0 3 EXT_CLK i External Clock EXT_TRIG i External Trigger 10V_REFCAL 10 Volt Reference Calibration RXD Receive TXD i Transmit RXA i Receive A RXB i Receive B TXA Transmit A TXB Transmit B DGND i Digital ground NC Not Connected Table 3 8 Signal definitions Pin Descriptions Digital Inputs Outputs PA0 7 PB0 7 PC0 7 These lines are connected to the 3 ports of the 8255 PPI Each port can be configured as either an input or an output Digital Ground DGND All digital ground signals should be connected to this pin External Gate GATE EXT These lines are used to externally control the gate of the counters External Clock CLK EXT These lines are used to externally clock the counters O
18. Channel long uVoltage Query code ADAMBCHAN or 141 and the param that represent the CJC channel 0 3 A return code will indicate the channel assigned or if any errors occurred Reading the CJC channel API CALL Long EDRE_ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Type Description Sn i Unsigned long i Device serial number Channel i Unsigned long Assigned Channel Gain i Unsigned long i NULL Range i Unsigned long NULL uVoltage Pointer to long Returned micro voltage Return i long i Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Only the assigned channel value is needed A return code will indicate the voltage in microvolt Eagle Technology Copyright 2003 www eagledaq com 27 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Read Thermo Couple Channel Reading the thermocouple channel is the same as reading the CJC channels The thermo couple channels for the SRL 73 will always start at channel 0 For a device with both normal ADC channels and Temperature channels the channels value assigned to the temperature channels will start after the normal ADC channels API CALL Long EDRE_ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Type Description Sn i Unsigned long i Device serial number Channel Unsigned long Assigned Channel Gain Unsigned long NULL Range i Unsigned long i NULL uVoltage
19. DB25 M SRL 48C 3 x DB25 M SRL 72A 3 x DB25 M SRL 72C 4 x DB25 M SRL 96A 4 x DB25 M SRL 96C 5 x DB25 M SRL 120A 5 x DB25 M SRL 26 2 x DB25 M SRL 30 2 x DB25 M SRL 73T 8 2 x DB25 M SRL 73T 16 3 x DB25 M SRL 73T 32 5 x DB25 M Eagle Technology Copyright 2003 www eagledaq com 37 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition B Configuration Constants Query Codes APIMAJOR APIMINOR APIBUILD APIOS APINUMDEV BRDTYPE BRDREV BRDYEAR BRDMONTH BRDDAY BRDSERIALNO DRVMAJOR DRVMINOR DRVBUILD ADNUMCHAN ADNUMSH ADMAXFREQ ADBUSY ADFIFOSIZE ADFIFOOVER ADBUFFSIZE ADBUFFOVER ADBUFFALLOC ADUNREAD ADEXTCLK ADEXTTRIG ADBURST ADRANGE ADNUMTMP ADAMBCHAN DANUMCHAN DAMAXFREQ DABUSY DAFIFOSZ CTNUM CTBUSY DIONUMPORT DIOQRYPORT DIOPORTWIDTH INTNUMSRC INTSTATUS INTBUSCONNECT INTISAVAILABLE INTNUMTRIG SRLGETBAUD SRLSETBAUD Eagle Technology Copyright 2003 www eagledaq com 38 Description Query EDRE API major version number Query EDRE API minor version number Query EDRE API build version number Query EDRE API OS type Query number of devices installed Query a board s type Query a board s revision Query a board s manufactured year Query a board s manufactured month Query a board s manufactured day Query a board s serial number Query a driver s major version number Query a driver s minor version number Query a driver s build ve
20. DRE API makes it possible to write an application that can be used on all hardware with common sub systems EDR Enhanced API The EDR Enhanced SDK comes with both ActiveX controls and a Windows DLL API Examples are provided in many different languages and serve as tutorials EDRE is also supplied with a software manual and user s guide The EDRE API hides the complexity of the hardware and makes it really easy to program the SERIAL uDAQ device It has got functions for each basic sub system and is real easy to learn Figure 4 1 EDR Enhanced Design Eagle Technology Copyright 2003 www eagledaq com 15 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Digital Inputs Outputs Depending on the version that you have the SERIAL uDAQ DIO device can have up to 120 digital lines Please refer to your particular version for specific details Reading the Digital Inputs A single call is necessary to read a digital I O port API CALL Long EDRE DioRead ulng Sn ulng Port ulng Value The serial number port and a pointer to variable to hold the result must be passed by the calling function A return code will indicate if any errors occurred ACTIVEX CALL Long EDREDioX Read long Port Only the port number needs to be passed and the returned value will either hold an error or the value read If the value is negative an error did occur Writing to the Digital Outputs A single call is necessary to write to a
21. PI CALL Long EDRE CTRead ulng Sn ulng Ct pulng Value The serial number counter number and a reference parameter must be passed by the calling function A return code will indicate if any errors occurred Eagle Technology Copyright 2003 www eagledaq com 18 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition ACTIVEX CALL Long EDRECTX Read long Port The counter number must be passed by the calling function If the return code is negative it means an error occurred otherwise it will be the value read from the counter Counter Assigned Number i Resolution CTO i 0 i 16 bits CT1 1 16 bits CT2 2 16 bits CT3 3 16 bits CT4 4 16 bits CT5 5 i 16 bits Table 4 3 Counter Resolution Configuring a counter A single call is necessary to configure a counter API CALL Long EDRE CTConfig ulng Sn ulng Ct ulng Mode ulng Type ulng CIKSrc ulng GateSrc The serial number counter number mode type clock source and gate source is needed to specify a counter s configuration A return code will indicate if any errors occurred ACTIVEX CALL Long EDRECTX Configure long ct long mode long type ulng source ulng gate The counter number mode type clock source and gate source is needed to specify a counter s configuration A return code will indicate if any errors occurred The table below shows the options for each parameter Parameter Description i Serial Number i Counter Number
22. Q RS485 DB9 M SERIAL uDAQ DIO A C DB25 M SERIAL uDAQ CT DB25 M SERIAL uDAQ Analog I O DB25 M SERIAL uDAQ Temperature Input DB25 M Signal Definitions Pin Descriptions Digital Inputs Outputs PA0 7 PB0 7 PC0 7 Digital Ground DGND External Gate GATE_EXT External Clock CLK_EXT Output Out Digital Ground DGND Analog Ground AGND Analog Inputs ACHO 15 Analog Outputs DACO 3 External Clock EXT CLK Eagle Technology Copyright 2003 www eagledaq com SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition External Trigger EXT_TRIG 10 Volt Reference Calibration 10V_REFCAL Application Modules amp Accessories Wiring Diagram RS 232 Cable Diagram 4 PROGRAMMING GUIDE EDR Enhanced API Digital Inputs Outputs Reading the Digital Inputs Writing to the Digital Outputs Counters Writing the initial counter value Reading the counter value Configuring a counter Controlling the counter gate Programming Interrupts Configuring the Interrupt sub system Enabling Interrupts Disabling Interrupts Interrupt Event Analog Output SRL 30 Writing to a DAC channel Analog Input SRL 26 SRL 30 Reading a single voltage from a channel Configuring the ADC subsystem for scanning Starting and Stopping the ADC process Driver buffer functions Querying the ADC subsystem Change Baud Rate The Query Code and Parameter must be passed by the calling function Temperature Input
23. SERIAL uDAQ Digital I O Series Serial Devices User s Manual for SRL 24A C SRL 48A C SRL 72A C SRL 96A C SRL 120A SRL 30 26 SRL 73 Eagle Technology Cape Town South Africa Copyright 2003 www eagledaq com SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition uDAQ Remote Devices Data Acquisition and Process Control Eagle Technology 31 35 Hout Street e Cape Town South Africa Phone 27 21 423 4943 e Fax 27 21 424 4637 Email eagle eagle co za Eagle Technology Copyright 2003 www eagledaq com i SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Copyright All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or any means electronic mechanical by photographing recording or otherwise without prior written permission Copyright Eagle Technology South Africa August 2003 Revision 1 2 Information furnished in this manual is believed to be accurate and reliable however no responsibility is assumed for its use or any infringements of patents or other rights of third parties which may result from its use Trademarks and Logos in this manual are the property of their respective owners Product Warranty Eagle Technology South Africa warrants its products from defect in material and workmanship from confirmed date of purchase for a period of one year if the conditions listed
24. al number needs to be specified to stop an ADC process A returned error code will indicate if the function succeeded ACTIVEX CALL Long EDREADX Stop A call to the start method will stop the ADC process of the device too which the ActiveX control is linked A returned error code will indicate if the function succeeded Driver buffer functions A single call is necessary copy data from the driver buffer to an user buffer The driver buffer is a large circular buffer that can hold data for a period of time running at full speed This buffer needs to be emptied regularly to make sure it does not overrun The buffer can be Eagle Technology O Copyright 2003 www eagledaq com 25 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition queried with number of samples available and other status issues as well There are two functions available to copy data one for copying voltages another to copy the raw data The raw data is significantly faster as for the data does not have to be converted to voltages before copying it to the user buffer The raw data also occupies less space than the micro voltage buffer There are also functions to write data to disk as the user buffer get copied Refer to the EDR Enhanced programming manual for a reference to these functions API CALL Long EDRE_ADGetData ulng Sn plong Buf pulng BufSize ACTIVEX CALL Long EDREADX GetData plong Buffer plong Size To retrieve data from the drive
25. ata Acquisition Table of Tables Table 12 SERIAL UDAQ DIO Version alienare 2 Table 1 2 SERIAL uDAQ Analog Input VErsions i 2 Table 2 1 Operating SYSIEM SUPPOM sura 2 Table 3 4 SERIALUDAG CORNEGCIONS ruote ae 9 Table 3 2 SERIAL uDAQ RS232 Connector DB9 M 10 Table 3 3 SERIAL uDAQ RS485 Connector DB9 M 10 Table 3 4 SERIAL uDAQ DIO Connector DB25 M 10 Table 3 5 SERIAL uDAQ CT Connector DB25 M 11 Table 3 6 SERIAL uDAG AnalogiO DB25 M lla ladina 11 Table 3 7 SERIAL uDAQ Temperature Input DB25 M i 11 Pk Signal EN NS 12 Table 4 1 SERIAL uDAQ DIO Port Assignment i 17 Table 4 2 Counter KSS NS 18 Table 4 3 Counter Resolution vvs 19 ETEN 19 EE 20 Table 4 6 EDREIntX Configure Parameters arrrnrannrnnannrrnnnnornnnrnrnnnrnnnnnrnnnnrnnannennansnnnansnnnnnennnnnennnnee 21 Table 4 7 Assigned DAC Channels aan eee 22 Table 4 8 Assigned Analog Input Channels ii 23 Table 4 9 CJC ChannelsASSIGNEd scribi 27 Table D 1 SERIAL uDAQ Ordering Information 42 Eagle Technology Copyright 2003 www eagledaq com vii SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 1 Introduction The SERIAL uDAQ Digital I O and analog series are Serial architecture digital input output counter timer and analog I O data acquisi
26. below are met The product warranty will call the Eagle Technology Data Acquisition Device short as ETDAQD e The warranty does not apply to an ETDAQD that has been previously repaired altered extended by any other company or individual outside the premises of Eagle Technology e That a qualified person configure and install the ETDAQD and damages caused to a device during installation shall make the warranty void and null e The warranty will not apply to conditions where the ETDAQD has been operated in a manner exceeding its specifications Eagle Technology South Africa does not take responsibility or liability of consequential damages project delays damaging of equipment or capital loss as a result of its products Eagle Technology South Africa holds the option and final decision to repair or replace any ETDAQD Proof of purchase must be supplied when requesting a repair Eagle Technology Copyright 2003 www eagledaq com ji SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition TABLE OF CONTENTS 1 INTRODUCTION Features uDAQ Versions Digital I O Series Analog Input Series Applications Key Specifications Software Support Contact Details 2 INSTALLATION Package Operating System Support Installation Driver Installation Device Setup Baud Rate Setup Host Setup Post Setup 3 INTERCONNECTIONS External Connector and Accessories Pin Assignments SERIAL uDAQ RS232 DB9 M SERIAL uDA
27. d display the serial number and also the baud rate at witch the device is going to run at See picture below Eagle Technology Copyright 2003 www eagledaq com 40 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 9600 HyperTerminal go 18 E Ioj x Fie Edit View Call Transfer Help 3 ael si SERIALUPC Starting Eagle Technology Ci 2002 All Rights Reserved Testing RAM PASSED Serial Number 10000090001 Baud Rate 115200 Li Connected 0 01 00 Aubodebect 9600 8 N1 SCROLL cass MUM Capture P 3 N Eagle Technology O Copyright 2003 www eagledaq com SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition D Ordering Information For ordering information please contact Eagle Technology directly or visit our website www eagledag com They can also be emailed at eagle eagle co za Currently only the following version are available i Description SRL 24A i 24 channel digital I O SERIAL device SRL 24C i 24 channel digital I O amp counter timer SERIAL device SRL 48A 48 channel digital I O SERIAL device SRL 48C i 24 channel digital I O amp counter timer SERIAL device SRL 72A i 72 channel digital I O SERIAL device SRL 72C i 24 channel digital I O amp counter timer SERIAL device SRL 96A i 96 channel digital I O SERIAL device SRL 96C i 24 channel digital I O amp counter timer SERIAL device SRL 120A 120 channel digital I
28. esolution Maximum Update Rate Maximum Baud Rate Minimum Streaming Baud Rate Maximum Update different baud rates Input Programmable Ranges Input Coupling Maximum Working Voltage Over voltage protection Maximum Channel List Size Conversion Characteristics Maximum Conversion Rate Converter Type Resolution Relative Accuracy Gain x 1 Offset Error Gain x 10 Offset Error Gain x 100 Offset Error Scale x 1 4 Offset Error Scale x 1 2 Offset Error Scale x 1 Offset Error 16 Single Ended 8 Differential 14 bits 3 KS s SRL full speed isochroous transfers 115200 Baud 9600 Baud Baud Rate 9600 19200 28800 38400 57600 115200 Channel Gain Max Update Samples per second 200 400 600 800 1 200 3 000 Unipolar Bipolar 0 25 0 50 1 00 2 50 5 00 10 00 25 00 50 00 100 00 Range 0 10V 0 10V 0 5V 0 2V 0 1V i 0 500mV i 0 200mV 0 100mV i 0 50mV Range 10V 5V 2 5V 1V 500 mV 250 mV 100 mV 50 mV 25 mV DC 10V relative to analog ground Power On State 25V to 40V Power Off State 40V to 55V 16 3 000 Samples per second Successive approximation 14 bits 1 LSB 0 4 mill volts 0 6 mill volts 0 1 mill volts 1 mill volts 0 5 mill volts 0 mill volts Eagle Technology Copyright 2003 www eagledaq com 34 SERIAL Digital I O Series User Manual External Clock EXT CLK pin Maximum Rate Synchroniza
29. et to run at deferent baud rates e Open the EDR Enhanced Setup folder e Select the Serial Page EDR Enhanced Data Acquisition Properties l x T About amp Devices Serial TCPAP Remote Serial Device Setup Device List Information Serial Number 1000000024 Baud Rate 115200 Port I ar Host Setup sp Add Delete Baudrate Show Startup Screen P Help x Cancel Select Baud Rate Change Serial Baud Rate x Serial Number fi 000003064 Mew Baud Rate 200 Help x Cancel Select New Baud Rate Select OK e The new baud rate will take effect as soon as you exit the EDR Enhanced Setup Eagle Technology Copyright 2003 www eagledaq com 6 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Host Setup When more then one host computer is going to be used it is very important to set the Host ID e Open the EDR Enhanced Setup folder e Select the Serial Page EDR Enhanced Data Acquisition Properties x Ed About 4b Devices af Serial kg TCPAP Remote Serial Device Setup Device List Information Serial Number 1000000024 Baud Rate 115200 Port I sp Add Delete E Host Setup aw Baudrate Show Startup Screen Help x Cancel Select Host Setup EY Setup Host E D x Host ID 1000 Read Interval Timeout 100 Read Total Timeout Multiplier 100 Head Total Timeout Constant
30. i 0 Counter0 i 1 Counter 1 i 2 Counter 2 i 3 Counter 3 i 4 Counter 4 i 5 Counter 5 i 82c54 Mode i See 82c54 datasheet i Interrupt on TC i 0 Disabled i 1 Enabled i This bit will only generate a interrupt at the interrupt sub system The i interrupt sub system must also be setup to generate a interrupt Source i 0 Internal 10MHz 1 External External connector Gate i 0 Internal 1 External External connector Table 4 4 Counter Configuration Controlling the counter gate A single call is necessary to control a counter s gate API CALL Long EDRE_CTSoftGate ulng Sn ulng Ct ulng Gate The serial number counter number and gate are needed to control a counter s gate A return code will indicate if any errors occurred ACTIVEX CALL Eagle Technology Copyright 2003 www eagledaq com 19 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Long EDRECTX SoftGate ulng Ct ulng Gate The counter number and mode is needed to control a counter s gate A return code will indicate if any errors occurred These values are acceptable as a gate source VELT 0 Table 4 5 Gate Configuration Eagle Technology Copyright 2003 www eagledaq com 20 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Programming Interrupts The interrupt sub system is totally programmable and includes functions to configure enable and disable interrupts Conf
31. iguring the Interrupt sub system A single call is necessary to configure the interrupt sub system API CALL Long EDREIntX IntConfigure long Source long Mode long Type Parameter Description Mode long Disable or Enable a source i 0 Disable 1 Enable Type i long i Set the type of trigger for the interrupt RETURN i Long This parameter contains the error code return If 0 then no error occurred Table 4 6 EDREIntX Configure Parameters Enabling Interrupts A single call is necessary to enable the interrupt sub system ACTIVEX CALL Long EDREIntX Enable A returned error code will contain the status of the call Disabling Interrupts A single call is necessary to disable the interrupt sub system ACTIVEX CALL Long EDREIntX Disable A returned error code will contain the status of the call Interrupt Event If interrupts are enabled an event will occur on each interrupt The interrupt control s interrupt event will be triggered The source of the interrupt will also be passed to the event handler Eagle Technology Copyright 2003 www eagledaq com 21 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Analog Output SRL 30 The SRL 30 has 4 x 14 bit analog output channels with a range of 10 volt These channels are very easy to program A single command is used to write to them Writing to a DAC channel A single call is necessary to set a voltage
32. ltage from a channel To read a single ADC channel you need to specify the channel voltage range and gain API CALL Long EDRE_ADSingle ulng Sn ulng Channel ulng Gain ulng Range plong uVoltage Parameter Type Description Sn i Unsigned long i Device serial number Channel i Unsigned long i ADC channel to read Gain i Unsigned long Gain Codes Unsigned long Range Range gt UNIPOLAR SINGLE ENDED BIPOLAR SINGLE ENDED UNIPOLAR DIFFERENTIAL 3 BIPOLAR DIFFERENTIAL uVoltage i Pointer to long i Returned micro voltage Return i long i Error code ACTIVEX CALL Long EDREADX SingleRead long Channel Make sure to set the Gain and Range properties of the ADC ActiveX control This will in turn set the range and gain when reading the ADC channel Eagle Technology Copyright 2003 www eagledaq com 23 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Configuring the ADC subsystem for scanning This is the most complicated part of configuring the SRL 26 30 for auto scanning Make sure that you use the correct format when applying the channel list configuration There are many loopholes and care should be taken when implementing code to configure the SRL 26 30 API CALL Long EDRE_ADConfig ulng Sn pulng Freq ulng ClkSrc ulng Burst ulng Range pulng ChanList pulng GainList ulng ListSize The following parameters must be specified when configuring the ADC sub system Parameter i Type
33. r buffer the serial number need to be supplied a buffer to hold the data and the size of the buffer or requested number of samples The driver will only copy the number of available samples in multiple of the channel list For the ActiveX call only the buffer and size need to be supplied Querying the ADC subsystem The driver can be queried to check the status of the ADC subsystem The number of unread samples is one example The appendix has a list of all possible query codes API CALL Long EDRE_Query ulng Sn ulng QueryCode ulng Param A serial number query code and parameter must be specified when doing a query ACTIVEX CALL Long EDREADX GetUnread This function automatically queries the ADC driver buffer for the number of available samples Change Baud Rate A single Query call is necessary to change the baud rate of the serial device The Query Code must be SETBAUDRATE 701 to change the baud rate The Parameter must specify the new baud rate See Baud Rate Codes table API CALL Long EDRE Query ulng Sn ulng code ulng Param The serial number Query Code and Parameter must be passed by the calling function ACTIVEX CALL Long EDREUtIX Query long code long Param The Query Code and Parameter must be passed by the calling function Eagle Technology Copyright 2003 www eagledaq com 26 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Temperature Input The SRL 73T 8 16 32 has a ba
34. ries is supported by EDR Enhanced and comes with an extensive range of examples The software will help you to get your hardware going very quickly It also makes it easy to develop complicated control applications All operating system drivers utility and test software are supplied on the EDR Enhanced CD Rom The latest drivers can also be downloaded from the Eagle Technology website For further support information see the Contact Details section Contact Details Below are the contact details of Eagle Technology Eagle Technology PO Box 4376 Cape Town 8000 South Africa Telephone 27 021 423 4943 Fax 27 021 424 4637 E Mail eagle eagle co za Website http www eagledag com Eagle Technology Copyright 2003 www eagledaq com 1 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition 2 Installation This chapter describes how to install and configure the SERIAL uDAQ device for the first time Minimal configuration is necessary almost all settings are done through software The operating system will take care of all resource assignments Package SERIAL uDAQ package will contain the following e SERIAL uDAQ device e SERIAL cable e 9V Power Supply e Eagle Technology Software CD Rom Operating System Support The SERIAL uDAQ support the Windows Driver Models WDM driver types The operating systems are listed in the table below Driver Type Board Type Revision Operating Systems
35. rsion number Query number of ADC channel Query number of samples and hold channels Query maximum sampling frequency Check if ADC system is busy Get ADC hardware FIFO size Check for FIFO overrun condition Check software buffer size Check for circular buffer overrun Check if software buffer is allocated Get number of samples available Get status of external clock line PCI30FG Get status of external trigger line PCISOFG Check if burst mode is enabled Get ADC range Number of temperature channels Get Ambient Channel Query number of DAC channels Query maximum DAC output frequency Check if DAC system is busy Get DAC FIFO size Query number of counter timer channels Check if counter timer system is busy Query number of digital I O ports Query a specific port for capabilities Get a specific port s width Query number of interrupts sources Queries interrupt system s status Connect interrupt system to bus Check if an interrupt is available i Check number times interrupted i Query the baud rate of the serial device Change baud rate of the serial device SERIAL Digital I O Series User Manual Error Codes EDRE OK 0 EDRE FAIL 1 EDRE BAD FN 2 EDRE BAD SN 3 EDRE BAD DEVICE 4 EDRE BAD OS 5 EDRE EVENT FAILED i 6 EDRE_EVENT_TIMEOUT 7 EDRE INT SET 8 EDRE DA BAD RANGE i 9 EDRE AD BAD CHANLIST i 10 EDRE_BAD_FREQUECY Ean EDRE BAD BUFFER SIZE 12 EDRE BAD PORT
36. rts 8 bit 3 6 9 i 12 15 Number of interrupt sources A Version i 0 0 0 0 0 Number of interrupt sources C Version i 6 6 6 6 6 Table 1 1 SERIAL uDAQ DIO Versions Analog Input Series Feature SRL 30 Number of digital I O channels 24 24 Number of 8255 compatible ports 8 bit 3 Number of analog input channels i 16 i 8 16 32 Number of analog output channels i 4 0 Analog input resolution i 14 bit i 14 bit Maximum sampling speed 3KHz 1Hz Analog output resolution 14 bit i 0 Table 1 2 SERIAL uDAQ Analog Input Versions Eagle Technology Copyright 2003 www eagledaq com SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Applications The SERIAL uDAQ series can be used in the following applications Automation test equipment TTL compatible status monitoring Plant Factory process control Pulse counting Frequency measurement Frequency generation Controlling and monitoring of any TTL compatible equipment Mobile computing Laboratory applications Key Specifications 3 6 9 12 or 15 x 8 bit ports 6 x 16 bit counters Fully programmable digital input output system Fully programmable counter timer system Fully programmable interrupt support 14 bit Resolution analog input system with a max range of 10 volt Fully programmable channel gain list 3 KHz 14 bit Resolution analog output system with a range of 10 volt Software Support The SERIAL uDAQ se
37. sic 8 differential channel configuration See table 3 7 accessible via a DB25M connector The channels on one of these DB25M connectors will be referred to as a channels set Each SRL 73 is supplied with a set of uUDAQ TEMP T C ADAPTERS Temperature measurements can be done with as little as four lines of code Reading CJC Channel Each channels set has a CJC channel The CJC channels is use in software when calculating the temperature for Cold Junction Compensation hence CJC Each of the uDAQ TEMP T C ADAPTERS has a circuit that will supply a voltage of 10mVolt per 1 degree C Reading the CJC channel is as easy as reading an analog channel Each of the CJC channel is allocated a channel number witch are always the last channels of any device E g if your device has two CJC channels and 34 analog channels channel 0 31 will be analog inputs and channels 32 and 33 will be the CJC channels The table shows the normal CJC assignment for the SRL 73 Device CJC Channels SRL 73T 8 _ Value Assigned SRL73T 16 Value Assigned SRL 73T 32 Value Assigned Table 4 9 CJC Channels Assigned The value that is assigned to a CJC channel can be queried with software as well API CALL Long EDRE_Query ulng Sn ulng Code long Param Serial number Query code ADAMBCHAN or 141 and the param that represent the CJC channel 0 3 A return code will indicate the channel assigned or if any errors occurred ACTIVEX CALL Long EDREUtIX Query ulng
38. ter timers and analog I O The SERIAL uDAQ make use of only one adapter type a DB25 male To inter connect there are some adapters available A cable can be used to connect to a remote adapter or make use of a direct plug in adapter External Connector and Accessories The SERIAL uDAQ DIO is fitted with various connectors The table below will show the application for each connector As standard all SERIAL uDAQ DIO devices are fitted with DB 9 male connector and a DC power connector Device Type DB25 M DB25 M DB25 M Digital VO Counters Analog I O SRL 24A SRL 24C SRL 48A SRL 48C SRL 72A SRL 72C SRL 96A SRL 96C SRL 120A SRL 26 SRL 30 SRL 73T R8 SRL 73T R16 SRL 73T R32 Table 3 1 SERIAL uDAQ Connectors RN 2 lt 000000006 Eagle Technology Copyright 2003 www eagledaq com 9 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Pin Assignments SERIAL uDAQ RS232 DB9 M The table below shows the RS232 pin assignments for the DB9 M connector 1 NC 6 NC 2 RXD T NC 3 TXD 8 NC 4 Table 3 2 SERIAL uDAQ RS232 Connector DB9 M SERIAL uDAQ RS485 DB9 M The table below shows the RS485 pin assignments for the DB9 M connector Pin 1 NC 6 NC 2 RXA 7 TXA 3 TXB 8 RXB 4 NC 9 NC 5 DGND 10 DGND shell Table 3 3 SERIAL uDAQ RS485 Connector DB9 M SERIAL uDAQ DIO A C DB25 M The table below shows the pin assignments for the DB25 M digital
39. ting on I O completion i Description i Portis an output i Port is an input i Port can be configured as in or out i Portis an input and an output i Description i Serial Device baud rate is 300 baud i Serial Device baud rate is 1200 baud i Serial Device baud rate is 2400 baud Serial Device baud rate is 4800 baud i Serial Device baud rate is 9600 baud i Serial Device baud rate is 19200 baud i Serial Device baud rate is 28800 baud i Serial Device baud rate is 38400 baud i Serial Device baud rate is 57600 baud Serial Device baud rate is 115200 baud Eagle Technology Copyright 2003 www eagledaq com 39 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition C Troubleshooting SRL Device Unavailable e Make sure that the Serial Number is corresponding with the Serial Number on the device e Check that cable is in the correct serial port e Check that your Baud Rate is setup correct default baud rate is 9600 baud e Ifthe baud rate have been changed the new baud rate can be checked by using HyperTerminal e Disconnect the power to the device e When running HyperTerminal create a New Connection and set the baud rate to 9600 See picture below COMZ Properties E ajx Port Selbnas Bits per second ESI Data bits E Patt None xl sese 3 Flow control Hardware Restore Delauks Select OK e Reconnect the power to the device It shoul
40. tion Conversion External Gate EXT GATE pin Enable Process Disabled Process Eagle Technology Data Acquisition 3 000 Hz Internal 20 MHz clock Falling Edge High Input gt 2 4V DC Low Input lt 1 2V DC Eagle Technology O Copyright 2003 www eagledaq com 35 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Thermo Couple Input Characteristics Number of Channels Device Differential Channels SRL 73T 8 8 SRL 73T 16 16 SRL 73T 32 32 Resolution 14 bits Maximum Update Rate 2 milliseconds Data Transfer Programmed I O Input Programmable Ranges Channel i Bipolar Gain Range Input Coupling DC Relative Accuracy 1 LSB Gain x 30 Offset Error 0 011 millivolts Eagle Technology O Copyright 2003 www eagledaq com 36 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Interface Communication Type UART Compatible Communication Protocol RS232 Or RS485 Baud Rate 300 Baud 1200 Baud 2400 Baud 4800 Baud 9600 Baud 19200 Baud 28800 Baud 38400 Baud 57600 Baud 115200 Baud Power Requirements Specification SRL 24A C SRL48A C SRL72A C SRLYGA C SRL 120A C Power Supply 1A 1A 1A 1A 1A Environmental Physical Relative Humidity 0 to 90 non condensing Operating Temperature 0 C to 70 C Housing Plastic Casing Dimension 2 Tier Box Height 45mm Width 80mm Length 148mm Connectors SRL 24A DB25 M SRL 24C 2 x DB25 M SRL 48A 2 x
41. tion devices They are part of the uDAQ series more specifically digital YO and analog I O for serial bus The SERIAL uDAQ DIO series has support for 24 to 120 digital input output lines and 6 counters They come in 5 basic models SRL 24 SRL 48 SRL 72 SRL 96 and SRL 120 The SERIAL uDAQ Analog Input series support 16 analog inputs and 4 analog outputs It s available in two models the SRL 26 that excludes analog outputs and the SRL 30 that include the analog outputs It has full support for channel amp gain list scanning The SERIAL uDAQ Temperature Input series supports 8 16 and 32 temperature inputs The two basic models are the 73T and 73R which supports thermocouple and RTD Features The SERIAL uDAQ series has some very unique features and are listed below 232 and 485 compliant Powered externally Intel 8255 compatible digital I O ports Intel 8254 compatible counter timer Channel list and voltage range scanning Q 3 KHz 14 bit Analog I O resolution Temperature inputs Quick and effortlessly to install Eagle Technology Copyright 2003 www eagledaq com 1 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition uDAQ Versions The tables below list the various version that is available Digital I O Series Feature SRL 48 SRL96 SRL 120 Number of digital channels A C Version 24 48 48 96 192 Number of counters C Version i 6 6 6 i 6 i 6 Number of 8255 compatible po
42. utput Out These are the outputs of each counter timer Digital Ground DGND All digital ground signals should be connected to this pin Analog Ground AGND All analog inputs should be referenced to AGND Do not connect AGND and DGND together This will create ground loops and instability in the hardware Analog Inputs ACHO 15 The analog input channels are connected to the analog input sub system and are used to measure analog voltages These signals are referenced to analog ground AGND Eagle Technology Copyright 2003 www eagledaq com 12 SERIAL Digital I O Series User Manual Eagle Technology Data Acquisition Analog Outputs DACO 3 The analog output channels are used to output analog voltages They are referenced to analog ground AGND External Clock EXT_CLK This pin is the external clock input It is used to control the convert timing of the analog to digital converter This signal is synchronized with a master clock of 20MHz The signal must be referenced to digital ground DGND which is the connecter shell External Trigger EXT_TRIG This signal is used as a control gate for the analog input scanning process When selected by software and set high it will enable the process A low voltage will disable the process 10 Volt Reference Calibration 10V_REFCAL This pin is used to measure the 10 volt reference for the analog circuit It is only used during calibration and should not be used externally

Download Pdf Manuals

image

Related Search

Related Contents

Assistive Technology and Demonstration Lab  INTRODUCTION À L`ÉLECTRICITÉ STATIQUE  STILL BITE  Samsung Galaxy S6 edge (32GB / 64GB / 128GB) Kasutusjuhend  ダウンロード - エニイワイヤ  日本工作機械工業会のリスクアセスメント事例  Mode d`emploi  Gainward 4260183362869 NVIDIA GeForce GTX 650 Ti 2GB graphics card  "user manual"  

Copyright © All rights reserved.
Failed to retrieve file