|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OB100 Startup : Complete restart |
|
|
|
Network 1: Pre-Setting // Log-In run-time "HMI SYS".Login.Operator_0.ID := 'mc@cea2020'; "DI MAIN GLB".M00.TON_Login.PT := t#120s; "DI MAIN P01".MoDA.RunTimeSetP_seq1 := 7060; "DI MAIN P02".MoDA.RunTimeSetP_seq1 := 110; "HMI KEY".Execute.Number_of_Pallets_ToGo := 2; // S120_X Axis "DI OUT P01".S120_X.DRV.Support.SW_EndLim_MinPos := -2.0; "DI OUT P01".S120_X.DRV.Support.SW_EndLim_MaxPos := 2385.0; // S120_Y Axis "DI OUT P01".S120_Y.DRV.Support.SW_EndLim_MinPos := -2.0; "DI OUT P01".S120_Y.DRV.Support.SW_EndLim_MaxPos := 1172.0; // S210_Z Axis "DI OUT P01".S210_Z.DRV.Support.SW_EndLim_MinPos := -2.0; "DI OUT P01".S210_Z.DRV.Support.SW_EndLim_MaxPos := 300.0; // V90_A Servo drive Component A "DI OUT P01".V90_A.DRV.Support.SW_EndLim_MinPos := -3.0; "DI OUT P01".V90_A.DRV.Support.SW_EndLim_MaxPos := 205.0; // V90_B Servo drive Component B "DI OUT P01".V90_B.DRV.Support.SW_EndLim_MinPos := -3.0; "DI OUT P01".V90_B.DRV.Support.SW_EndLim_MaxPos := 205.0; // P24B1 pressure component A "DI OUT P01".P24B_A.Support.High_Lim := 80.0; // bar "DI OUT P01".P24B_A.Support.Low_Lim := 0.0; "HMI KEY".Execute.Pressure_Tolerance_Comp_A := 3.5; // P24B2 pressure component B "DI OUT P01".P24B_B.Support.High_Lim := 80.0; // bar "DI OUT P01".P24B_B.Support.Low_Lim := 0.0; "HMI KEY".Execute.Pressure_Tolerance_Comp_B := 3.5; // SCADA Lubrication A "HMI KEY".Lubrication_A.Set_Value_Device_Strokes := 50; "HMI KEY".Lubrication_A.Set_Value_Cycles := 3; "HMI KEY".Lubrication_A.Set_On_Time := t#10s; "HMI KEY".Lubrication_A.Set_Off_Time := t#240s; // SCADA Lubrication B "HMI KEY".Lubrication_B.Set_Value_Device_Strokes := 48; "HMI KEY".Lubrication_B.Set_Value_Cycles := 3; "HMI KEY".Lubrication_B.Set_On_Time := t#8s; "HMI KEY".Lubrication_B.Set_Off_Time := t#240s; // Pallet data L=1982.5 B=1150.0 "HMI KEY".Execute.Pallet_Ref_Pos_X := 0.0; "HMI KEY".Execute.Pallet_Ref_Pos_Y := 57.5; "HMI KEY".Message.Position_Pointer := 0; "HMI KEY".Message.Index_Position := 0; // OCS1 "DI OUT P01".CARTESIAN_3D.DRV.MC_MoveCircularAbsolute.CoordSystem := "DI OUT P01".CARTESIAN_3D.DRV.MC_MoveCircularRelative.CoordSystem := "DI OUT P01".CARTESIAN_3D.DRV.MC_MoveLinearAbsolute.CoordSystem := "DI OUT P01".CARTESIAN_3D.DRV.MC_MoveLinearRelative.CoordSystem := 1; |
|
|
|
Network 2: Programme choice parameters // Programme choice 1 "HMI KEY".SetPointComp_A[1].Size := 6.0; "HMI KEY".SetPointComp_A[1].Stroke := 100.0; // mm "HMI KEY".SetPointComp_A[1].MixingRatio := 100.0; // % "HMI KEY".SetPointComp_A[1].Pressure := 73.2; // bar "HMI KEY".SetPointComp_A[1].Position := 3.0; // mm "HMI KEY".SetPointComp_A[1].Distance := 0.0; // mm "HMI KEY".SetPointComp_A[1].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_A[1].RapidVelo := 40.0; // mm/s "HMI KEY".SetPointComp_B[1].Size := 6.0; "HMI KEY".SetPointComp_B[1].Stroke := 100.0; // mm "HMI KEY".SetPointComp_B[1].MixingRatio := 50.0; // % "HMI KEY".SetPointComp_B[1].Pressure := 73.4; // bar "HMI KEY".SetPointComp_B[1].Position := 3.0; // mm "HMI KEY".SetPointComp_B[1].Distance := 0.0; // mm "HMI KEY".SetPointComp_B[1].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_B[1].RapidVelo := "HMI KEY".SetPointComp_A[1].RapidVelo * "HMI KEY".SetPointComp_B[1].MixingRatio / "HMI KEY".SetPointComp_A[1].MixingRatio; // mm/s // Programme choice 2 "HMI KEY".SetPointComp_A[2].Size := 10.0; "HMI KEY".SetPointComp_A[2].Stroke := 100.0; "HMI KEY".SetPointComp_A[2].MixingRatio := 100.0; // % "HMI KEY".SetPointComp_A[2].Pressure := 66.3; // bar "HMI KEY".SetPointComp_A[2].Position := 10.0; // mm "HMI KEY".SetPointComp_A[2].Distance := 5.0; // mm "HMI KEY".SetPointComp_A[2].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_A[2].RapidVelo := 40.0; // mm/s "HMI KEY".SetPointComp_B[2].Size := 10.0; "HMI KEY".SetPointComp_B[2].Stroke := 100.0; "HMI KEY".SetPointComp_B[2].MixingRatio := 75.0; // % "HMI KEY".SetPointComp_B[2].Pressure := 67.3; // bar "HMI KEY".SetPointComp_B[2].Position := 10.0; // mm "HMI KEY".SetPointComp_B[2].Distance := 5.0; // mm "HMI KEY".SetPointComp_B[2].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_B[2].RapidVelo := "HMI KEY".SetPointComp_A[2].RapidVelo * "HMI KEY".SetPointComp_B[2].MixingRatio / "HMI KEY".SetPointComp_A[2].MixingRatio; // mm/s // Programme choice 3 "HMI KEY".SetPointComp_A[3].Size := 20.0; "HMI KEY".SetPointComp_A[3].Stroke := 100.0; "HMI KEY".SetPointComp_A[3].MixingRatio := 100.0; // % "HMI KEY".SetPointComp_A[3].Pressure := 81.5; // bar "HMI KEY".SetPointComp_A[3].Position := 5.0; // mm "HMI KEY".SetPointComp_A[3].Distance := 10.0; // mm "HMI KEY".SetPointComp_A[3].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_A[3].RapidVelo := 40.0; // mm/s "HMI KEY".SetPointComp_B[3].Size := 20.0; "HMI KEY".SetPointComp_B[3].Stroke := 100.0; "HMI KEY".SetPointComp_B[3].MixingRatio := 25.0; // % "HMI KEY".SetPointComp_B[3].Pressure := 81.1; // bar "HMI KEY".SetPointComp_B[3].Position := 5.0; // mm "HMI KEY".SetPointComp_B[3].Distance := 10.0; // mm "HMI KEY".SetPointComp_B[3].WorkVelo := 1.4; // mm/s "HMI KEY".SetPointComp_B[3].RapidVelo := "HMI KEY".SetPointComp_A[3].RapidVelo * "HMI KEY".SetPointComp_B[3].MixingRatio / "HMI KEY".SetPointComp_A[3].MixingRatio; // mm/s |
|
|
|
Network 3: Pre-Setting Programme choice 1 work piece carrier 1-3 // Point to Point distance workpiece 1 "HMI KEY".ProgChoice_1.WorkPiece_1.Gap_X := 297.67; "HMI KEY".ProgChoice_1.WorkPiece_1.Gap_Y := 287.53; "HMI KEY".ProgChoice_1.WorkPiece_1.WorkPos_Z := 89.2; "HMI KEY".ProgChoice_1.WorkPiece_1.PalletPlaceOn_X := 8; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_1.PalletPlaceOn_Y := 4; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_1.NumOfWorkPieces := 12; // default "HMI KEY".ProgChoice_1.WorkPiece_1."01_MovRela_ab".Y := -42.5; "HMI KEY".ProgChoice_1.WorkPiece_1."02_MovRela_bc".X := 257.5; "HMI KEY".ProgChoice_1.WorkPiece_1."03_MovRela_cd".Y := 257.5; "HMI KEY".ProgChoice_1.WorkPiece_1."04_MovRela_de".X := -257.5; "HMI KEY".ProgChoice_1.WorkPiece_1."05_MovRela_ef".Y := -179.0; "HMI KEY".ProgChoice_1.WorkPiece_1."06_MovRela_fg".X := 30.0; "HMI KEY".ProgChoice_1.WorkPiece_1."06_MovRela_fg".Y := -50.0; "HMI KEY".ProgChoice_1.WorkPiece_1."07_MovRela_gh".X := 200.0; "HMI KEY".ProgChoice_1.WorkPiece_1."07_MovRela_gh".Y := 202.0; "HMI KEY".ProgChoice_1.WorkPiece_1."08_MovRela_hi".X := 7.0; "HMI KEY".ProgChoice_1.WorkPiece_1."08_MovRela_hi".Y := -206.0; "HMI KEY".ProgChoice_1.WorkPiece_1."09_MovRela_ij".X := -88.5; "HMI KEY".ProgChoice_1.WorkPiece_1."09_MovRela_ij".Y := 88.5; "HMI KEY".ProgChoice_1.WorkPiece_1."10_MovRela_jk".X := -35.0; "HMI KEY".ProgChoice_1.WorkPiece_1."10_MovRela_jk".Y := 35.0; "HMI KEY".ProgChoice_1.WorkPiece_1."11_MovRela_kl".X := -89.0; "HMI KEY".ProgChoice_1.WorkPiece_1."11_MovRela_kl".Y := 89.0; // Point to Point distance workpiece 2 "HMI KEY".ProgChoice_1.WorkPiece_2.Gap_X := 297.67; "HMI KEY".ProgChoice_1.WorkPiece_2.Gap_Y := 287.53; "HMI KEY".ProgChoice_1.WorkPiece_2.WorkPos_Z := 88.4; "HMI KEY".ProgChoice_1.WorkPiece_2.PalletPlaceOn_X := 8; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_2.PalletPlaceOn_Y := 4; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_2.NumOfWorkPieces := 12; // default "HMI KEY".ProgChoice_1.WorkPiece_2."01_MovRela_ab".Y := -47.0; "HMI KEY".ProgChoice_1.WorkPiece_2."02_MovRela_bc".X := 275.5; "HMI KEY".ProgChoice_1.WorkPiece_2."03_MovRela_cd".Y := 114.0; "HMI KEY".ProgChoice_1.WorkPiece_2."04_MovRela_de".X := -42.0; "HMI KEY".ProgChoice_1.WorkPiece_2."05_MovRela_ef".Y := 46.0; "HMI KEY".ProgChoice_1.WorkPiece_2."06_MovRela_fg".X := 42.0; "HMI KEY".ProgChoice_1.WorkPiece_2."07_MovRela_gh".Y := 119.0; "HMI KEY".ProgChoice_1.WorkPiece_2."08_MovRela_hi".X := -275.5; "HMI KEY".ProgChoice_1.WorkPiece_2."09_MovRela_ij".Y := -119.0; "HMI KEY".ProgChoice_1.WorkPiece_2."10_MovRela_jk".X := 42.0; "HMI KEY".ProgChoice_1.WorkPiece_2."11_MovRela_kl".Y := -46.0; "HMI KEY".ProgChoice_1.WorkPiece_2."12_MovRela_lm".X := -42.0; "HMI KEY".ProgChoice_1.WorkPiece_2."14_MovRela_a".Y := -70.0; // Point to Point distance workpiece 3 "HMI KEY".ProgChoice_1.WorkPiece_3.Gap_X := 297.67; "HMI KEY".ProgChoice_1.WorkPiece_3.Gap_Y := 287.53; "HMI KEY".ProgChoice_1.WorkPiece_3.WorkPos_Z := 91.6; "HMI KEY".ProgChoice_1.WorkPiece_3.PalletPlaceOn_X := 8; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_3.PalletPlaceOn_Y := 4; // pallet fixed places "HMI KEY".ProgChoice_1.WorkPiece_3.NumOfWorkPieces := 8; // default "HMI KEY".ProgChoice_1.WorkPiece_3."01_MovRela_ab".Y := -47.0; "HMI KEY".ProgChoice_1.WorkPiece_3."02_MovRela_bc".X := 140.0; "HMI KEY".ProgChoice_1.WorkPiece_3."02_MovRela_bc".Y := 47.0; "HMI KEY".ProgChoice_1.WorkPiece_3."03_MovRela_cd".X := 140.0; "HMI KEY".ProgChoice_1.WorkPiece_3."03_MovRela_cd".Y := -47.0; "HMI KEY".ProgChoice_1.WorkPiece_3."04_MovRela_de".Y := 275.5; "HMI KEY".ProgChoice_1.WorkPiece_3."05_MovRela_ef".X := -140.0; "HMI KEY".ProgChoice_1.WorkPiece_3."05_MovRela_ef".Y := -61.0; "HMI KEY".ProgChoice_1.WorkPiece_3."06_MovRela_fg".X := -140.0; "HMI KEY".ProgChoice_1.WorkPiece_3."06_MovRela_fg".Y := 61.0; "HMI KEY".ProgChoice_1.WorkPiece_3."13_MovRela_mn".Y := -234.0; // Assign Velocity per-Setting programme choice 1 "HMI KEY".ProgChoice_1.WorkPiece_1.WorkVelo_X := 50.0; // mm/s "HMI KEY".ProgChoice_1.WorkPiece_1.WorkVelo_Y := 50.0; // mm/s "HMI KEY".ProgChoice_1.WorkPiece_1.RapidVelo_X := 100.0; "HMI KEY".ProgChoice_1.WorkPiece_1.RapidVelo_Y := 200.0; "HMI KEY".ProgChoice_1.WorkPiece_1.WorkVelo_Z := 30.0; "HMI KEY".ProgChoice_1.WorkPiece_1.RapidVelo_Z := 90.0; "HMI KEY".ProgChoice_1.WorkPiece_2.WorkVelo_X := 50.0; "HMI KEY".ProgChoice_1.WorkPiece_2.WorkVelo_Y := 50.0; "HMI KEY".ProgChoice_1.WorkPiece_2.RapidVelo_X := 95.0; "HMI KEY".ProgChoice_1.WorkPiece_2.RapidVelo_Y := 195.0; "HMI KEY".ProgChoice_1.WorkPiece_2.WorkVelo_Z := 30.0; "HMI KEY".ProgChoice_1.WorkPiece_2.RapidVelo_Z := 90.0; "HMI KEY".ProgChoice_1.WorkPiece_3.WorkVelo_X := 50.0; "HMI KEY".ProgChoice_1.WorkPiece_3.WorkVelo_Y := 50.0; "HMI KEY".ProgChoice_1.WorkPiece_3.RapidVelo_X := 62.7; "HMI KEY".ProgChoice_1.WorkPiece_3.RapidVelo_Y := 162.7; "HMI KEY".ProgChoice_1.WorkPiece_3.WorkVelo_Z := 30.0; "HMI KEY".ProgChoice_1.WorkPiece_3.RapidVelo_Z := 76.8; |
|