2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

arc_sensing_set(mode,type,target_current,gain,bias)

Features

This is the command to set the parameter values needed to use the Arc sensing function.

When used with the arc_sensing_enable command, a delay of at least 0.5 seconds is required between the two DRL

Parameter

Parameter Name

Data Type

Default Value

Description

mode

unsigned char

1

value: 0 (clear) / 1 (set)

type

unsigned char

0

value: 0 (V-Groove[v]) / 1 (Inverted V-Groove[∧])

target_current

double

-

It does not operate if the value is not entered.

value: 100 ~ 500

gain

double[2]

[10, 10]

value: 0 ~ 100

bias

double[2]

[0, 0]

value: -50 ~ 50

Return

Value

Description

0

Setting success

Minus value

Setting fail

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data error

DR_Error (DR_ERROR_VALUE)

Invalid parameter value

DR_Error (DR_ERROR_RUNTIME)

C Extension module error

DR_Error (DR_ERROR_STOP)

Program terminated forcibly

Example

Python
arc_sensing_enable(daq_channedl = 1, probe_ratio = 1, max_correction =[50,50])

wait(0.5)

arc_sensing_set(mode = 1,type = 0,target_current = 100,gain = [50,50],bias = [0,0])