ISaGRAF. Version 3.4


SHL


:

IN INT

NbR INT ( [1..31])

Q INT

NbR <= 0,

:

. 32 .

(*FBD SHL*)

(* ST : *)

result := SHL (register,1);

(* register = 2#0100_1101_0011_0101 *)

(* result = 2#1001_1010_0110_1010 *)

(* IL : *)

LD register

SHL 1

ST result