Data Translation DT2802 User Manual Download Page 28

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for DT2802

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...l1 TRANSLATION DT2802 User Manual Chromatography Board for the UM 10546 E IB Personal Computer ATand Compatibles Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...ion of Data Translation Inc Information furnished by Data Translation Inc is believed to be accurate and reliable however no responsibility is assumed by Data Translation Inc for its use nor for any infringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent rights of Data Translation Inc Data Translatio...

Page 4: ...n could void your authority to operate the equipment under Part 15 of the FCC Rules Note This product was FCC certified under test conditions that included use of shielded cables and connectors between system components It is important that you use shielded cables and connectors to reduce the possibility of causing interference to radio television and other electronic devices Canadian Department o...

Page 5: ...r l Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 6: ...stalling the DT2802 Hardware Overview Firmware Programming Sequences Hardware Reference Firmware Reference Troubleshooting Glossary Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 7: ... Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 8: ...DT2802 Device Driver and Subroutine Library 6 Chapter 2 Installing the DT2802 7 Unpacking 9 Installation Procedure 10 Step 1 Check the Jumper Selections 11 Step 2 Install the Board 12 Step 3 Connect RS232 based Devices 15 Step 4 Connect the Screw Terminal Panel 16 Step 5 Connect the Detector s 18 Step 6 Connect the External Devices 20 Powering Up the System 22 Contents vii Artisan Technology Group...

Page 9: ... Bus Interface 40 Status Register 42 Command Register 45 Data Out Register 46 Data In Register 47 Chapter 4 Firmware 49 Overview 51 Powerup Reset 51 Command Processing 52 DT2802 System Operation 53 Integrators 53 Output Switches 63 Switch Inputs 63 Serial 1 0 65 Event Interrupt Control 68 Data Management 70 viii Contents Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www...

Page 10: ...9 Other 123 Chapter 5 Programming Sequences 125 Introduction 127 Configuring the Board 128 To Restore the Factory Configuration 131 To Change the Configuration 131 Saving the Configuration to EEROM 132 Acquiring Data Polled 1 0 133 Single Conversion Mode 133 Continuous Conversion Mode 138 Acquiring Data Modified Polled 1 0 143 Acquiring Data Interrupt Operation 150 110 Switch Operation 157 Content...

Page 11: ...72 Calculating Digital Codes 174 Calibration Procedure 176 Reference 3 Board Connectors 177 Connector Summary 179 P1 and P2 Bus Connectors 180 J1 Detector and 1 0 Connector 185 J2 Serial I O Connector 187 Reference 4 Detector Connections 191 Noise Sources 193 Electrical Noise 193 Crosstalk 194 Thermal Effects 194 Differential Inputs 195 Minimizing Errors 195 x Contents Artisan Technology Group Qua...

Page 12: ...ysicaVEnvironmental 209 Firmware Reference Reference 6 Remote Control Protocol 211 Overview 213 The Serial Interface 215 Control Characters 215 Error Correction 215 Packet Description 216 Error Detection 218 The Communications Protocol 219 Initiating Communication 219 Sending Firmware Commands 220 Reading Integrator Data Normal Data Mode 223 Reading Integrator Data Stream Data Mode 223 Contents xi...

Page 13: ...Summary 257 Numerical Listing DT2802 4 259 Numerical Listing DT2802 2 263 Alphabetical Listing DT2802 4 266 Alphabetical Listing DT2802 2 270 Reference 9 Product Support 273 Gener Checkn 275 Specific Problems 277 Service and Support 278 If Your Board Needs Factory Service 279 Glossary 281 Index 289 Warranty and Service Policy Reader s Comment Form Artisan Technology Group Quality Instrumentation G...

Page 14: ...Data In Register Bit Functions 47 Figure 15 Set Switch States Simultaneously Byte 103 Figure 16 1 0 Switch State Byte 104 Figure 17 Input State Byte 106 Figure 18 Event Interrupt Source Mask 115 Figure 19 Tag Byte Format 121 Figure 20 Single Conversion Polled 1 0 134 Figure 21 Continuous Conversions Polled 110 139 Figure 22 Continuous Conversions Modified Polled 1 0 144 Figure 23 Continuous Conver...

Page 15: ...e 43 Continuous Conversions Normal Data Mode 229 Figure 44 Continuous Conversions Stream Data Mode 234 Tables Table 1 RS232 Signal Lines 15 Table 2 J1 Pin Assignments 17 Table 3 Digital Output Codes 30 Table 4 Resolution vs LSB and nV sec 32 Table 5 Resolution vs Sampling Rate Single Channel 33 Table 6 VFC Settling Time 34 Table 7 Resolution vs Throughput Automux Mode 35 Table 8 DT2802 Registers 4...

Page 16: ...3 Factory Configuration Settings 129 Board State on Powerup or Reset 130 Jumper Summary 161 IRQ Levels Default Uses 167 Digital Output Codes 174 P1 Pin Assignments 181 P2 Pin Assignments 183 J1 Pin Assignments 186 J2 Pin Assignments 187 25 Pin Serial Connector Pin Assignments 189 9 Pin Serial Connector Pin Assignments 190 Control Characters 215 Packet Types 217 Maximum Throughput vs Baud Rate 227 ...

Page 17: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 18: ...ling the DT2802 describes how to install the DT2802 in an IBM Personal Computer ATor compatible and how to connect external devices to the board Chapter 3 Hardware Overview discusses the main subsystems of the DT2802 board and the 1 0 registers for communicating with the board Chapter 4 Firmware describes the firmware commands for performing the board s operations Chapter 5 Programming Sequences l...

Page 19: ... 8 Firmware Command Summary provides a numerical and alphabetical summary of the firmware commands and references their location in this manual Reference 9 Product Support explains what to do if you are having difficulty using the DT2802 board The Glossary defines data acquisition and chromatography terms used in this manual Related Documents DT2802 Software User Manual Document Number UM 1 0548 D...

Page 20: ...es referenced in this manual can be used with both the DT2802 2 and DT2802 4 boards The following symbol is used beside a firmware command to indicate that command is not valid in the stand alone mode of operation Unless otherwise noted all features referenced in this manual apply in both the normaiiSA bus mode and the stand alone mode of operation Where to Get Help If you have difficulty installi...

Page 21: ... I Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 22: ...Chapter 1 Introduction l I I 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 23: ...2802 board It also describes Data Translation software packages and hardware accessories This chapter is organized as follows The DT2802 Board System Requirements Accessories Introduction Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 24: ...und data acquisition Four input switch detectors to sense contact closures or TTL or CMOS levels Four optically isolated output switches Onboard memory buffers for storing up to 2048 samples per integrator Auto calibration function Command driven operation RS232 interface for communicating with a chromatograph auto sampler or other RS232 based device or for operating remotely from the host system ...

Page 25: ...ther voltage input ranges may be used if attenuated properly DT777 screw terminal panel and EP777 cable or similar device to connect the detector output to the DT2802 board The minimum system requirements listed above are necessary for using the DT2802 to acquire chromatography data Addition of the following components will significantly enhance the functionality of the DT2802 operating environmen...

