Comparison Instruction မွာ Input ႏွစ္ခုၿဖစ္တဲ့ IN1 နဲ႔ IN2 ဟာ မိမိေ႐ြးခ်ယ္အ သုံးၿပဳတဲ့ comparison အမ်ဳိးအစားေပၚမွာ မူတည္ၿပီး တစ္ခုနဲ႔တစ္ခု compared ၿပဳလုပ္တာပါ။ ေအာက္မွာ အသုံးမ်ားတဲ့ Comparison type ေတြကို ေရးသားေပး လိုက္ပါတယ္။

IN1 is greater than IN2
IN1 is less than IN2
သေကၤတက ">=" ပါ...။
IN1 is greater than or equal to IN2
IN1 is greater than or equal to IN2
သေကၤတ က "<=" ပါ...။
IN1 is less than or equal to IN2
Comparison ရဲ႕ relult ဟာ true ၿဖစ္ေနၿပီဆိုရင္ function ရဲ႕ RLO သည္ "1" ၿဖစ္ေနပါမယ္။ အဲဒီ RLO ဟာ program ထဲမွာ compare element ကို "series" အေနနဲ႔ အသုံးၿပဳေရးသားထားရင္ "AND logic" အၿဖစ္ program network နဲ႔ link ခ်ိတ္ဆက္ေနတာပါ။ အကယ္၍ paralle အေနနဲ႔ အသုံးၿပဳ ေရးသားထားမယ္ဆို ရင္ေတာ့ "OR logic" အၿဖစ္နဲ႔ Program network မွာ link ခ်ိတ္ဆက္ေနမွာပါ။
No comments:
Post a Comment