Jump to content

Component: Thermocouple TypeK (EBM008) (EBM Modules)

From Flowcode Help
Author Matrix TSL
Version 1.0
Category EBM Modules


Thermocouple TypeK component

A component matchin the Matrix EBM008 thermocouple board. As well as an interface to a standard TypeK thermocouple, this also includes a thermistor that is used for cold junction compensation.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_EBM008v1.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_EBM008v1.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetNTCADCValue

GetNTCADCValue
Get the current Integer value for the Cold Junction thermistor's ADC channel. 
- INT Return


GetNTCTemperature

GetNTCTemperature
Get the current temperature in Celcius for the cold junction thermistor. 
- INT Return


GetTypeKADCValue

GetTypeKADCValue
Get the current Integer value for the thermocouple probe's ADC channel. 
- UINT Return


GetTypeKTemperature

GetTypeKTemperature
Get the thermocouple probe temperature with compensation for the cold junction temperature. 
- INT Return


Initialise

Initialise
Set up the thermocouple sensor ready for use. 
- VOID Return


SetColdPoint

SetColdPoint
Set the current thermistor temperature as the reference point for cold junction compenation. 
- VOID Return


SetColdPointValue

SetColdPointValue
Set the cold junction compensation point using a previously read ADC value. 
- UINT ADC_value
Integer ADC value. 
- VOID Return


SetNTCTemperature

SetNTCTemperature
For the simulated cold junction thermistor... Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. 
- FLOAT Temperature
Zero to one value - representing min-max of the sensor. 
- VOID Return


SetTypeKTemperature

SetTypeKTemperature
For the simulated Type K thermistor... Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. 
- FLOAT Temperature
Zero to one value - representing min-max of the sensor. 
- VOID Return


Property reference

Properties
Type K ADC Channel
Analog channel used for the Type K Thermocouple input 
NTC ADC Channel
Analog channel used for the NTC Thermistor input 
VDD
Operating Voltage of the hardware. ADC full scall is processor power rail 
Simulation
Label
A text label to help you identify the component on the panel. 
Type K Thermocouple
Max. Temp.
Maximum termperature that can be set or displayed on the thermometer slider. 
Min. Temp.
Minimum termperature that can be set or displayed on the thermometer slider. 
Scale divisions
Number of numbered divisions shown on the thermometer scale. 
NTC Thermistor
Max. Temp.
Maximum termperature that can be set or displayed on the thermometer slider. 
Min. Temp.
Minimum termperature that can be set or displayed on the thermometer slider. 
Scale divisions
Number of numbered divisions shown on the thermometer scale.