Page 26: ...T2802 board It also provides transient overvoltage protection on the switch inputs and output switches The DT777 requires the EP777 cable assembly available from Data Translation to connect to the DT2802 board The EP777 cable assembly consists of individually shielded twisted pairs housed in a 6 foot flexible cable This cable assembly has a O shell connector at each end The EP246 shielded enclosur...

Page 27: ...ftware package contains an MS DOS device driver and a set of subroutines which interface to the device driver and take full advantage of the board s functionality The DT2802 Software User Manual describes this software tool in detail Introduction Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 28: ...1 I Chapter2 Installing the DT2802 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 29: ...put channels external devices to the input switch detector and output switch terminals and peripherals to the serial I O port This chapter is organized as follows Unpacking Installation Procedure Powering Up the System Installing the DT2802 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 30: ...item is missing or damaged call Data Translation s Customer Service Department at 508 481 3700 They will guide you through the appropriate steps for replacing missing or damaged items If you are located outside the USA call your local distributor The name and telephone number of your nearest distributor are listed in your Data Translation catalog Note Save the original packing material in the unli...

Page 31: ... Step 2 Install the board Step 3 Connect RS232 based devices Step 4 Connect the screw terminal panel if used Step 5 Connect the detector s Step 6 Connect the external devices Note Be sure to read the directions in each step carefully before attempting it Follow the steps in the order given 10 Installing the DT2802 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisa...

Page 32: ...ng the board No otherperipheral in your system can use these values Mismatched settings can result in unpredictable behavior and inaccurate results Other board configuration settings such as interrupt source s conversion rate resolution integration channel trigger mode serial data mode stream data packet size and serial port baud rate are software configurable See Chapter 4 Firmware and Chapter 5 ...

Page 33: ...ted to the computer 3 Unplug the computer and all accessories 4 Note the location of all cables and disconnect them from the rear of the computer 5 Remove the computer s cover The DT2802 board may be installed in any fully bussed expansion slot Figure 1 illustrates the expansion slots in the IBM Personal Computer AT Slot Cover ussed Fully b expansion slot I I I I I I I I I 111111 I _______ Rear D ...

Page 34: ...the card cage to properly align the board in the slot When the bottom of the board contacts the bus connector gently press down on the board until it clicks into place Caution Do not force the board into place If you encounter resistance when inserting the board pull it out and try again Do not wiggle the board from side to side during installation as this may damage the bus connector 10 Gently li...

Page 35: ...hassis using the screw removed from the slot cover 12 Replace the computer s cover 13 Reconnect an cables to the rear of the computer 14 Installing the DT2802 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 36: ...t data and RS232 control signal Table 1 lists the location of these signal lines at the J2 connector Table 1 RS232 Signal Lines Pin Description 1 2 RS232 signal control signal 3 4 RS232 TD transmit data RS232 RD receive data 5 6 Not connected Note For information on various R 232 connectors see Reference 3 Board Connectors To connect to the RS232 port 1 Plug one end of the RS232 cable to the J2 co...

Page 37: ...ar of the DT2802 board as shown in Figure 3 J 1 connector I bEP7n cable 0000000000000 0000000000000 0000000000000 p 0000000000000 DT7n IBM PC AT side view Screw Terminal Panel Figure 3 Connecting a Screw Terminal Panel Note For the remainder of this chapter refer to the user manual provided with your screw terminal panel for the screw terminal assignments If you are connecting external devices via...

Page 38: ...tal Ground Analoa Ground 12 30 Analoa Ground Channel 4 Hiah 13 31 Channel 4 Low Analoa Ground 14 32 Analog Ground Channel 3 High 15 33 Channel 3 Low Voltaae Reference Hjgh 16 34 Voltaae Reference Low Channel 2 Hiah 17 35 Channel 2 Low Analoa Ground 18 36 Analoa Ground Channel 1 High 19 37 Channel t Low 1 No more than 10 rnA should be drawn from the 12V terminals pins 10 and 28 The return for the 1...

Page 39: ...802 4 has two integrators integrators A and B Each integrator connects to two input channels Integrator A connects to input channels 1 and 2 and integrator B connects to input channels 3 and 4 Each integrator has its own programmable time base Therefore the two channels associated with an integrator will have the same sampling rate and resolution 1 Connect the high level voltage output from the de...

Page 40: ...nected to the detector ground to provide a return path for the DT5705 input bias current The 1kO resistor serves to limit the current if the grounds are not at the same potential Only one connection of this type is necessary per detector Chapter 2 Installing the DT2802 19 Installing theDT28D2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 41: ...program the DT2802 to signal the host when it senses the change in signal To connect an input signal to the DT2802 1 Connect the high side of the input line to the desired Input terminal on the DT2802 see Figure 5 DT2802 INPUT 1 INPUT 1 RET optional _ shield AUTO INJECTOR Figure 5 External Device Input Connections Note Use a shielded cable for minimum noise on the input signal to the detectors 2 C...

Page 42: ...ITCH 1 SWITCH 1 RET DGND optional shield EXTERNAL DEVICE Figure 6 Output Switch Connection Note Use a shielded cable for minimum noise on the input signal to the detectors 2 Connect the other leads on the cable to the corresponding output switch terminal and the input terminal on the device Note The output switches do not supply power to the circuit Chapter 2 Installing the DT2802 21 Installing th...

Page 43: ...r outlets 1 Power up all accessories 2 Power up the computer Upon powerup the DT2802 automatically executes self diagnostics Once it determines it is operational it loads its configuration and calibration table and signals the host that it is ready for operation 22 Installing the DT2802 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 44: ... I Chapter3 Hardware Overview 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 45: ...res of the DT2802 board This chapter is organized as follows Overview Data Acquisition Subsystem DT2802 Microprocessor Inputs and Outputs Serial Port Bus Interface Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 46: ...programming required to perform an operation thereby simplifying programming You perform board operations or monitor the board s status by writing commands and parameters to or reading the status or data from four registers Chapter 4 Firmware describes the firmware commands in detail Figure 7 provides a block diagram of the DT2802 4 board Refer to this diagram for help in following the discussions...

Page 47: ...n voltage to frequency VFC converter a VFC controller and a VFC counter The integrator has two differential input channels The integrator has programmable channel selection resolution and sampling rate The microprocessor controls the operation of the DT2802 It sets the board configuration and controls the integrators and all I O tasks It also calibrates the integrators on command Hardware Overview...

Page 48: ...m external devices such as injectors and fraction collectors The inputs can be programmed to signal the host on a rising edge falling edge or both There are four optically isolated output switches Each output is written directly individually or as a group The host bus interface provides the communication between the DT2802 and the host in the normal ISA bus mode of operation It has a command statu...

Page 49: ...d subsystems in more detail Data acquisition DT2802 onboard microprocessor Digital inputs and outputs Serial 1 0 port Bus interface 28 Hardware Overview Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 50: ... VFC converts the analog voltage signal from one or two detectors to an output which the DT2802 accumulates and converts to a digital code during each sampling interval VFC Controller The VFC controller is a state machine which controls the VFC counter and the DT5705 multiplexer The state machine has inputs from the onboard microprocessor and crystal clock It produces integration start and end tim...

Page 51: ...to a digital code that represents the input voltage The digital output codes are listed in Table 3 below All digital codes are expressed in hex Table 3 Digital Output Codes Voltage 24 Bits 23 Bits 22 Bits 21 Bits 20 Bits 19 Bits 18 Bits 2 000V FS FFFFFF ov 180000 0 207V FS 000000 7FFFFF 3FFFFF 1FFFFF OFFFFF 07FFFF 03FFFF ocoooo 060000 030000 018000 ooc6oo 006000 000000 000000 000000 000000 000000 ...

Page 52: ... suit the needs of the chromatography system Input Type The DT5705 has two differential input channels and one VFC The VFC sees the following voltage from its two input channels Input Voltage VdlonNgh VchBnl _ Differential inputs are relatively insensitive to electrical noise since the VFC sees only the difference in voltage between the high and low sides of the input channel connections See page ...

Page 53: ...o 5 decimal digits The integrator converts the input voltage from the detector to output pulses which it counts over the sampling interval The DT2802 then converts these counts to a digital code At the maximum sampling rate of 120 or 100 measurements per second depending on the line frequency configuration value the DT2802 is able to count 18 bit values At longer sampling intervals the DT2802 can ...

Page 54: ...ycle or 1 120 second for 60Hz line frequency or 11100 second for 50Hz line frequency This results in the fastest sampling rate of 120 or 100 samples per second With the exception of 18 bit resolution all integration times are an integral number of power line cycles This allows the DT2802 to reject the crosstalk from the power lines to the detector inputs See Resolution above for the effect of reso...

Page 55: ...ing time to stabilize its output The length of this settling time depends on the resolution you select for the integrator Table 6 shows the settling time in number of power line cycles at each resolution at the two local line frequencies Table 6 VFC Settling Time Settling Time number of line cycles Resolution 60Hz 50Hz 18 bits 0 5 0 5 19 bits 0 5 0 5 20 bits 0 5 0 5 21 bits 1 0 1 0 22 bits 2 0 2 0...

Page 56: ...7778 23 bits 1 5789 1 5625 24 bits 0 9091 0 8929 These throughput rates are rounded to 4 decimal places The firmware always waits the settling time before taking a measurement when you switch the input channel or operate in the automux mode Chapter 3 Hardware Overview 35 Hardware OvetView Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 57: ... Microprocessor Generates the baud rate specified for the serial port This rate is one of the board configuration settings This is an RS232 port that permits serial communication with an RS232 based peripheral It also allows the DT2802 to operate remotely from the host system See Reference 6 Remote Control Protocol for information on passing firmware commands and data over the RS232 port The timer...

Page 58: ...ads these values into RAM to become the working values The calibration constants are also stored in EEROM See Chapter 4 Firmware for more information on the configuration parameters EPROM The EPROM is 32 Kbytes in size and contains the code executed by the 68HC11 microprocessor to control DT2802 operations External RAM The DT2802 places the digital code from each conversion into this 32 Kbyte RAM ...

Page 59: ... input can interrupt the host or trigger integration when it senses the selected change in signal You can set the input mode to normal or debounce Use the debounce mode when the input is a contact closure See Chapter 4 Firmware for information on selecting the active edge and configuring an input as an interrupt or trigger source Output Switches The output switches are optically isolated switch cl...

Page 60: ...an RD receive data TO transmit data and RS232 control signal This serial 1 0 port is part of the DT2802 microprocessor Since the microprocessor controls the data acquisition tasks you should limit serial communication during data acquisition The serial port parameters have the following values Baud rate 9600 factory configuration Data 8 bits character Stop bits 1 Start bits 1 Parity None The baud ...

Page 61: ...er and reads integration and other board information from the Data Out register The host can read the Status register at any time It can write to the Command or Data In registers or read from the Data Out register only when the Port Ready bit in the Status register is set high Any host action with these registers when the Port Ready bit is clear causes an error condition Table 8 summarizes the DT2...

Page 62: ...ot have individual functions It may be necessary fromtime to time in this manual to refer to the state of a particular bit or bits Rather than spell out the register and bit name this manual will use its abbreviations as follows REGISTER BIT For example SR PR represents the Status register Port Ready bit Chapter 3 Hardware Overview 41 Hardware OveiView Artisan Technology Group Quality Instrumentat...

Page 63: ...ommand or Data In register or a read of the Data Out register when this bit is clear causes an error READ 0 DT2802 not ready 1 DT2802 ready Bit 6 Integrator Data Ready IDR This bit sets when the number of data points specified for either integrator is in the data buffer This bit is clear when there are fewer data points in the data buffer than the Threshold value for either integrator Reading enou...

Page 64: ...ed the DT2802 also interrupts the host when this bit sets The DT2802 has the following evenVinterrupt sources Data ready integrator A Data ready integrator B not used by the DT2802 2 Digital input 1 active Digital input 2 active Digital input 3 active Digital input 4 active Serial port data ready Serial output port ready Error To determine the source of an interrupt or which event has occurred use...

Page 65: ... Ready event interrupt source is enabled READ 0 serial data buffer empty 1 serial data available Bit 0 Error ERR This bit sets when an error occurs This error may be an illegal command an improper number of arguments etc To determine which error occurred and to clear the error bit use the READ SYSTEM ERROR command If more than one error occurred this bit remains set after the first error is read C...

Page 66: ...can only be written to when SR PR is set Writing to this register when SR PR is clear causes an error Most commands have a fixed number of arguments or data bytes that must be written to or read from the Data In Out registers Some commands have no_arguments while other commands have one two or more arguments Failure to write the appropriate number of arguments or read the appropriate number of dat...

Page 67: ...written earlier to the Command register If multiple bytes are associated with the read command the first read returns the most significant byte The next read returns the second most significant byte and so on The last read returns the least significant byte This register can only b read when SR PR is set Reading this register when SR PR is clear causes an error A read of this register following a ...

Page 68: ...h the firmware command written earlier to the Command register If multiple arguments are associated with the command the arguments are written in order of most significant byte to least significant byte This register can only be written to when SR PR is set Writing to this register when SR PR is clear causes an error A write to this register following a read command also causes an error Chapter 3 ...

Page 69: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 70: ... i I j Chapter4 Firmware 49 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 71: ...t the host writes to the DT2802 to perform operations This chapter is organized as follows Overview DT2802 System Operation Command Summary Firmware Commands 50 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 72: ...M Once these diagnostics complete the microprocessor loads the EEROM configuration into its RAM Finally the microprocessor tests the integrators by performing one conversion on each integrator at the configured resolution Note This conversion affects the length of the powerup or reset operation If the last saved resolution was 18 bits the conversion occurs in 8 333 msec or 11120 seconds 60Hz line ...

Page 73: ... the DT2802 waits for the host to send the arguments via the Data In register In the stand alone mode the host sends the arguments with the command in a packet When the DT2802 has received all arguments it executes the command When the command completes the DT2802 becomes ready for another command The DT2802 can execute firmware read commands while the integrators are acquiring data online state T...

Page 74: ...ion and then save the values The integrators will retain these values even after powering off your system until you change them Integrator Enable see page 81 You can turn off one of the integrators to prevent crosstalk between integrators Crosstalk is the effect one input signal can have on another For example if one detector is tracking a large peak and the other detector is at baseline some smal...

Page 75: ... only the channel selected via the SET CHANNEL command When the integrator mode is automux the integrator performs a conversion on one inpuf channel the next conversion on the other input channel the next conversion on the first input channel and so on alternating conversions between the two channels Note In the automux mode integrator A automatically begins with channel1 and integrator B with cha...

Page 76: ...18 bits 120 100 30 0 25 0 19 bits 60 50 20 0 16 6667 20 bits 30 25 12 0 10 0 21 bits 15 12 5 6 0 5 0 22 bits 7 5 7 1429 3 0 2 7778 23 bits 3 75 3 8462 1 5789 1 5625 24 bits 2 0 2 0 0 9091 0 8929 These throughput rates are rounded to four decimal places Integrator Input Channel see pages 87 88 Each integrator has two input channels The input channels for integrator A are channels 1 and 2 The input ...

Page 77: ...o perform a conversion Table 10 lists the minimum measurable voltage and conversion time at each resolution Table 10 Resolution vs Conversion Time Minimum Conversion Time number of power line cycles Resolution 1 LSB 60Hz 50Hz 18 bits 8392 3 nV 0 5 0 5 19 bits 4196 2 nV 1 0 1 0 20 bits 2098 1 nV 2 0 2 0 21 bits 1049 0 nV 4 0 4 0 22bits 524 42 nV 8 0 7 0 23 bits 262 26 nV 16 0 13 0 24 bits 131 13 nV...

Page 78: ...annels if the specified time interval exceeds the settling time However if the settling time is longer than the specified time interval the integrator will wait the settling time before taking a measurement on the new channel Table 11 Resolution vs Sampling Rate Single Channel Maximum Sampling Rate Resolution 60Hz 50Hz 18 bits 120 100 19 bits 60 50 20 bits 30 25 21 bits 15 12 5 22 bits 7 5 7 1429 ...

Page 79: ...calculation 1 Determine the Number of Line Cycles per Conversion at your desired sampling rate For 60Hz boards 60 Number of Line Cycles per Conversion Desired Sampling Rate For 50Hz boards 50 Number of Line Cycles per Conversion Desired Sampling Rate The Number of Line Cycles per Conversion is in units of 0 5 line cycles 2 Determine the resolution you need from Table 12 below Table 12 gives the sm...

Page 80: ...ycles per Conversion 4 Compare the Number of Line Cycles per Conversion from step 1 with the Minimum Number of Line Cycles per Conversion from step 3 The Number of Line Cycles per Conversion must be equal to or greater than the Minimum Number of Line Cycles per Conversion If the Number of Line Cycles per Conversion is less than the Minimum Number of Line Cycles per Conversion you are attempting to...

Page 81: ...e Cycles per Conversion 0 5 The Time lntervalis 3 0 0 5 2 5 The argument value for the SET INTERVAL TIME command is 2 2 5 5 decimal 05 hex Example 2 A 5Hz sampling rate is desired at 20 bit resolutior with a 60Hz line frequency Sampling Rate 5Hz Number of Line Cycles per Conversion is 60 5 12 0 Using Table 10 the Minimum Number of Line Cycles per Conversion 2 0 The Time lntervalis 12 0 2 0 10 0 Th...

Page 82: ...7 After you have configured the integrator s you initiate conversions with a trigger To use a software trigger select the software command as the trigger source see page 54 using the SET TRIGGER SOURCE command and issue the START CONVERSIONS command to begin conversions The conversions begin immediately To use a hardware trigger select one of the switch inputs as the trigger source using the SET T...

Page 83: ...interval The DT2802 sets the Integrator Data Ready bit in the Status register SR IDR when the number of data points in the buffer reaches the preset threshold Stopping Conversions see page 97 The conversions stop when the DT2802 receives the STOP command from the host or the data buffer overflows You should read the contents of the data buffer if the data is yalid whenever conversions stop or you ...

Page 84: ...mands for the switch inputs include Set Active Edge see pages 98 100 You can specify the active edge for each input as a low to high transition high to low transition or either type of transition Debounce Input Mode see page 101 Relays or contact closures connected to the inputs may have some bounce oscillation between high and low states when they close The debounce input mode can be debounce or ...

Page 85: ...e edge that occurs on an enabled input event interrupt source causes the Event Interrupt Pending bit in the Status register SR IP to set Inputs must be enabled with the INPUT ENABLE command for the DT2802 to recognize a change in signal The READ ACK INPUT command returns the edge that caused the event and clears the event interrupt so the DT2802 can detect another edge on that input Note The DT280...

Page 86: ...the host firmware commands and data occurs over the serial port The following commands are valid in this mode SELECT READ BAUD RATE READ NUMBER OF DATA BYTES SET READ SIO DATA MODE SET READ STREAM DATA SIZE Serial Input Enable see page 108 The serial input port of the DT2802 is disabled at powerup or reset To receive serial data from an external device you must enable the input port using the SET ...

Page 87: ...a Serial Output in Process error Read Write Serial Data see page 111 The DT2802 sends or receives data through the serial port one 1 byte at a time Serial Input Buffer seepage 111 The DT2802 has a 255 byte input buffer for data received from an external device connected to the serial port You can use the READ NUMBER OF BYTES command to determine how many bytes are in the input buffer If the buffer...

Page 88: ...n specify the number of data points the DT2802 includes in the data packet it sends to the host in the Stream Data mode The data packet size can range between 1 and 64 four byte data points inclusive The throughput of the DT2802 is affected by the stream data Firmware packet size the baud rate the VFC resolution and the operating environment If you choose a large packet size the DT2802 may have to...

Page 89: ...the Event Interrupt mask the DT2802 sets the Interrupt Pending bit bit 2 in the Status register SR IP By polling SR IP you can determine when the DT2802 is ready to be serviced Interrupt Driven 110 see page 118 In addition to using the SET EVENT INTERRUPT MASK command to enable a specific subsystem as an interrupt source as described above for Polled 1 0 you would enable the Master Interrupt using...

Page 90: ...e interrupt Table 13 Acknowledging Events Interrupts Event Acknowledge Command Page System Error READ SYSTEM ERROR 79 Data Ready A READ NEXT CONVERSION 121 INTEGRATOR A Data Ready B READ NEXT CONVERSION 121 INTEGRATOR B Serial Data Ready READ SERIAL DATA BYTE 111 Serial Transmit Buffer WRITE SERIAL DATA BYTE 111 Empty Input 1 READ INPUT 1 105 Input 2 READ INPUT2 105 Input 3 READ INPUT3 105 Input 4...

Page 91: ...returns the number of samples currently in the integrator s data buffer The number of samples Increments each time the DT2802 adds a data point from a conversion and decrements each time the DT2802 transfers a value to the host You use this command to determine when an integrator is ready for another trigger when it is configured for the single acquisition mode as follows Before you issue a trigge...

Page 92: ...e input channel and start stop integration 110 Switch Configuration These commands set or return the active edge for the input switches enable the input acknowledge an input interrupt and set or return the output switch states Serial Pon Configuration Operation These commands set or return the serial port baud rate and transfer data and commands to from the serial port Event Interrupt Control Thes...

Page 93: ... command or an error occurs In the stand alone mode the host sends a packet containing the firmware command and any arguments to the DT2802 when the status byte returned by the DT2802 indicates it is ready for another command Most arguments have specific values That is each argument value has a particular meaning to that command The DT2802 returns values associated with a command most significant ...

Page 94: ...iated with it the DT2802 executes the command PR is clear during command execution and the host can send another command as soon as PR sets If the command has arguments associated with it continue with step 4 4 Write the first argument to the Data In register DI 5 Read the SR until PR sets 6 If there are additional arguments associated with that command write the next argument to the Dl register 7...

Page 95: ...yte to the Command register CR 3 Read the SR until PR sets 4 Read the first data byte from the Data Out register DO 5 Read the SR until PR sets 6 If there are additional data bytes associated with that command read the next byte from the DO register 7 Read the SR until PR sets 8 Repeat steps 6 and 7 until all data associated with that command has been read from the DT2802 Note The DT2802 always se...

Page 96: ... presented by function as described in the previous section The format for each command is as follows Command Name Command description Hex Code ARG1 ARG2 ARG3 DESCRIPTION tor set or select commands or Hex Code DATA1 DATA2 DATA3 DESCRIPTION tor read command See Reference 8 Firmware Command Summary for a list of commands in alphabetical and numerical order Chapter 4 Firmware 75 Firmware I Artisan Te...

Page 97: ...T2802 returns the previous value This is because this command changes the line frequency value in EEROM When you reset the board the DT2802 writes this value to its working configuration table CMD ARG1 DESCRIPTION 28 01 Select 60Hz line frequency 28 02 Select 50Hz line frequency READ LINE FREQUENCY This command returns a value indicating to which line frequency the DT2802 board is set CMD DATA1 DE...

Page 98: ...ew baud rate before communication is possible with the DT2802 If the DT2802 detects an error when the host sends this command the DT2802 responds with the ACKISTATUS message The error bit in the status byte will be set and the reset does not occur CMD ARG1 DESCRIPTION 29 01 Reset the board and restore the last saved settings from EEROM 29 02 Restore factory configuration to EEROM and reset the boa...

Page 99: ...rs This command requires you to write four data values in sequence to the Data In register for calibration to occur The Port Ready bit in the Status register SR PR must set before you write each argument or an error occurs For more information on the calibration sequence see Reference 2 Board Calibration In the stand alone mode no communication with the DT2802 is possible while this command execut...

Page 100: ...register SR ERR remains set until you have read all the errors When SR ERR sets a system error has occurred The DT2802 will not allow further command processing until you clear this error Some conditions that can cause an error include Command written to Command register CR when DT2802 was expecting arguments except ABORT command Command Data In or Data Out register was accessed when SR PR was cle...

Page 101: ...e DT2802 2 returns an Integrator B not installed error The DT2802 loads the settings for Trigger Source Acquisition Type Sampling Rate Channel and Resolution for each integrator at powerup or reset You can change the settings any time the board is not actively acquiring data and optionally store the new settings in EEROM See Chapter 5 Programming Sequences for instructions on changing the board co...

Page 102: ...Disable integrator A and enable integrator 8 2F 03 Enable both integrators READ INTEGRATOR ENABLE This command returns a value to the Data Out DO register indicating the enable disable state of the two integrators You can send this command while the integrators are busy or idle CMD DATA1 DESCRIPTION 3F 01 Integrator A enabled and integrator 8 disabled 3F 02 Integrator A disabled and integrator 8 e...

Page 103: ...egrator A 04 03 Select switch input 3 as trigger source for integrator A 04 04 Select switch input 4 as trigger source for integrator A 04 05 Select software command as trigger source for integrator A 05 01 Select switch input 1 as trigger source for integrator 8 05 02 Select switch input 2 as trigger source for integrator 8 05 03 Select switch input 3 as trigger source for integrator 8 05 04 Sele...

Page 104: ...itch input 3 14 04 Trigger source for integrator A is switch input 4 14 05 Trigger source for integrator A is a software command 15 01 Trigger source for integrator 8 is switch input 1 15 02 Trigger source for integrator 8 is switch input 2 15 03 Trigger source for integrator 8 is switch input 3 15 04 Trigger source for integrator 8 is switch input 4 15 05 Trigger source for integrator 8 is a soft...

Page 105: ... mode for integrator A 06 02 Select continuous acquisitions for integrator A 07 01 Select single acquisition mode for integrator B 07 02 Select continuous acquisitions for integrator B READ ACQUISITION TYPE This command returns a value to the Data Out DO register indicating whether the integrator performs a single conversion 01 or continuous conversions 02 once integration starts You can send this...

Page 106: ...TIME command As a result in the automux mode the maximum throughput is half the throughput in the single channel mode Use the READ SETTLING TIME command to determine the settling time for the integrator You can change the input mode for a particular integrator only while that integrator is idle If you send this command while that integrator is acquiring data an error occurs CMD ARG1 DESCRIPTION 80...

Page 107: ...dle CMD DATA1 DESCRIPTION 90 01 The input mode for integrator A is single channel 90 02 The input mode for integrator A is automux 91 01 The input mode for integrator B is single channel 91 02 The input mode for integrator B is automux Note All commands and arguments are in hex unless otherwise noted Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg c...

Page 108: ...TLING TIME command to determine the settling time for the integrator You can send a trigger to start conversions before the integrator finishes settling without causing an error It will perform the conversion after it settles You can change the input channel for a particular integrator only while that integrator is idle If you send this command while that integrator is acquiring data an error occu...

Page 109: ...r idle CMD DATA1 DESCRIPTION 92 01 Channel 1 is the input channel for integrator A 92 02 Channel 2 is the input channel for integrator A 93 01 Channel 3 is the input channel for integrator B 93 02 Channel4 is the input channel for integrator B Note All commands and arguments are in hex unless otherwise noted 88 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www ...

Page 110: ...3 nV sec 22 bits 524 52 nV 69 936 nV sec 73 433 nV sec 23 bits 262 26 nV 69 936 nV sec 68 188 nV sec 24 bits 131 13nV 65 565 nV sec 65 565 nV sec All values in this table are rounded to five decimal digits Increasing the resolution also increases the time the integrator needs to perform a conversion The integrator takes 8 333 msec 1 120 second perform a single conversion at 18 bit resolution It ta...

Page 111: ...se the READ INTEGRATION TIME command to determine how long it takes the integrator to pertorm a single conversion Note The resolution affects the length of the settling time The higher the resolution the longer it takes the integrator to settle Whenever you set the resolution the integrator settles to the new rate See Table 15 above for the settling time at each resolution You can change the resol...

Page 112: ...for integrator A 85 01 Select 18 bits as the resolution for integrator 8 85 02 Select 19 bits as the resolution for integrator 8 85 03 Select 20 bits as the resolution for integrator 8 85 04 Select 21 bits as the resolution for integrator 8 85 05 Select 22 bits as the resolution for integrator 8 85 06 Select 23 bits as the resolution for integrator 8 Firmware 85 07 Select 24 bits as the resolution...

Page 113: ...1 bits 94 05 Integrator A resolution is 22 bits 94 06 Integrator A resolution is 23 bits 94 07 Integrator A resolution is 24 bits 95 01 Integrator B resolution is 18 bits 95 02 Integrator B resolution is 19 bits 95 03 Integrator B resolution is 20 bits 95 04 Integrator B resolution is 21 bits 95 05 Integrator B resolution is 22 bits 95 06 Integrator B resolution is 23 bits 95 07 Integrator B resol...

Page 114: ... line cycles at each resolution at the two local line frequencies Table 16 Integrator Settling Time Settling Time number of half line cycles Resolution 60Hz 50Hz 18 bits 1 1 19 bits 1 1 20bits 1 1 21 bits 2 2 22 bits 4 4 23 bits 6 6 24 bits 6 6 The firmware always waits the settling time or time interval whichever is longer before taking a measurement when you switch the input channel or operate i...

Page 115: ...ou can send this command while the integrators are busy or idle CMD DATA1 DESCRIPTION 96 byte Number of half line cycles for a conversion to occur on integrator A 97 byte Number of half line cycles for a conversion to occur on integrator B Note All commands and arguments are in hex unless otherwise noted 94 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www arti...

Page 116: ...he number of half line cycles between conversions for integrator A 09 MS8 LSB Set the number of half line cycles between conversions for integrator 8 READ TIME INTERVAL This command returns a 2 byte value that represents the number of half line cycles between conversions for an integrator to the Data Out DO register You can send this command while the integrators are busy or idle CMD DATA1 DATA2 D...

Page 117: ...ile the integrators are busy or idle CMD DATA1 DESCRIPTION 74 01 Integrator A is idle 74 02 Integrator A is converting data 75 01 Integrator 8 is idle 75 02 Integrator 8 is converting data Note All commands and arguments are in hex unless otherwise noted 96 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 118: ...returned by the command increments by 1 Ifyou send this command immediately after executing the SET INTEGRATOR INPUT CHANNEL or SET INTEGRATOR RESOLUTION command when the trigger source is a software command the first conversion will start after the integrator settles That is the start of integration is delayed by the settling time at that resolution CMD DESCRIPTION 88 Start conversions on integra...

Page 119: ...put This command requires you to write the value for the desired edge to the Data In DI register The switch input can be enabled as a trigger source see the SELECT TRIGGER SOURCE command and as an interrupt source see the SET INTERRUPT MASK command The switch inputs must be enabled see the SET INPUT ENABLE command for the DT2802 to recognize the specif_ied change in state at any of the switch inpu...

Page 120: ... 2 Select either transition as the active edge for input 2 Select a low to high transition as the active edge for input 3 Select a high to low transition as the active edge for input 3 Select either transition as the active edge for input 3 Select a low to high transition_ as the active edge for input 4 Select a high to low transition as the active edge for input 4 Select either transition as the ...

Page 121: ...2 is a high to low transition 18 03 Active edge for input 2 is either transition 1C 01 Active edge for input 3 is a low to high transition 1C 02 Active edge for input 3 is a high to low transition 1C 03 Active edge for input 3 is either transition 10 01 Active edge for input 4 is a low to high transition 1D 02 Active edge for input 4 is a high to low transition 1D 03 Active edge for input 4 is eit...

Page 122: ...he switch inputs at 200Hz In the debounce mode it looks for 3 consecutive samples to have the same state following a change in signal level to detect an edge When the DT2802 is not in the debounce mode it detects an edge on the first sample showing a change in signal CMD ARG1 DESCRIPTION 27 01 Select no debounce for the input signals 27 02 Select debounce for the input signals READ INPUT SWITCH MO...

Page 123: ...ansition occurs A reset or powerup condition always disables input recognition by the board CMD ARG1 DESCRIPTION OE 01 Disable input signal recognition by the board OE 02 Enable input signal recognition by the board READ INPUT ENABLE This command returns the recognition state of the switch inputs by the DT2802 to the Data Out DO register CMD DATA1 DESCRIPTION 1E 01 Input signal not recognized by t...

Page 124: ...switch states simultaneously To do this the upper four bits bits 7 to 4 of the argument are 0 The lower four bits each correspond to a single switch By setting opening or clearing closing bits 3 through 0 you selectively open and close a switch Figure 15 illustrates this argument byte s bit assignments Configure all four switches It Q i Id 5J 0 0 1 Figure 15 Set Switch States Simultaneously Byte C...

Page 125: ...d state at the switch inputs 0 for a bit indicates that switch input state is low 1 indicates that switch input state is high Note Since the DT2802 samples the switch inputs at 200Hz it could take 15 msec in debounce mode to detect a change of state CMD DATA1 DESCRIPTION 36 byte Current state of the four input switches and four output switches Note All switch inputs are disabled at powerup or rese...

Page 126: ...active edge sensed for input 1 was a low to high transition 57 00 Most recent active edge sensed for input 2 was a high to low transition 57 01 Most recent active edge sensed for input 2 was a low to high transition 58 00 Most recent active edge sensed for input 3 was a high to low transition 58 01 Most recent active edge sensed for input 3 was a low to high transition 59 00 Most recent active edg...

Page 127: ...IN3 IN1 Figure 17 Input State Byte A 0 for a bit indicates the most recent edge sensed for that switch input was a high to low transition A 1 for a bit indicates the most recent edge sensed for that switch input was a low to high transition Note Since the DT2802 samples the switch inputs at 200Hz it could take 15 msec in debounce mode to detect a ch nge of state CMD DATA1 DESCRIPTION 5A byte Most ...

Page 128: ...ands that are not valid when the DT2B02 is jumper configured for the stand alone mode of operation These commands are flagged with a special symbol in this document If you attempt to execute one of the commands in the stand alone mode the DT2802 returns a Not Valid Command error Note All commands and arguments are in hex unless otherwise noted Chapter 4 Firmware 107 i j Firmware Artisan Technology...

Page 129: ...iver 23 02 Enable serial port receiver and clear serial input buffer READ SERIAL INPUT CONTROL This command returns a value that represents the serial input port state of the DT2802 board to the Data Out DO register CMD DATA1 DESCRIPTION 33 01 Serial input port disabled 33 02 Serial input port enabled Note All commands and arguments are in hex unless otherwise noted 108 Firmware Artisan Technology...

