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? Quote 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. Quote 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. Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.