XPS Unified
EDH0373En1023 — 01/18
7.2.1.341
TZMotorDecouplingModeGet
Name
TZMotorDecouplingModeGet – Gets TZ motor decoupling mode.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the group name: (-19)
Description
This function gets the current state of motor decoupling mode (1=Enabled, 0=Disabled).
This API is reserved to TZ group only.
Prototype
int TZMotorDecouplingModeGet(
int SocketID,
char GroupName[250],
int * Mode
)
Input parameters
SocketID
GroupName
Output parameters
Mode
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
• -19:
GroupName doesn't exist or unknown command.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Group name.
int *
Motor decoupling mode.
494
Programmer's Manual