Page 130: ...ot try to access the DT2802 at the new baud rate for at least 10 ms after sending this command In addition the host serial port must also be set to the new baud rate before communication is possible with the DT2802 If the DT2802 detects an error when the host sends this command the DT2802 responds with the ACKISTATUS message The error bit in the status byte will be set and the baud rate will not c...

Page 131: ...ial port set to 1200 30 03 Baud rate for serial port set to 2400 30 04 Baud rate for serial port set to 4800 30 05 Baud rate for serial port set to 9600 30 06 Baud rate for serial port set to 19200 30 07 Baud rate for serial port set to 38400 Note All commands and arguments are in hex unless otherwise noted 110 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www ...

Page 132: ...ed peripheral connected to the RS232 port READ NUMBER OF BYTES This command returns the number of bytes currently in the serial input buffer to the Data Out DO register The serial input buffer can hold up to 255 bytes If the buffer is full the next byte written to the port from an external device causes an overrun error CMD DATA1 DESCRIPTION 34 byte Number of data bytes in the serial input buffer ...

Page 133: ... 25 01 Set control signal at RS232 port 25 02 Clear control signal at RS232 port READ RS232 CONTROL SIGNAL This command returns a value to the Data Out DO register indicating the RS232 control signal state CMD DATA1 DESCRIPTION 35 01 RS232 control signal is set 35 02 RS232 control signal is clear Note All commands and arguments are in hex unless otherwise noted 112 Firmware Artisan Technology Grou...

Page 134: ...he integrators are idle See the SAVE CONFIGURATION IN EEROM command You can change this setting while operating in the SA bus mode with no affect on operation If you also save the new setting to EEROM it will be in effect when you rejumper the DT2802 for the stand alone mode CMD ARG1 DESCRIPTION 21 01 Set Normal Data transfer mope 21 02 Set Stream Data transfer mode READ SIO DATA MODE This command...

Page 135: ...this setting only while the integrators are idle You can optionally store the new setting in EEROM when the integrators are idle See the SAVE CONFIGURATION IN EEROM command Note You can change this setting while operating in the SA bus mode with no affect on operation If you also save the new setting to EEROM it will be in effect when you rejumper the DT2802 for the stand alone mode CMD ARG1 DESCR...

Page 136: ...t source mask Data Error Ready A 0 IN1 I I I I MSB 115 114 113 112 111 110 19 I8 I I I I I 0 Data 0 IN2 Ready B Serial IN3 0 Data Ready o I I I I LSB I7 I6 I5 14 I3 I2 11 I0 I I I I 1 JN4 0 Serial 0 Output Empty Figure 18 Event Interrupt Source Mask Note The DT2802 2 board does not use the Data Ready B event interrupt source Note All commands and arguments are in hex unless otherwise noted Chapter...

Page 137: ...red use the EVENT INTERRUPT PENDING command The EVENT INTERRUPT PENDING command returns two bytes whose bits indicate the source condition The bits are in the same order as the EvenVInterrupt Mask see Figure 18 CMD ARG1 ARG2 DESCRIPTION 42 MSB LSB Enable disable event interrupt sources READ EVENT INTERRUPT MASK This command returns the two byte evenVinterrupt mask shown earlier in Figure 18 to the...

Page 138: ... in Figure 18 to the Data Out register A 1 for a bit indicates that event occurred CMD DATA1 DATA2 DESCRIPTION 54 MSB LSB Source of the event or interrupt Note All commands and arguments are in hex unless otherwise noted Chapter 4 Firmware 117 l Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 139: ...nterrupt disables the Master Interrupt when it occurs To recognize additional interrupts you must re enable the Master Interrupt as part of your interrupt servicing routine CMD ARG1 DESCRIPTION 40 01 Disable master interrupt 40 02 Enable master interrupt READ MASTER INTERRUPT This command returns the state of the master interrupt to the Data Out DO register CMD DATA1 DESCRIPTION 50 01 Master inter...

Page 140: ...bit sets in the Status register SR IDR when the number of data points in a buffer reach the threshold value set for that integrator SR IDR clears when you read enough data points from the buffer for that integrator so that the number of data points in the buffer is less than the threshold value RESET CLEAR BUFFER This command erases the contents of the selected buffer All data in that buffer is lo...

Page 141: ...e value representing the threshold value for a buffer to the Data Out DO register CMD DATA1 DATA2 DESCRIPTION 70 MSB LSB Threshold value for buffer A 71 MSB LSB Threshold value for buffer B READ NUMBER OF SAMPLES This command returns a 2 byte value representing the number of data points currently in a buffer to the Data Out DO register CMD DATA1 DATA2 DESCRIPTION 72 MSB LSB Number of data points i...

Page 142: ...ata value The third byte is the second byte of the data value The fourth byte is the least significant byte of the data value The tag byte has the format shown in Figure 19 Reserved Reserved T T ChanneiiD Resolution Figure 19 Tag Byte Format Bit 7 Reserved This bit is reserved and always returns 0 Bits 6 through 4 Channel ID These bits indicate on which channel the data was acquired READ 001 chann...

Page 143: ... 011 20 bits 100 21 bits 101 22 bits 110 23 bits 111 24 bits DATA2 DATA3 MS8 middle byte MS8 middle byte DATA4 DESCRIPTION LS8 First data point for integrator A in data buffer A LS8 First data point for integrator 8 in data buffer 8 Note All commands and arguments are in hex unless otherwise noted 122 Firmware Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg ...

Page 144: ...NULL terminated ASCII string 8 bytes representing the firmware revision level to the Data Out DO register CMD DATA1 DATAS DESCRIPTION 30 MSB LSB Firmware revision level READ BOARD REVISION This command returns a value representing the board revision level to the Data Out DO register CMD DATA1 DESCRIPTION 3E byte Board revision level Note All commands and arguments are in hex unless otherwise noted...

Page 145: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 146: ... I Chapters Programming Sequences 125 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 147: ...10 Switch Operation See the Bus Interface section in Chapter 3 Hardware Overview for a complete description of the DT2802 registers and their bit functions See Reference 6 Remote Control Protocol for information on how to transfer commands and data over the RS232 port when the DT2802 is jumper configured for the stand alone mode of operation 126 Programming Sequences Artisan Technology Group Quali...

Page 148: ...rticular real life chromatography application They merely illustrate the steps to take to setup the DT2802 board to operate These example programs are as follows SAMP1 C Single conversion polled 1 0 SAMP2 C Continuous conversions polled 1 0 SAMP3 C Switch output polled 110 SAMP4 C Switch input polled 1 0 SAMP5 C Serial I O polled 110 SAMP6 C Continuous conversions interrupt driven SAMP C Switch in...

Page 149: ... board mode selection all DT2802 configuration settings are software selectable These settings are stored in EEROM Once set these settings remain in effect until you change them The DT2802 ships with the factory configuration settings outlined in Table 17 on the following page 128 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 150: ...pe continuous acquisition buffer threshold 1 resolution 20 bits channel 1 data mode normal Integrator B configuration trigger source convert on command acquisition type continuous acquisition buffer threshold 1 resolution 20 bits channel 1 data mode normal Switch input configuration Mode no debounce Input 1 either edge Input 2 either edge Input 3 either edge Input 4 either edge Serial data mode No...

Page 151: ... on Powerup or Reset Function Setting Master interrupt disabled Switch inputs disabled Output switches all open Serial port disabled RS232 control signal high 130 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 152: ...Configuration On powerup or reset the DT2802 loads the last saved configuration settings into its working configuration table You can modify these settings while the integrators are idle The new settings are in effect until you power down or reset the board You can optionally save the new settings to EEROM To change the configuration 1 Poll the Status register until the Port Ready bit SR PR sets 2...

Page 153: ...R PR sets 2 Write 2C Save Configuration in EEROM to the Command register CR 3 Poll the SR until PR sets 4 Write 01 02 03 and 04 to the Data In DI register polling the SR until PR sets between each value The DT2802 saves the working configuration table to EEROM and restores these settings at powerup or reset The parameters stored in EEROM are the event interrupt sources local line frequency serial ...

Page 154: ...wever monitor the Error bit in the Status register routinely to make sure no errors have occurred Single Conversion Mode Perform the steps diagrammed in Figure 20 for single conversions in the polled 1 0 mode on integrator A If you are using integrator B substitute the appropriate commands If you are using a switch input as the trigger source incorporate the steps tor input detection setup see pag...

Page 155: ...el Set resolution Set time interval between conversions Set buffer threshold 1 Trigger conversion Read data point from buffer Done No Figure 20 Single Conversion Polled 110 134 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 156: ...single channel for integrator A Write 80 Set Integrator Mode A to the Command register CR Poll the SR until PR sets Write 01 single channel mode to the Data In DI register Poll the SR until PR sets Select the input channel to integrator A Write 82 Set Integrator A Input Channel to the Command register CR Poll the SR until PR sets Write 01 channel1 to the Data In DI register Poll the SR until PR se...

Page 157: ...en conversions to the Data In DI register Poll the SR until PR sets Write xx LSB of number of line cycles between conversions to the Data In DI register Poll the SR until PR sets Set the data buffer threshold for integrator A to 1 Write 60 Set Threshold Buffer A to the Command register CR Poll the SR until PR sets Write 00 MSB of threshold value to the Data In DI register Poll the SR until PR sets...

Page 158: ... Read Next Conversion Integrator A to the Command register CR Poll the SR until PR sets Read the MSB from the Data Out DO register Poll the SR until PR sets Read the next byte from the DO register Poll the SR until PR sets Read the next byte from the DO register Poll the SR until PR sets Read the LSB from the DO register Poll the SR until PR sets 11 Repeat steps 8 through 10 for additional convers...

Page 159: ...on integrator A If you are using integrator B substitute the appropriate commands If you are using a switch input as the trigger source incorporate the steps for input detection setup see page 157 into your program 138 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 160: ...ersions Set buffer threshold Read buffer number of data points from buffer Stop conversions Read number of data points in buffer Figure 21 Continuous Conversions Polled 1 0 Chapter 5 Programming Sequences 139 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 161: ...mmand register CR Poll the SR until PR sets Write 01 single channel mode to the Data In DI register Poll the SR until PR sets If you wish to automux between the two channels set the integrator mode to automux 02 4 Select the input channel to integrator A Write 82 Set Integrator A Input Channel to the Command register CR Poll the SR until PR sets Write 01 cha nnel1 to the Data In DI register Poll t...

Page 162: ...versions to the Data In DI register Poll the SR until PR sets Write xx LSB of number of line cycles between conversions to the Data In DI register Poll the SR until PR sets 7 Set the data buffer threshold for integrator A Write 60 Set Threshold Buffer A to the Command register CR Poll the SR until PR sets Write xx MSB of threshold value to the Data In DI register Poll the SR until PR sets Write xx...

Page 163: ...CR Poll the SR until PR sets Read the MSB from the Data Out DO register Poll the SR until PR sets Read the next byte from the DO register _ Poll the SR until PR sets Read the next byte from the DO register Poll the SR until PR sets Read the LSB from the DO register Poll the SR until PR sets Repeat this step for the threshold number of conversions 11 Repeat steps 9 and 10 until you are ready to sto...

Page 164: ...tor A If you are using integrator B substitute the appropriate commands If you are using a switch input as the trigger source incorporate the steps for input detection setup see page 157 into your program Chapter 5 Programming Sequences 143 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 165: ...ween conversions Enable Integrator Data Ready in event interrupt mask No Determine event source and take appropriate action Figure 22 Continuous Conversions Modified Polled 110 144 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 166: ...the SR until PR sets Write 01 single channel mode to the Data In DI register Poll the SR until PR sets Ifyou wish to automux between the two channels set the integrator mode to automux 02 4 Select the input channel to integrator A Write 82 Set Integrator A Input Channel to the Command register CR Poll the SR until PR sets Write 01 channel 1 to the Data In DI register Poll the SR until PR sets Ifyo...

Page 167: ... between conversions to the Data In DI register Poll the SR until PR sets Write xx LSB of number of line cycles between conversions to the Data In DI register Poll the SR until PR sets Set the data buffer threshold for integrator A Write 60 Set Threshold Buffer A to the Command register CR Poll the SR until PR sets Write xx MSB of threshold value to the Data In DI register Poll the SR until PR set...

Page 168: ...oll the SR until PR sets Conversions begin on integrator A 10 Poll the Status register to determine when the threshold number of data points is available for reading Poll the SR until the Interrupt Pending bit IP sets I I 11 Read the EvenVInterrupt Pending mask and determine if the Data Ready A bit is set Write 54 EvenVInterrupt Pending to the Command register Poll the SR until PR sets Read the MS...

Page 169: ...r Poll the SR until PR sets Read the next byte from the DO register Poll the SR until PR sets Read the next byte from the DO register Poll the SR until PR sets Read the LSB from the DO register Poll the SR until PR sets Repeat this step for the threshold number of conversions 13 Repeat steps 11 and 12 until you are ready to stop operation 14 To stop operation write 8C Stop Conversions on Integrato...

Page 170: ... of Samples in Buffer A to the Command register Poll the SR until PR sets Transfer each remaining data point to the host as described in step 12 above ChapterS Programming Sequences 149 Programming Seqvences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 171: ...ignal when data is available If you are using integrator B substitute the appropriate commands If you are using a switch input as the trigger source incorporate the steps for input detection setup see page 157 into your program 150 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 172: ...sk No No i l r I Determine event source and take appropriate action Figure 23 Continuous Conversions Interrupt Operation Chapter 5 Programming Sequences 151 Programming Sequences Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 173: ...register CRJ Poll the SR until PR sets Write 01 single channel mode to the Data In DIJ register Poll the SR until PR sets If you wish to automux between the two channels set the integrator mode to automux 02 4 Select the input channel to integrator A Write 82 Set Integrator A Input Channel to the Command register CRJ Polt the SR until PR sets Write 01 channel1 to the Data In DIJ register Poll the ...

Page 174: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: