FB72 SEQ1 P05 : Guide rail control - SEQ1 (master)

 

 

 

Netzwerk 1: Pre-Setting

 

"M05 RdyToStart" := "M01 Enbl toRTT" AND "M02 Enbl toRTT" AND "M03 Enbl toRTT" AND "M04 Enbl toRTT";

 

 

 

Netzwerk 2: Execute SEQ1

 

#SSM1(STEP_PLS := "HMI KEY".P05.GLB.F17_StepPls,

STEP_MNS := "HMI KEY".P05.GLB.F18_StepMns,

GOTO_STEP := "HMI KEY".P05.GLB.F19_GoToStep,

GOTO_STEP_NO := "HMI KEY".P05.GLB.GoToStep,

MAX_STEP := 7);

 

 

 

Netzwerk 3: Step jump distributor

 

CASE #SSM1.S.stepact OF

0: // Waiting for SEQ1 to start

"M05 SEQ1 Active" := FALSE;

#SSM1.S.stepd := #SSM1.S.steps AND "M05 HomPos";

1: // Z15 Feed-rail stopper WP (open)

"M05 SEQ1 Active" := TRUE;

"DI OUT P05".Z15.VLV.CmdExe_HP := FALSE;

"DI OUT P05".Z15.VLV.CmdExe_WP := "HMI KEY".P05.Z15.F12_Enable_WP;

#SSM1.S.stepd := "DI OUT P05".Z15.FB_WP AND "E05 Z10 Part Available";

#Shift_Register.%X0 := "E05 Z10 Part Available";

2: // Z15 Feed-rail stopper HP (close)

"DI OUT P05".Z15.VLV.CmdExe_WP := FALSE;

"DI OUT P05".Z15.VLV.CmdExe_HP := "HMI KEY".P05.Z15.F11_Enable_HP;

IF "DI OUT P05".Z15.FB_HP THEN

#SSM1.S.stepd :=

#SSM1.S.c1.start :=

"M04 Enbl frmRTT" :=

"M03 Enbl frmRTT" :=

"M02 Enbl frmRTT" :=

"M01 Enbl frmRTT" := TRUE;

END_IF;

3: // Waiting for slaves SEQ1 start and done

#SSM1.S.c1.start := NOT ("M01 SEQ1 Active" OR "M02 SEQ1 Active" OR "M03 SEQ1 Active" OR "M04 SEQ1 Active");

#SSM1.S.c1.set := 10;

#SSM1.S.stepd := "M05 RdyToStart" AND NOT ("M01 Active" OR "M02 Active" OR "M03 Active" OR "M04 Active") AND #SSM1.S.c1.done;

4: // Z08 Guide-rail clamp cylinder WP (close)

"DI OUT P05".Z08.VLV.CmdExe_HP := FALSE;

"DI OUT P05".Z08.VLV.CmdExe_WP := "HMI KEY".P05.Z08.F12_Enable_WP;

#SSM1.S.stepd := "DI OUT P05".Z08.FB_WP;

5: // Z10 Guide-rail cylinder WP

"DI OUT P05".Z10.VLV.CmdExe_HP := FALSE;

"DI OUT P05".Z10.VLV.CmdExe_WP := "HMI KEY".P05.Z10.F12_Enable_WP;

IF "DI OUT P05".Z10.FB_WP THEN

"M01 Enbl toRTT" :=

"M02 Enbl toRTT" :=

"M03 Enbl toRTT" :=

"M04 Enbl toRTT" := FALSE;

#Shift_Register := (SHL_DWORD(IN := #Shift_Register, N := 1)) AND dw#16#1ffffff;

#Shift_Register_BadParts := (SHL_DWORD(IN := #Shift_Register_BadParts, N := 1)) AND dw#16#1ffffff;

#SSM1.S.stepd := TRUE;

END_IF;

6: // Z08 Guide-rail clamp cylinder HP (open)

"DI OUT P05".Z08.VLV.CmdExe_WP := FALSE;

"DI OUT P05".Z08.VLV.CmdExe_HP := "HMI KEY".P05.Z08.F11_Enable_HP;

#SSM1.S.stepd := "DI OUT P05".Z08.FB_HP;

7: // Z10 Guide-rail cylinder HP

"DI OUT P05".Z10.VLV.CmdExe_WP := FALSE;

"DI OUT P05".Z10.VLV.CmdExe_HP := "HMI KEY".P05.Z10.F11_Enable_HP;

"M05 SEQ1 Done" := "DI OUT P05".Z10.FB_HP;

END_CASE;

 

 

Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO