Page 1: ...CHROM 1 AND CHROM 1 AT Keithley MetraByte Corporation A Subsidiary of Keithle Instruments Inc 440 Myles tandish Boulevard z Taunton Massachusetts 02780...
Page 2: ...r written permission of Keithlev MetraBvte Corporation Information furnished by Keithle reliable However no responsibr rty ISassumed by MetraByte Corporation for its use nor for y MetraByte Corporatio...
Page 3: ...STRUCTURE OF THE CALL STATEMENT 4 4 INTERRUPTS 4 5 INITIALIZATION 4 6 FIFO BUFFER OPERATION 4 7 ERROR CODES 4 8 ZEROING AND CALIBRATION 4 9 EXAMPLE BASIC PROGRAMS 4 10 COMPILING A BASIC PROGRAM 4 11...
Page 4: ...CROM 1 MANUAL Appendix B AND 9513 COUNTER DESCRIPTION 35 B 1 INTRODUCTORY 9513 DESCRIPTION PROGRAMMING SEQUENCE 35 B 2 MASTER MODE REGISTER 39 B 3 COUNTER MODE REGISTERS 41 ii...
Page 5: ...typical integral linearity of 0 005 Cl part in 20 000 The input ranges of lOv 5v 2v and tlv are software selectable and the input is f Loating completely isolated from the computer through the use of...
Page 6: ...the area under the peaks of the chromatogram to very high precision The resolution obtained from the CRON 1 is dependent on the integrating interval and range as follous Range INTEGRATING INTERVAL 0 0...
Page 7: ...upplied with the board is MetraByte s standard utility package vhich is directed towards the needs of users who wish to perform their own programming This includes a BASIC callable machine language dr...
Page 8: ...LABTECH CHROM This is an automatic analysis package that is used together with Labtech Notebook It performs an automatic analysis of the chromatogram peaks reporting area retention time and height dis...
Page 9: ...e occupied by internal I O and other peripheral cards so to provide flexibility in avoiding conflict with these devices the base I O address can be set by the Base Address D I P switch to be on a 4 bi...
Page 10: ...st compatibles and may not be totally foolproof as far as non IBM peripherals are concerned If your CROM 1 does not appear to work correctly or interferes in some way uith other devices on your comput...
Page 11: ...e chromatography board can be used in a single computer provided that their I O addresses and operating interrupt levels are different The I O address map is as follows I O ADDRESS FUNCTION Read Write...
Page 12: ...se are not consistent from range to range In operation a range th at suits the input signal source should be chosen and subsequent measurements performed on that fixed range The wide dynamic range of...
Page 13: ...03 D2 01 DO x x x x x x REL 1 REL 0 A Logic 1 corresponds to an energized relay bits D2 07 are irrelevant The relay register is cleared on reset power up de energizing both relays The output connectio...
Page 14: ...nments are as follows CHANNEL 0 ANALOG INPUT CHANNEL I ANALOG INPUT ANALOG COMMON IP3f IP3 xp2 IP2 RELAY OA NC RELAY OA COMMON RELAY OA NO RELAY IA NC RELAY IA COMMON RELAY IA NO 14 i 2 15i 3 l i 4 17...
Page 15: ...is recommended uired as shoun in Fig 3 4 If a compatible screw terminal connector board is required use MetraByte model STA U with K 1800 cable CHROMA UXRAPH Co axial cable The output of the ch romato...
Page 16: ...cture of the CROM I Also many languages such as BASIC do not support the writing of interrupt routines and this is a major obstacle as interrupts are very effectively utilised in the operation of the...
Page 17: ...IC s workspace A typical l oading sequence is as follous xx100 DEF SEG H3000 segment of memory to load link choose an empty area e g g 192K xx110 BLOAD CROM BIN 0 load driver _ Continue program The ab...
Page 18: ...ng a PC compatible which does not have BASIC in ROM like the IBM then BASIC is usually loaded as an EXE file from the top of memory down _ This is likely to fill up to 64K of the top segment of memory...
Page 19: ...mber segment addresses are on I6 byte paragraph boundaries DEF SEG SG set up to load link BLOAD CROM BIN O load link Proceed with your program as before As CROM BIN is a large file the advantages of c...
Page 20: ...cale range 0 1ov 1 5v 2 2v 3 Iv CTRLXC2 selects interrupt rate in mS e g CTRLXCZ 1000 generates an interrupt every second CTRLXC3 Specifies numbers of samples required CTRLXC41 selects interrupt level...
Page 21: ...ables Also you are not allowed to replace var iables by constants Apart from these want the names restrictions you can name the variables what you in the examples are just convenient mnemonics Strictl...
Page 22: ...s generation If a higher level interrupt collides with one from the CROM I it can delay servicing of the CROM 1 interrupt The main culprit here is the timer interrupt on level 0 it can occasionally de...
Page 23: ...pecified interrupt rate 5 Installs interrupt handler 6 Enables interrupt if CTRLX 4 0 disables interrupt Subsequent entries to the CALL with the setup parameters i e CTRLXtO thru S unchanged will retu...
Page 24: ...buffer is empty BUFX will be retuwed zero and A will also be zero indicating that there is no available data A simple routine method of sensing the presence of data and continuing with your program is...
Page 25: ...returned for Iv input will depend on the range selected on a lv range uhere this corresponds to full sea Le about 90 000 110 000 counts set is typical Performing a zero calibration before starting to...
Page 26: ...at YOU need to increase its execution speed Interpreted BASIC requires several mi 1 liseconds to execute each statement and a sizable program particularly with extensive analysis or data processing lo...
Page 27: ...IPLE CROM l s IN ONE SYSTEM What if you wish to operate more than one CROM 1 in a system To avoid conflicts each CROM 1 must have a different base address and for simultaneous operation be connected t...
Page 28: ...g routines are self contained and communicate only with the local variables defined in the source making it easy to lift them out unchanged Interfacing to calls from C Pascal and Fortran can also be a...
Page 29: ...ion 5 2 USER REPLACEABLE PARTS Some of the components that interface to the outside world through the rear connector are socketed so that you can replace them if damaged by overloads static etc The bo...
Page 30: ...Ana log Devices AD650JN or counter Advanced Micro Devices AR9513APC give problems they can be replaced The output relays Fujitsu type FBR244D005 02CS can be damaged by overload of the contacts They a...
Page 31: ...t Scaling Calibrat stabi Ity ion reference 900mA typical IA max with relays energized Not used Iv 2v 5v 1Ov unipolar software selectable Contact MetraByte for other ranges 1OOMegohm min I 6nA max 2 30...
Page 32: ...otherwise User adjustments calibration 1 calibration reference recommended calibration interval 3 6 months 6 2 DIGITAL INPUTS Number Type 4 Opto isolated 3 12 non latched Approx 330 ohm input resista...
Page 33: ...AL SPECIFICATIONS 6 4 MECHANICAL ENVIRONRENTAL Card size 9 Long x 3 9 high Weight 6 5 oz 185 gm Operating 0 to 50 deg C temperature range Storage 40 to 100 deg C temperature range Humidity 0 90 non co...
Page 34: ...keys and Enter to change the option or simply enter the first letter R C or E to run the option On the first use select the CONFIG option This will display a secondary menu that controls the configura...
Page 35: ...are involved 1 The V F produces about 100 000 counts second at full scale on any range The choice of sample rate affects resolution e g 10 samples per second amounts to 10 000 counts in the sampling...
Page 36: ...to check digital inputs IPO IP3 The trigger code specifies which inputs must be energized before the run uill proceed e g trigger code 5 would require IPO and 1 2 to be energized If this condition is...
Page 37: ...speed of the printer may delay the processing of points so that the plotting uill fall behind real time The actual data is being taken in real time and the relays will operate correctly at the end of...
Page 38: ...and this will produce artifacts in the data and plot For the purposes of testing and debugging these are minor problems You are free to modify the program change file format introduce new sample speed...
Page 39: ...r additional information on the Advanced Micro Devices AMD 9513A users should refer to the manufacturer s data sheet All data transfers to the 9513 timer counter are performed through 2 I O ports The...
Page 40: ...bus mode set MMI3 Master reset Note that there is the following logical structure to command codes All codes beginning with 000 Reference data pointer register Codes from 001 to 110 Codes beginning w...
Page 41: ...dicating a least significant byte of data is expected next With an 8 bit data bus as used on the IBM P C the byte pointer toggles following each 8 bit data transfer master mode bit MM13 0 The element...
Page 42: ...f avoiding confusion In general most programs will consist of an initialization section that will set the overall operation of the 9513 through the master mode register and then proceed to set each co...
Page 43: ...3 001 GATE 4 010 GATE 5 011 Fl 100 F2 101 F3 II 0 F4 111 F5 FOUT GATE Compare 2 enable 0 FOUT on 0 disabled 1 FOUT off I enabled low to ground le Compare 1 eneb 0 disabled 1 enabled Data bus width 0 8...
Page 44: ...illator scaler This is a 4 bit divider counter ahead of the FOUT output Any modulus from I to 16 is possible NH7 through MM4 set the input source of the FOUT divider This can be any of the oscillator...
Page 45: ...SOURCE 2 X0011 SOURCE 3 X0100 SOURCE 4 X0101 SOURCE 5 X0110 GATE 1 X0111 GATE 2 Xl000 GATE 3 Xl001 GATE 4 Xl010 GATE 5 Xl011 Fl Xl100 F2 Xl101 F3 X1110 F4 X1111 F5 count Control OXXXX Disable special...
Page 46: ...ne byte wide and should perform byte oriented read write operations rather than word Cl6 bit operations When performing consecutive byte transfers to the same I O port on the AT this a common occurren...
Page 47: ...t division ratio by loading its hold register uith N 2 After the hold registers are initialized the countersuill still not be enabled until a Load E Arm enable command is issued Subsequently as each i...
Page 48: ...39 Counter registers 7 CROM ASM changing the driver 24 CROM BIN 13 CROM BIN error codes 20 CROM BIN FIFO buffer 19 CROM EXE description 30 Digital inputs 8 Disk back up 5 Example programs 2 General de...