Mike Posted May 30, 2011 Report Share Posted May 30, 2011 I want to connect a thermocouple type A, which is not in the configuration settings. How can make this easier? Piecewise-linear function with a table? Link to comment Share on other sites More sharing options...
Emil Posted May 30, 2011 Report Share Posted May 30, 2011 You can set the input to read mV and thhen ot enter a compare DT mV/degrees. If you have the table, this is not a complicated topic. Link to comment Share on other sites More sharing options...
Mike Posted May 30, 2011 Author Report Share Posted May 30, 2011 But in a table of several thousand values! I plan to use the linearization. Substituting the values X1Y1 and X2Y2 for each whole mV. Link to comment Share on other sites More sharing options...
Emil Posted May 30, 2011 Report Share Posted May 30, 2011 In general, you have -5.0 to 56.0 mV range for the analog input. This means 610 values. You can make DT with 2 columns - one for analog reading (mV) and the second - for relevant temperature. each row in this table will have 2 MI = 4 bytes. The table wil lhave about 2.5 kBytes. More precise, but much more complicated way is to read Raw value. In this case the resolution will be much higher, but making compare table - more complicated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now