diff --git a/src/components.desoutter.tightening/ctrl/src/CVIC_II/AxoCVIC_II.st b/src/components.desoutter.tightening/ctrl/src/CVIC_II/AxoCVIC_II.st index 135c6a08d..f005eed76 100644 --- a/src/components.desoutter.tightening/ctrl/src/CVIC_II/AxoCVIC_II.st +++ b/src/components.desoutter.tightening/ctrl/src/CVIC_II/AxoCVIC_II.st @@ -657,7 +657,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening THIS.CallTimers(FALSE); _progress := 300; END_IF; - + // Reset running: waiting for 'Failed' flag to be reseted. IF _progress = 300 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#500, eAxoMessageCategory#Warning); @@ -673,7 +673,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 301; END_IF; END_IF; - + // Reset running: waiting for 'InCycle' flag to be reseted. IF _progress = 301 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#501, eAxoMessageCategory#Warning); @@ -684,7 +684,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 302; END_IF; END_IF; - + // Reset running: waiting for the device to be Ready. IF _progress = 302 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#502, eAxoMessageCategory#Warning); @@ -695,7 +695,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 303; END_IF; END_IF; - + // Reset finished. IF _progress = 303 THEN Outputs.Control.SpindleValidation := FALSE; Outputs.Control.StartCycle := FALSE; @@ -754,8 +754,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening THIS.CallTimers(FALSE); _progress := 310; END_IF; - - //Set program + // Set screwing program running: waiting for the program number is mirrored back. IF _progress = 310 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#510, eAxoMessageCategory#Warning); @@ -770,7 +769,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 311; END_IF; END_IF; - + // Set screwing program finished. IF _progress = 311 THEN SetScrewingProgramTask.DoneWhen(TRUE); _progress := 0; @@ -821,7 +820,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 320; END_IF; - //Reset results + // Screwing running: reseting the previous results. IF _progress = 320 THEN Outputs.Control.SpindleValidation := FALSE; Outputs.Control.Reset := FALSE; @@ -835,8 +834,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening THIS.CallTimers(FALSE); _progress := 321; END_IF; - - //Check if program already set + // Screwing running: checking if the program is already set. IF _progress = 321 THEN IF _RequiredScrewingProgram = Inputs.ScrewingProgram THEN ScrewingProgram := _RequiredScrewingProgram; @@ -846,8 +844,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 322; END_IF; END_IF; - - //Set program + // Screwing running: waiting for the program number is mirrored back. IF _progress = 322 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#522, eAxoMessageCategory#Warning); @@ -862,9 +859,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 323; END_IF; END_IF; - - - // wait for screwdriver ready + // Screwing running: waiting for 'InCycle' flag to be reseted. IF _progress = 323 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#523, eAxoMessageCategory#Warning); @@ -876,8 +871,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 324; END_IF; END_IF; - - // wait for screwdriver ready + // Screwing running: waiting for the device to be Ready. IF _progress = 324 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#524, eAxoMessageCategory#Warning); @@ -889,8 +883,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 325; END_IF; END_IF; - - // start screwing cycle + // Screwing running: waiting for the screwing cycle is started. IF _progress = 325 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#525, eAxoMessageCategory#Warning); @@ -905,8 +898,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 326; END_IF; END_IF; - - // wait for screwing cycle end + // Screwing running: waiting for the screwing cycle is finished. IF _progress = 326 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#526, eAxoMessageCategory#Warning); @@ -918,9 +910,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 327; END_IF; END_IF; - - - // wait for screwing cycle end + // Screwing running: waiting for the overall screwing results are ready. IF _progress = 327 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#527, eAxoMessageCategory#Warning); @@ -941,8 +931,7 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _progress := 328; END_IF; END_IF; - - // finished + // Screwing finished. IF _progress = 328 THEN _progress := 0; StartScrewingTask.DoneWhen(TRUE); @@ -996,7 +985,6 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening Status.Error.Id := UINT#1232; RETURN; END_IF; - END_METHOD /// @@ -1019,7 +1007,6 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening SetScrewingProgram := SetScrewingProgramTask.Invoke(THIS); END_METHOD - /// /// This method starts the screwing process /// @@ -1046,7 +1033,6 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening METHOD PROTECTED OVERRIDE ManualControl _RequiredScrewingProgram := RequiredScrewingProgram; - END_METHOD METHOD PRIVATE CallTimers @@ -1057,8 +1043,6 @@ NAMESPACE AXOpen.Components.Desoutter.Tightening _infoTimer.OnDelay(THIS, signal AND Config.InfoTime > LT#0S ,Config.InfoTime); _errorTimer.OnDelay(THIS, signal AND Config.ErrorTime > LT#0S , Config.ErrorTime); END_METHOD - - END_CLASS END_NAMESPACE diff --git a/src/components.desoutter.tightening/src/AXOpen.Components.Desoutter.Tightening/AxoCVIC_II/AxoCVICC_II.cs b/src/components.desoutter.tightening/src/AXOpen.Components.Desoutter.Tightening/AxoCVIC_II/AxoCVICC_II.cs index 210f33a9b..6c6df2195 100644 --- a/src/components.desoutter.tightening/src/AXOpen.Components.Desoutter.Tightening/AxoCVIC_II/AxoCVICC_II.cs +++ b/src/components.desoutter.tightening/src/AXOpen.Components.Desoutter.Tightening/AxoCVIC_II/AxoCVICC_II.cs @@ -337,54 +337,29 @@ public string ActionDescription actionDescriptionDict.Add(50, "Restore has been executed."); actionDescriptionDict.Add(100, "Reset started."); - actionDescriptionDict.Add(300, "Reset running."); - actionDescriptionDict.Add(301, "Reset running."); - actionDescriptionDict.Add(302, "Reset running."); - actionDescriptionDict.Add(303, "Reset running."); - actionDescriptionDict.Add(304, "Reset running."); - actionDescriptionDict.Add(305, "Reset running."); - actionDescriptionDict.Add(306, "Reset running."); - actionDescriptionDict.Add(307, "Reset running."); - actionDescriptionDict.Add(308, "Reset running."); - actionDescriptionDict.Add(309, "Reset running."); + actionDescriptionDict.Add(300, "Reset running: waiting for 'Failed' flag to be reseted."); + actionDescriptionDict.Add(301, "Reset running: waiting for 'InCycle' flag to be reseted."); + actionDescriptionDict.Add(302, "Reset running: waiting for the device to be Ready."); + actionDescriptionDict.Add(303, "Reset finished."); actionDescriptionDict.Add(101, "Reset finished succesfully."); actionDescriptionDict.Add(102, "Reset restored."); actionDescriptionDict.Add(110, "Set screwing program started."); - actionDescriptionDict.Add(310, "Set screwing program running."); - actionDescriptionDict.Add(311, "Set screwing program running."); - actionDescriptionDict.Add(312, "Set screwing program running."); - actionDescriptionDict.Add(313, "Set screwing program running."); - actionDescriptionDict.Add(314, "Set screwing program running."); - actionDescriptionDict.Add(315, "Set screwing program running."); - actionDescriptionDict.Add(316, "Set screwing program running."); - actionDescriptionDict.Add(317, "Set screwing program running."); - actionDescriptionDict.Add(318, "Set screwing program running."); - actionDescriptionDict.Add(319, "Set screwing program running."); + actionDescriptionDict.Add(310, "Set screwing program running: waiting for the program number is mirrored back."); + actionDescriptionDict.Add(311, "Set screwing program finished. "); actionDescriptionDict.Add(111, "Set screwing program finished succesfully."); actionDescriptionDict.Add(112, "Set screwing program restored."); actionDescriptionDict.Add(120, "Screwing started."); - actionDescriptionDict.Add(320, "Screwing running."); - actionDescriptionDict.Add(321, "Screwing running."); - actionDescriptionDict.Add(322, "Screwing running."); - actionDescriptionDict.Add(323, "Screwing running."); - actionDescriptionDict.Add(324, "Screwing running."); - actionDescriptionDict.Add(325, "Screwing running."); - actionDescriptionDict.Add(326, "Screwing running."); - actionDescriptionDict.Add(327, "Screwing running."); - actionDescriptionDict.Add(328, "Screwing running."); - actionDescriptionDict.Add(329, "Screwing running."); - actionDescriptionDict.Add(330, "Screwing running."); - actionDescriptionDict.Add(331, "Screwing running."); - actionDescriptionDict.Add(332, "Screwing running."); - actionDescriptionDict.Add(333, "Screwing running."); - actionDescriptionDict.Add(334, "Screwing running."); - actionDescriptionDict.Add(335, "Screwing running."); - actionDescriptionDict.Add(336, "Screwing running."); - actionDescriptionDict.Add(337, "Screwing running."); - actionDescriptionDict.Add(338, "Screwing running."); - actionDescriptionDict.Add(339, "Screwing running."); + actionDescriptionDict.Add(320, "Screwing running: reseting the previous results."); + actionDescriptionDict.Add(321, "Screwing running: checking if the program is already set."); + actionDescriptionDict.Add(322, "Screwing running: waiting for the program number is mirrored back."); + actionDescriptionDict.Add(323, "Screwing running: waiting for 'InCycle' flag to be reseted."); + actionDescriptionDict.Add(324, "Screwing running: waiting for the device to be Ready."); + actionDescriptionDict.Add(325, "Screwing running: waiting for the screwing cycle is started."); + actionDescriptionDict.Add(326, "Screwing running: waiting for the screwing cycle is finished."); + actionDescriptionDict.Add(327, "Screwing running: waiting for the overall screwing results are ready."); + actionDescriptionDict.Add(328, "Screwing finished."); actionDescriptionDict.Add(121, "Screwing finished succesfully."); actionDescriptionDict.Add(122, "Screwing restored."); diff --git a/src/components.dukane.welders/ctrl/src/AxoIQSeriesWelder/Axo_IQ_SeriesWelder.st b/src/components.dukane.welders/ctrl/src/AxoIQSeriesWelder/Axo_IQ_SeriesWelder.st index 490b9b58c..b79e2af79 100644 --- a/src/components.dukane.welders/ctrl/src/AxoIQSeriesWelder/Axo_IQ_SeriesWelder.st +++ b/src/components.dukane.welders/ctrl/src/AxoIQSeriesWelder/Axo_IQ_SeriesWelder.st @@ -57,41 +57,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders END_VAR - VAR PUBLIC // TEMPLATE TASKS - - - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_10steps_6#>"} - TemplateTask_10steps_6 : AXOpen.Core.AxoTask; - - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_1#>"} - TemplateTask_20steps_1 : AXOpen.Core.AxoTask; - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_2#>"} - TemplateTask_20steps_2 : AXOpen.Core.AxoTask; - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_3#>"} - TemplateTask_20steps_3 : AXOpen.Core.AxoTask; - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_4#>"} - TemplateTask_20steps_4 : AXOpen.Core.AxoTask; - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_5#>"} - TemplateTask_20steps_5 : AXOpen.Core.AxoTask; - {#ix-attr:[Container(Layout.Wrap)]} - // {#ix-attr:[ComponentDetails("Template tasks")]} - {#ix-set:AttributeName = "<#TemplateTask_20steps_6#>"} - TemplateTask_20steps_6 : AXOpen.Core.AxoTask; - - END_VAR - VAR PUBLIC // CONFIG {#ix-attr:[Container(Layout.Stack)]} {#ix-attr:[ComponentDetails("Config")]} @@ -120,7 +85,7 @@ NAMESPACE AXOpen.Components.Dukane.Welders {#ix-attr:[Container(Layout.Wrap)]} {#ix-attr:[Group(GroupLayout.GroupBox)]} {#ix-set:AttributeName = "<#Outputs#>"} - // {#ix-attr:[ReadOnly()]} + {#ix-attr:[ReadOnly()]} Outputs : Axo_IQ_SeriesWelder_SystemOutputs; END_VAR @@ -754,13 +719,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders ChangeWeldingProbeTask.Run(THIS); CycleStopTask.Run(THIS); RunWeldingWithTimeTask.Run(THIS); - TemplateTask_10steps_6.Run(THIS); - TemplateTask_20steps_1.Run(THIS); - TemplateTask_20steps_2.Run(THIS); - TemplateTask_20steps_3.Run(THIS); - TemplateTask_20steps_4.Run(THIS); - TemplateTask_20steps_5.Run(THIS); - TemplateTask_20steps_6.Run(THIS); //**************************************** @@ -774,7 +732,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.Restore(); END_IF; //**************************************** - //*************ClearErrorTask************** ClearErrorTask.SetIsDisabled(FALSE); @@ -790,8 +747,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.CallTimers(FALSE); _progress := 300; END_IF; - - IF _progress = 300 THEN // ClearErrorTask running: , + // ClearErrorTask running: waiting for the error flag is reseted. + IF _progress = 300 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#500, eAxoMessageCategory#Warning); Status.Error.Id := UINT#500; @@ -803,108 +760,11 @@ NAMESPACE AXOpen.Components.Dukane.Welders _progress := 301; END_IF; END_IF; - - IF _progress = 301 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#501, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#501; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 302; - END_IF; - END_IF; - - IF _progress = 302 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#502, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#502; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 303; - END_IF; - END_IF; - - IF _progress = 303 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#503, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#503; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 304; - END_IF; - END_IF; - - IF _progress = 304 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#504, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#504; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 305; - END_IF; - END_IF; - - IF _progress = 305 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#505, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#505; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 306; - END_IF; - END_IF; - - IF _progress = 306 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#506, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#506; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 307; - END_IF; - END_IF; - - IF _progress = 307 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#507, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#507; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 308; - END_IF; - END_IF; - - IF _progress = 308 THEN // ClearErrorTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#508, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#508; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 309; - END_IF; - END_IF; - - IF _progress = 309 THEN + // ClearErrorTask finished. + IF _progress = 301 THEN ClearErrorTask.DoneWhen(TRUE); _progress := 0; END_IF; - THIS.CallTimers(TRUE); @@ -945,13 +805,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.CallTimers(FALSE); _progress := 310; END_IF; - - IF _progress = 310 THEN // ChangeWeldingSetupTask running: , - // IF _infoTimer.output THEN - // TaskMessenger.Activate( UINT#510, eAxoMessageCategory#Warning); - // Status.Error.Id := UINT#510; - // END_IF; - + // ChangeWeldingSetupTask running: validating required setup number. + IF _progress = 310 THEN IF _setupNumber >= UINT#1 AND _setupNumber<= UINT#16 THEN THIS.CallTimers(FALSE); _progress := 311; @@ -960,8 +815,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders Status.Error.Id := UINT#510; END_IF; END_IF; - - IF _progress = 311 THEN // ChangeWeldingSetupTask running: , changing active setup selected + // ChangeWeldingSetupTask running: changing active setup selected. + IF _progress = 311 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#511, eAxoMessageCategory#Warning); Status.Error.Id := UINT#511; @@ -975,8 +830,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders _progress := 312; END_IF; END_IF; - - IF _progress = 312 THEN // ChangeWeldingSetupTask running: , changing running setup selected + // ChangeWeldingSetupTask running: changing running setup selected. + IF _progress = 312 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#512, eAxoMessageCategory#Warning); Status.Error.Id := UINT#512; @@ -990,80 +845,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders _progress := 313; END_IF; END_IF; - - IF _progress = 313 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#513, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#513; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 314; - END_IF; - END_IF; - - IF _progress = 314 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#514, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#514; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 315; - END_IF; - END_IF; - - IF _progress = 315 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#515, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#515; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 316; - END_IF; - END_IF; - - IF _progress = 316 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#516, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#516; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 317; - END_IF; - END_IF; - - IF _progress = 317 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#517, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#517; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 318; - END_IF; - END_IF; - - IF _progress = 318 THEN // ChangeWeldingSetupTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#518, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#518; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 319; - END_IF; - END_IF; - - IF _progress = 319 THEN // ChangeWeldingSetupTask running: , + // ChangeWeldingSetupTask finished. + IF _progress = 313 THEN ChangeWeldingSetupTask.DoneWhen(TRUE); _progress := 0; END_IF; @@ -1107,13 +890,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.CallTimers(FALSE); _progress := 320; END_IF; - - IF _progress = 320 THEN // ChangeWeldingProbeTask running: , - // IF _infoTimer.output THEN - // TaskMessenger.Activate( UINT#520, eAxoMessageCategory#Warning); - // Status.Error.Id := UINT#520; - // END_IF; - + // ChangeWeldingProbeTask running: validating required probe number. + IF _progress = 320 THEN IF _probeNumber >= UINT#1 AND _probeNumber<= UINT#16 THEN THIS.CallTimers(FALSE); _progress := 321; @@ -1122,8 +900,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders Status.Error.Id := UINT#520; END_IF; END_IF; - - IF _progress = 321 THEN // ChangeWeldingProbeTask running: , + // ChangeWeldingProbeTask running: changing running probe selected.. + IF _progress = 321 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#521, eAxoMessageCategory#Warning); Status.Error.Id := UINT#521; @@ -1136,92 +914,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders _progress := 322; END_IF; END_IF; - - IF _progress = 322 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#522, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#522; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 323; - END_IF; - END_IF; - - IF _progress = 323 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#523, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#523; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 324; - END_IF; - END_IF; - - IF _progress = 324 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#524, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#524; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 325; - END_IF; - END_IF; - - IF _progress = 325 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#525, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#525; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 326; - END_IF; - END_IF; - - IF _progress = 326 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#526, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#526; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 327; - END_IF; - END_IF; - - IF _progress = 327 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#527, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#527; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 328; - END_IF; - END_IF; - - IF _progress = 328 THEN // ChangeWeldingProbeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#528, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#528; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 329; - END_IF; - END_IF; - - IF _progress = 329 THEN // ChangeWeldingProbeTask running: , + // ChangeWeldingProbeTask finished. + IF _progress = 322 THEN ChangeWeldingProbeTask.DoneWhen(TRUE); _progress := 0; END_IF; @@ -1265,8 +959,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.CallTimers(FALSE); _progress := 330; END_IF; - - IF _progress = 330 THEN // CycleStopTask running: , + // CycleStopTask running: waiting for the cycle is finished. + IF _progress = 330 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#530, eAxoMessageCategory#Warning); Status.Error.Id := UINT#530; @@ -1280,104 +974,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders _progress := 331; END_IF; END_IF; - - IF _progress = 331 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#531, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#531; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 332; - END_IF; - END_IF; - - IF _progress = 332 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#532, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#532; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 333; - END_IF; - END_IF; - - IF _progress = 333 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#533, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#533; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 334; - END_IF; - END_IF; - - IF _progress = 334 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#534, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#534; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 335; - END_IF; - END_IF; - - IF _progress = 335 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#535, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#535; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 336; - END_IF; - END_IF; - - IF _progress = 336 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#536, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#536; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 337; - END_IF; - END_IF; - - IF _progress = 337 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#537, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#537; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 338; - END_IF; - END_IF; - - IF _progress = 338 THEN // CycleStopTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#538, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#538; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 339; - END_IF; - END_IF; - - IF _progress = 339 THEN // CycleStopTask running: , + // CycleStopTask finished. + IF _progress = 331 THEN CycleStopTask.DoneWhen(TRUE); _progress := 0; END_IF; @@ -1421,8 +1019,8 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.CallTimers(FALSE); _progress := 340; END_IF; - - IF _progress = 340 THEN // RunWeldingWithTimeTask running: , + // RunWeldingWithTimeTask running: reseting the error. + IF _progress = 340 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#540, eAxoMessageCategory#Warning); Status.Error.Id := UINT#540; @@ -1430,44 +1028,36 @@ NAMESPACE AXOpen.Components.Dukane.Welders Outputs.ClearError := _blink.output; - IF NOT Inputs.SystemStatus.Any_Fault AND Inputs.SystemStatus.Ready THEN + IF NOT Inputs.SystemStatus.Any_Fault THEN Outputs.ClearError := FALSE; THIS.CallTimers(FALSE); _progress := 341; END_IF; END_IF; - - IF _progress = 341 THEN // RunWeldingWithTimeTask running: , - // IF _infoTimer.output THEN - // TaskMessenger.Activate( UINT#541, eAxoMessageCategory#Warning); - // Status.Error.Id := UINT#541; - // END_IF; - - IF _setupNumber >= UINT#1 AND _setupNumber<= UINT#16 THEN + // RunWeldingWithTimeTask running: waiting for the system to be ready. + IF _progress = 341 THEN + IF _infoTimer.output THEN + TaskMessenger.Activate( UINT#541, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#541; + END_IF; + + IF Inputs.SystemStatus.Ready THEN THIS.CallTimers(FALSE); _progress := 342; - ELSE - TaskMessenger.Activate( UINT#541, eAxoMessageCategory#Error); - Status.Error.Id := UINT#541; END_IF; END_IF; - - IF _progress = 342 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#542, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#542; - END_IF; - - THIS.Outputs.ActiveSetupSelection := _setupNumber; - THIS.Outputs.RunningSetupSelection := _setupNumber; - - IF THIS.Outputs.ActiveSetupSelection = THIS.Inputs.ActiveSetup THEN + // RunWeldingWithTimeTask running: validating required setup number. + IF _progress = 342 THEN + IF _setupNumber >= UINT#1 AND _setupNumber<= UINT#16 THEN THIS.CallTimers(FALSE); _progress := 343; + ELSE + TaskMessenger.Activate( UINT#542, eAxoMessageCategory#Error); + Status.Error.Id := UINT#542; END_IF; END_IF; - - IF _progress = 343 THEN // RunWeldingWithTimeTask running: , + // RunWeldingWithTimeTask running: changing active setup selected. + IF _progress = 343 THEN IF _infoTimer.output THEN TaskMessenger.Activate( UINT#543, eAxoMessageCategory#Warning); Status.Error.Id := UINT#543; @@ -1476,1904 +1066,116 @@ NAMESPACE AXOpen.Components.Dukane.Welders THIS.Outputs.ActiveSetupSelection := _setupNumber; THIS.Outputs.RunningSetupSelection := _setupNumber; - IF THIS.Outputs.RunningSetupSelection = THIS.Inputs.RunningSetup THEN - THIS.CallTimers(FALSE); - _progress := 344; - END_IF; - END_IF; - - IF _progress = 344 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#544, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#544; - END_IF; - - THIS.Outputs.RunningMPCProbeSelection := _probeNumber; - - IF THIS.Outputs.RunningMPCProbeSelection = THIS.Inputs.RunningMPCProbe THEN - THIS.CallTimers(FALSE); - _progress := 345; - END_IF; - END_IF; - - IF _progress = 345 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#545, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#545; - END_IF; - - _weldingTimer.OnDelay(THIS,FALSE,T#0S); - - Outputs.RunContinuously := TRUE; - - IF Inputs.SystemStatus.InCycle THEN - THIS.CallTimers(FALSE); - _progress := 346; - END_IF; - END_IF; - - IF _progress = 346 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#546, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#546; - END_IF; - - _weldingTimer.OnDelay(THIS,TRUE,_weldingTime); - - IF _weldingTimer.output THEN - _weldingTimer.OnDelay(THIS,FALSE,T#0S); - THIS.CallTimers(FALSE); - _progress := 347; - END_IF; - END_IF; - - IF _progress = 347 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#547, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#547; - END_IF; - - Outputs.RunContinuously := FALSE; - Outputs.CycleStop := TRUE; - IF NOT Inputs.SystemStatus.InCycle AND Inputs.SystemStatus.Ready THEN - Outputs.CycleStop := FALSE; - THIS.CallTimers(FALSE); - _progress := 348; - END_IF; - END_IF; - - IF _progress = 348 THEN // RunWeldingWithTimeTask running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#548, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#548; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 349; - END_IF; - END_IF; - - IF _progress = 349 THEN // RunWeldingWithTimeTask running: , - RunWeldingWithTimeTask.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - RunWeldingWithTimeTask.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - RunWeldingWithTimeTask.ThrowWhen(RunWeldingWithTimeTask.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#RunWeldingWithTimeTask timeout.#>'); - END_IF; - IF RunWeldingWithTimeTask.DoneReached() THEN - Status.Action.Id := UINT#141; - Status.Error.Id := UINT#0; - ELSIF RunWeldingWithTimeTask.ErrorOccured() THEN - Status.Action.Id := UINT#10040; - Status.Error.Id := UINT#10040; - ELSIF RunWeldingWithTimeTask.AbortTriggered()THEN - Status.Action.Id := UINT#10041; - Status.Error.Id := UINT#10041; - END_IF; - Messenger.ActivateOnCondition(ULINT#10040,RunWeldingWithTimeTask.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10041,RunWeldingWithTimeTask.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#142,RunWeldingWithTimeTask.RestoreTriggered() , eAxoMessageCategory#Error); - IF RunWeldingWithTimeTask.RestoreTriggered() AND _progress >= 340 AND _progress <= 349 THEN - Status.Action.Id := UINT#142; - _progress := 0; - END_IF; - //************************************************** - - //*************TemplateTask_10steps_6*************** - TemplateTask_10steps_6.SetIsDisabled(FALSE); - IF TemplateTask_10steps_6.StartTriggered() THEN - Status.Action.Id := UINT#150; - END_IF; - Messenger.ActivateOnCondition(ULINT#150,TemplateTask_10steps_6.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#151,TemplateTask_10steps_6.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_10steps_6.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 350; - END_IF; - - IF _progress = 350 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#550, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#550; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 351; - END_IF; - END_IF; - - IF _progress = 351 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#551, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#551; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 352; - END_IF; - END_IF; - - IF _progress = 352 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#552, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#552; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 353; - END_IF; - END_IF; - - IF _progress = 353 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#553, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#553; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 354; - END_IF; - END_IF; - - IF _progress = 354 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#554, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#554; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 355; - END_IF; - END_IF; - - IF _progress = 355 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#555, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#555; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 356; - END_IF; - END_IF; - - IF _progress = 356 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#556, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#556; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 357; - END_IF; - END_IF; - - IF _progress = 357 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#557, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#557; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 358; - END_IF; - END_IF; - - IF _progress = 358 THEN // TemplateTask_10steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#558, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#558; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 359; - END_IF; - END_IF; - - IF _progress = 359 THEN // TemplateTask_10steps_6 running: , - TemplateTask_10steps_6.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - TemplateTask_10steps_6.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_10steps_6.ThrowWhen(TemplateTask_10steps_6.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_10steps_6 timeout.#>'); - END_IF; - IF TemplateTask_10steps_6.DoneReached() THEN - Status.Action.Id := UINT#151; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_10steps_6.ErrorOccured() THEN - Status.Action.Id := UINT#10050; - Status.Error.Id := UINT#10050; - ELSIF TemplateTask_10steps_6.AbortTriggered()THEN - Status.Action.Id := UINT#10051; - Status.Error.Id := UINT#10051; - END_IF; - Messenger.ActivateOnCondition(ULINT#10050,TemplateTask_10steps_6.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10051,TemplateTask_10steps_6.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#152,TemplateTask_10steps_6.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_10steps_6.RestoreTriggered() AND _progress >= 350 AND _progress <= 359 THEN - Status.Action.Id := UINT#152; - _progress := 0; - END_IF; - //************************************************** - - - //*************TemplateTask_20steps_1*************** - TemplateTask_20steps_1.SetIsDisabled(FALSE); - IF TemplateTask_20steps_1.StartTriggered() THEN - Status.Action.Id := UINT#160; - END_IF; - Messenger.ActivateOnCondition(ULINT#160,TemplateTask_20steps_1.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#161,TemplateTask_20steps_1.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_1.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 360; - END_IF; - - IF _progress = 360 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#560, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#560; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 361; - END_IF; - END_IF; - - IF _progress = 361 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#561, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#561; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 362; - END_IF; - END_IF; - - IF _progress = 362 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#562, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#562; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 363; - END_IF; - END_IF; - - IF _progress = 363 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#563, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#563; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 364; - END_IF; - END_IF; - - IF _progress = 364 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#564, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#564; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 365; - END_IF; - END_IF; - - IF _progress = 365 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#565, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#565; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 366; - END_IF; - END_IF; - - IF _progress = 366 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#566, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#566; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 367; - END_IF; - END_IF; - - IF _progress = 367 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#567, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#567; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 368; - END_IF; - END_IF; - - IF _progress = 368 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#568, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#568; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 369; - END_IF; - END_IF; - - IF _progress = 369 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#569, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#569; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 370; - END_IF; - END_IF; - - IF _progress = 370 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#570, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#570; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 371; - END_IF; - END_IF; - - IF _progress = 371 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#571, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#571; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 372; - END_IF; - END_IF; - - IF _progress = 372 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#572, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#572; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 373; - END_IF; - END_IF; - - IF _progress = 373 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#573, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#573; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 374; - END_IF; - END_IF; - - IF _progress = 374 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#574, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#574; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 375; - END_IF; - END_IF; - - IF _progress = 375 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#575, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#575; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 376; - END_IF; - END_IF; - - IF _progress = 376 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#576, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#576; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 377; - END_IF; - END_IF; - - IF _progress = 377 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#577, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#577; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 378; - END_IF; - END_IF; - - IF _progress = 378 THEN // TemplateTask_20steps_1 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#578, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#578; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 379; - END_IF; - END_IF; - - IF _progress = 379 THEN // TemplateTask_20steps_1 running: , - TemplateTask_20steps_1.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - TemplateTask_20steps_1.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_1.ThrowWhen(TemplateTask_20steps_1.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_1 timeout.#>'); - END_IF; - IF TemplateTask_20steps_1.DoneReached() THEN - Status.Action.Id := UINT#161; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_1.ErrorOccured() THEN - Status.Action.Id := UINT#10060; - Status.Error.Id := UINT#10060; - ELSIF TemplateTask_20steps_1.AbortTriggered()THEN - Status.Action.Id := UINT#10061; - Status.Error.Id := UINT#10061; - END_IF; - Messenger.ActivateOnCondition(ULINT#10060,TemplateTask_20steps_1.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10061,TemplateTask_20steps_1.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#162,TemplateTask_20steps_1.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_1.RestoreTriggered() AND _progress >= 360 AND _progress <= 379 THEN - Status.Action.Id := UINT#162; - _progress := 0; - END_IF; - //************************************************** - - //*************TemplateTask_20steps_2*************** - TemplateTask_20steps_2.SetIsDisabled(FALSE); - IF TemplateTask_20steps_2.StartTriggered() THEN - Status.Action.Id := UINT#180; - END_IF; - Messenger.ActivateOnCondition(ULINT#180,TemplateTask_20steps_2.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#181,TemplateTask_20steps_2.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_2.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 380; - END_IF; - - IF _progress = 380 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#580, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#580; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 381; - END_IF; - END_IF; - - IF _progress = 381 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#581, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#581; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 382; - END_IF; - END_IF; - - IF _progress = 382 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#582, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#582; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 383; - END_IF; - END_IF; - - IF _progress = 383 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#583, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#583; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 384; - END_IF; - END_IF; - - IF _progress = 384 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#584, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#584; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 385; - END_IF; - END_IF; - - IF _progress = 385 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#585, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#585; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 386; - END_IF; - END_IF; - - IF _progress = 386 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#586, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#586; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 387; - END_IF; - END_IF; - - IF _progress = 387 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#587, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#587; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 388; - END_IF; - END_IF; - - IF _progress = 388 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#588, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#588; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 389; - END_IF; - END_IF; - - IF _progress = 389 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#589, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#589; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 390; - END_IF; - END_IF; - - IF _progress = 390 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#590, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#590; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 391; - END_IF; - END_IF; - - IF _progress = 391 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#591, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#591; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 392; - END_IF; - END_IF; - - IF _progress = 392 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#592, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#592; - END_IF;; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 393; - END_IF; - END_IF; - - IF _progress = 393 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#593, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#593; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 394; - END_IF; - END_IF; - - IF _progress = 394 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#594, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#594; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 395; - END_IF; - END_IF; - - IF _progress = 395 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#595, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#595; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 396; - END_IF; - END_IF; - - IF _progress = 396 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#596, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#596; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 397; - END_IF; - END_IF; - - IF _progress = 397 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#597, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#597; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 398; - END_IF; - END_IF; - - IF _progress = 398 THEN // TemplateTask_20steps_2 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#598, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#598; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 399; - END_IF; - END_IF; - - IF _progress = 399 THEN // TemplateTask_20steps_2 running: , - TemplateTask_20steps_2.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - TemplateTask_20steps_2.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_2.ThrowWhen(TemplateTask_20steps_2.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_2 timeout.#>'); - END_IF; - IF TemplateTask_20steps_2.DoneReached() THEN - Status.Action.Id := UINT#181; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_2.ErrorOccured() THEN - Status.Action.Id := UINT#10080; - Status.Error.Id := UINT#10080; - ELSIF TemplateTask_20steps_2.AbortTriggered()THEN - Status.Action.Id := UINT#10081; - Status.Error.Id := UINT#10081; - END_IF; - Messenger.ActivateOnCondition(ULINT#10080,TemplateTask_20steps_2.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10081,TemplateTask_20steps_2.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#182,TemplateTask_20steps_2.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_2.RestoreTriggered() AND _progress >= 380 AND _progress <= 399 THEN - Status.Action.Id := UINT#182; - _progress := 0; - END_IF; - //************************************************** - - //*************TemplateTask_20steps_3*************** - TemplateTask_20steps_3.SetIsDisabled(FALSE); - IF TemplateTask_20steps_3.StartTriggered() THEN - Status.Action.Id := UINT#200; - END_IF; - Messenger.ActivateOnCondition(ULINT#200,TemplateTask_20steps_3.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#201,TemplateTask_20steps_3.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_3.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 400; - END_IF; - - IF _progress = 400 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#600, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#600; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 401; - END_IF; - END_IF; - - IF _progress = 401 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#601, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#601; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 402; - END_IF; - END_IF; - - IF _progress = 402 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#602, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#602; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 403; - END_IF; - END_IF; - - IF _progress = 403 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#603, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#603; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 404; - END_IF; - END_IF; - - IF _progress = 404 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#604, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#604; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 405; - END_IF; - END_IF; - - IF _progress = 405 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#605, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#605; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 406; - END_IF; - END_IF; - - IF _progress = 406 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#606, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#606; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 407; - END_IF; - END_IF; - - IF _progress = 407 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#607, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#607; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 408; - END_IF; - END_IF; - - IF _progress = 408 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#608, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#608; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 409; - END_IF; - END_IF; - - IF _progress = 409 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#609, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#609; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 410; - END_IF; - END_IF; - - IF _progress = 410 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#610, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#610; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 411; - END_IF; - END_IF; - - IF _progress = 411 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#611, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#611; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 412; - END_IF; - END_IF; - - IF _progress = 412 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#612, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#612; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 413; - END_IF; - END_IF; - - IF _progress = 413 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#613, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#613; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 414; - END_IF; - END_IF; - - IF _progress = 414 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#614, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#614; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 415; - END_IF; - END_IF; - - IF _progress = 415 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#615, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#615; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 416; - END_IF; - END_IF; - - IF _progress = 416 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#616, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#616; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 417; - END_IF; - END_IF; - - IF _progress = 417 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#617, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#617; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 418; - END_IF; - END_IF; - - IF _progress = 418 THEN // TemplateTask_20steps_3 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#618, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#618; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 419; - END_IF; - END_IF; - - IF _progress = 419 THEN // TemplateTask_20steps_3 running: , - TemplateTask_20steps_3.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - TemplateTask_20steps_3.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_3.ThrowWhen(TemplateTask_20steps_3.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_3 timeout.#>'); - END_IF; - IF TemplateTask_20steps_3.DoneReached() THEN - Status.Action.Id := UINT#201; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_3.ErrorOccured() THEN - Status.Action.Id := UINT#10100; - Status.Error.Id := UINT#10100; - ELSIF TemplateTask_20steps_3.AbortTriggered()THEN - Status.Action.Id := UINT#10101; - Status.Error.Id := UINT#10101; - END_IF; - Messenger.ActivateOnCondition(ULINT#10100,TemplateTask_20steps_3.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10101,TemplateTask_20steps_3.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#202,TemplateTask_20steps_3.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_3.RestoreTriggered() AND _progress >= 400 AND _progress <= 419 THEN - Status.Action.Id := UINT#202; - _progress := 0; - END_IF; - //************************************************** - - //*************TemplateTask_20steps_4*************** - TemplateTask_20steps_4.SetIsDisabled(FALSE); - IF TemplateTask_20steps_4.StartTriggered() THEN - Status.Action.Id := UINT#220; - END_IF; - Messenger.ActivateOnCondition(ULINT#220,TemplateTask_20steps_4.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#221,TemplateTask_20steps_4.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_4.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 420; - END_IF; - - IF _progress = 420 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#620, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#620; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 421; - END_IF; - END_IF; - - IF _progress = 421 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#621, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#621; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 422; - END_IF; - END_IF; - - IF _progress = 422 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#622, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#622; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 423; - END_IF; - END_IF; - - IF _progress = 423 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#623, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#623; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 424; - END_IF; - END_IF; - - IF _progress = 424 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#624, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#624; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 425; - END_IF; - END_IF; - - IF _progress = 425 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#625, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#625; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 426; - END_IF; - END_IF; - - IF _progress = 426 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#626, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#626; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 427; - END_IF; - END_IF; - - IF _progress = 427 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#627, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#627; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 428; - END_IF; - END_IF; - - IF _progress = 428 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#628, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#628; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 429; - END_IF; - END_IF; - - IF _progress = 429 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#629, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#629; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 430; - END_IF; - END_IF; - - IF _progress = 430 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#630, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#630; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 431; - END_IF; - END_IF; - - IF _progress = 431 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#631, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#631; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 432; - END_IF; - END_IF; - - IF _progress = 432 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#632, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#632; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 433; - END_IF; - END_IF; - - IF _progress = 433 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#633, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#633; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 434; - END_IF; - END_IF; - - IF _progress = 434 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#634, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#634; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 435; - END_IF; - END_IF; - - IF _progress = 435 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#635, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#635; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 436; - END_IF; - END_IF; - - IF _progress = 436 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#636, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#636; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 437; - END_IF; - END_IF; - - IF _progress = 437 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#637, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#637; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 438; - END_IF; - END_IF; - - IF _progress = 438 THEN // TemplateTask_20steps_4 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#638, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#638; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 439; - END_IF; - END_IF; - - IF _progress = 439 THEN // TemplateTask_20steps_4 running: , - TemplateTask_20steps_4.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - TemplateTask_20steps_4.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_4.ThrowWhen(TemplateTask_20steps_4.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_4 timeout.#>'); - END_IF; - IF TemplateTask_20steps_4.DoneReached() THEN - Status.Action.Id := UINT#221; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_4.ErrorOccured() THEN - Status.Action.Id := UINT#10120; - Status.Error.Id := UINT#10120; - ELSIF TemplateTask_20steps_4.AbortTriggered()THEN - Status.Action.Id := UINT#10121; - Status.Error.Id := UINT#10121; - END_IF; - Messenger.ActivateOnCondition(ULINT#10120,TemplateTask_20steps_4.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10121,TemplateTask_20steps_4.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#222,TemplateTask_20steps_4.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_4.RestoreTriggered() AND _progress >= 420 AND _progress <= 439 THEN - Status.Action.Id := UINT#222; - _progress := 0; - END_IF; - //************************************************** - - //*************TemplateTask_20steps_5*************** - TemplateTask_20steps_5.SetIsDisabled(FALSE); - IF TemplateTask_20steps_5.StartTriggered() THEN - Status.Action.Id := UINT#240; - END_IF; - Messenger.ActivateOnCondition(ULINT#240,TemplateTask_20steps_5.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#241,TemplateTask_20steps_5.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_5.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 440; - END_IF; - - IF _progress = 440 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#640, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#640; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 441; - END_IF; - END_IF; - - IF _progress = 441 THEN // TemplateTask_20steps_5 running , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#641, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#641; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 442; - END_IF; - END_IF; - - IF _progress = 442 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#642, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#642; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 443; - END_IF; - END_IF; - - IF _progress = 443 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#643, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#643; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 444; - END_IF; - END_IF; - - IF _progress = 444 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#644, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#644; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 445; - END_IF; - END_IF; - - IF _progress = 445 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#645, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#645; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 446; - END_IF; - END_IF; - - IF _progress = 446 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#646, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#646; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 447; - END_IF; - END_IF; - - IF _progress = 447 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#647, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#647; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 448; - END_IF; - END_IF; - - IF _progress = 448 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#648, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#648; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 449; - END_IF; - END_IF; - - IF _progress = 449 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#649, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#649; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 450; - END_IF; - END_IF; - - IF _progress = 450 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#650, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#650; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 451; - END_IF; - END_IF; - - IF _progress = 451 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#651, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#651; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 452; - END_IF; - END_IF; - - IF _progress = 452 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#652, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#652; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 453; - END_IF; - END_IF; - - IF _progress = 453 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#653, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#653; - END_IF; - - IF TRUE THEN + IF THIS.Outputs.ActiveSetupSelection = THIS.Inputs.ActiveSetup THEN THIS.CallTimers(FALSE); - _progress := 454; + _progress := 344; END_IF; END_IF; - - IF _progress = 454 THEN // TemplateTask_20steps_5 running: , + // RunWeldingWithTimeTask running: changing running setup selected. + IF _progress = 344 THEN IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#654, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#654; + TaskMessenger.Activate( UINT#544, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#544; END_IF; - - IF TRUE THEN + + THIS.Outputs.ActiveSetupSelection := _setupNumber; + THIS.Outputs.RunningSetupSelection := _setupNumber; + + IF THIS.Outputs.RunningSetupSelection = THIS.Inputs.RunningSetup THEN THIS.CallTimers(FALSE); - _progress := 455; + _progress := 345; END_IF; END_IF; - - IF _progress = 455 THEN // TemplateTask_20steps_5 running: , + // RunWeldingWithTimeTask running: changing running probe selected. + IF _progress = 345 THEN IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#655, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#655; + TaskMessenger.Activate( UINT#545, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#545; END_IF; - - IF TRUE THEN + + THIS.Outputs.RunningMPCProbeSelection := _probeNumber; + + IF THIS.Outputs.RunningMPCProbeSelection = THIS.Inputs.RunningMPCProbe THEN THIS.CallTimers(FALSE); - _progress := 456; + _progress := 346; END_IF; END_IF; - - IF _progress = 456 THEN // TemplateTask_20steps_5 running: , + // RunWeldingWithTimeTask running: starting the welding cycle. + IF _progress = 346 THEN IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#656, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#656; + TaskMessenger.Activate( UINT#546, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#546; END_IF; - - IF TRUE THEN + + _weldingTimer.OnDelay(THIS,FALSE,T#0S); + + Outputs.RunContinuously := TRUE; + + IF Inputs.SystemStatus.InCycle THEN THIS.CallTimers(FALSE); - _progress := 457; + _progress := 347; END_IF; END_IF; - - IF _progress = 457 THEN // TemplateTask_20steps_5 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#657, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#657; - END_IF; - - IF TRUE THEN + // RunWeldingWithTimeTask running: welding cycle running. + IF _progress = 347 THEN + _weldingTimer.OnDelay(THIS,TRUE,_weldingTime); + + IF _weldingTimer.output THEN + _weldingTimer.OnDelay(THIS,FALSE,T#0S); THIS.CallTimers(FALSE); - _progress := 458; + _progress := 348; END_IF; END_IF; - - IF _progress = 458 THEN // TemplateTask_20steps_5 running: , + // RunWeldingWithTimeTask running: stopping the welding cycle. + IF _progress = 348 THEN IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#658, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#658; + IF Inputs.SystemStatus.InCycle THEN + TaskMessenger.Activate( UINT#548, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#548; + ELSIF NOT Inputs.SystemStatus.Ready THEN + TaskMessenger.Activate( UINT#549, eAxoMessageCategory#Warning); + Status.Error.Id := UINT#549; + END_IF; END_IF; - IF TRUE THEN + Outputs.RunContinuously := FALSE; + Outputs.CycleStop := TRUE; + IF NOT Inputs.SystemStatus.InCycle AND Inputs.SystemStatus.Ready THEN + Outputs.CycleStop := FALSE; THIS.CallTimers(FALSE); - _progress := 459; + _progress := 349; END_IF; END_IF; - - IF _progress = 459 THEN // TemplateTask_20steps_5 running: , - TemplateTask_20steps_5.DoneWhen(TRUE); + // RunWeldingWithTimeTask finished + IF _progress = 349 THEN + RunWeldingWithTimeTask.DoneWhen(TRUE); _progress := 0; END_IF; THIS.CallTimers(TRUE); - TemplateTask_20steps_5.ThrowWhen(_errorTimer.output); + RunWeldingWithTimeTask.ThrowWhen(_errorTimer.output); Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_5.ThrowWhen(TemplateTask_20steps_5.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_5 timeout.#>'); + RunWeldingWithTimeTask.ThrowWhen(RunWeldingWithTimeTask.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#RunWeldingWithTimeTask timeout.#>'); END_IF; - IF TemplateTask_20steps_5.DoneReached() THEN - Status.Action.Id := UINT#241; + IF RunWeldingWithTimeTask.DoneReached() THEN + Status.Action.Id := UINT#141; Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_5.ErrorOccured() THEN - Status.Action.Id := UINT#10140; - Status.Error.Id := UINT#10140; - ELSIF TemplateTask_20steps_5.AbortTriggered()THEN - Status.Action.Id := UINT#10141; - Status.Error.Id := UINT#10141; + ELSIF RunWeldingWithTimeTask.ErrorOccured() THEN + Status.Action.Id := UINT#10040; + Status.Error.Id := UINT#10040; + ELSIF RunWeldingWithTimeTask.AbortTriggered()THEN + Status.Action.Id := UINT#10041; + Status.Error.Id := UINT#10041; END_IF; - Messenger.ActivateOnCondition(ULINT#10140,TemplateTask_20steps_5.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10141,TemplateTask_20steps_5.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#242,TemplateTask_20steps_5.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_5.RestoreTriggered() AND _progress >= 440 AND _progress <= 459 THEN - Status.Action.Id := UINT#242; + Messenger.ActivateOnCondition(ULINT#10040,RunWeldingWithTimeTask.HasError(), eAxoMessageCategory#Error); + Messenger.ActivateOnCondition(ULINT#10041,RunWeldingWithTimeTask.IsAborted(), eAxoMessageCategory#Error); + Messenger.ActivateOnCondition(ULINT#142,RunWeldingWithTimeTask.RestoreTriggered() , eAxoMessageCategory#Error); + IF RunWeldingWithTimeTask.RestoreTriggered() AND _progress >= 340 AND _progress <= 349 THEN + Status.Action.Id := UINT#142; _progress := 0; END_IF; //************************************************** - - //*************TemplateTask_20steps_6*************** - TemplateTask_20steps_6.SetIsDisabled(FALSE); - IF TemplateTask_20steps_6.StartTriggered() THEN - Status.Action.Id := UINT#260; - END_IF; - Messenger.ActivateOnCondition(ULINT#260,TemplateTask_20steps_6.IsBusy(), eAxoMessageCategory#Info); - Messenger.ActivateOnCondition(ULINT#261,TemplateTask_20steps_6.IsDone(), eAxoMessageCategory#Info); - IF TemplateTask_20steps_6.Execute(THIS) THEN - IF _progress = 0 THEN - Status.Error.Id := UINT#0; - TaskMessenger.Restore(); - THIS.CallTimers(FALSE); - _progress := 460; - END_IF; - - IF _progress = 460 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#660, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#660; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 461; - END_IF; - END_IF; - - IF _progress = 461 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#661, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#661; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 462; - END_IF; - END_IF; - - IF _progress = 462 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#662, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#662; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 463; - END_IF; - END_IF; - - IF _progress = 463 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#663, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#663; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 464; - END_IF; - END_IF; - - IF _progress = 464 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#664, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#664; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 465; - END_IF; - END_IF; - - IF _progress = 465 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#665, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#665; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 466; - END_IF; - END_IF; - - IF _progress = 466 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#666, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#666; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 467; - END_IF; - END_IF; - - IF _progress = 467 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#667, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#667; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 468; - END_IF; - END_IF; - - IF _progress = 468 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#668, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#668; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 469; - END_IF; - END_IF; - - IF _progress = 469 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#669, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#669; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 470; - END_IF; - END_IF; - - IF _progress = 470 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#670, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#670; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 471; - END_IF; - END_IF; - - IF _progress = 471 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#671, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#671; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 472; - END_IF; - END_IF; - - IF _progress = 472 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#672, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#672; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 473; - END_IF; - END_IF; - - IF _progress = 473 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#673, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#673; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 474; - END_IF; - END_IF; - - IF _progress = 474 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#674, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#674; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 475; - END_IF; - END_IF; - - IF _progress = 475 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#675, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#675; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 476; - END_IF; - END_IF; - - IF _progress = 476 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#676, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#676; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 477; - END_IF; - END_IF; - - IF _progress = 477 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#677, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#677; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 478; - END_IF; - END_IF; - - IF _progress = 478 THEN // TemplateTask_20steps_6 running: , - IF _infoTimer.output THEN - TaskMessenger.Activate( UINT#678, eAxoMessageCategory#Warning); - Status.Error.Id := UINT#678; - END_IF; - - IF TRUE THEN - THIS.CallTimers(FALSE); - _progress := 479; - END_IF; - END_IF; - - IF _progress = 479 THEN // TemplateTask_20steps_6 running: , - TemplateTask_20steps_6.DoneWhen(TRUE); - _progress := 0; - END_IF; - - THIS.CallTimers(TRUE); - - TemplateTask_20steps_6.ThrowWhen(_errorTimer.output); - Status.Action.Id := TO_UINT(_progress); - TemplateTask_20steps_6.ThrowWhen(TemplateTask_20steps_6.Duration >= Config.TaskTimeout AND Config.TaskTimeout > T#0s ,'<#TemplateTask_20steps_6 timeout.#>'); - END_IF; - IF TemplateTask_20steps_6.DoneReached() THEN - Status.Action.Id := UINT#261; - Status.Error.Id := UINT#0; - ELSIF TemplateTask_20steps_6.ErrorOccured() THEN - Status.Action.Id := UINT#10160; - Status.Error.Id := UINT#10160; - ELSIF TemplateTask_20steps_6.AbortTriggered()THEN - Status.Action.Id := UINT#10161; - Status.Error.Id := UINT#10161; - END_IF; - Messenger.ActivateOnCondition(ULINT#10160,TemplateTask_20steps_6.HasError(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#10161,TemplateTask_20steps_6.IsAborted(), eAxoMessageCategory#Error); - Messenger.ActivateOnCondition(ULINT#262,TemplateTask_20steps_6.RestoreTriggered() , eAxoMessageCategory#Error); - IF TemplateTask_20steps_6.RestoreTriggered() AND _progress >= 460 AND _progress <= 479 THEN - Status.Action.Id := UINT#262; - _progress := 0; - END_IF; - //****************************************** //***********Update outputs **************** // _data_out[0].%X0 := Outputs.N0; @@ -3477,35 +1279,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders RunWeldingWithTime := RunWeldingWithTimeTask.Invoke(THIS); END_METHOD - METHOD PUBLIC TemplateMethod_10steps_6 : IAxoTaskState - TemplateMethod_10steps_6 := TemplateTask_10steps_6.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_1 : IAxoTaskState - TemplateMethod_20steps_1 := TemplateTask_20steps_1.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_2 : IAxoTaskState - TemplateMethod_20steps_2 := TemplateTask_20steps_2.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_3 : IAxoTaskState - TemplateMethod_20steps_3 := TemplateTask_20steps_3.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_4 : IAxoTaskState - TemplateMethod_20steps_4 := TemplateTask_20steps_4.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_5 : IAxoTaskState - TemplateMethod_20steps_5 := TemplateTask_20steps_5.Invoke(THIS); - END_METHOD - - METHOD PUBLIC TemplateMethod_20steps_6 : IAxoTaskState - TemplateMethod_20steps_6 := TemplateTask_20steps_6.Invoke(THIS); - END_METHOD - - METHOD PROTECTED OVERRIDE ManualControl _setupNumber := RequiredSetupNumber; _probeNumber := RequiredProbeNumber; @@ -3546,13 +1319,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders ChangeWeldingProbeTask.Restore(); CycleStopTask.Restore(); RunWeldingWithTimeTask.Restore(); - TemplateTask_10steps_6.Restore(); - TemplateTask_20steps_1.Restore(); - TemplateTask_20steps_2.Restore(); - TemplateTask_20steps_3.Restore(); - TemplateTask_20steps_4.Restore(); - TemplateTask_20steps_5.Restore(); - TemplateTask_20steps_6.Restore(); HardwareDiagnosticsTask.Restore(); @@ -3586,7 +1352,6 @@ NAMESPACE AXOpen.Components.Dukane.Welders _errorTimer.OnDelay(THIS, signal AND Config.ErrorTime > T#0S , Config.ErrorTime); END_METHOD - END_CLASS END_NAMESPACE diff --git a/src/components.dukane.welders/src/AXOpen.Components.Dukane.Welders/Axo_IQ_SeriesWelder/Axo_IQ_SeriesWelder.cs b/src/components.dukane.welders/src/AXOpen.Components.Dukane.Welders/Axo_IQ_SeriesWelder/Axo_IQ_SeriesWelder.cs index c58c237a4..e4092460f 100644 --- a/src/components.dukane.welders/src/AXOpen.Components.Dukane.Welders/Axo_IQ_SeriesWelder/Axo_IQ_SeriesWelder.cs +++ b/src/components.dukane.welders/src/AXOpen.Components.Dukane.Welders/Axo_IQ_SeriesWelder/Axo_IQ_SeriesWelder.cs @@ -158,200 +158,26 @@ private void InitializeTaskMessenger() { new KeyValuePair(0, new AxoMessengerTextItem(" ", " ")), // ClearErrorTask - new KeyValuePair(500, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(501, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(502, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(503, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(504, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(505, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(506, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(507, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(508, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(509, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), + new KeyValuePair(500, new AxoMessengerTextItem("Waiting for the signal/variable Inputs.SystemStatus.Any_Fault` to be reseted !" ,"Check the status of the `Inputs.SystemStatus.Any_Fault` signal/variable.")), // ChangeWeldingSetupTask - new KeyValuePair(510, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(511, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(512, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(513, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(514, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(515, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(516, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(517, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(518, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(519, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), + new KeyValuePair(510, new AxoMessengerTextItem("Invalid value of the required setup number!" ,"Check the value of the required setup number variable.")), + new KeyValuePair(511, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.ActiveSetup` to be equal to 'Outputs.ActiveSetupSelection'!" ,"Check the status of the `Inputs.ActiveSetup` signal/variable.")), + new KeyValuePair(512, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.RunningSetup` to be equal to 'Outputs.RunningSetupSelection'!" ,"Check the status of the Inputs.RunningSetup` signal/variable.")), // ChangeWeldingProbeTask - new KeyValuePair(520, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(521, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(522, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(523, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(524, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(525, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(526, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(527, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(528, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(529, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), + new KeyValuePair(520, new AxoMessengerTextItem("Invalid value of the required probe number!" ,"Check the value of the required probe number variable.")), + new KeyValuePair(521, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.RunningMPCProbe` to be equal to 'Outputs.RunningMPCProbeSelection' !" ,"Check the status of the `Inputs.RunningMPCProbe` signal/variable.")), //CycleStopTask - new KeyValuePair(530, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(531, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(532, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(533, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(534, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(535, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(536, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(537, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(538, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(539, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), + new KeyValuePair(530, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.InCycle` to be reseted !" ,"Check the status of the `Inputs.SystemStatus.InCycle` signal/variable.")), //RunWeldingWithTimeTask - new KeyValuePair(540, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(541, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(542, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(543, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(544, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(545, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(546, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(547, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(548, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(549, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_10steps_6 - new KeyValuePair(550, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(551, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(552, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(553, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(554, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(555, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(556, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(557, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(558, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(559, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_1 - new KeyValuePair(560, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(561, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(562, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(563, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(564, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(565, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(566, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(567, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(568, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(569, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(570, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(571, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(572, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(573, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(574, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(575, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(576, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(577, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(578, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(579, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_2 - new KeyValuePair(580, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(581, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(582, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(583, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(584, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(585, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(586, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(587, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(588, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(589, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(590, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(591, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(592, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(593, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(594, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(595, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(596, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(597, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(598, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(599, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_3 - new KeyValuePair(600, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(601, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(602, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(603, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(604, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(605, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(606, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(607, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(608, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(609, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(610, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(611, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(612, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(613, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(614, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(615, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(616, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(617, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(618, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(619, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_4 - new KeyValuePair(620, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(621, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(622, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(623, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(624, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(625, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(626, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(627, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(628, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(629, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(630, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(631, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(632, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(633, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(634, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(635, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(636, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(637, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(638, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(639, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_5 - new KeyValuePair(640, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(641, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(642, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(643, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(644, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(645, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(646, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(647, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(648, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(649, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(650, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(651, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(652, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(653, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(654, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(655, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(656, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(657, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(658, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(659, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - //TemplateTask_20steps_6 - new KeyValuePair(660, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(661, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(662, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(663, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(664, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(665, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(666, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(667, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(668, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(669, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(670, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(671, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(672, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(673, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(674, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(675, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(676, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(677, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(678, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - new KeyValuePair(679, new AxoMessengerTextItem("Waiting for the signal/variable `` to be set/reseted !","Check the status of the `` signal/variable.")), - - - + new KeyValuePair(540, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.Any_Fault` to be reseted!" ,"Check the status of the `Inputs.SystemStatus.Any_Fault` signal/variable.")), + new KeyValuePair(541, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.Ready` to be set!" ,"Check the status of the `Inputs.SystemStatus.Ready` signal/variable.")), + new KeyValuePair(542, new AxoMessengerTextItem("Invalid value of the required setup number!" ,"Check the value of the required setup number variable.")), + new KeyValuePair(543, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.ActiveSetup` to be equal to 'Outputs.ActiveSetupSelection'!" ,"Check the status of the `Inputs.ActiveSetup` signal/variable.")), + new KeyValuePair(544, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.RunningSetup` to be equal to 'Outputs.RunningSetupSelection'!" ,"Check the status of the Inputs.RunningSetup` signal/variable.")), + new KeyValuePair(545, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.RunningMPCProbe` to be equal to 'Outputs.RunningMPCProbeSelection' !" ,"Check the status of the `Inputs.RunningMPCProbe` signal/variable.")), + new KeyValuePair(546, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.InCycle` to be set !" ,"Check the status of the `Inputs.SystemStatus.InCycle` signal/variable.")), + new KeyValuePair(548, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.InCycle` to be reseted !" ,"Check the status of the `Inputs.SystemStatus.InCycle` signal/variable.")), + new KeyValuePair(549, new AxoMessengerTextItem("Waiting for the signal/variable `Inputs.SystemStatus.Ready` to be set!" ,"Check the status of the `Inputs.SystemStatus.Ready` signal/variable.")), }; TaskMessenger.DotNetMessengerTextList = messengerTextList; @@ -372,49 +198,16 @@ public string ErrorDescription { errorDescriptionDict.Add(0, " "); // ClearErrorTask - errorDescriptionDict.Add(500, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(501, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(502, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(503, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(504, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(505, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(506, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(507, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(508, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(509, "Waiting for the signal/variable `` to be set/reseted !"); + errorDescriptionDict.Add(500, "Waiting for the signal/variable `Inputs.SystemStatus.Any_Fault` to be reseted !"); // ChangeWeldingSetupTask - errorDescriptionDict.Add(510, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(511, "Waiting for the signal `Inputs.Status.WorkSensor` to be reseted!"); - errorDescriptionDict.Add(512, "Waiting for the signal `Inputs.Status.HomeSensor` to be set!"); - errorDescriptionDict.Add(513, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(514, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(515, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(516, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(517, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(518, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(519, "Waiting for the signal/variable `` to be set/reseted !"); + errorDescriptionDict.Add(510, "Invalid value of the required setup number!"); + errorDescriptionDict.Add(511, "Waiting for the signal/variable `Inputs.ActiveSetup` to be equal to 'Outputs.ActiveSetupSelection'!"); + errorDescriptionDict.Add(512, "Waiting for the signal/variable `Inputs.RunningSetup` to be equal to 'Outputs.RunningSetupSelection'!"); // ChangeWeldingProbeTask - errorDescriptionDict.Add(520, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(521, "Waiting for the signal `Inputs.Status.HomeSensor` to be reseted!"); - errorDescriptionDict.Add(522, "Waiting for the signal `Inputs.Status.WorkSensor` to be set!"); - errorDescriptionDict.Add(523, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(524, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(525, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(526, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(527, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(528, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(529, "Waiting for the signal/variable `` to be set/reseted !"); + errorDescriptionDict.Add(520, "Invalid value of the required probe number!"); + errorDescriptionDict.Add(521, "Waiting for the signal/variable `Inputs.RunningMPCProbe` to be equal to 'Outputs.RunningMPCProbeSelection' !"); // CycleStopTask - errorDescriptionDict.Add(530, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(531, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(532, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(533, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(534, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(535, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(536, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(537, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(538, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(539, "Waiting for the signal/variable `` to be set/reseted !"); + errorDescriptionDict.Add(530, "Waiting for the signal/variable `Inputs.SystemStatus.InCycle` to be reseted !"); // RunWeldingWithTimeTask errorDescriptionDict.Add(540, "Waiting for the signal/variable `` to be set/reseted !"); errorDescriptionDict.Add(541, "Waiting for the signal/variable `` to be set/reseted !"); @@ -426,143 +219,6 @@ public string ErrorDescription errorDescriptionDict.Add(547, "Waiting for the signal/variable `` to be set/reseted !"); errorDescriptionDict.Add(548, "Waiting for the signal/variable `` to be set/reseted !"); errorDescriptionDict.Add(549, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_10steps_6 - errorDescriptionDict.Add(550, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(551, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(552, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(553, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(554, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(555, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(556, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(557, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(558, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(559, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_1 - errorDescriptionDict.Add(560, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(561, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(562, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(563, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(564, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(565, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(566, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(567, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(568, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(569, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(570, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(571, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(572, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(573, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(574, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(575, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(576, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(577, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(578, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(579, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_2 - errorDescriptionDict.Add(580, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(581, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(582, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(583, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(584, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(585, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(586, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(587, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(588, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(589, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(590, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(591, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(592, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(593, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(594, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(595, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(596, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(597, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(598, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(599, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_3 - errorDescriptionDict.Add(600, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(601, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(602, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(603, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(604, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(605, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(606, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(607, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(608, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(609, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(610, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(611, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(612, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(613, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(614, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(615, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(616, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(617, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(618, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(619, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_4 - errorDescriptionDict.Add(620, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(621, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(622, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(623, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(624, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(625, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(626, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(627, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(628, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(629, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(630, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(631, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(632, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(633, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(634, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(635, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(636, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(637, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(638, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(639, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_5 - errorDescriptionDict.Add(640, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(641, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(642, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(643, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(644, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(645, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(646, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(647, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(648, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(649, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(650, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(651, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(652, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(653, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(654, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(655, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(656, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(657, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(658, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(659, "Waiting for the signal/variable `` to be set/reseted !"); - // TemplateTask_20steps_6 - errorDescriptionDict.Add(660, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(661, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(662, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(663, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(664, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(665, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(666, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(667, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(668, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(669, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(670, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(671, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(672, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(673, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(674, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(675, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(676, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(677, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(678, "Waiting for the signal/variable `` to be set/reseted !"); - errorDescriptionDict.Add(679, "Waiting for the signal/variable `` to be set/reseted !"); // General alarms errorDescriptionDict.Add(700, "Input variable `parent` has NULL reference in `Run` method!"); errorDescriptionDict.Add(701, "Input variable `Config.HWIDs.HwID_Device` has invalid value in `Run` method!"); @@ -653,233 +309,45 @@ public string ActionDescription actionDescriptionDict.Add(50, "Restore has been executed."); // ClearErrorTask actionDescriptionDict.Add(100, "ClearErrorTask started."); - actionDescriptionDict.Add(300, "ClearErrorTask running, "); - actionDescriptionDict.Add(301, "ClearErrorTask running, "); - actionDescriptionDict.Add(302, "ClearErrorTask running, "); - actionDescriptionDict.Add(303, "ClearErrorTask running, "); - actionDescriptionDict.Add(304, "ClearErrorTask running, "); - actionDescriptionDict.Add(305, "ClearErrorTask running, "); - actionDescriptionDict.Add(306, "ClearErrorTask running, "); - actionDescriptionDict.Add(307, "ClearErrorTask running, "); - actionDescriptionDict.Add(308, "ClearErrorTask running, "); - actionDescriptionDict.Add(309, "ClearErrorTask running, "); + actionDescriptionDict.Add(300, "ClearErrorTask running: waiting for the error flag is reseted."); + actionDescriptionDict.Add(301, "ClearErrorTask finished."); actionDescriptionDict.Add(101, "ClearErrorTask finished succesfully."); actionDescriptionDict.Add(102, "ClearErrorTask restored."); // ChangeWeldingSetupTask actionDescriptionDict.Add(110, "ChangeWeldingSetupTask started."); - actionDescriptionDict.Add(310, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(311, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(312, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(313, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(314, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(315, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(316, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(317, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(318, "ChangeWeldingSetupTask running, "); - actionDescriptionDict.Add(319, "ChangeWeldingSetupTask running, "); + actionDescriptionDict.Add(310, "ChangeWeldingSetupTask running: validating required setup number."); + actionDescriptionDict.Add(311, "ChangeWeldingSetupTask running: changing active setup selected."); + actionDescriptionDict.Add(312, "ChangeWeldingSetupTask running: changing running setup selected."); + actionDescriptionDict.Add(313, "ChangeWeldingSetupTask finished."); actionDescriptionDict.Add(111, "ChangeWeldingSetupTask finished succesfully."); actionDescriptionDict.Add(112, "ChangeWeldingSetupTask restored."); // ChangeWeldingProbeTask actionDescriptionDict.Add(120, "ChangeWeldingProbeTask started."); - actionDescriptionDict.Add(320, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(321, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(322, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(323, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(324, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(325, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(326, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(327, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(328, "ChangeWeldingProbeTask running, "); - actionDescriptionDict.Add(329, "ChangeWeldingProbeTask running, "); + actionDescriptionDict.Add(320, "ChangeWeldingProbeTask running: validating required probe number."); + actionDescriptionDict.Add(321, "ChangeWeldingProbeTask running: changing running probe selected."); + actionDescriptionDict.Add(322, "ChangeWeldingProbeTask finished."); actionDescriptionDict.Add(121, "ChangeWeldingProbeTask finished succesfully."); actionDescriptionDict.Add(122, "ChangeWeldingProbeTask restored."); // CycleStopTask actionDescriptionDict.Add(130, "CycleStopTask started."); - actionDescriptionDict.Add(330, "CycleStopTask running, "); - actionDescriptionDict.Add(331, "CycleStopTask running, "); - actionDescriptionDict.Add(332, "CycleStopTask running, "); - actionDescriptionDict.Add(333, "CycleStopTask running, "); - actionDescriptionDict.Add(334, "CycleStopTask running, "); - actionDescriptionDict.Add(335, "CycleStopTask running, "); - actionDescriptionDict.Add(336, "CycleStopTask running, "); - actionDescriptionDict.Add(337, "CycleStopTask running, "); - actionDescriptionDict.Add(338, "CycleStopTask running, "); - actionDescriptionDict.Add(339, "CycleStopTask running, "); + actionDescriptionDict.Add(330, "CycleStopTask running: waiting for the cycle is finished."); + actionDescriptionDict.Add(331, "CycleStopTask finished."); actionDescriptionDict.Add(131, "CycleStopTask finished succesfully."); actionDescriptionDict.Add(132, "CycleStopTask restored."); // RunWeldingWithTimeTask actionDescriptionDict.Add(140, "RunWeldingWithTimeTask started."); - actionDescriptionDict.Add(340, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(341, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(342, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(343, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(344, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(345, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(346, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(347, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(348, "RunWeldingWithTimeTask running, "); - actionDescriptionDict.Add(349, "RunWeldingWithTimeTask running, "); + actionDescriptionDict.Add(340, "RunWeldingWithTimeTask running: reseting the error."); + actionDescriptionDict.Add(341, "RunWeldingWithTimeTask running: waiting for the system to be ready."); + actionDescriptionDict.Add(342, "RunWeldingWithTimeTask running: validating required setup number."); + actionDescriptionDict.Add(343, "RunWeldingWithTimeTask running: changing active setup selected."); + actionDescriptionDict.Add(344, "RunWeldingWithTimeTask running: changing running setup selected."); + actionDescriptionDict.Add(345, "RunWeldingWithTimeTask running: changing running probe selected."); + actionDescriptionDict.Add(346, "RunWeldingWithTimeTask running: starting the welding cycle."); + actionDescriptionDict.Add(347, "RunWeldingWithTimeTask running: welding cycle running."); + actionDescriptionDict.Add(348, "RunWeldingWithTimeTask running: stopping the welding cycle."); + actionDescriptionDict.Add(349, "RunWeldingWithTimeTask finished."); actionDescriptionDict.Add(141, "RunWeldingWithTimeTask finished succesfully."); actionDescriptionDict.Add(142, "RunWeldingWithTimeTask restored."); - // TemplateTask_10steps_6 - actionDescriptionDict.Add(150, "TemplateTask_10steps_6 started."); - actionDescriptionDict.Add(350, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(351, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(352, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(353, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(354, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(355, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(356, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(357, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(358, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(359, "TemplateTask_10steps_6 running, "); - actionDescriptionDict.Add(151, "TemplateTask_10steps_6 finished succesfully."); - actionDescriptionDict.Add(152, "TemplateTask_10steps_6 restored."); - - // TemplateTask_20steps_1 - actionDescriptionDict.Add(160, "TemplateTask_20steps_1 started."); - actionDescriptionDict.Add(360, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(361, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(362, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(363, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(364, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(365, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(366, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(367, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(368, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(369, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(370, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(371, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(372, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(373, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(374, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(375, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(376, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(377, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(378, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(379, "TemplateTask_20steps_1 running, "); - actionDescriptionDict.Add(161, "TemplateTask_20steps_1 finished succesfully."); - actionDescriptionDict.Add(162, "TemplateTask_20steps_1 restored."); - // TemplateTask_20steps_2 - actionDescriptionDict.Add(180, "TemplateTask_20steps_2 started."); - actionDescriptionDict.Add(380, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(381, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(382, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(383, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(384, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(385, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(386, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(387, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(388, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(389, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(390, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(391, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(392, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(393, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(394, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(395, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(396, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(397, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(398, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(399, "TemplateTask_20steps_2 running, "); - actionDescriptionDict.Add(181, "TemplateTask_20steps_2 finished succesfully."); - actionDescriptionDict.Add(182, "TemplateTask_20steps_2 restored."); - // TemplateTask_20steps_3 - actionDescriptionDict.Add(200, "TemplateTask_20steps_3 started."); - actionDescriptionDict.Add(400, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(401, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(402, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(403, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(404, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(405, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(406, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(407, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(408, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(409, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(410, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(411, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(412, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(413, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(414, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(415, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(416, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(417, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(418, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(419, "TemplateTask_20steps_3 running, "); - actionDescriptionDict.Add(201, "TemplateTask_20steps_3 finished succesfully."); - actionDescriptionDict.Add(202, "TemplateTask_20steps_3 restored."); - // TemplateTask_20steps_4 - actionDescriptionDict.Add(220, "TemplateTask_20steps_4 started."); - actionDescriptionDict.Add(420, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(421, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(422, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(423, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(424, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(425, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(426, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(427, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(428, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(429, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(430, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(431, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(432, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(433, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(434, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(435, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(436, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(437, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(438, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(439, "TemplateTask_20steps_4 running, "); - actionDescriptionDict.Add(221, "TemplateTask_20steps_4 finished succesfully."); - actionDescriptionDict.Add(222, "TemplateTask_20steps_4 restored."); - // TemplateTask_20steps_5 - actionDescriptionDict.Add(240, "TemplateTask_20steps_5 started."); - actionDescriptionDict.Add(440, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(441, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(442, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(443, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(444, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(445, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(446, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(447, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(448, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(449, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(450, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(451, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(452, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(453, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(454, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(455, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(456, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(457, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(458, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(459, "TemplateTask_20steps_5 running, "); - actionDescriptionDict.Add(241, "TemplateTask_20steps_5 finished succesfully."); - actionDescriptionDict.Add(242, "TemplateTask_20steps_5 restored."); - // TemplateTask_20steps_6 - actionDescriptionDict.Add(260, "TemplateTask_20steps_6 started."); - actionDescriptionDict.Add(460, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(461, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(462, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(463, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(464, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(465, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(466, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(467, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(468, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(469, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(470, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(471, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(472, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(473, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(474, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(475, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(476, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(477, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(478, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(479, "TemplateTask_20steps_6 running, "); - actionDescriptionDict.Add(261, "TemplateTask_20steps_6 finished succesfully."); - actionDescriptionDict.Add(262, "TemplateTask_20steps_6 restored."); // General alarms actionDescriptionDict.Add(700, "Input variable `parent` has NULL reference in `Run` method!"); actionDescriptionDict.Add(701, "Input variable `Config.HWIDs.HwID_Device` has invalid value in `Run` method!");