Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CR10 Operating System - P200


BNZLTER Nov 3, 2008 07:13 PM

Hi folks,
Still a bit archaic but I have 5 stations still running CR10's. I tried adding a P200 Steinhart-Hart equation to convert our thermistor readings to C. The CR10 did not recognize a P200. Can the operating system on the CR10 be upgraded to enable us to run a p200?
Thanks


ChipsNSalsa Nov 3, 2008 10:35 PM

The OS in a CR10 is on a PROM chip that gets burned at CSI. Special PROM chips can be burned that have additional instruction not normally found in the standard PROM. Unfortunately instruction 200 is not one of the options for special PROMs. However, you can still code the Steinhart-Hart equation into the CR10 using the standard processing instruction. Make it into a subroutine and call it as many times as you need from the main program.


BNZLTER Nov 3, 2008 10:39 PM

Thanks,
I thought I might have to do something different. So by standard processing do you mean working through the steps one Processing instruction at a time? Basically a drwoan out math equation (the one that P200 circumvents ;-) )
Brian


ChipsNSalsa Nov 3, 2008 10:54 PM

Basically a drwoan out math equation (the one that P200 circumvents ;-) )

Precisely ;-)


aps Nov 4, 2008 11:22 AM

For an example see the program example 5.2.1.1, page 8 in this manual where a program is given for the CR10X (not all of which had P200)

http://www.campbellsci.com/documents/manuals/109.pdf


APS


BNZLTER Nov 4, 2008 06:01 PM

OK I'm playing with this right now. Where do you enter the resistance? Is it the P37? Below is the programming I use on a CR10X.

;****-------------------------------------------------*****
;YSI Thermistor program

1: Excite-Delay (SE) (P4)
1: 1 Reps
2: 5 2500 mV Slow Range
3: 5 SE Channel
4: 2 Excite all reps w/Exchan 2
5: 4 Delay (0.01 sec units)
6: 2500 mV Excitation
7: 1 Loc [ Thermraw1 ]
8: .0004 Multiplier
9: 0.0 Offset

2: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 3 Delay After Ex (0.01 sec units)
4: 0000 mV Excitation

3: BR Transform Rf[X/(1-X)] (P59)
1: 1 Reps
2: 1 Loc [ Thermraw1 ]
3: .975 Multiplier (Rf)

;**************INSERT CORRECT RESISTANCE HERE***********************

4: Z=X*F (P37)
1: 1 X Loc [ Thermraw1 ]
2: 1000 F
3: 1 Z Loc [ Thermraw1 ]


5: Steinhart-Hart Equation (P200)
1: 1 Reps
2: 1 Source Loc (R)(Ohms) [ Thermraw1 ]
3: 5 Destination Loc (Deg C) [ YSI_TEMP ]
4: 1.46764 A
5: -3 x 10^n
6: 2.38338 B
7: -4 x 10^n
8: 1.01194 C
9: -7 x 10^n
********************************************************

* Last updated by: BNZLTER on 11/4/2008 @ 11:02 AM *


BNZLTER Nov 5, 2008 09:26 PM

Got it!!

That program was minorly helpful but mostly confusing! What I needed to do was simpler than the 109 program. Most helpful was a Steinhart-Hart excel sheet I found on the web.
Let me know if anyone needs it.

Here's my program for getting Temp in C from a YSI 44033RC

1: Excite-Delay (SE) (P4)
1: 1 Reps
2: 5 2500 mV Slow Range
3: 6 SE Channel
4: 2 Excite all reps w/Exchan 2
5: 4 Delay (0.01 sec units)
6: 2500 mV Excitation
7: 1 Loc [ ThermRaw ]
8: .0004 Mult
9: 0.0 Offset

2: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 3 Delay After Ex (0.01 sec units)
4: 0 mV Excitation

3: BR Transform Rf[X/(1-X)] (P59)
1: 1 Reps
2: 1 Loc [ ThermRaw ]
3: .978 Multiplier (Rf)

4: Z=X*F (P37)
1: 1 X Loc [ ThermRaw ]
2: 1000 F
3: 1 Z Loc [ ThermRaw ]

5: Z=LN(X) (P40)
1: 1 X Loc [ ThermRaw ]
2: 2 Z Loc [ LN_THERM ]

6: Z=X*F (P37)
1: 2 X Loc [ LN_THERM ]
2: .01 F
3: 3 Z Loc [ Scal_THRM ]

7: Polynomial (P55)
1: 1 Reps
2: 3 X Loc [ Scal_THRM ]
3: 4 F(X) Loc [ poly_rslt ]
4: .00147 C0
5: .02386 C1
6: 0 C2
7: 0.1002 C3
8: 0.0 C4
9: 0.0 C5


8: Z=1/X (P42)
1: 4 X Loc [ poly_rslt ]
2: 5 Z Loc [ RawTempK ]

9: Z=X+F (P34)
1: 5 X Loc [ RawTempK ]
2: -273.15 F
3: 6 Z Loc [ TempinC ]

Log in or register to post/reply in the forum.