ISaGRAF. Version 3.4

         

R_TRIG


Àðãóìåíòû:

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

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

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

Îïèñàíèå:

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

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

(* ST Ýêâèâàëåíò: Ìû ïðåäïîëàãàåì, ÷òî R_TRIG1 - ýòî ýêçåìïëÿð áëîêà R_TRIG *)

R_TRIG1(cmd);

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

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

LD                     cmd

ST                     R_TRIG1.clk

CAL                  R_TRIG1

LD                     R_TRIG1.Q

ANA

ADD                  nb_edge

ST                     nb_edge



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