HXP
Command Interface Manual
Output parameters
None
Return
(int) error code: 0 in success and -1 on failure
Description
This function is used to close the communication with the controller. The current socket
is deleted and the TCP IP connection is closed.
Refer to HXP Programmer’s manual to get the command description.
2.2.3
ControllerMotionKernelTimeLoadGet
Syntax
C# prototype
int ControllerMotionKernelTimeLoadGet(out double CPUTotalLoadRatio, out double
CPUCorrectorLoadRatio, out double CPUProfilerLoadRatio, out double
CPUServitudesLoadRatio, out string errstring)
Python prototype
[CPUTotalLoadRatio, CPUCorrectorLoadRatio, CPUProfilerLoadRatio,
CPUServitudesLoadRatio, errstring] ControllerMotionKernelTimeLoadGet ()
Parameters
Input parameters
None
Output parameters
(double) CPUTotalLoadRatio: CPUTotalLoadRatio
(double) CPUCorrectorLoadRatio: CPUCorrectorLoadRatio
(double) CPUProfilerLoadRatio: CPUProfilerLoadRatio
(double) CPUServitudesLoadRatio: CPUServitudesLoadRatio
(string) errString: The failure reason
Return
(int) error code: 0 in success and -1 on failure
Description
This function is used to process synchrounous ControllerMotionKernelTimeLoadGet
command which is used to Get controller motion kernel time load. Refer to the XPS
Programmer's manual to get the command description.
2.2.4
ElapsedTimeGet
Syntax
C# prototype
int ElapsedTimeGet(out double ElapsedTime, out string errstring)
Python prototype
[ElapsedTime, errstring] ElapsedTimeGet ()
3
EDH0318En1042 — 12/18