Hi Alain.
On the following if I try to put the second if-then inside the logic expression, I get an "Temp variables exceeding T4" error in MPASM assembler.
This compiles OK:
Code:
if pump=0 and (thermistor1=1 or thermiko1=1 or onboard_an2>(pres_limit+10)) then
module_rel_out.0=0
endif
if level>stop_level then
if pump=0 then
module_rel_out.0=0
endif
endif
This produces the above error:
Code:
if pump=0 and (thermistor1=1 or thermiko1=1 or onboard_an2>(pres_limit+10) or level>stop_level) then
module_rel_out.0=0
endif
Thanks,
Ioannis
Bookmarks