<< Click to Display Table of Contents > Inputs And Outputs |
![]() ![]() ![]() |
The following FCI commands are found in this chapter:
Command |
Description |
---|---|
Get analog input 0. |
|
Get analog input 1. |
|
Return electric/logical state of the Opto I/Os. |
|
Get/Set error warning info. |
|
Get/Set error warning mode. |
|
Get Opto_Ins and Digi_Ins. |
|
Get/Set output pulse for looped job. |
|
Get/Set laser suppression input |
|
Get/Set laser suppression output |
|
Get Digi_Ins. |
|
Set/Get invert mask of Digi_Ins. |
|
Get Opto_Ins. |
|
Set/Get invert mask of Opto_Ins. |
|
Get/Set Digi_Outs. |
|
Set/Get invert mask of Digi_Outs. |
|
Get/Set Opto_Outs. |
|
Set/Get invert mask of Opto_Outs. |
|
Get/Set Opto_Outs and Digi_Outs. |
|
Define status output pins of Flash JobIOSelection mode. |
Table 92: Overview Commands Inputs And Outputs
Get analog input 0 |
|
|||
---|---|---|---|---|
Description |
This command reads the current input state of the analog input 0 of the USC-Card and returns the decimal value [0; 1023]. The unit is [10mV]. |
|||
Example |
Command |
Return |
Note |
|
AIN0 |
0: |
Get state of analog input in 10mV. |
||
AIN0 12 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
Table 93: AIN0
Get analog input 1 |
|
|||
---|---|---|---|---|
Description |
This command reads the current input state of the analog input 1 of the USC-Card and returns the decimal value [0; 1023]. The unit is [10mV]. |
|||
Example |
Command |
Return |
Note |
|
AIN1 |
0: |
Get state of analog input in 10mV. |
||
AIN1 12 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
Table 94: AIN1
Return electric/logical state of the Opto-IOs |
|
|||
---|---|---|---|---|
Description |
The DBG command returns the electric or logical state of the Opto_Ins and Opto_Outs. |
|||
<Par1> |
Value: <int> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
0 |
This value must always be 0. |
|||
<Par2> |
Value: <int> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
0 |
Get the electrical state of the IOs. |
|||
1 |
Get the logic state of the IOs. |
|||
Example |
Command |
Return |
Note |
|
DBG 0 0 |
0: 32 |
Opto_In_5 is inverted and not set. |
||
DBG 0 0 |
0: 0 |
Opto_In_5 is inverted and set. |
||
DBG 0 1 |
0: 0 |
Opto_In_5 is inverted and not set. |
||
DBG 0 1 |
0: 32 |
Opto_In_5 is inverted and set. |
||
DBG 0 0 |
0: 32 |
Opto_In_5 is not inverted and set. |
||
|
|
|
||
DBG 0 1 |
0: 4160 |
Opto_Out_0 is not inverted and set |
||
DBG 0 1 |
0: 4096 |
Opto_Out_0 is inverted and set. |
||
DBG 0 0 |
0: 4160 |
Opto_Out_0 is not inverted and set. |
||
DBG 0 0 |
0: 4160 |
Opto_Out_0 is inverted and set. |
||
Notes |
•If the inputs are not inverted, the electrical and the logic state are identical. Otherwise not. |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •2: Too few parameters •8: Parameter out of range •17: Wrong parameter type |
Table 95: DBG
Get/Set error warning info |
|
|||
---|---|---|---|---|
Description |
Get or set the error warning info. |
|||
<Type> |
Value: <string> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
OD |
Out of data with laser on (OD) is set when a buffer underrun occurred. |
|||
OF |
Out of field (OF) is set when a position overflow (head specific optic matrix, MOTF, Analog Input, USC-3 Wobble) occurred. |
|||
OM |
Overflow MOTF offset (OM) is set when a MOTF offset is reached too early (e.g. still marking). |
|||
SI |
Supression Input (SI) is set when a Laser Suppression Input (LSI) is defined and set. (USC-3 only) |
|||
<Reset> [optional] |
Value: <int> |
Function |
||
empty |
Get the error warning info specified with parameter 1. |
|||
0 |
Reset info |
|||
Example |
Find the maximum MOTF speed for flash job 1. |
|||
|
Prepare the error warning feature: |
|||
Command |
Return |
Note |
||
EWM OF 1 |
0: |
Enable out of field error warning mode. |
||
EWI OF 0 |
0: |
Reset out of field error warning info. |
||
|
Mark a MOTF job with running belt: |
|||
JN 1 |
0: |
Select job 1. |
||
ET 1 |
0: |
Enable trigger mode. |
||
M 1 |
0: |
Start trigger mode. |
||
Start job process with an external trigger signal. |
||||
|
Check the result: |
|
||
EWI OF |
0: 0/1 |
Get out of field error warning info. '0' is good, increase belt speed and try again. '1' means an overflow happened, reduce belt speed and try again. |
||
Notes |
•To use the error warning info (EWI) feature, the corresponding error warning mode (EWM) must be enabled. |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •2: Too few parameters •8: Parameter out of range |
Table 96: EWI
Get/Set error warning mode |
|
|||
---|---|---|---|---|
Description |
Get or set the error warning mode for the USC-Card. |
|||
<Type> |
Value: <string> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
OD |
Out of data with laser on (OD) is set when a buffer underrun occurred. |
|||
OF |
Out of field (OF) is set when a position overflow (head specific optic matrix, MOTF, Analog Input, USC-3 Wobble) occurred. |
|||
OM |
Overflow MOTF offset (OM) is set when a MOTF offset is reached too early (e.g. still marking). |
|||
<Mode> [optional] |
Value: <int> |
Function |
||
empty |
Get the state of the error warning mode specified with parameter 1. |
|||
0 |
Disable mode |
|||
1 |
Enable mode |
|||
Example |
Command |
Return |
Note |
|
EWM OF 1 |
0: |
Enable out of field error warning mode. |
||
EWI OF 0 |
0: |
Reset out of field error warning info. |
||
|
|
|
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •2: Too few parameters •8: Parameter out of range |
Table 97: EWM
Get Opto_Ins and Digi_Ins |
|
|||
---|---|---|---|---|
Description |
Get the state of the Opto_Outs and the Digi_Outs with one command. |
|||
Example |
Command |
Return |
Note |
|
IN |
0: 0 |
No inputs are set. |
||
IN |
0: 28 |
Opto_In_2, _3, and _4 are set. |
||
Notes |
•Allowed during marking |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
Table 98: IN
Get/Set output pulse for looped job |
|
|||
---|---|---|---|---|
Description |
Defines an output pulse for a looped job. Each time a loop in a job begins, the defined output pulse will be active for a defined time. Recognized are the outermost loops in the entity hierarchy of the job. |
|||
<Output> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined output pulse for a looped job. |
|||
Output |
Set output pin value in 2^(Output Bit -1). Available values for the output bit are [1; 16]. |
|||
<Pulse> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined output pulse for a looped job. |
|||
Pulse |
Set the pulse length of the output in us (min = 10us) |
|||
Example |
Command |
Return |
Note |
|
LPJ 66 200 |
0: |
set Opto_Out_1 and Digi_Out_0 logically high for a minimum of 200 us at the beginning of each loop |
||
|
|
|
||
Notes |
•The valid Output Bit range is [2-16] and the pin to bit mapping of the outputs can be found in the SAMLight IO chapter. •Multiple outputs can be defined by using the sum of output pin values for parameter 1. LPJ 0 0 disables the feature. • The exact duration of the pulse is job specific |
|||
Save |
N/A |
|||
Restriction |
•Set and reset: not allowed during marking |
|||
Errors |
•1: Too many parameters •2: Too few parameters •5: Not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 99: LPJ
LSI <Parameter> [<Mask> <InputState>]
Get/Set laser suppression input |
|
|||
---|---|---|---|---|
Description |
Defines the laser suppression input. If this input is set, the LaserGate Signal is suppressed. |
|||
<Parameter>
|
Value: <string> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
Status |
20 bit word for scanner status. X-, Y-, Z-status are considered simultaneously. Laser is suppressed as soon as the input status is applied to one of the status. |
|||
<Mask> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined output for the laser suppression |
|||
Mask [0; 1048575] |
Set one decimal value for the mask of Status Inputs. status bit #0 is 1, status bit #1 is 2, status bit #2 is 4, ect. |
|||
<InputState> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined input for laser suppression. |
|||
InputState [0; 1048575] |
Set decimal value to define the states to which the outputs of the mask should be set. |
|||
Example |
Command |
Return |
Note |
|
LSI STATUS 1 1 |
0: |
set the status bit #0 of the 20 bit word to 1 |
||
|
|
|
||
Notes |
- |
|||
Save |
•Changes are saved with SVG. •When not saved, changes are valid until the next reboot of the USC-Card. |
|||
Restriction |
•Set and reset: not allowed during marking |
|||
Errors |
•1: Too many parameters •2: Too few parameters •5: Not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 100: LSI
LSO <Parameter> [<Mask> <OutputState>]
Get/Set output if laser suppression is activ. |
|
|||
---|---|---|---|---|
Description |
Defines the outputs which is set when laser suppression is active. |
|||
<Parameter>
|
Value: <int> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
Status |
20 bit word for scanner status. X-, Y-, Z-status are considered simultaneously. Laser is suppressed as soon as the input status is applied to one of the status. |
|||
<Mask> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined output for the laser suppression |
|||
Mask [0; 65535 ] |
Set one decimal value for the mask of Opto_Outs and Digi_Outs. |
|||
<OutputState> [optional] |
Value: <int> |
Function |
||
empty |
Without any parameters: get the currently defined input for laser suppression. |
|||
OutputState [0; 65535] |
Set one decimal value to define the states to which the input of the mask should be set. |
|||
Example |
Command |
Return |
Note |
|
LSO STATUS 2 2 |
0: |
set Opto_Out_1 high as long as the laser suppression is active. |
||
|
|
|
||
Notes |
- |
|||
Save |
•Changes are saved with SVG. •When not saved, changes are valid until the next reboot of the USC-Card. |
|||
Restriction |
•Set and reset: not allowed during marking |
|||
Errors |
•1: Too many parameters •2: Too few parameters •5: Not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 101: LSO
Get Digi_Ins |
|
|||
---|---|---|---|---|
Description |
This command reads the current input state of the digital inputs of the USC-Card and returns the decimal value of the bit pattern. |
|||
Example |
Command |
Return |
Note |
|
OIF |
0: |
Get state of digital inputs. |
||
OIF 12 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
Table 102: OIF
Set/Get invert mask of Digi_Ins |
|
|||
---|---|---|---|---|
Description |
This command is used to set or return the invert mask for the digital inputs of the USC-Card (on the extension connector). |
|||
<InvertMask> [optional] |
Value: <int> |
Function |
||
empty |
Return the digital input invert mask. |
|||
Digi_In [0; 1023] |
Set the invert mask for the digital inputs. |
|||
Example |
Command |
Return |
Note |
|
OIFI |
0: |
Get invert mask for the digital inputs |
||
OIFI 1023 |
0: |
Set invert mask for the digital inputs |
||
OIFI 1024 |
8: |
Parameter out of range |
||
Notes |
•When setting a new state, earlier states are not remembered. The inverted mask can be checked at InfoView of sc_usc_server.exe in visible mode at Member InputInvertFlags. The set value by OIFI cannot be saved with SVG command. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 103: OIFI
Get Opto_Ins |
|
|||
---|---|---|---|---|
Description |
This command reads the current input state of the Opto_Ins of the USC-Card and returns the decimal value of the bit pattern. |
|||
Example |
Command |
Return |
Note |
|
OIU |
0: |
Get state of Opto_Ins. |
||
OIU 12 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
Table 104: OIU
Set/Get invert mask of Opto_Ins |
|
|||
---|---|---|---|---|
Description |
This command is used to set or return the invert mask for the Opto_Ins of the USC-Card. |
|||
<InvertMask> [optional] |
Value: <int> |
Function |
||
empty |
Return the Opto_Ins input invert mask. |
|||
Opto_In [0; 63] |
Set the invert mask for the Opto_Ins. |
|||
Example |
Command |
Return |
Note |
|
OIUI |
0: |
Get invert mask for the Opto_Ins |
||
OIUI 16 |
0: |
Set invert mask for the Opto_Ins |
||
OIUI 64 |
8: |
Parameter out of range |
||
Notes |
•When setting a new state, earlier states are not remembered. The inverted mask can be checked at InfoView of sc_usc_server.exe in visible mode at Member InputInvertFlags. The set value by OIUI cannot be saved with SVG command. The flags for Trigger Start = Opto_In_0 and Trigger Stop = Opto_In_1 cannot be set by this command. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 105: OIUI
Get/Set Digi_Outs |
|
|||
---|---|---|---|---|
Description |
This command sets a new output state for the digital outputs of the USC-Card according to the specified decimal value. Single outputs or a combination of outputs can be set using the decimal representation of the binary counting. A single output cannot be unset other than by sending the decimal value including all outputs which should stay set (see example below). |
|||
<Digi_Out> [optional] |
Value: <int> |
Function |
||
empty |
Get the state of the digital outputs. |
|||
Digi_Out [0; 1023] |
Set the digital outputs. Single outputs or a combination of outputs can be set using the decimal representation of the binary counting. |
|||
Example |
Command |
Return |
Note |
|
OOF 1 |
0: |
Set Digi_Out_0 |
||
OOF 3 |
0: |
Set Digi_Out_0 and Digi_Out_1 |
||
OOF 5 |
0: |
Set Digi_Out_0 and Digi_Out_2 |
||
OOF 4 |
0: |
Set Digi_Out_2 (all other bits like Digi_Out_0 are overwritten) |
||
Notes |
•When setting a new state, earlier states are not remembered. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 106: OOF
Set/Get invert mask of Digi_Outs |
|
|||
---|---|---|---|---|
Description |
This command is used to set or return the invert mask for the digital outputs of the USC-Card (on the extension connector). |
|||
<InvertMask> [optional] |
Value: <int> |
Function |
||
empty |
Return the digital output invert mask. |
|||
Digi_Out [0; 1023] |
Set the invert mask for the digital outputs. |
|||
Example |
Command |
Return |
Note |
|
OOFI |
0: |
Get invert mask for the digital outputs |
||
OOFI 1023 |
0: |
Set invert mask for the digital outputs |
||
OOFI 1024 |
8: |
Parameter out of range |
||
Notes |
•When setting a new state, earlier states are not remembered. The inverted mask can be checked at InfoView of sc_usc_server.exe in visible mode at Member OutputInvertFlags. The set value by OOFI cannot be saved with SVG command. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 107: OOFI
Get/Set Opto_Outs |
|
|||
---|---|---|---|---|
Description |
This command is used to get or set a new output state for the opto outputs of the USC-Card according to the specified decimal value. Single outputs or a combination of outputs can be set using the decimal representation of the binary counting. A single output cannot be unset other than by sending the decimal value including all outputs which should stay set (see example below). |
|||
<Opto_Out> [optional] |
Value: <int> |
Function |
||
empty |
Get the state of the Opto_Outs. |
|||
Opto_Out [0; 63] |
Set the Opto_Outs. Single outputs or a combination of outputs can be set using the decimal representation of the binary counting. |
|||
Example |
Command |
Return |
Note |
|
OOU 1 |
0: |
Set Opto_Out_0 |
||
OOU 3 |
0: |
Set Opto_Out_0 and Opto_Out_1 |
||
OOU 5 |
0: |
Set Opto_Out_0 and Opto_Out_2 |
||
OOU 4 |
0: |
Set Opto_Out_2 (all other bits like Opto_Out_0 are overwritten) |
||
Notes |
•When setting a new state, earlier states are not remembered. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 108: OOU
Get/Set invert mask of Opto_Outs |
|
|||
---|---|---|---|---|
Description |
This command is used to set or return the invert mask for the opto outputs of the USC-Card. |
|||
<InvertMask> [optional] |
Value: <int> |
Function |
||
empty |
Return the invert mask of the Opto_Outs. |
|||
Opto_Out [0; 63] |
Set the invert mask for the Opto_Outs. |
|||
Example |
Command |
Return |
Note |
|
OOUI |
0: |
Get invert mask for the Opto_Outs |
||
OOUI 47 |
0: |
Set invert mask for the Opto_Outs |
||
OOUI 64 |
8: |
Parameter out of range |
||
Notes |
•When setting a new state, earlier states are not remembered. The inverted mask can be checked at InfoView of sc_usc_server.exe in visible mode at Member OutputInvertFlags. The set value by OOUI cannot be saved with SVG command. |
|||
Save |
N/A |
|||
Restriction |
•Set: not allowed during marking •Set: not allowed during JobIOSelection mode |
|||
Errors |
•1: Too many parameters •5: Set not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
Table 109: OOUI
Table 110: OUT
Get/Set output pins of Flash JobIOSelection status outputs |
|
|||
---|---|---|---|---|
Description |
The SYNC command defines the output pins of the status outputs of the Flash JobIOSelection mode. |
|||
<Func>
|
Value: <int> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
0 |
Ready for Trigger (default 8 = Opto_Out_3). |
|||
1 |
Job Loaded (default 16 = Opto_Out_4). |
|||
-1 |
Resets both status outputs to defaults. |
|||
<Output> [optional] |
Value: <int> |
Function |
||
empty |
Get output pin value in 2^(Output Bit -1) |
|||
Output |
Set output pin value in 2^(Output Bit -1). Available values for the output bit are [1; 16]. |
|||
Example |
Command |
Return |
Note |
|
SYNC 0 64 |
0: |
Set Flash JobIOSelection status output Ready for Trigger to Digi_Out_0. |
||
SYNC 1 |
0: 16 |
Get output pin for Job Loaded, 16 is the default Opto_Out_4. |
||
Notes |
•The valid Output Bit range is [2-16] and the pin to bit mapping of the outputs can be found in the SAMLight IO chapter. •Mark in Progress status output cannot be changed and is always on Opto_Out_0. |
|||
Save |
•Changes are saved with SVG. •When not saved, changes are valid until the next reboot of the USC-Card. •Saved changes are restored with LDG. |
|||
Restriction |
•Set and reset: not allowed during marking |
|||
Errors |
•1: Too many parameters •2: Too few parameters •5: Not allowed during marking •8: Parameter out of range |
Table 111: SYNC