<< Click to Display Table of Contents > 

Flash Control Interface Manual > Special

Special
Previous pageReturn to chapter overviewNext page

The following FCI commands are found in this chapter:

Command

Description

CHECKFS

Check and repair the file system.

FCILOG

Job process mode.

GCS

Get card status.

GUT

Get the temperature of the USC card in °C.

JPM

Job process mode.

JWT

Get/Set parameters of JobIO Wait Time.

LDG

Load global settings.

LOG

Log text in trail file.

LOG_LEVEL

Get or set different log level text in trail file.

LOG_DOMAIN

Get or set specific log information.

MOVEABS

Move the scanner to an absolute position with defined jump speed and jump delay.

SVG

Save settings.

Table 112: Overview Commands Special

CHECKFS

 

Check and repair the file system

notavailable  USC-2

ok  USC-3

 

Description

The file system on the SD card will be checked and repaired - if possible.

Example

Command

Return

Note

CHECKFS

0:

Check (and repair) the file system.

CHECKFS 1

1:

Too many parameters.

 

 

 

Notes

This command can repair the SD card when in read-only mode. If the SD card is in read-only mode can be seen in the Main Log of the Trail files (USC-Server - Flash - Save Trail).

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

Table 113: CHECKFS

 

FCILOG [<Mode>]

 

Job process mode

notavailable  USC-2

ok  USC-3

 

Description

For the USC-3 card, a log of the FCI commands send to the card can be activated. When activated, the log is written by clicking on the button "Save Trail" in the USC-Server. Then, the logfile itself is found in <SCAPS>\intermed.

<Mode>

[optional]

Value: <flag>

Function

empty

Get the current mode of the FCILOG.

0

Disable the log functionality for FCI commands.

1

Enable the log functionality for FCI commands.

Example

Command

Return

Note

FCILOG

0:0

Get the current mode: 0 = disabled.

FCILOG 1

0:

Activate the logging of the FCI commands.

Notes

FCI Log is saved as part of the trail files on the USC-3 card.

Once, the trail file has reached 100kB, a new trail file is generated.

Once, the 10th trail file has reached 100kB, the first one is deleted and renewed.

Save

Changes are saved with SVG.

Saved changes are restored with LDG.

When not saved, changes are valid until the next reboot of the USC-3.

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

5: Not allowed during marking

8: Parameter out of range

Table 114: FCILOG

GCS

 

Get the status of the card.

notavailable  USC-2

ok  USC-3

 

Description

Get the status of the card. This check returns to the state of the USC-3_OK flag (pin 14 of the Extension connector).

Example

Command

Return

Note

GCS

0: 1

Card is ok.

GCS

0: 0

Card is not ok.

Notes

This state is corresponding to the USC-3_OK output of the Extension connector.

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

5: Not allowed during marking

Table 115: GCS

GUT

 

Get the temperature of the USC-Card in °C.

ok  USC-2

ok  USC-3

 

Description

Get the temperature of the USC-Card in °C.

Example

Command

Return

Note

GUT

0: 41.75

Get the card temperature. Here, the card temperature is 41.75°C.

Notes

This is the same value as in sc_setup or settings – system – optic -advanced.

Save

N/A

Restriction

None

Errors

1: Too many parameters

Table 116: GUT

JPM [<Mode>]

 

Job process mode

ok  USC-2

ok  USC-3

 

Description

Job Process Mode. If <Par1> = 1 the scanner will move to the home position defined by the preceding command HP. If <Par1> = 0, this will not.

<Mode>

[optional]

Value: <flag>

Function

empty

Get the job process mode which is currently set.

0

All the following flags are deactivated, the scanner will not move to the home position after a job or at startup.

0x1

The scanner will  move to the home position defined by HP at the end of a job (not in JobIOSelect and not in trigger mode), after selecting the empty job (job 0) in JobIOSelect mode or when a job is aborted (e.g. with the FCI command M 0 or the external stop).

0x2

The scanner will  move to the home position defined by HP after the USC initialization after booting of the USC-Card.

Example

Command

Return

Note

JPM

0: 0

Get the job process mode. Default mode = 0.

JPM 1

0:

Set job process mode = 1.

Notes

Flags can be combined.

Save

Changes are saved with SVG.

Saved changes are restored with LDG.

When not saved, changes are valid until the next reboot of the USC-Card.

Restriction

Set: not allowed during marking

Errors

1: Too many parameters

5: Not allowed during marking

8: Parameter out of range

17: Wrong parameter type

Table 117: JPM

JWT [<Time>]

 

Get/Set parameters of JobIO Wait Time

ok  USC-2

ok  USC-3

 

Description

The command is used to get or set the wait time before the inputs for JobIOSelectMode are read. The default value is 2.5 ms, the resolution is 250 us. The command is followed by the time in ms.

<Time>

[optional]

Value: <float>

Function

empty

Get the wait time.

WaitTime

[0; 1000]

Set the wait time in multiples of 250 us.

Example

Command

Return

Note

JWT

0: 0

Get the job wait time. Default is 0ms.

JWT 10

0:

Set the wait time to 10 ms.

JWT 1234

8:

Parameter out of range.

Notes

-

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: not allowed during marking

Errors

1: Too many parameters

5: Set not allowed during marking

8: Parameter out of range

17: Wrong parameter type

Table 118: JWT

LDG

 

Load global settings

ok  USC-2

ok  USC-3

 

Description

Loads the global settings from the EPCS and activates them.

Example

Command

Return

Note

JWT

0: 13

Get the wait time currently active (13ms)

JWT 9

0:

Set the wait time to 9ms.

LDG

0:

Load gloabls without saving the new JWT.

JWT

0: 13

Get the wait time currently active.

Notes

-

Save

N/A

Restriction

Not allowed during marking

Errors

1: Too many parameters

8: Parameter out of range

17: Wrong parameter type

Table 119: LDG

LOG <Text>

 

Log text in trail file

ok  USC-2

ok  USC-3

 

Description

A log text can be written in the log file. The text will appear in the log as "USER: text".

<Text>

Value: <flag>

Function

empty

Not available. This parameter is mandatory.

<Text>

Give the desired text which should be written in the log file.

Example

Command

Return

Note

LOG

2:

Too few parameters. Text is necessary.

LOG "my text"

0:

Write "my text" in the log file.

Notes

USC-2: The Log file is found here <scaps>/intermed/sc_flash_trail

USC-3: The log file itself can be activated with FCILOG.

Save

N/A

Restriction

None

Errors

1: Too many parameters

2: Too few parameters

8: Parameter out of range

Table 120: LOG

LOG_DOMAIN [<Domain>] [<Active>]

 

Get/Set specific log information

notavailable  USC-2

ok  USC-3

 

Description

For the USC-3 card, logging of several different processes are written in the main log file (see LOG_LEVEL). Depending on the selected log level, information on USB, bitmap or G-Code for the log can be activated or deactivated using LOG_DOMAIN.

<Domain>

[optional]

Value: <flag>

Function

empty

Get the current domain of the log.

USB

Select USB-concerning information.

BITMAP

Select bitmap-concerning information.

GCODE

Select G-Code (CNC) concerning information.

<Active>

[optional]

empty

Get the current state of the log of parameter <Domain>.

0

Disable the log of parameter <Domain>.

1

Enable the log of parameter <Domain>.

Example

Command

Return

Note

LOG_DOMAIN

0:BITMAP

The current log domain is bitmap.

LOG_DOMAIN BITMAP

0:1

The current log domain bitmap is active.

Notes

The parameter <Domain> is case sensitive.

Save

Changes cannot be saved.

The default after rebooting is BITMAP.

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

2: Too few parameters

8: Parameter out of range

Table 121: LOG_DOMAIN

LOG_LEVEL [<Level>]

 

Get/Set different log level text in trail file

notavailable  USC-2

ok  USC-3

 

Description

For the USC-3 card, different level for the main log are available and can be set and get. Depending on the log level, more or less information will be logged. The next higher log level always contains all information of the lower levels. The log file itself can be retrieved using the USC Server (Save Trail) or by accessing the card directly over FTP.

<Level>

[optional]

Value: <flag>

Function

empty

Get the current level of the log.

FATAL

1st (= lowest) log level only containing information on fatal problems.

ERROR

2nd log level containing information on errors and fatal problems.

WARN

3rd log level containing information on warnings, errors and fatal problems.

INFO

4th log level containing general information as well as information on warnings, errors and fatal problems.

DEBUG

5th log level containing a lot of information on processes as well as general information, warnings, errors and fatal problems.

DEBUG_VERBOSE

6th (= highest) log level containing all currently available information.

Example

Command

Return

Note

LOG_LEVEL

0:DEBUG

The current log level is debug.

LOG_LEVEL INFO

0:

Set the log level to info.

Notes

The parameter <Level> is case-sensitive.

Save

Changes cannot be saved.

The default after rebooting is DEBUG.

Restriction

Command is not available for USC-2.

Errors

2: Too few parameters

8: Parameter out of range

Table 122: LOG_LEVEL

MOVEABS <Jumpspeed> <Jumpdelay> <XPos> <YPos> [<ZPos>]

 

Move the scanner to an absolute position with defined jump speed and jump delay

ok  USC-2

ok  USC-3

 

Description

Send the scanner to the position (x, y, z). Jump speed and delay of the scanner are to be specified with this command as well.

<Jumpspeed>

 

Value: <double>

Function

empty

Without any parameters: not available. This parameter is obligatory.

Jumpspeed
[0.001, 1400]

Set the jump speed for the move of the scanner in [bit/10us].

<Jumpdelay>

 

Value: <int>

Function

empty

Without any parameters: not available. This parameter is obligatory.

Jumpdelay
[10, 10000000]

Set the jump delay for the move of the scanner in [us].

<XPos>

 

Value: <int>

Function

empty

Without any parameters: not available. This parameter is obligatory.

XPos

[-32768, 32767]

Set the x value of the target position in [bit].

<YPos>

 

Value: <int>

Function

empty

Without any parameters: not available. This parameter is obligatory.

YPos

[-32768, 32767]

Set the y value of the target position in [bit].

<ZPos>

[optional]

Value: <>

Function

empty

Without this parameter, 0 is sent as z position.

ZPos

[-32768, 32767]

Set the z value of the target position in [bit]. This parameter is optional.

Example

Command

Return

Note

MOVEABS 200 10 0 0

0:

Move the scanner to position (x|y)=(0|0) with 100 bit/10us and a delay of 10us.

MOVEABS

2:

Too few parameters.

Notes

This command has no effect on the laser. It is a jump command for the scanner.

The position <XPos>, <YPos>, <ZPos> goes through the correction file and the flash matrix.

Save

N/A

Restriction

Set: 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 123: MOVEABS

 

SVG [<Par1>]

 

Save settings

ok  USC-2

ok  USC-3

 

Description

Saves settings to the EPCS, so that they are available after re-boot.

<Par1>

[optional]

Value: <int>

Function

empty

Save the settings which allow saving via SVG to the EPCS.

1

Saves the settings only for JobIOInt mode.

Example

Command

Return

Note

JWT 13

0:

Set the job wait time to 13ms.

SVG

0:

Save all settings (e.g. the value of the job wait time) to the EPCS

Notes

SVG always saves all SVG-relevant changes which have been made prior to the SVG command. These commands are:
FM, FLAGS, GSN, HP, JNI, JPM, JSF, JWT, MRS, RT, SBR, SC, SI, SLR, SYNC, TRB, TSD

Save

N/A

Restriction

Not allowed during marking

Not allowed if any JobIOSelect bit is set

Errors

1: Too many parameters

8: Parameter out of range

17: Wrong parameter type

Table 124: SVG