- Beiträge
- 16.457
- Reaktionspunkte
- 6.061
-> Hier kostenlos registrieren
Ich finde die Art des Konstruktes irgendwie unübersichtlich, wenn man es schon benutzen
möchte, hätte man ja die Verknüpfung trennen können. Als Beispiel:
möchte, hätte man ja die Verknüpfung trennen können. Als Beispiel:
Code:
tmpBool := #HtP_cmd_ack_TP.Q
OR #Quitt_TP.Q
OR #rst_Not_Aus_TP.Q
OR #Ini_I_on_RT.Q
OR #RM_HS_RT.Q;
"gb".cmd_ack :=
"gb".FU_FaAntr.ctrl.b.rst :=
"gb".FU_LW.ctrl.b.rst :=
"gb".FU_QS_Mat.ctrl.b.rst :=
"gb".FU_LS.ctrl.b.rst :=
"gb".FU_RSW_1.ctrl.b.rst :=
"gb".FU_RSW_2.ctrl.b.rst :=
"gb".FU_RSW_3.ctrl.b.rst := tmpBool;
[HR][/HR]
meine bevorzugte Variante hätte so ausgesehen:
"gb".cmd_ack := tmpBool;
"gb".FU_FaAntr.ctrl.b.rst := tmpBool;
"gb".FU_LW.ctrl.b.rst := tmpBool;
"gb".FU_QS_Mat.ctrl.b.rst := tmpBool;
"gb".FU_LS.ctrl.b.rst := tmpBool;
"gb".FU_RSW_1.ctrl.b.rst := tmpBool;
"gb".FU_RSW_2.ctrl.b.rst := tmpBool;
"gb".FU_RSW_3.ctrl.b.rst := tmpBool;