ISaGRAF. Version 3.4


LEFT


:

IN MSG

NbC INT ,

IN

Q MSG IN ( = NbC)

NbC < 0

IN NbC > IN

:

. .

(*FBD LEFT RIGHT*)

(* ST : *)

complete_string := RIGHT ('12345678', 4) + LEFT ('12345678', 4);

(* - '56781234'

RIGHT - '5678'

LEFT - '1234'

*)

(* IL : LEFT *)

LD '12345678'

LEFT 4

ST sub_string (* *)

LD '12345678'

RIGHT 4

ADD sub_string

ST complete_string