ISaGRAF. Version 3.4

         

SR


Àðãóìåíòû:

SET1                    BOO              åñëè TRUE, óñòàíîâèòü Q1 â TRUE (äîìèíàíòà)

RESET                 BOO              åñëè TRUE, ñáðîñèòü Q1 â FALSE

Q1                        BOO              áóëåâñêîå ñîñòîÿíèå â ïàìÿòè

Îïèñàíèå:

Óñòàíàâëèâàåò äîìèíàíòó. Ñì. Òàáëèöó:

Set1

Reset

Q1

result Q1

0

0

0

0

0

0

1

1

0

1

0

0

0

1

1

0

1

0

0

1

1

0

1

1

1

1

0

1

1

1

1

1

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

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

SR1((auto_mode & start_cmd), stop_cmd);

command := SR1.Q1;

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

LD                     auto_mode

AND                  start_cmd

ST                     SR1.set1

LD                     stop_cmd

ST                     SR1.reset

CAL                  SR1

LD                     SR1.Q1

ST                     command



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