<< Click to Display Table of Contents > Advanced |
![]() ![]() ![]() |
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. |
---|
☐ 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: |
Table 45: Is Card Allowed
☒ 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: |
Table 46: Load from USC3
☒ 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: |
Table 47: Restore Transformation
☒ 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: |
Table 48: Store Flash Settings