<< Click to Display Table of Contents > 

Client Control Interface Manual > Global Settings > Optic > Min / Max ...

Min / Max ...
Previous pageReturn to chapter overviewNext page

The following parameters can be found in SAMLight at Settings System Optic Min/Max.

Field Size and Working Area → Optic

Laser Frequency, Jump and Mark Speed Limits

Working Area

Working Area 2D

 

Laser Frequency, Jump  and Mark Speed Limits
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double Frequency)

double Frequency = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Frequency)

double Frequency = ScCciGetDoubleValue(int Value_Type)

Description

Set or get the laser frequency.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeMinFrequency

124

Minimum frequency of the laser. [kHz]

scComSAMLightClientCtrlDoubleValueTypeMaxFrequency

125

Maximum frequency of the laser. [kHz]

scComSAMLightClientCtrlDoubleValueTypeMinMarkSpeed

128

Minimum mark speed. [mm/s]

scComSAMLightClientCtrlDoubleValueTypeMaxMarkSpeed

129

Maximum mark speed. [mm/s]

scComSAMLightClientCtrlDoubleValueTypeMinJumpSpeed

130

Minimum jump speed. [mm/s]

scComSAMLightClientCtrlDoubleValueTypeMaxJumpSpeed

131

Maximum jump speed. [mm/s]

Frequency

Type: double

Unit: depends on constant

Minimum or maximum laser frequency.

CCI_Return

Type: int

CCI return number, see error list.

Notes

-

C# Example: Set minimum laser frequency:
 
int CCI_Return = cci.ScSetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMinFrequency, 5.0);

C# Example: Get maximum laser frequency:
 
double Max_Frequency = cci.ScGetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeMaxFrequency);

Table 39: Laser Frequency

Working Area
 

Set

Get

DLL Function

double Working_Area = ScGetWorkingArea(int Index)

ASCII Function

double Working_Area = ScCciGetWorkingArea(int Index)

Description

Get the working area.

Working_Area

Type: int

Unit: [mm]*

Get the wanted parameter for the working area.

Index

Type: int

Index:

Location: None

SC_SAMLIGHT_OUTLINE_INDEX_MIN_X

0

SC_SAMLIGHT_OUTLINE_INDEX_MIN_Y

1

SC_SAMLIGHT_OUTLINE_INDEX_MIN_Z

2

SC_SAMLIGHT_OUTLINE_INDEX_MAX_X

3

SC_SAMLIGHT_OUTLINE_INDEX_MAX_Y

4

SC_SAMLIGHT_OUTLINE_INDEX_MAX_Z

5

Notes

The default unit is mm, but the user can select a different unit.

2D system: Z parameters return the x dimension.

C# Example: Get working area z_min:
 
double Z_Min = cci.ScGetWorkingArea(3);

Table 40: Working Area

Working Area 2D
 

Set

Get

DLL Function

int CCI_Return = ScSetDoubleValue(int Value_Type, double Working_Area)

double Working_Area = ScGetDoubleValue(int Value_Type)

ASCII Function

int CCI_Return = (int Value_Type, double Working_Area)

double Working_Area = ScCciGetDoubleValue(int Value_Type)

Description

Set or get the working area.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMinX

68

Minimum x coordinate of the working area.

scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMinY

69

Maximum x coordinate of the working area.

scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMaxX

70

Minimum y coordinate of the working area.

scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMaxY

71

Maximum y coordinate of the working area.

Working_Area

Type: double

Unit: [mm]*

Set home position coordinate x/y/z.

CCI_Return

Type: int

CCI return number, see error list.

Notes

The default unit is mm, but the user can select a different unit.

C# Example: Set working area xmin:
 
int CCI_Return = cci.ScSetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMinX, 500.0);

C# Example: Get working area ymax:
 
double Max_Y = cci.ScGetDoubleValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeWorkingAreaMaxY);

Table 41: Working Area 2D