FB52 SEQ1 P02 : Spring diameter inspection - SEQ1 (slave 3)

 

 

 

Netzwerk 1: Pre-Setting

 

"M03 RdyToStart" :=

"M03 HomPos" AND "DI MAIN P05".SEQ1.Shift_Register.%X14;

 

 

 

Netzwerk 2: Execute SEQ1

 

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

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

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

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

MAX_STEP := 4);

 

 

 

Netzwerk 3: Step jump distributor

 

CASE #SSM1.S.stepact OF

0: // Waiting for SEQ1 to start

"M03 SEQ1 Active" := FALSE;

IF NOT "DI MAIN P05".SEQ1.Shift_Register.%X14 THEN

"M03 Enbl toRTT" := TRUE;

RETURN;

END_IF;

#SSM1.S.stepd := #SSM1.S.steps AND "M03 RdyToStart" AND "M03 Enbl frmRTT";

1: // Z02 camera cylinder WP

"M03 SEQ1 Active" := TRUE;

"DI OUT P03".Z02.VLV.CmdExe_HP := FALSE;

"DI OUT P03".Z02.VLV.CmdExe_WP := "HMI KEY".P03.Z02.F12_Enable_WP;

IF "DI OUT P03".Z02.FB_WP THEN

"M03 Enbl frmRTT" := FALSE;

#SSM1.S.stepd := TRUE;

END_IF;

2: // Query ifm_O2Vx camera not busy

IF #SSM1.S.DlyStart.Q THEN

#SSM1.S.c1.start := NOT "DI OUT P03".CAM1_IO.OUT.oxBusy;

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

RETURN;

END_IF;

#SSM1.S.stepd := "DI OUT P03".CAM1_IO.IN.ixTrigger := #SSM1.S.c1.done;

3: // Start ifm O2Vx camera inspecting spring diameter

IF "DI OUT P03".CAM1_IO.OUT.owStatus = w#16#F001 THEN

"DI MAIN P05".SSM1.Shift_Register_BadParts.%X14 := TRUE;

END_IF;

#SSM1.S.stepd := "DI OUT P03".CAM1_IO.OUT.oxDone;

4: // Z02 camera cylinde HP

#FLT."3_FAULT_00_15".%X0 := "DI MAIN P05".SEQ1.Shift_Register_BadParts.%X14;

"DI OUT P03".Z02.VLV.CmdExe_WP := FALSE;

"DI OUT P03".Z02.VLV.CmdExe_HP := "HMI KEY".P03.Z02.F11_Enable_HP;

"M03 SEQ1 Done" := "M03 Enbl toRTT" := "DI OUT P03".Z02.FB_HP;

END_CASE;

 

 

Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO