Home
to USER MANUAL V1.2 for ADU100
Contents
1. Response 5 bytes 00000 to 65535 in decimal Example RC3 PA3 has seen 156 Low to High Transitions 00156 response Event Counter 3 is cleared Page 19 of 23 ADU100 User Manual DBn Sets de bounce time of event counters n 0 1 or 2 0 100us 1 1ms Default 2 10ms of Bytes 3 Response NONE Example DBO De bounce is set to 100us DB Returns present de bounce setting of Bytes 2 Response 1 bytes 0 1 or 2 Example DB De bounce is set to 100us 0 response 6e SPECIAL FEATURE COMMANDS The ADU100 has several special features including a host watchdog timer and an auxiliary serial RS232 port The following commands are used to implement these features The RS232 port has a programmable baud rate from 9600 to 56K This setting determines the BAUD rate used for both transmit and receive This parameter should be set before RS232 transmission or reception commences SBn Sets baud rate of auxiliary RS232 port n 0 1 2 or3 0 9600 Default 1 19 2K 2 38K 3 56K of Bytes 3 Response NONE Example SB3 Sets Baud rate to 56K SB Returns present baud rate setting of Bytes 2 Response 1 bytes 0 1 2 or 3 Example SB Baud Rate is 9600 0 response A programmable host watchdog is provided to allow predicted operation in the event the host PC stops communicating with the ADU200 Upon timeout the relay KO is RESET WD 0 and the status indicator will turn from GREEN to RED An
2. Electrical Specifications Supply Voltage NONE Bus Powered Supply Current 180mA Typical 200mA Maximun Operating Temperature 0 50C Low Level Analog Inputs 2 Resolution 16 Bits Type 2 Single Ended or 1 Differential Ranges Programmable 0 2 5 0 1 25V 0 625V 0 3125V 0 156 25mV 0 78 125mV 0 39 0625mV 0 19 53125mV 1 2 5V 1 25V 625V 3125V 156 25mV 78 125mV 39 0625mV 19 53125mV Input Z 100K Min Common Mode Range 5 VDC Isolation 3000V Linearity 0 0003 Typical Offset Error equal to noise level when calibrated Gain Error equal to noise level when calibrated Noise peak to peak 4 7uV GAIN 1 0 63uV GAIN 128 Sample Rate 50 s s Single Channel High Level Analog Input 1 Resolution 16 Bits Type Single Ended Ranges Programmable 0 5VDC 0 10VDC 5VDC 10VDC Input Z 27K Min Common Mode Range 11 to 12 VDC Isolation 3000VAC Linearity 0 0003 Typical Offset Error 10mV Max Gain Error 0 2 max Typically 0 05 Page 22 of 23 ADU100 User Manual Noise peak to peak 35uV Max 10V Range 20uVMax 5V Range Sample Rate 50 s s Single Channel Relay Output 1 Type AC Ratings 5 AMPS 120VAC DC Ratings 5 AMPS 30VDC Digital I O 4 TTL Vin HIG
3. Example RPKO Relay KO is closed 1 response Page 16 of 23 ADUI100 User Manual 6c DIGITAL COMMANDS PORT A J1 USB J2 RS232 ONTRAK CONTROL SYSTEMS DATA ACQUISITION AND CONTROL A D U 1 00 USB Data Acquisition Interface www ontrak net ZN Type Serial No status PORTA is a 4 byte digital I O port The port can be configured in any configuration of inputs or outputs The power up default is all inputs Light pull up resistors can be enabled under software control to allow the connection of external dry contact inputs There are a multitude of commands available to read and write PORT A in both binary and decimal format The port lines can be read or written individually or as a 4 bit port CPAXxxxx Configure data direction of PORT A x 1 for input O for output order is MSB LSB Order is MSB LSB and all four bits must be specified of Bytes 7 Response NONE Example CPA1000 PAS is set to input PAO PA1 and PA2 are set as outputs SPAXxxxx Writes binary data to PORT A x 1 for HIGH 0 for LOW Order is MSB LSB and all four bits must be specified Individual lines configured as inputs are not affected by this command of Bytes 7 Response NONE Example SPA1110 PA3 PA2 and PA1 are set HIGH and PAO is reset to LOW MAdd Writes decimal data dd to PORTA dd 0to 15 Individual lines c
4. a USB Bus The ADU100 can be connected to the USB bus via the enclosed 10 A B USB cable The cable provides both power and communications connections to the ADU100 When first connected the STATUS led will turn RED indicating power is applied A message will flash on the screen indicating New hardware Found ADU100 USB Data Acquisition Interface Depending on the version of Windows the host may prompt to search for a driver Select Let Windows Search for a Driver and click next After a few seconds the STATUS led will turn green indicating enumeration is complete The enumeration process is completely transparent to the application program as it is completed by the Windows operating System The STATUS led will remain green unless a watchdog timeout See Special Commands Section occurs The ADU100 can be connected directly to the host hub or either external powered or non powered hubs Caution Use of System Standby If the Windows operating systems puts the system into Suspend mode all USB hubs are issued a Reset when the Suspend mode is exited This will cause the ADU100 to lose power briefly resulting in the event counter data being lost and reversion to the power up state Open the power options section in the Windows control panel and ensure System Standby is set to never Caution Use of PWR Terminals The auxiliary power connections labelled VDD and GND are a non isolated output and no external
5. help file is designed to be run on the development PC when programming This allows programmers to cut and paste specific functions directly into an application Additional examples and applications are posted on our web site at www ontrak net 2 ADU100 USB Data Acquisition Interface 3 ISOLATED 3000V 16 Bit Analog Inputs Programmable PGA gives full scale input ranges from 0 19mV to 10V Low noise Sigma Delta A D Internal self calibration function for true 16 bit resolution 2 5000V and 5 00V reference outputs to allow direct connection of strain gauges High quality Aromat PA series relay offers superior performance 4 Digital I O Lines 1 N O relay contact output rated 5 0A 120VAC 5 0A 30VDC Programmable watchdog functions Bi colour LED status indicator Self resetting fused 5V output Auxiliary RS232 port for connecting legacy RS232 devices ADR series High quality cage clamp type terminal blocks Uses standard HID drivers included with Windows 98SE 2000 XP Mini driver DLL provided for use with VB VC LabVIEW and TestPoint Programming examples and sample code included for VB Visual C Four 16 bit event counters one high speed capable Programmable de bounce setting for event counters Bus Powered No external power supply required Meets IEC61000 4 2 ESD protection for USB port Available in enclosure or as PCB only Page 4 of 23 ADU100 User Manual 3 Connecting the ADU100 to
6. si 6 64 0 39 0625mV 0 39 0625mV bonove 7 128 0 19 53125mV 0 19 53125mV nenave Table 1 Available Unipolar Input Ranges GAIN SETTING GAIN ANO Input Range AN1 Input Range AN2 Input Range 0 1 2 5V 2 5V 1 2 1 25V 1 25V 10V 2 4 625V 625V 5V 3 8 0 3125V 0 3125V Donctuse si 4 16 0 15625V 0 15625V ponotuse si 5 32 78 125mV 78 125mV ponotuse ssi 6 64 39 0625mV 39 0625mV ponotuse 7 128 19 53125mV 19 53125mV Donotuse Table2 Available Bipolar Input Ranges Calibration For each analog input channel there are internal calibration registers that allow compensation for gain and zero offset errors When an input channel is read it can be done in NORMAL or CALIBRATED mode When the CALIBRATED mode is selected an internal calibration is initiated before the actual reading is taken The internal calibration switches the input of the A D to internal references and calibrates the channel for the specified gain Calibration registers store the coefficients to allow accurate readings using the NORMAL mode A CALIBRATED reading takes over three times as long as a NORMAL reading as thus CALIBRATED readings are generally only taken at the following times 1 The first time a channel is read 2 When a channel gain or configuration is changed 3 When the ADU100 ambient temperature changes more than 2 degrees Celsius Page 14 of 23 ADU100 Us
7. 764 Notre Dame Ave Unit 1 Sudbury Ontario ONTRAK CONTROL SYSTEMS al DATA ACQUISITION AND CONTROL 705 671 6127 FAX ADU100 USB Data Acquisition Interface User Manual Ver 1 2 J1 USB J2 RS232 ONTRAK CONTROL SYSTEMS DATA ACQUISITION AND CONTROL A D U 1 00 USB Data Acquisition Interface www ontrak net O PE RELAY ToT 5 gt R g sas BE ch 8 2 B 2 EZBER F DVAVAVAVAVAVAVA www ontrak net Ontrak Control Systems reserves the right to change product specifications to improve the product Although every attempt has been made to ensure the accuracy of the material contained in this manual Ontrak Control Systems assumes no liability for inadvertent errors Warranty This ADU100 is warranted from defects in workmanship and materials for a period of 90 days Liability for defects is limited to the purchase price of the product This warranty does not apply to defects resulting from improper modifications or use outside published specifications Copyright 2003 ONTRAK CONTROL SYSTEMS INC Page 2 of 23 ADU100 User Manual Table Of Contents W hat is Included and Where to Start 4 ADU100 USB Data Acquisition Interface Features 4 Connecting the ADU100 to a USB Bus 5 AduHidTest USB Device Test Program 6 ADU100 Command Summary 11 ADU100 Command Descriptions 11 6a Analog Commands 11 6b Relay Comm
8. G INPUT COMMANDS Returns unipolar analog value of analog channel n using gain of g n 0 1 or 2 g 0 7 Returns bipolar analog value of analog channel n using gain of g n 0 1 or 2 g 0 7 Returns unipolar analog value of analog channel n using gain of g n 0 1 or 2 g 0 7 With self calibration Returns bipolar analog value of analog channel n using gain of g n 0 1 or 2 g 0 7 With self calibration RELAY COMMANDS PORT K Sets relay KO closes contact Resets relay KO opens contact Returns status of relay KO DIGITAL COMMANDS PORT A Configures data direction of PORT A x 1 for input O for output Outputs binary data to PORT A x 0 or 1 Outputs decimal data to PORT A ddd 00 to 15 Resets I O line specified by n in PORT A n 0 1 2 or 3 Sets I O line specified by n in PORT A n 0 1 2 or3 Returns status of Input specified by n n 0 1 2o0r3 Returns status of PORT A in binary format Returns status of PORT A in decimal format Turns on light pull ups on PORT A Turns off light pull ups on PORT A Returns present pull up status 0 for OFF 1 for ON EVENT COUNTER COMMAND SUMMARY Returns present count of event counter x 0 1 2 3 orH Returns present count and clears event counter x 0 1 2 3orH Sets de bounce time of event counters n 0 1 2 or 3 0 100ms 1 10ms 2 1ms 3 100us Returns present de bounce setting SPECIAL FEATURE COMMAND SUMMARY Sets baud rat
9. H MAX 5 VDC Vin HIGH MIN 2VDC Vin LOW MAX 0 7VDC Vin LOW MIN 0 VDC Reference Outputs 2 Output 1 2 500VDC 0 5mV 10mA Max Output 2 5 00VDC 2 5mV 100mA Max Special Functions RS232 Port Auxiliary RS232 port allows connection to ASCII based serial interfaces Programmable baud rate from 9600 to 56K Mounting Options DeskTop Velcro Panel PCB Only DIN Rail Page 23 of 23 ADU100 User Manual
10. Open Close ByVendorld Ox0a07 Ontrak Control Systems Ince Dx By Product Id fico Sapu By Serialt eoooni Open Show List Close r Device Pipe sko c Sendapu 0K eo Receive ADU m RS 232 Pipe Sen 232 _ F Receive 232 SSS Stream Pipe Stream On Outputs to DataRead txt IV Timeout 500 milliseconds Copyright 2002 Ontrak Control Systems Incorporated www ontrak net Figure 4 Sending sk3 Command Page 8 of 23 ADU100 User Manual STEP 3 Receive Data from the ADU100 Some commands will cause a response to be sent from the ADU device to the host computer For example if an ruc07 read analog channel 0 with a gain of 128 with calibration command is sent the ADU100 will send back the 5 digit count To read responsive commands simply click the Receive ADU button and the data will be displayed In this case the response is 37357 indicating ANO is at 37357 65535 X 01953125 11 1334 mV 23 AduHidTest www ontrak net Eg r Open Close OK ByVendorld 0x0a07 Ontrak Control Systems Inc x By Product Id fico anu By Serialtt eooon Gpen Show List Close m Device Pipe fruc07 gt SendADU OK 37357 a Receive ADU OK RS 232 Pipe fo Seen 232 F Receive 232 e m Stream Pipe Stream On Outputs to DataRead txt V Timeout 7500 mill seconds Copyright 2002 Ontrak Control Systems Inc
11. VM VB VP SAISBSIV SGQM VPBV SAISVBSVIVe lt lt y gt a Page 12 of 23 ADUI100 User Manual 6a NOTE 1 Bipolar Input Connections to ANO and AN1 Special considerations must be made when connecting bipolar input voltages to ANO and or AN1 When operating in bi polar mode the inputs are actually pseudo bipolar as LCOM is used as the reference for the bipolar input voltages LCOM must not be connected to AGND and NO CONNECTION should be made to 2 5V REF AGND AN2 or 5VDC Bipolar input ranges can be used with AN2 without any special considerations TMU eee ee T ee ONTRAK CONTROL SYSTEMS Se ADU100 USB Data Acquisition Intatace wow cotra net AR RELAY DIGITAL Typa Serial Nb N C Make No Connection Figure 9a Bipolar Input Connections to ANO and AN1 Page 13 of 23 ADU100 User Manual The analog channels are read individually as either single ended or bi polar type inputs An internal PGA programmable gain amplifier allows for a wide range of input voltages available input ranges for the channels and corresponding GAIN SETTING Tables 1 and 2 show the GAIN SETTING GAIN ANO Input Range AN1 Input Range AN2 Input Range 1 2 0 1 25V 0 1 25V 0 10V 2 4 0 625V 0 625V 0 5V 3 8 0 0 3125V 0 0 3125V bo notuses o o 4 16 0 0 15625V 0 0 15625V vonotuses o 5 32 0 78 125mV 0 78 125mV oonotuse
12. ands 16 6c Digital I O Commands 17 6d Event Counter Commands 19 6e Special Feature Commands 20 The ADU100 Software Development Kit SDK 21 Electrical Specifications 22 Page 3 of 23 ADU100 User Manual 1 What is Included and Where to Start The ADU100 ships complete with a 10 USB cable this User Manual and a 3 5 diskette titled ADU SDK The ADU SDK diskette inlcudes the following files AduHid dll DLL to allow applications to communicate with the ADU100 on the USB bus AduHidTest exe Software application used to test ADU products and allow programmers to become familiar with the ADU ASCII commands AduHidHelp chm Software development kit SDK in CHM Windows Help File format VisualC EG folder Visual C program examples from SDK VisualBasic EG folder Visual Basic program examples from SDK BorlandC EG folder Borland C program examples from SDK Various support files First time users should first review the ASCII command set for the ADU100 and then use AduHidTest to become familiar with the operation of the various features of the product Note The AduHid DLL requires one of the following Windows operating systems 98SE 2000 or XP Application programs should be written using the Software Design Kit SDK located on the ADU SDK diskette The SDK contains explanations of how the various communication pipes can be accessed using the AduHid DLL Example code is given for Visual Basic Visual C and Borland C The SDK
13. display indicates that there is an ADU100 device connected with serial number BO0001 Select the device by clicking on the displayed text The AduHidTest main window will now display the product ID and Serial number Click the By Serial radio button and then click Open to open the handle to the selected ADU100 AduHidTest www ontrak net xi m Open Close ByVendorld 0x0a07 Ontrak Control Systems Inc _ By Product Id fico au By Serialtt feoooni Open r Device Pipe N o E sea ez Receive ADU m RS 232 Pipe fe _Send 252 g Receive 232 SSS SSS SI m Stream Pipe Stream On Outputs to DataRead txt Timeout Eo milliseconds Copyright 2002 Ontrak Control Systems Incorporated www ontrak net Figure 3 Connected to BO0001 Page 7 of 23 ADU100 User Manual STEP 2 Send Commands to the ADU100 Once connected you may now send commands to the available pipes on the device Pipes are the individual connections to functional sections of the ADU100 The Device Pipe is used to send standard ASCII ADU commands to control the peripherals built into the ADU100 such as the relay output or analog input channels Type skO Close relay KO into the device pipe send window and click Send ADU Relay KO on the ADU100 will close and the software will display a small OK next to the Send ADU button indicating the command was sent 3 AduHidTest www ontrak net Ed gt
14. e of axillary RS232 port n 0 1 2 or 3 0 9600 1 19 2K 2 38K 3 56K Returns present baud rate setting Sets watchdog timeout length n 0 1 2 or 3 0 WD OFF 1 1s 2 10s 3 1min Returns watchdog setting Page 11 of 23 ADU100 User Manual 6 ADU100 Command Descriptions All commands are specified as non terminated ASCII strings The maximum length of command and data strings is 7 bytes Commands are passed via the AduHid DLL to the ADU100 as a seven byte packet and unused bytes are sent as NULL 00h 6a ANALOG INPUT COMMANDS The ADU100 features three 16 bit analog inputs ANO AN1 and AN2 Also featured in the analog section are two reference outputs suitable for use with external sensors such as strain gauges or potentiometers The 2 5V REF output can source up to 10mA and the 5 VDC output can source up to 100mA All analog inputs and reference outputs feature 3000V optical isolation from the USB bus and other I O functions J1 USB J2 RS232 ONTRAK CONTROL SYSTEMS DATA ACQUISITION AND CONTROL A D U 1 0 0 USB Data Acquisition Interface _www ontrak net RELAY Type aga ano Serial No ko status nh AEN Figure 7 Analog Connections Input Connections Two of the inputs ANO and AN1 are low level inputs that can be operated as two single ended inputs or used as one differential i
15. e www ontrak net O status RELAY DIGITAL ANALOG KO y I ESES S S S yb fh fs B S 2 9 Serial No ed S B RSE S a E E S S D B 5 DOCDCDOCDOCDOCDODOAOO ad Limit Figure 12 Dry contact Connections Note that when using the internal pull ups the inputs read a logic 1 or HIGH when the contact input is OPEN or there is nothing connected to the input Dry contact inputs are then connected between GND and the associated input and return a logic 0 or LOW when the contact is closed 6d EVENT COUNTER COMMANDS Each digital input line on PORTA has an event counter associated with it The event counters count low to high transitions and store them in a 16 bit counter that can be read or read and cleared The event counters are numbered 0 to 3 and count from 00000 to 65535 followed by a rollover to 00000 The de bounce time of the event counters can be set from 100us to 10ms Additionally PAO has a high speed event counter H that is not affected by the de bounce setting Event counter H has a maximum input frequency of 250KHz REx RCx Returns present count of event counter x 0 1 2 3 orH of Bytes 3 Response 5 bytes 00000 to 65535 in decimal Example RE1 PA1 has seen 23 Low to High Transitions 00023 response Returns present count and clears event counter x 0 1 2 3 orH of Bytes 3
16. er Manual Command Structure The command used to read the analog channels is composed of three ASCII characters and two ASCII numbers for a total for five bytes The first character is an R and is constant The second character is either a U or B to indicate whether the measurement is to be a either a unipolar or bipolar type The third character is either an N or C to indicate if the measurement is a normal type or one to be done with a calibration The first number specifies the input channel to be read and is either 0 1 or 2 The last number is the gain setting and ranges from 0 to 7 Analog Command Composition 1 Character R Constant 2 Character U for unipolar or B for bi polar 3 Character N for normal or C for calibrated 4 Character Channel ID 0 ANO 1 AN1 2 AN2 5 Character Gain Setting of 0 to 7 The response to all analog read commands is a 5 digit decimal number from 00000 to 65535 To convert the READING to an actual voltage use the following formulas ANO and AN1 in Single Ended mode Voltage READING 65535 X 2 5V GAIN ANO and AN1 in Bi Polar mode Voltage READING 65535 X 5V GAIN 2 5V GAIN AN2 in Single Ended mode Voltage READING 65535 X 10V GAIN AN2 in Bi Polar mode Voltage READING 65535 X 20V GAIN 10V GAIN A few examples RUNO7 Read ANO in unipolar mode with a gain of 128 without calibration 34567 ret
17. iting to the device A USB bus can have up to 128 devices connected to a single host and there are three criteria that can be used to open a handle The three criteria are Vendor ID Product ID and Serial Number If a single device is connected to the bus any of the three criteria may be used If multiple devices are connected we recommend using the Serial Number to open the handle All ADU devices have their unique serial number printed on the top label The AduHidTest program main Window is shown in Figure 1 3 AduHidTest www ontrak net xi m Open Close OK ByVendorld Ox0a07 Ontrak Control Systems Inc eae g a By Product Id jo abu C By Serialtt Show List Close m Device Pipe O D o a Receive ADU m RS 232 Pipe r Stream Pipe Stream Un Outputs to DataRead txt V Timeout 500 milliseconds Copyright 2002 Ontrak Control Systems Incorporated www ontrak net Figure 1 AduHidTest Main Window Page 6 of 23 ADU100 User Manual The Open Close section of the window is where the handle is determined Click on the Show List button to view the devices connected to the USB bus Note Only ADU devices will be listed Figure 2 is the window that appears when the Show List Button is clicked Device List ADU Devices xi Choose your device The serial number is on the label of the blue box 4DU100 Serial Number B00001 Figure 2 Show List Display The
18. nput To operate ANO and AN1 as two separate single ended unipolar inputs LCOM MUST be shorted to AGND Input signals are then applied to ANO and or AN1 with AGND used as the analog ground input Figure 8 shows single ended voltages VA and VB connected to the analog inputs To operate the inputs as a differential pair in is connected to AN1 in is connected to LCOM and AGND is used as the analog ground input The differential measurement is then made by simply reading the AN1 input NOTE in differential mode LCOM is NOT shorted to AGND and there is no connection to ANO An example of a differential input is shown using a strain gauge in Figure 9 The third input AN2 is a high level input and operates as a single ended input only Input voltages are simply applied between AN2 and AGND FIG 8 FIG 9 J1 USB J2 RS232 J1 USB J2 RS232 ONTRAK ONTRAK CONTROL SYSTEMS CONTROL SYSTEMS DATA ACQUISITION AND CONTROL ADU1 00 DATA ACQUISITION AND CONTROL ADU1 00 USB Data Acquisition Interface www ontrak net USB Data Acquisition Interface www ontrak net eo PWR RELAY DIGITAL ANALOG a g eo PWR RELAY DIGITAL ANALOG 2 status 05 2 ar E E E EEE 2 318 2 2 2 aus ie e gekke akl 2 und HEEHKE BfS 7h Sle HEEE amp SG
19. onfigured as input are not affected by this command of Bytes 3 or4 Response NONE Example MA15 All lines of PORT A are set HIGH Page 17 of 23 ADU100 User Manual RAn SAn RPAn RPA PA P1 PO PU Resets I O line specified by n n 0 1 20r3 of Bytes 3 Response NONE Example RA2 PA2 is reset to LOW Sets I O line specified by n n 0 1 20r3 of Bytes 3 Response NONE Example SA1 PA1is set to HIGH Returns status of I O line specified by n n 0 1 2o0r3 of Bytes 4 Response 1 byte Oor1 Example RPA2 PA2 is High 1 response Returns status of PORT A in binary format of Bytes 3 Response 4 bytes 0000 tp 1111 binary Example RPA PA2 is High PAO PA1 and PA3 are Low 0100 response Returns status of PORT A in decimal format of Bytes 2 Response 2 bytes 00 to 15 in decimal Example PA All lines are High 15 response Enables light pull ups on I O all lines configured as inputs of Bytes 2 Response NONE Disables light pull ups on I O all lines configured as inputs DEFAULT SETTING of Bytes 2 Response NONE Returns status of light pull ups of Bytes 2 Response 1 Byte 0 if disabled 1 if enabled Page 18 of 23 ADUI100 User Manual An example of dry contact connections using the internal pull ups is shown in figure 12 J1 USB J2 RS232 ONTRAK CONTROL SYSTEMS DATA ACQUISITION AND CONTROL A D U 1 00 USB Data Acquisition Interfac
20. orporated www ontrak net Figure 5 Sending ruc07 and Receiving Analog Data The RS232 Pipe is used to send and receive ASCII strings to any RS232 based device connected to the ADU100 auxiliary serial port The method of sending commands is identical to device pipe in that you simply enter the ASCII command string and click the Send 232 button Data is received and then displayed when the Receive 232 button is clicked In the following example an rd analog array read command is sent to an ADR2000B Data Acquisition Interface connected the ADU100 auxiliary serial port Figure 6 shows the rd command being sent and the returned data displayed after the Receive 232 button is clicked Note1 The RS232 pipe is designed to send and receive ASCII strings which use a CR ODh as a termination character AduHidTest automatically adds the CR to the string being sent The maximum string length for both send and receive is 40 characters The ASCII string should not contain any NULL 00h characters in both incoming and outgoing strings Note2 The ADU100 does not support the stream pipe and so no explanation of its operation is listed in this document Page 9 of 23 ADU100 User Manual AduHidTest Z Timeout Figure 6 Sending rd Command to RS232 Pipe Page 10 of 23 ADU100 User Manual 5 ADU100 Command Summary RUNng RBNng RUCng RBCng SKO RKO RPKO REx RCx DBn DB SBn SB WDn WD ANALO
21. power supply should be connected to these terminals The power output is provided to allow use of dry contact inputs to the digital input lines If the supply is to be used with dry contact inputs GND should be connected to COM and the dry contact connections made between VDD and the selected digital input line If this power output is used for external circuits up to 100 mA can be drawn depending on how much current is drawn from the 5 000V reference output The total current drawn from the 5 000V reference and VDD should not exceed 100mA Page 5 of 23 ADU100 User Manual 4 AduHidTest USB Device Test Program AduHidTest is a USB Device test program used to test the connection of ADU data acquisition devices to a USB port The program is also a useful tool to allow programmers to become familiar with the ADU command set The program is located in the root directory of the ADU SDK disk The program can be run from floppy or transferred to the hard drive Note that the program requires the AduHid dll to operate and it should be copied to the same directory as the AduHidTest exe file Getting Started There are three steps in using a USB device in any application software The three steps are 1 Obtain a handle for the ADU100 2 Send commands to the ADU100 3 Receive data from an ADU100 STEP 1 Obtain a handle for the ADU100 A handle is a unique code that application software uses to identify a USB device for the purpose of reading and wr
22. urned data Voltage READING 65535 X 2 5V GAIN Voltage 34567 65535 X 2 5V 128 Voltage 10 3019mV RBN14 Read AN1 in bi polar mode with a gain of 16 without calibration 54690 returned data Page 15 of 23 ADU100 User Manual Voltage READING 65535 X 5V GAIN 2 5V GAIN Voltage 54690 65535 X 5V 16 2 5V 16 Voltage 54690 65535 X 5V 16 15625 Voltage 0 10453 V RUC21 Read AN2 in unipolar mode with a gain of 1 with calibration 42133 returned data Voltage READING 65535 X 10V GAIN Voltage 42133 65535 X 10V 1 Voltage 6 4290 V 6b RELAY COMMANDS RELAY KO J1 USB J2 RS232 ONTRAK CONTROL SYSTEMS DATA ACQUISITION AND CONTROL A D U 1 0 0 USB Data Acquisition Interface www ontrak net oO PWR DIGITAL ANALOG olol gt 5 gt status eas z 8 8 T o Type Serial No aa sz vd ONV cNV OA S There is one type A relay contact output on the ADU100 rated at 5A4 120VAC or 5A at 30VDC The relay can be SET closed or RESET opened The relay commands are SKO Sets closes relay contact KO of Bytes 3 Response NONE Example SKO closes contact KO RKO Resets opens relay KO of Bytes 3 Response NONE Example RKO opens contact KO RPKO Returns status of relay KO of Bytes 4 Response 1 byte Oor1
23. y command sent to either the DEVICE or RS232 pipe will reset the watchdog timer To determine if a watchdog timeout has occurred read the timer setting If the watchdog was set to 2 and no command was sent for 10 seconds a 0 will be returned indicating a timeout has occurred Following a timeout the host must reload the timer setting as a timeout causes the setting to be set to 0 WD OFF WDn Sets watchdog timeout length n 0 1 2 or3 0 WD OFF DEFAULT 1 1s 2 10s 3 1min of Bytes 3 Response NONE Example WD2 Sets WD timeout to 10s Page 20 of 23 ADUI100 User Manual WD Returns watchdog setting of Bytes 2 Response 1 bytes 0 1 2 or 3 Example WD Watchdog not enabled or timeout has occurred 0 response 7 The ADU100 Software Development Kit SDK Application programs must use the AduHid DLL provided to send commands and receive data from the ADU100 This is done using simple API calls from the application language Personal Computer Application AduHid Program API Calis DLL Windows Windows 98SE 2000 XP USB Ang Operating System Drivers AduHid DLL location The SDK is located on the ADU SDK diskette and includes explanations of how the pipes to the various ADU100 features operate The SDK contains examples for use with Visual Basic Visual C and Borland C Additional programming tutorials and applications are located at www ontrak net Page 21 of 23 ADU100 User Manual
Download Pdf Manuals
Related Search
Related Contents
Exam (pdf - 217.7kb) - Victorian Curriculum and Assessment Authority Chapter 3 König CMP-SP36 speaker set A RTE Magazine .3LX 3L/4 Filtre compost My Trade Analyzer Trade Station Samsung 65" UHD 4K 黃金曲面 Smart TV J7500 Series 7 用戶手冊 シラバス閲覧 - 足利工業大学 HP R967 Warranty Copyright © All rights reserved.
Failed to retrieve file