ISaGRAF. Version 3.4


OR_MASK


:

IN INT

MSK INT

Q INT OR IN MSK

:

.

(*FBD OR_MASK*)

(* ST : *)

is_odd := OR_MASK (xvalue, 1); (* *)

result := OR_MASK (16#abc, 16#f0f); (* 16#fbf *)

(* IL : *)

LD xvalue

OR_MASK 1

ST is_odd

LD 16#abc

OR_MASK 16#f0f

ST result