Component: Oven Simulation (Scenarios)
From Flowcode Help
Jump to navigationJump to search
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Scenarios |
Contents
Oven Simulation component
Component designed to provide a simple simulation of a real world oven. Can be used with a simple controller such as on/off to create a standard kitchen oven. Can be used with a more complex controller such as PID to create a high accuracy temperature oven e.g. a SMD reflow oven.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_OvenSim.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_OvenSim.fcfx
Detailed description
No detailed description exists yet for this component
Examples
An example showing 4 x 7seg LED's counting up using timer 2 interrupt
Macro reference
OutputAnalogue
| OutputAnalogue | |
| Switch the oven element partially on, probably using something like PWM connected via a TRIAC or FET. | |
| Value | |
| Range: 0.0 (OFF) to 1.0 (ON) | |
| Return | |
OutputOff
| OutputOff | |
| Switch the oven element off, probably using something like a relay. | |
| Return | |
OutputOn
| OutputOn | |
| Switch the oven element on, probably using something like a relay. | |
| Return | |
ReadElementTemperature
| ReadElementTemperature | |
| Reads the temperature of the heater element | |
| Return | |
ReadOvenTemperature
| ReadOvenTemperature | |
| Reads the air temperature inside the oven | |
| Return | |
ReadPowerUsage
| ReadPowerUsage | |
| Reads the ovens power consumption in KWh. | |
| Return | |
ResetPowerUsage
| ResetPowerUsage | |
| Resets the recorded power usage to 0KWh | |
| Return | |