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
{{ message }}
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: src/TcoDrivesBeckhoff/src/XaeTcoDrivesBeckhoff/TcoDrivesBeckhoff/POUs/Prototypes/TcoDriveSimple/MotionTasks/MoveVelocityTask.TcPOU
Copy file name to clipboardexpand all lines: src/TcoDrivesBeckhoff/src/XaeTcoDrivesBeckhoff/TcoDrivesBeckhoff/POUs/Prototypes/TcoDriveSimple/MotionTasks/SetTorqueTask.TcPOU
Copy file name to clipboardexpand all lines: src/TcoDrivesBeckhoff/src/XaeTcoDrivesBeckhoff/TcoDrivesBeckhoff/POUs/Prototypes/TcoDriveSimple/TcoDriveSimple.TcPOU
+38-1
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ VAR
48
48
_homeTask : HomeTask(THIS^);
49
49
{attribute addProperty Name "<#Jogging#>"}
50
50
_jog : Jog(THIS^);
51
+
{attribute addProperty Name "<#Force/Torque#>"}
52
+
_torqueTask : SetTorqueTask(THIS^);
51
53
{attribute addProperty Name "<#Move velocity#>"}
52
54
_moveVelocityTask : MoveVelocityTask(THIS^);
53
55
{attribute addProperty Name "<#Stop#>"}
@@ -75,6 +77,7 @@ END_IF
75
77
_axisRef REF= inoAxisRef;
76
78
77
79
80
+
78
81
_mcReadStatus(Axis := _axisRef, Enable := TRUE);
79
82
UpdateAxisStatus();
80
83
@@ -103,6 +106,7 @@ _haltTask();
103
106
_moveRelativeTask();
104
107
_moveAbsoluteTask();
105
108
_moveModuloTask();
109
+
_torqueTask(inIsServiceMode:= THIS^.IsService);
106
110
107
111
IF(_axisStatus.Error) THEN Messenger.Error(_sb.Clear().Append('<#Drive error no #>').Append(UDINT_TO_STRING(_axisStatus.ErrorId)).Append(' |[[0]AdvancedDiagnosticMessage]|').Append('.').Append('For details see the service mode').ToString()); END_IF;
0 commit comments