Skip to main content
Skip table of contents

app_weld_set_weld_cond_analog

Features

This function sets the analog welding conditions. These conditions are only valid within the welding section defined from weld activation (app_weld_enable_analog()) to deactivation (app_weld_disable_analog()), and executing it outside this section will result in an error.

The welding process parameters (weld_proc_param) within the welding conditions define detailed settings such as gas/condition maintenance time at the start/end of welding.

Only one welding condition is allowed within a single welding section. During welding, you can adjust these conditions using the app_weld_adj_welding_cond_analog() command, or adjust the voltage/feeding speed/speed (and weave offset) from the welding condition adjustment popup on the teaching pendant. However, adjusting welding conditions from the teaching pendant is only possible when the welding condition adjustment state is RESET (that is, when using the welding condition settings specified by app_weld_set_weld_cond_analog()).

The welding current output from the welder varies depending on factors like wire feeding speed, base material, welding wire material/type/extension, and welding voltage. You need to monitor this by connecting a welder or a separately mounted current sensor.

Arguments

Argument Name

Data Type

Default Value

Description

pConfigAnalogWeldingSetting

CONFIG_ANALOG_WELDING_SETTING

-

Analog welding setting structure

Return

Value

Description

0

Error

1

Success

Example

CODE
// CONFIG_ANALOG_WELDING_SETTING Struct Initialized
CONFIG_ANALOG_WELDING_SETTING config;
config._iVirtualWelding = 0; // Welding mode
config._fTargetVoltage = 200.0; // Target Voltage (V)
config._fTargetCurrent = 150.0; // Target Current (A)
config._fTargetVel = 10.0; // Target Speed (mm/sec)
config._fMinVel = 10.0; // Minimum Speed (mm/sec)
config._fMaxVel = 100.0; // Maximum Speed (mm/sec)
config._tDetail._fRs = 0.5; // ratio start
config._tDetail._fTss = 0.3; // Shielding Gas Release Time
config._tDetail._fTas = 2.0; // Start Current time
config._tDetail._fTwc = 1.0; // Welding condition changed time
config._tDetail._fRf = 0.7; // ratio finish
config._tDetail._fTaf = 0.4; // Terminated Current Time
config._tDetail._fTsf = 0.7; // Terminated shieldimg gas release time
config._tDetail._fStartVoltage = 0.6; // Start Voltage Condition
config._tDetail._fEndVoltage = 1.5; // Terminated Voltage Condition
config._fTargetFeedingSpeed = 0.0; // Target Feeding Speed

// app_weld_set_weld_cond_analog Call
bool result = app_weld_set_weld_cond_analog(config);
JavaScript errors detected

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

If this problem persists, please contact our support.