diff --git a/solution/_Config/NC/NC.xti b/solution/_Config/NC/NC.xti index cd4a2c2..ba2dbbd 100644 --- a/solution/_Config/NC/NC.xti +++ b/solution/_Config/NC/NC.xti @@ -1,7 +1,7 @@ - + NC-Task 1 SAF Inputs diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index 7bb4bab..96e9c9d 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -20,7 +20,7 @@ VAR iAxes: UINT; //index for for loops in Position recovery actions afbReadEncRefSys: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_ReadParameter; afbRestorePosition: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_SetPosition; - fbGetDeviceIdentification: FB_GetDeviceIdentification; + fbGetDeviceIdentification: FB_GetDeviceIdentificationEx; END_VAR VAR PERSISTENT @@ -41,14 +41,14 @@ IF _TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN aIAxes[GVL.iAxis] := afbAxes[GVL.iAxis]; END_FOR //Custom axis types defined and linked to aiAxes here - //FB_CustomAxis extends FB_axis - //fbCustomAxis.stAxis REF= astAxes[x]; + //FB_CustomAxis extends FB_axis + //fbCustomAxis.stAxis REF= astAxes[x]; //aIAxes[x] := fbCustomAxis; END_IF //Execute FB_Axis logic FOR GVL.iAxis := 1 TO GVL_APP.nAXIS_NUM DO - aIAxes[GVL.iAxis].Run(); + aIAxes[GVL.iAxis].Run(); END_FOR //Execute Pneumatic Axis logic