|
<< Click to Display Table of Contents > Statistics |
![]() ![]()
|
The following FCI commands are found in this chapter:
Command |
Description |
|---|---|
Get head status. |
|
Get trigger count. |
|
Get timer information. |
|
Get the current installed USC-3 firmware. |
|
Get flash statistics. |
|
Get flash statistics in a defined range. |
|
Get User ID, System ID and MAC ID. |
|
Get Card Type. |
Table 18: Overview Commands Statistics
|
Get head status |
|
|||
|---|---|---|---|---|
Description |
Get the state of the XY2-100 head status of the selected head as decimal number. |
|||
<HeadNumber>
|
Value: <int> |
Function |
||
0 |
Get the statistics of head 0. |
|||
1 |
Get the statistics of head 1. |
|||
<Channel> |
Value: <int> |
Function |
||
0 |
Status <HeadNumber> X |
|||
1 |
Status <HeadNumber> Y |
|||
2 |
Status <HeadNumber> Z |
|||
Example |
Command |
Return |
Note |
|
GHS 0 0 |
0: 196608 |
Get head 0 state. |
||
Notes |
•This command corresponds to the bits, which can be seen in the InfoView. Here you get a 20bit word, which depends on the connected scan head. This 20bit word needs to be interpreted by the user by the help of the manual of the scan head. •For USC-3 and USC-4, the values displayed in the InfoView are shifted 12 bits to the left compared to USC-2. The underlying content is identical; only the bit position differs. |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •2: Too few parameters •8: Parameter out of range •17: Wrong parameter type |
|||
Table 19: GHS
|
Get trigger count |
|
|||
|---|---|---|---|---|
Description |
Get information on the trigger count. The trigger counter counts the external triggers signals in trigger mode (ET 1, M 1; FlashJobIOSelect mode). The trigger count is reset with M 1 or with loading of a new job in FlashJobIOSelect mode. |
|||
Example |
Command |
Return |
Note |
|
GTC |
0: 5 |
5 external trigger signals have been detected since the last reset. |
||
M 1 |
0: |
Reset the trigger count. |
||
GTC |
0: 0 |
No external triggers signal has been detected since the last reset (M 1). |
||
Notes |
•The trigger count is available during marking. •During an active marking process, a new trigger signal is not recognized. •Maximum is , will reset when maximum is reached. |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•2: Too few parameters |
|||
Table 20: GTC
|
Get timer information |
|
|||
|---|---|---|---|---|
Description |
Retrieves information about the duration of the last marking operation (in ms), the ratio between process time and marking time (useful when working in trigger mode), and the total time information array. |
|||
<InfoType>
|
Value: <int> |
Function |
||
empty |
Not available. This parameter is obligatory. |
|||
0 |
Get the duration of the last marking, in ms. |
|||
1 |
Get the ration between the next-to-last process time and the last marking time. When working in trigger mode, GTI 1 specifically gets the ratio between the marking time and the time between two trigger signals. |
|||
2 |
Get the total time info array. This can be helpful for debugging. |
|||
Example |
Command |
Return |
Note |
|
GTI 0 |
0: 21.14 |
Get mark time: 21.14 milliseconds. |
||
GTI 1 |
0: # |
Get ratio # of marking time and between trigger time. |
||
GTI |
2: |
Too few parameters. GTI needs <Par1>. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •2: Too few parameters •3: Unknown command |
|||
Table 21: GTI
|
Get the current installed USC-3 firmware |
|
|||
|---|---|---|---|---|
Description |
This command allows to get the firmware version on the USC-3-Card. |
|||
Example |
Command |
Return |
Note |
|
MAINVER |
0: 61 |
Get USC-3 firmware version. |
||
MAINVER 61 |
0: 1 |
To many parameters. Version can not be set. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
•Command is not available for USC-2. |
|||
Errors |
•1: Too many parameters |
|||
Table 22: MAINVER
|
Get flash statistics |
|
|||
|---|---|---|---|---|
Description |
Return the statistics of all jobs which are stored on the flash memory of the USC card. |
|||
<JN> [optional]
|
Value: <int> |
Function |
||
empty |
Get the statistics of all jobs on the flash. |
|||
JobNumber [1; 255] |
Get the statistics of the job <JN>. |
|||
<InfoType> [optional]
|
Value: <string> |
Function |
||
empty |
Without parameter 2 and parameter 3, the flash statistics are returned - see explanation of parameter JN. |
|||
ID |
Get the IDs and the names of all serial numbers of the job (does not allow parameter 3). |
|||
NA |
Get the name of the specified serial number (needs parameter 3). |
|||
FO |
Get the format string of the specified serial number (needs parameter 3). |
|||
MO |
Get the mode of the specified serial number (needs parameter 3). |
|||
STR |
Get the text string of the specified serial number (needs parameter 3). |
|||
DC |
Get the timestamp (UTC) for the date created of the specified job number. (USC-3/-4 only) |
|||
<SN> [optional]
|
Value: <int> |
Function |
||
empty |
Without <Par2> and <Par3>, flash statistics are returned - see explanation of parameter JN. Parameter 3 is not allowed for <Par2> = ID. |
|||
SN |
ID of the specified serial number. Return statistics of the serial number specified by parameter 3; it is obligatory for <Par2> = NA, FO, MO and STR. |
|||
Example |
Command |
Return |
Note |
|
ST |
0: |
Get flash statistics. |
||
ST 2 ID |
0: |
Get ID and name of all serial numbers in job number 2. |
||
ST 3 NA 1 |
0: |
Get name of serial number 1 in job number 3. |
||
Notes |
•The command ST without parameters returns the statistics of all jobs stored on the flash. |
|||
•Return values for the mode of a serial number, combinations can occur: |
||||
Value |
Function |
|||
0x0001 |
Serial number mode: text |
|||
0x0002 |
Serial number mode: barcode |
|||
0x0008 |
Serial number mode: date time |
|||
0x0010 |
Serial number mode: custom format |
|||
0x0040 |
Serial number mode: text and date time |
|||
0x0800 |
Serial number mode: popup edit box barcode reader mode |
|||
0x1000 |
Serial number mode: use global serial number |
|||
•This command is allowed during marking for USC-4 only. |
||||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters •4: Job not valid •5: Not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
|||
Table 23: ST
|
Get flash statistics in a defined range |
|
||
|---|---|---|---|
Description |
Return the last JobID stored on the flash memory of the USC card. |
||
<From> <To> [optional]
|
Value: <int> |
Function |
|
empty |
Get the last valid job ID on the flash. |
||
From To [1; 255] |
Get the job information about jobs in this range in the form <ID>:<SIZE>;<SERIAL_NUMBERS>;<JOB_NAME>; Empty job slots return <ID>:0;0;; Multiple jobs returns are separated by a line break. |
||
Example |
Command |
Return |
|
STAT |
0:4 |
||
STAT 1 6 |
0:1:43;1;serial_number.unf;<ESC><CR>2:2;0;rectangle.unf;<ESC><CR>3:0;0;;<ESC><CR>4:7;0;circle.unf;<ESC><CR>5:0;0;;<ESC><CR>6:0;0;; |
||
Notes |
- |
||
Save |
N/A |
||
Restriction |
None |
||
Errors |
•1: Too many parameters •4: Job not valid •5: Not allowed during marking •8: Parameter out of range •17: Wrong parameter type |
||
Table 24: STAT
|
Get User ID, System ID and MAC ID |
|
|||
|---|---|---|---|---|
Description |
The command USCID is used to get the following IDs stored on the USC card: User ID, System ID and MAC ID. These IDs are returned separated by a space. |
|||
Example |
Command |
Return |
Note |
|
USCID |
0: # |
Get IDs #. |
||
USCID 1 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
•The return value is a string containing three numbers separated by a blank. |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
|||
Table 25: USCID
|
Get Card Type |
|
|||
|---|---|---|---|---|
Description |
The command USCTYPE is used to get the type of the USC card. |
|||
Example |
Command |
Return |
Note |
|
USCTYPE |
0:2 |
The connected card is an USC-2. |
||
USCTYPE |
0:3 |
The connected card is an USC-3. |
||
USCTYPE |
0:4 |
The connected card is an USC-4. |
||
USCTYPE 1 |
1: |
Read only command. Too many parameters give the error message 1. |
||
Notes |
- |
|||
Save |
N/A |
|||
Restriction |
None |
|||
Errors |
•1: Too many parameters |
|||
Table 26: USCTYPE