Hi, Ioannis
Do not use " IF thermistor1 = 1" but "IF Thermistor" ... result is the same
Do not use " IF thermistor1 = 0 " but "IF NOT Thermistor" ... result is the same
Alain
Hi, Ioannis
Do not use " IF thermistor1 = 1" but "IF Thermistor" ... result is the same
Do not use " IF thermistor1 = 0 " but "IF NOT Thermistor" ... result is the same
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Compile fineCode:if (pump=0) and ( thermistor1 or thermiko1 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
BUUUUUUT ... I do think you should make your Karnaugh Table ( Table of states ) "a bit" clearer ... might help a lot ( lol )
Alain
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks Alain,
For
It gives me a new test tool, never could see a use for that command before. Sometimes it's not the main point of your posting that benefits others, sometimes it's the little things that you use everyday.Code:RANDOM Level RANDOM Onboard_An2
Last edited by Archangel; - 1st November 2008 at 20:19.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I understand why.. the problem is to explain... enjoy the following language barrier mess
If ConditionIsTrue Then DoSomething
Dealing with Bit Var, you have ONLY 2 choices... OR the var is 1 OR the var 0, True or False.
So why messing with condition if your variable already hold it?
It's just another way to write your IF-THEN
Last edited by mister_e; - 1st November 2008 at 20:41.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks