Hier noch eine Version für voneinander unabhängige Regelungen:
//Sperrzeit in sec festlegen in MB100, (muss an die Hochlaufzeiten angepasst werden)
MB100:= 5;
//Ansteuerung Motor 1
//Sperrzeittimer für Motor 1 Impulsformend M:S, erzeugt Hochlaufsignal auf M01
T01 (
EN := I01 and not (M02 or M03 or M04 or M05 or M06),
RE := not I01,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M01,
QV => );
//Motor bei Anforderung freigeben wenn kein anderer hochläuft
Q01 S= I01 and not (M02 or M03 or M04 or M05 or M06);
Q01 R= not I01; //Motor Aus, wenn Anforderung vom Regler aus
//Ansteuerung Motor 2
T02 (
EN := I02 and not (M01 or M03 or M04 or M05 or M06),
RE := not I02,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M02,
QV => );
Q02 S= I02 and not (M01 or M03 or M04 or M05 or M06);
Q02 R= not I02;
//Ansteuerung Motor 3
T03 (
EN := I03 and not (M01 or M02 or M04 or M05 or M06),
RE := not I03,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M03,
QV => );
Q03 S= I03 and not (M01 or M02 or M04 or M05 or M06);
Q03 R= not I03;
//Ansteuerung Motor 4
T04 (
EN := I04 and not (M01 or M02 or M03 or M05 or M06),
RE := not I04,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M04,
QV => );
Q04 S= I04 and not (M01 or M02 or M03 or M05 or M06);
Q04 R= not I04;
//Ansteuerung Motor 5
T05 (
EN := I05 and not (M01 or M02 or M03 or M04 or M06),
RE := not I05,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M05,
QV => );
Q17 S= I05 and not (M01 or M02 or M03 or M04 or M06);
Q17 R= not I05;
//Ansteuerung Motor 6
T06 (
EN := I06 and not (M01 or M02 or M03 or M04 or M05),
RE := not I06,
ST := ,
I1 := MB100,
I2 := ,
Q1 => M06,
QV => );
Q18 S= I06 and not (M01 or M02 or M03 or M04 or M05);
Q18 R= not I06;
Gruß Thomas