Skip to main content
Skip table of contents

app_weld_enable_analog(ch_v_out=[1,0], spec_v_out=[0,0,0,0], ch_f_out=[2,0], spec_f_out=[0,0,0,0], ch_v_in=[1,0], spec_v_in=[0,0,0,0], ch_c_in=[2,0], spec_c_in=[0,0,0,0],ch_arc_on=1,ch_gas_on=2,ch_inching_fwd=3,ch_inching_bwd=4, ...)

Features

This enables the analog welding function. It enters the connection and environment information of the available welding machine’s analog I/O and digital signal output as input factors.

The target welding machine must support an analog interface so it can receive target current and target voltage inputs from the analog output channel of the connected controller. Set the channel number (1 or 2) and output mode (current/voltage) of the physically connected analog channel in ch_v_out and ch_f_out. The analog input/output range of the controller is 0-10 V for voltage mode and 4-20 mA for current mode. Make sure to set the mode and output range of each channel to be compatible with the input specification and range of the welding machine. For example, if the target input range of the welding machine is 0-10 V, it is ideal to set the output channel of the controller as voltage mode (0-10 V output range). Another example would be if the input channel specification of the welding machine is 2-15 V. In this case, set the analog channel current mode (4-20 mA output range) on the corresponding controller and connect a 75 ohm resistance to output a 3-15 V voltage. (In this case, the 2-3 V range, which cannot be set using the controller, cannot set a target.) It is recommended that the welding machine be set with as large an input range as possible.

Set the maximum and minimum range of the controller analog output in spec_v_out and spec_f_out.


First item of spec_v_out/spec_f_out = WO_min

Second item of spec_v_out/spec_f_out = CO_min

Third item of spec_v_out/spec_f_out = WO_max

Fourth item of spec_v_out/spec_f_out = CO_max

Where, WO_min and WO_max are the minimum and maximum output of the welder, and CO_min and CO_max are the controller analog output corresponding to WO_min and WO_max.


Note

The welding current varies according to the wire feeding speed, basic material, material/type/stick-out of the welding wire, and welding voltage, and this must be monitored with the welding machine or a separate current sensor.


In order to monitor the voltage/current measurements during welding, it is necessary to connect an analog output welding machine or a separate sensor. Set the analog input channel number and input mode of the corresponding controller in ch_v_in and ch_c_in.

Set the maximum and minimum input range of sensor measured in spec_v_in and spec_f_in.


First item of spec_v_in/spec_c_in = SO_min

Second item of spec_v_in/spec_c_in = CI_min

Third item of spec_v_in/spec_c_in = SO_max

Fourth item of spec_v_in/spec_c_in = CI_max


Where, SO_min and SO_max are the minimum and maximum sensor, and CI_min and CI_max are the controller input corresponding to SO_min and SO_max.

Set the channel numbers for ARC-ON/OFF (gas output signal - start/end), GAS-ON/OFF (gas output signal - start/end), INCHING-Forward-ON/OFF (forward wire feed signal - start/end), INCHING-Backward-ON/OFF (backward wire feed signal - start/end), and BlowOut-ON/OFF (torch cleaning gas output signal - start/end), which connect to the welding machine using digital contact method. In the case of signal outputs other than the ARC-ON/OFF signal, enter them selectively, depending on whether the welding machine supports the corresponding function.

Parameter

Parameter Name

Data Type

Default Value

Description

ch_v_out

list(int[2])

1

Target Voltage Analog Output Channel (1-2)

If no designation is made: 0

0

0: Current Mode (4~20 mA)

1: Voltage Mode (0~10 V)

spec_v_out

list(float[4])

0

Welder Output Voltage (V) Minimum (a)

0

Controller Output corresponding to (a)

0

Welder Output Voltage (V) Maximum (b)

0

Controller Output corresponding to (b)

ch_f_out

list(int[2])

2

Feeding Speed Command Analog Output Channel (1-2)

If no designation is made: 0

0

0: Current Mode (4~20 mA)

1: Voltage Mode (0~10 V)

spec_f_out

list(float[4])

0

Feeding Speed (m/min) Minimum (c)

0

Controller Output corresponding to (c)

0

Feeding Speed (m/min) Maximum (d)

0

Controller Output corresponding to (d)

ch_v_in

list(int[2])

1

Voltage Sensor Analog Input Channel (1-2)

If no sensor is present: 0

0

0: Current Mode (4~20 mA)

1: Voltage Mode (0~10 V)

spec_v_in

list(float[4])

0

Voltage Sensor Input (V) Minimum (e)

0

Controller Input corresponding to (e)

0

Voltage Sensor Input (V) Maximum (f)

0

Controller Input corresponding to (f)

ch_c_in

list(int[2])

2

Current Sensor Analog Input Channel (1-2)

If no sensor is present: 0

0

0: Current Mode (4~20 mA)

1: Voltage Mode (0~10 V)

spec_c_in

list(float[4])

0

Current Sensor Input (A) Minimum (g)

0

Controller Input corresponding to (g)

0

Current Sensor Input (A) Maximum (h)

0

Controller Input corresponding to (h)

ch_arc_on

int

1

Welding Output Digital Output Channel (1-16)

ch_gas_on

int

2

Protective Gas Digital Output Channel (1~16)

If no connection is present: 0

ch_inching_fwd

int

3

Welding Wire Forward Stick-Out Digital Output Channel (1-16)

If no connection is present: 0

ch_inching_bwd

int

4

Welding Wire Reverse Stick-Out Digital Output Channel (1-16)

If no connection is present: 0

ch_blow_out

int

5

Torch Cleaning Gas Output Digital Channel (1~16)

If no connection is present: 0

Return

ValueDescription

0

Enable Welding Success

Negative Value

Enable Welding Failure

Exception

ExceptionDescription

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

PY
app_weld_enable_analog(ch_v_out=[1,1], spec_v_out=[0,0,300,10], ch_f_out =[2,1],

spec_f_out =[0,0,40,10], ch_v_in =[1,1], spec_v_in =[0,0,300,10], ch_c_in =[2,1],

spec_c_in=[0,0,40,10], ch_arc_on=1, ch_gas_on=2, ch_inching_fwd=3, ch_inching_bwd=4, ch_blow_out=5)

 

# Voltage Output (Channel 1, Voltage Mode), Welder Voltage Specification (Min/Max)=(0-300)

# Feeding Speed Output (Channel 2, Voltage Mode), Feeding Speed Specification (Min/Max)=(0-40)

# Voltage Sensing (Channel 1, Voltage Mode), Sensor Measurement Specification (Min/Max)=(0-300)

# Current Sensing (Channel 2, Voltage Mode), Sensor Specification (Min/Max)=(0-40)

# Start Welding Signal (Channel 1), Gas Output Signal (Channel 2), Wire Forward Stick-Out Signal (Channel 3), 

# Wire Reverse Stick-Out Signal (Channel 4), Torch Cleaning Gas Output Signal (Channel 5)

app_weld_disable_analog()

Related commands

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.