<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4022.10">
  <POU Name="PRG_ResetAllAxesWithError" Id="{d41510f2-5df5-416d-a7b2-e6b176232768}" SpecialFunc="None">
    <Declaration><![CDATA[PROGRAM PRG_ResetAllAxesWithError
VAR
	i: 			INT;
	fbMC_Reset: 	ARRAY [1..nMaxNumberOfAxis] OF MC_Reset;
END_VAR
VAR_INPUT
	execute: 	BOOL;
END_VAR
VAR_OUTPUT
	Done: 		BOOL;
END_VAR]]></Declaration>
    <Implementation>
      <ST><![CDATA[(* ==========================================================*)
(*   PRG: ResetAllAxisWithError	        		             *)
(* ----------------------------------------------------------*)
(*   Desc: 											         *)
(*   Auth: MiB / TV                                          *)
(*   Date: 02.09.2005                                        *)
(*   Last: 02.04.2013                                        *)
(*   Rev.: 1.1                                               *)
(* ==========================================================*)


Done := TRUE;
FOR i:=1 TO 2 DO
	fbMC_Reset[i](
		Execute:= execute ,
		Axis:= arrAxis_REF[i],
		Done=> Done,
		Error=> ,
		ErrorID=> );
	Done := fbMC_Reset[i].Done AND Done;
END_FOR;

]]></ST>
    </Implementation>
    <LineIds Name="PRG_ResetAllAxesWithError">
      <LineId Id="3" Count="21" />
      <LineId Id="2" Count="0" />
    </LineIds>
  </POU>
</TcPlcObject>