You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VAR_OUTPUT
MoverPositions : ARRAY [1..NUM_MOVERS] OF REAL;
MoverErrors : ARRAY [1..NUM_MOVERS] OF BOOL;
MoverErrorIDs : ARRAY [1..NUM_MOVERS] OF UDINT;
// ...
END_VAR
Code is similar to
// update global data
FOR i := 1 TO NUM_MOVERS DO
MoverPositions[i] := LREAL_TO_REAL(Mover[i].TrackInfo.TrackPosition);
MoverErrors[i] := Mover[i].Error;
MoverErrorIDs[i] := Mover[i].ErrorID;
END_FOR
The text was updated successfully, but these errors were encountered:
In FB_XTS.TcPOU
Declaration is similar to:
Code is similar to
The text was updated successfully, but these errors were encountered: