Functions to get general informations.
More...
#include <SysDef.mh>
#include "SDK_Information_General.mh"
Go to the source code of this file.
Functions to get general informations.
- Revision
- 24
Definition in file SDK_Information_General.mc.
◆ sdkInfoPrintAxesPos()
| long sdkInfoPrintAxesPos |
( |
| ) |
|
Prints the position information of all axes.
Function to print the actual, command and marker position of all axes.
- Returns
- value: Always 1 in this function
value > 0 Process successful
value = 0 Process is active
value < 0 Error
- Examples
- InformationGeneral.mc, Maxon_EC45_flat_1ax_BC_Enc.mc, Maxon_EC45_flat_1ax_BC_Hall.mc, Maxon_EC45_flat_1ax_SC_Hall_Inc.mc, Maxon_ECi40_1ax_SC_OL_Inc.mc, Maxon_ECi40_3ax_SC_OL_Inc.mc, Maxon_ECi52_1ax_SC_SSI.mc, Maxon_RE_40_1ax_Inc.mc, SetupAbsSSIEncoder.mc, SetupIncEncoder.mc, SetupSignalGeneratorAxis.mc, SetupSignalGeneratorOpenloop.mc, SetupSinCosEncoder.mc, Stepper_XY_CL.mc, Stepper_XY_OL.mc, and VirtualMaster_ProfileMode.mc.
Definition at line 78 of file SDK_Information_General.mc.
84 print(
"Axis Positions:");
85 print(
" Axis",chr(9),
"Actual",chr(9),
"Command", chr(9),
"Marker");
87 for (axis = 0; axis < axiscnt; axis++)
89 print(
" ",axis,chr(9),Apos(axis),chr(9),Cpos(axis), chr(9),Ipos(axis));
◆ sdkInfoPrintHardware()
| long sdkInfoPrintHardware |
( |
| ) |
|
Prints the hardware information of the controller.
Function to print the hardware version of the controller.
- Returns
- value: Always 1 in this function
value > 0 Process successful
value = 0 Process is active
value < 0 Error
- Examples
- InformationGeneral.mc.
Definition at line 48 of file SDK_Information_General.mc.
51 print(
"**********************************");
52 print(
"-------- H/W information --------");
53 print(
"**********************************\n");
◆ sdkInfoPrintPosPID()
| long sdkInfoPrintPosPID |
( |
| ) |
|
Prints the parameters of the position PID controller.
Function to print the basic settings of the PID controller.
- Returns
- value: Always 1 in this function
value > 0 Process successful
value = 0 Process is active
value < 0 Error
- Examples
- InformationGeneral.mc.
Definition at line 104 of file SDK_Information_General.mc.
110 print(
"PID control parameters:");
111 print(
" Axis",chr(9),
"Prop",chr(9),
"Int",chr(9),
"Diff",chr(9),
"Timer",chr(9),
"I-Limit");
113 for (axis = 0; axis < axisCnt; axis++)
115 printf(
" %ld\t%ld\t%ld\t%ld\t%ld\t%ld\n",
◆ sdkInfoPrintSoftware()
| long sdkInfoPrintSoftware |
( |
| ) |
|
Prints the software versions of the controller.
Function to print the software versions of the controller.
- Returns
- value: Always 1 in this function
value > 0 Process successful
value = 0 Process is active
value < 0 Error
- Examples
- InformationGeneral.mc.
Definition at line 22 of file SDK_Information_General.mc.
25 print(
"**********************************");
26 print(
"------ Software information ------");
27 print(
"**********************************\n");