<< Click to Display Table of Contents > Direct Motion Home/Shift |
☒ Set ☐ Get |
||
---|---|---|
DLL Function |
int CCI_Return = ScExecCommand(int Cmd_ID) |
|
ASCII Function |
int CCI_Return = ScCciExecCommand(int Cmd_ID) |
|
Description |
Start the direction motion homing procedure. |
|
Cmd_ID |
Type: int |
ID: |
Location: ScComSAMLightClientCtrlExecCommandConstants |
||
scComSAMLightClientCtrlExecCommandMotionHome |
15 |
|
CCI_Return |
Type: int |
|
CCI return number, see error list. |
||
Notes |
•MotionAxis has to be set before. |
|
C# Example: Start homing: int CCI_Return = cci.ScExecCommand( ( int )ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandMotionHome ); |
Table 236: Direct Motion Home
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetDoubleValue(int Value_Type, double Axis_Shift) double Axis_Shift = ScGetDoubleValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Axis_Shift) double Axis_Shift = ScCciGetDoubleValue(int Value_Type) |
||
Description |
Set or get the defined axis shift value. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlDoubleValueTypeMotionAxisOffset |
158 |
||
Axis_Shift |
Type: double |
Unit: [mm]* |
|
Set or get the desired value. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•MotionAxis has to be set before. •The default unit is mm, but the user can select a different unit. |
||
C# Example: Set shift to 777.77:
int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMotionAxisOffset, 777.77 ); |
|||
C# Example: Get current defined shift value:
double Axis_Shift = cci.ScGetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMotionAxisOffset ); |
Table 237: Direct Motion Shift