Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FB21 SET GLB : High-Bay-Storage - demands home position

 

 

 

Netzwerk 1: SET execute home position

#SSM(LAST_STEP := 3);

 

 

 

Netzwerk 2: CASE correspond to actual SSM

CASE #SSM.S.stepact OF

    0: // Waiting for SEQ to start

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

       

    1: // Start homing sequence entire plant

        IF #SSM.S.stepfc THEN

            "DI MAIN P02".M00.Init := "DI MAIN P03".M00.Init := TRUE;

        ELSE

            "DI MAIN P02".M00.Init := "DI MAIN P03".M00.Init := FALSE;

            #SSM.S.stepd := NOT #SSM.S.steplo;

        END_IF;

       

    2: // Query home position entire plant

        #SSM.S.stepd := "DI MAIN GLB".M00.HomPosAll;

       

    3: // Quit homing entire plant

        "DI MAIN GLB".M00.OM_HOME_POS_ON := "DI MAIN P02".M00.HomPosRun OR "DI MAIN P03".M00.HomPosRun;

END_CASE;