The bake times ranges from 7.5 minutes to 15.00 minutes for this type of oven. As for the mechanics nothing has been changed on it.
But the min / max on the vfd could be a possibility.
Does 7.5 mean 7m30s (450s) or 7m5s (425s)?
I think I_Automation makes a good point: ensure all constants are REAL by adding a decimal point to them e.g. (32767./100.); with the parens, CPT may evaluate (32767/100) as 328 (or 327); it's only about a 0.1% error, but (CurrentRecipe.Bake_Time/40) could be off by a percent and a quarter.
We still do not have enough information, so it is time for silly guesses.
The formula multiplies and divides by 1 several times.
- (CurrentRecipe.Bake_Time/40) is s/ft (reciprocal of speed; oven is 40ft long)
- 60 is s/min
- so 60/(C...Bake_time/40) is min/ft
- (32767/100) is output scaling, [output counts]/[% range]
- output is 32767 for max speed
- 1/7.08 is [% of range]/[ft/min] i.e. shelves increase speed by 7.08ft/min for every 1% increase in output
Obviously this is wrong because the fastest speed (shortest bake time 7m5s) corresponds to 247 output counts or less than 1% of max speed.
What is the stopwatch-measured bake time when the recipe bake time is 7.5 minutes?
What is the stopwatch-measured bake time when the recipe bake time is 15.00 minutes?
Update:
The silly guess above assumed CurrentRecipe.Bake_time is in seconds; if that was minutes instead:
- (CurrentRecipe.Bake_Time/40) is min/ft (reciprocal of speed; oven is 40ft long)
- (32767/100) is output scaling, [output counts]/[% range]
- output is 32767 for max speed
- 1/7.08 is [% of range]/[ft/h] i.e. shelves increase speed by 7.08ft/h for every 1% increase in output
- 60 is min/h
- so 60/(7.08) is [% of range]/[ft/min]
So at 7.5min, the output is 14810 ~ 45% of max speed reference ... maybe?
(Update: corrected factor of 10 error)