Textfeld:

 

Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FB SEQ201 GLB Basic start condition

 

 

 

Network 1: Define SSM last step

#SSM(LAST_STEP := 1);

 

 

 

Network 2: Valves fixed-setting opened

"DI OUT P03".V301.VLV_O.CmdExe_WP := NOT #SSM.S.step0 AND "HMI KEY".Execute.Pressure_Maintenance_with_Air AND "HMI KEY".P03.V301.F12_Enable_WP;

"DI OUT P03".V302.VLV_O.CmdExe_WP := NOT #SSM.S.step0 AND "HMI KEY".Execute.Pressure_Maintenance_with_CO2 AND "HMI KEY".P03.V302.F12_Enable_WP;

// Query Valves states fixed-setting

#SSM.S.stepllo :="DI OUT P03".V309.FB_HP AND "DI OUT P03".V304.FB_HP AND "DI OUT P03".V306.FB_HP AND ("DI OUT P03".V301.FB_WP XOR "DI OUT P03".V302.FB_WP);

 

 

 

Network 3: CASE function corresponds to SEQ201

CASE #SSM.S.stepact OF

    0: // Waiting for sequencer to start

        #SSM.S.stepd := #SSM.S.steps AND #SSM.S.stepllo;

       

    1: // SEQ506 Execute pressure maintenance in SEQ201

        IF #SSM.S.stepfc THEN

            "HMI KEY".SetPoint.PT302_PressureMaintainace := 500.0;

        ELSE

            #SEQ506.SSM.S.steph := "DI MAIN GLB".SEQ200.SEQ201.SSM.S.steph OR NOT "DI MAIN GLB".SET.SSM.S.steps;

            #SEQ506.SSM.S.steps := "DI MAIN GLB".SEQ200.Support.SEQ201_Start AND NOT "DI MAIN GLB".TOF_CmpltMaOFF_Pulse.Q;

            #SEQ506(); // Perform pressure maintenance

        END_IF;

        IF #SEQ506.Done THEN

            "DI MAIN GLB".SEQ200.Support.SEQ201_Start := FALSE;

        END_IF;

END_CASE;