Code:
!
(*******************************************************************************************************************)
(* *)
(* Interface avec le display TP32 *)
(* *)
(*******************************************************************************************************************)
!
(* Front montant sur sélection mode automatique *)
%M51:=%IW2.0.1:X10 AND NOT %M50;
%M50:=%IW2.0.1:X10;
(* Front montant sur sélection mode manuel *)
%M53:=NOT %IW2.0.1:X10 AND NOT %M52;
%M52:=NOT %IW2.0.1:X10;
(* Front montant sur bouton poussoir "ouvrir portes" *)
%M55:=NOT %IW2.0.1:X11 AND NOT %M54;
%M54:=NOT %IW2.0.1:X11;
I never programmed in Telemecanique, I'm more in to Siemens.
I need to change a lot in a Telemecanique PLC, but, I don't have a lot time. 4 days . So the time to test a lot isn't there.
It's basically programmed in ST. That isn't the problem. My biggest concern is the way of adressing and interfacing to panel and decentral I/O stations.
So, in the code above:
- %M51:=%IW2.0.1:X10 AND NOT %M50;
What's %M51
What's %IW2.0.1:X10
Thanks in forward,
Kind regards,
g