FB31 SET P01 SET Heating oil circular flow

 

 

 

Network 1: Query home position

"DI MAIN P02".M00.HomPosIS :=

NOT ("DI OUT P02".M200.FD_BACK OR "DI OUT P02".M202.FD_BACK OR "DI OUT P02".E200.FD_BACK)

AND "DI OUT P02".V200.FB_HP

AND "DI OUT P02".V201.FB_HP

AND "DI OUT P02".V202.FB_HP

AND "DI OUT P02".V203.FB_HP

AND "DI OUT P02".V204.FB_HP

AND "DI OUT P02".T200_PEW.Support.PEW_Scaled < 35.0

AND "DI OUT P02".T201_PEW.Support.PEW_Scaled < 30.0;

 

 

 

Network 2: Define last step

#SSM(LAST_STEP := 2);

 

 

 

Network 3: Step Switching Mechanism (SSM)

CASE #SSM.S.stepact OF

    0: // Waiting for SET to start

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

       

    1: // Actors shutdown

        IF #SSM.S.stepfc THEN

            "DI OUT P02".V200.VLV_O.CmdExe_WP :=

            "DI OUT P02".V201.VLV_O.CmdExe_WP :=

            "DI OUT P02".V202.VLV_O.CmdExe_WP :=

            "DI OUT P02".V203.VLV_O.CmdExe_WP :=

            "DI OUT P02".V204.VLV_O.CmdExe_WP := FALSE;

        ELSE

            #SSM.S.stepd :=

            "DI OUT P02".M200.DRV.LampHP

            AND "DI OUT P02".V200.VLV_O.LampHP

            AND "DI OUT P02".V201.VLV_O.LampHP

            AND "DI OUT P02".V202.VLV_O.LampHP

            AND "DI OUT P02".V203.VLV_O.LampHP

            AND "DI OUT P02".V204.VLV_O.LampHP

            AND "DI OUT P02".M201.DRV.LampHP

            AND  "DI OUT P02".M202.DRV.LampHP

            AND "DI OUT P02".E200.DRV.LampHP;

        END_IF;

       

    2: // Query P02 home position

        "DI MAIN P02".M00.HomPosRun := NOT "DI MAIN P02".M00.HomPosIS OR #SSM.S.steplo;

END_CASE;

 

 

Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO