<< Click to Display Table of Contents > 

Client Control Interface Manual > Global Settings > Optic > Advanced

Advanced
Previous pageReturn to chapter overviewNext page

The following parameters can be found in SAMLight at Settings → System → Optic → Advanced.

The CCI commands for inputs, outputs and output inversions are described here.

•Is Card Allowed

•Load from USC3

•Restore Transformation

•Store Flash Settings

 

Is Card Allowed
 

☐ Set

☒ Get

DLL Function

int Allowed = ScGetLongValue(int Value_Type)

ASCII Function

int Allowed = ScCciGetLongValue(int Value_Type)

Description

Check if the card can be accessed.  

Allowed

Type: int

Unit: none

•0: JobIO Select or running flash job.

•1: OK.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeIsCardAccesAllowed

112

Notes

-

C# Example: Is Card Allowed:
 
int Allowed = cci.ScGetLongValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeIsCardAllowed);

Table 46: Is Card Allowed

Load from USC3
 

☒  Set

☐ Get

DLL Function

int CCI_Return = ScExecCommand(int Cmd_ID)

ASCII Function

int CCI_Return = ScCciExecCommand(int Cmd_ID)

Description

Load the current stored settings from the USC3 in SAMLight.

Cmd_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlExecCommandConstants

scComSAMLightClientCtrlExecCommandLoadHeadFromUSC3

64

CCI_Return

Type: int

CCI return number, see error list.

Notes

•Only for USC3

•Only head specific settings are loaded.

C# Example: Load current settings from USC3:
 
int CCI_Return = cci.ScExecCommand((int)ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandLoadHeadFromUSC3);

Table 47: Load from USC3

Restore Transformation
 

☒ Set

☐ Get

DLL Function

int CCI_Return = ScSetLongValue(int Value_Type, int Index)

ASCII Function

int CCI_Return = ScCciSetLongValue(int Value_Type, int Index)

Description

Store the matrix of each entity, recover them and update if needed. Mark, then shift and get later original positions back.

Value_Type

Type: int

ID:

Location: ScComSAMLightClientCtrlValueTypes

scComSAMLightClientCtrlLongValueTypeStoreRestoreTransformation

32

Index

Type: int

Index:

Location: None

RESTORE_TRANSFORMATION_STORE

0

RESTORE_TRANSFORMATION_RESTORE

1

RESTORE_TRANSFORMATION_RESTORE_WITH_UPDATE

2

CCI_Return

Type: int

CCI return number, see error list.

Notes

-

C# Example: Store transformation:
 
int CCI_Return = cci.ScSetLongValue((int)ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeStoreRestoreTransformation, 0);

Table 48: Restore Transformation

Store Flash Settings
 

☒  Set

☐ Get

DLL Function

int CCI_Return = ScExecCommand(int Cmd_ID)

ASCII Function

int CCI_Return = ScCciExecCommand(int Cmd_ID)

Description

Stores the settings to the USC-card EPCS (this is necessary for stand-alone operation). Make sure that the settings fit to the laser and other machinery. The settings will be loaded during powering on the card.

Cmd_ID

Type: int

ID:

Location: ScComSAMLightClientCtrlExecCommandConstants

scComSAMLightClientCtrlExecCommandStoreFlashSettings

58

CCI_Return

Type: int

CCI return number, see error list.

Notes

•Do not use for USC-1 since it has no Flash memory.

C# Example: Store flash settings:
 
int CCI_Return = cci.ScExecCommand((int)ScComSAMLightClientCtrlExecCommandConstants.scComSAMLightClientCtrlExecCommandStoreFlashSettings);

Table 49: Store Flash Settings