ISaGRAF. Version 3.4

         

XOR_MASK


Àðãóìåíòû:

IN                         INT                 öåëûé ôîðìàò

MSK                    INT                 öåëûé ôîðìàò

Q                          INT                 ïîáèòîâûé ëîãè÷åñêèé èñêëþ÷àþùèé OR ìåæäó IN è MSK

Îïèñàíèå:

Öåëûé àíàëîãîâûé ïîáèòîâûé èñêëþ÷àþùèé ÈËÈ.

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

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

crc32 := XOR_MASK (prevcrc, nextc);

result := XOR_MASK (16#012, 16#011); (* equals 16#003 *)

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

LD                     prevcrc

XOR_MASK      nextc

ST                     crc32

LD                     16#012

XOR_MASK      16#011

ST                     result



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