Skip to main content
Skip table of contents

app_weld_enable_analog

Features

This function activates the analog welding function. It takes the connection and environment information of the welder, which can be connected via analog input/output and digital signal output, as input parameters.

The target welder must support the analog interface method and be able to receive target current and target voltage commands from the analog output channels of the connected controller.

Analog Output Configuration:

  • Set the channel number (1 or 2) and output mode (current/voltage) of the physically connected analog channel to ch_v_out and ch_f_out, respectively.

  • The analog input/output range of the controller is 0~10V for voltage mode and 4~20mA for current mode.

  • Ensure that the setting mode and output range for each channel are compatible with the input specifications and range of the welder.

    • For example, if the target value input range of the welder is 0~10V, it is appropriate to set the output channel of the controller to voltage mode (0~10V output range).

    • As another example, if the input channel specification of the welder is 2~15V, set the corresponding analog channel of the controller to current mode (4~20mA output range) and connect a 75 ohm resistor to the output line to output a voltage in the range of 3~15V. In this case, commands cannot be given in the range between 2V and 3V, which cannot be set by the controller.

  • It is recommended to configure the settings to include as much of the input range required by the welder as possible.

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

    • spec_v_out/spec_f_out first item = WO_min

    • spec_v_out/spec_f_out second item = CO_min

    • spec_v_out/spec_f_out third item = WO_max

    • spec_v_out/spec_f_out fourth item = CO_max

    where WO_min and WO_max are the minimum and maximum output specifications of the welder, and CO_min and CO_max are the analog output values of the controller corresponding to WO_min and WO_max, respectively.

Welding Current and Monitoring:

  • The welding current output from the welder varies depending on the wire feeding speed, the material of the base material, the material/type/discharge length of the welding wire, the welding voltage, etc., and this must be checked by connecting a welder or a separately mounted current sensor.

  • To check the voltage/current measurement value being welded, an analog output type welder or a separate sensor must be connected. Set the analog input channel number and input mode of the controller corresponding to this to ch_v_in and ch_c_in.

  • Set the maximum and minimum analog input range of the controller and the maximum and minimum measurement range of the sensor in spec_v_in and spec_c_in.

    • spec_v_in/spec_c_in first item = SO_min

    • spec_v_in/spec_c_in second item = CI_min

    • spec_v_in/spec_c_in third item = SO_max

    • spec_v_in/spec_c_in fourth item = CI_max

    where SO_min and SO_max are the minimum and maximum measurement values of the sensor, respectively, and CI_min and CI_max are the input values of the controller corresponding to SO_min and SO_max, respectively.

Digital Signal Configuration:

  • Set the channel numbers for ARC-ON/OFF (welding output signal-start/end), GAS-ON/OFF (gas output signal-start/end), INCHING-Forward-ON/OFF (forward wire feeding signal-start/end), INCHING-Backward-ON/OFF (reverse wire feeding signal-start/end), and BlowOut-ON/OFF (torch cleaning gas output signal-start/end) connected to the welder in a digital contact method.

  • Selectively enter signal outputs other than the ARC-ON/OFF signal according to whether the welder supports the corresponding function.

Arguments

Argument Name

Data Type

Default Value

Description

pConfiganalogweldinginterface

CONFIG_ANALOG_WELDING_INTERFACE

-

Analog welding interface structure

Return

Value

Description

0

Error

1

Success

Example

CODE
// Define CONFIG_ANALOG_WELDING_INTERFACE 
CONFIG_ANALOG_WELDING_INTERFACE config;
config._bMode = 1; // Start mode

// Target Voltage Configuration
config._tTargetVoltage._iChannel = 1;
config._tTargetVoltage._iChannelType = 1; // Voltage
config._tTargetVoltage._iRealMinOut = 0.0;
config._tTargetVoltage._iMinOut = 0.0;
config._tTargetVoltage._iRealMaxOut = 200.0;
config._tTargetVoltage._iMaxOut = 200.0;

// Feeding Speed Configuration
config._tFeedingSpeed._iChannel = 1;
config._tFeedingSpeed._iChannelType = 0; // Current
config._tFeedingSpeed._iRealMinOut = 0.0;
config._tFeedingSpeed._iMinOut = 0.0;
config._tFeedingSpeed._iRealMaxOut = 150.0;
config._tFeedingSpeed._iMaxOut = 150.0;

// Welding Voltage Configuration
config._tWeldingVoltage._iChannel = 1;
config._tWeldingVoltage._iChannelType = 1; // Voltage
config._tWeldingVoltage._iRealMinOut = 0.0;
config._tWeldingVoltage._iMinOut = 0.0;
config._tWeldingVoltage._iRealMaxOut = 200.0;
config._tWeldingVoltage._iMaxOut = 200.0;

// Welding Current Configuration
config._tWeldingCurrent._iChannel = 1;
config._tWeldingCurrent._iChannelType = 0; // Current
config._tWeldingCurrent._iRealMinOut = 0.0;
config._tWeldingCurrent._iMinOut = 0.0;
config._tWeldingCurrent._iRealMaxOut = 150.0;
config._tWeldingCurrent._iMaxOut = 150.0;

// Other Configuration
config._iArcOnDO = 1;
config._iGasOnDO = 1;
config._iInchPDO = 1;
config._iInchNDO = 1;
config._iBlowOutValue = 1;

// app_weld_enable_analog Call
Drfl.app_weld_enable_analog(config);
JavaScript errors detected

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

If this problem persists, please contact our support.