ISaGRAF. Version 3.4

         

REAL


Àðãóìåíòû:

IN                         BOO-INT-TMR      ëþáàÿ íåäåéñòâèòåëüíàÿ àíàëîãîâàÿ âåëè÷èíà

                           

Q                          INT                       0.0 if IN = FALSE / 1 if IN = TRUE

                                                        ÷èñëî ìèëëèñåêóíä äëÿ òàéìåðà

                                                        ÷èñëî ýêâèâàëåíòíîå öåëîìó

                                                        àíàëîãîâîìó

Îïèñàíèå:

Ïðåâðàùàåò ïåðåìåííóþ â äåéñòâèòåëüíóþ.

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

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

bres := REAL (true);                               (* bres ðàâíî 1.0 *)

tres := REAL (t#1s46ms);                      (* tres ðàâíî 1046.0 *)

ares := REAL (198);                               (* ares ðàâíî 198.0 *)

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

LD                     true

REAL

ST                     bres

LD                     t#1s46ms

REAL

ST                     tres

LD                     198

REAL

ST                     ares



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