ISaGRAF. Version 3.4

         

BOO


Àðãóìåíòû:

IN                         ANY              ëþáîå íå áóëåâñêîå çíà÷åíèå

Q                          BOO              TRUE äëÿ íåíóëåâîãî çíà÷åíèÿ

                                                  FALSE äëÿ íóëåâîãî çíà÷åíèÿ

                                                  TRUE äëÿ ñîîáùåíèÿ 'TRUE'

                                                  FALSE äëÿ ñîîáùåíèÿ 'FALSE'

Îïèñàíèå:

Ïðåâðàùàåò ïåðåìåííóþ â áóëåâñêóþ.

(*FBD ïðèìåð áëîêîâ BOO*)

(* ST ýêâèâàëåíò: *)

ares := BOO (10);                                  (* ares ðàâíî TRUE *)

tres := BOO (t#0s);                                (* tres ðàâíî FALSE *)

mres := BOO ('false');                            (* mres ðàâíî FALSE *)

(* IL ýêâèâàëåíò: *)

LD                     10

BOO

ST                     ares

LD                     t#0s



BOO

ST                     tres

LD                     'false'

BOO

ST                     mres



Ñîäåðæàíèå ðàçäåëà