ISaGRAF. Version 3.4

         

F_TRIG


Àðãóìåíòû:

CLK                                           BOO              ëþáàÿ áóëåâñêàÿ ïåðåìåííàÿ

Q                                                BOO              TRUE, êîãäà CLK ìåíÿåòñÿ ñ TRUE íà FALSE

                                                        FALSE âî âñåõ îñòàëüíûõ ñëó÷àÿõ

Îïèñàíèå:

Îïðåäåëÿåò çàäíèé ôðîíò áóëåâñêîé ïåðåìåííîé.

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

(* ST ýêâèâàëåíò: Ìû ïðåäïîëàãàåì, ÷òî F_TRIG1 – ýêçåìïëÿð áëîêà F_TRIG *)

F_TRIG1(cmd);

nb_edge := ANA(F_TRIG1.Q) + nb_edge;

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

LD                     cmd

ST                     F_TRIG1.clk

CAL                  F_TRIG1

LD                     F_TRIG1.Q

ANA

ADD                  nb_edge

ST                     nb_edge



Ñîäåðæàíèå  Íàçàä  Âïåðåä