<< Click to Display Table of Contents > 

Flash Control Interface Manual > DSD

DSD
Previous pageReturn to chapter overviewNext page

The following DSD related FCI commands are only available using the USC-3-DSD firmware (Cur. Sys. ID: 0x0001000#):

Command

Description

DSD ERROR

Get error flag.

DSD INIT

Initialize DSD.

DSD MAP

Set/Get USC output pin mapping of DSD status.

DSD RMSLIMIT

Set/Get RMS threshold.

DSD SLC

Set/Get various SLC settings.

DSD VALUE

Get DSD values.

Table 127: Overview Commands DSD

DSD ERROR

 

Get error flag

notavailable  USC-2

ok  USC-3

 

Description

Get error flag of each axis. Possible error flags are:

0x1: RMS

0x2: Safe mode

0x4: Temperature too high (Temperature over 85 °C)

0x8: Power supply (Positive supply below +12 V or negative supply over -12 V)

0x10: DSD init

Example

Command

Return

Note

DSD ERROR

0: 0 0

No error on X and Y axis

Notes

DSD error can be mapped to USC output pin via DSD MAP.

Reset DSD error via DSD INIT.

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

19: No DSD found

Table 128: DSD ERROR

DSD INIT

 

Initialize DSD

notavailable  USC-2

ok  USC-3

 

Description

Initialize DSD and resets errors.

Example

Command

Return

Note

DSD INIT

0:

 

Notes

This command is required after hardware (USC-3 and DSD-2A) boot to reset the connection error and delay the laser signals due to model prediction.

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

19: No DSD found

Table 129: DSD INIT

DSD MAP <Status> [<Output>]

 

Get/Set USC output pin mapping of DSD status

notavailable  USC-2

ok  USC-3

 

Description

Set/Get USC output pin mapping of DSD status.

<Status>

 

Value: <string>

Function

ERROR

Error flag of both galvos

<Output>

[optional]

Value: <int>

Function

empty

Get current output pin value in 2^(Output Bit -1)

0

Disable USC output pin mapping of DSD status.

[1, 65535]

Set output pin value in 2^(Output Bit -1). Available values for the output bit are [1; 16]. The pin to bit mapping of the outputs can be found in the SAMLight IO chapter.

Example

Command

Return

Note

DSD MAP ERROR 64

0:

Map DSD error status to Digi_Out_0.

DSD MAP ERROR

0: 64

Get output pin for DSD error status.

Notes

Output = 1 cannot be used, it is reserved for marking active.

Save

Changes are saved with SVG.

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

Saved changes are restored with LDG.

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

2: Too few parameters

8: Parameter out of range

Table 130: DSD MAP

DSD RMSLIMIT <Status> [<Value>]

 

Get/Set RMS threshold

notavailable  USC-2

ok  USC-3

 

Description

Set/Get RMS threshold where the RMS status will be set.

<Status>

 

Value: <string>

Function

ERROR

Error threshold

 

 

<Value>

[optional]

Value: <int>

Function

empty

Get RMS threshold.

[0, 65536]

Set RMS threshold.

Example

Command

Return

Note

DSD RMSLIMIT ERROR 50

0:

Set error threshold to 50 bit.

DSD RMSLIMIT ERROR

0: 50

Get error threshold.

Notes

Default value is 65536.

The RMS limits cannot be saved.

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

2: Too few parameters

8: Parameter out of range

17: Wrong parameter type

19: No DSD found

Table 131: DSD RMSLIMIT

DSD SLC <Parameter> [<Value>]

 

Get/Set various SLC settings

notavailable  USC-2

ok  USC-3

Description

Get/Set various Smart Laser Control (SLC) settings. SLC modulates the laser power depending on the real speed of the mirrors to reduce burn in effects.

<Parameter>

Value: <string>

Function

ENABLE

SLC enable state:

0: disable

1: enable

SHIFT

SLC time shift [0, 200] µs. Value is rounded to nearest 10µs.

LOWERLIMIT

Lower limit of the SLC factor [0, 100] %.

<Value>

[optional]

Value: <int>

Function

empty

Get value of <Parameter>.

value

Set value of <Parameter>.

Example

Command

Return

Note

DSD SLC SHIFT 70

0:

Set SLC time shift to 70µs.

DSD SLC SHIFT

0: 70

Get SLC time shift.

Notes

-

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

2: Too few parameters

8: Parameter out of range

17: Wrong parameter type

19: No DSD found

Table 132: DSD SLC

DSD VALUE <Parameter>

 

Get DSD values

notavailable  USC-2

ok  USC-3

Description

Get various current DSD values.

<Parameter>

 

Value: <string>

Function

MAXRMS

Get highest RMS values [bit] of each axis in a 100 us window while laser is on. DSD INIT resets these values.

MOVING

Get moving status of each axis.

SUPPLY

Get positive and negative DSD supply voltage [V].

POS

Get actual position [bit] of each axis.

TARGETPOS

Get target position [bit] of each axis.

TEMP

Get DSD temperature [°C].

TRACKING

Get tracking status of each axis.

VERSION

Get DSD firmware version.

Example

Command

Return

Note

DSD VALUE TEMP

0:55.5

Current DSD temperature is 55.5 °C.

DSD VALUE TRACKING

0:1 1

At the moment both galvos are tracking.

Notes

-

Save

N/A

Restriction

Command is not available for USC-2.

Errors

1: Too many parameters

2: Too few parameters

19: No DSD found

Table 133: DSD VALUE