Skip to main content
Skip table of contents

app_weld_adj_welding_cond_analog

Features

This function adjusts welding and weaving conditions during analog welding. It is typically used immediately before calling motion commands (movel(), movec(), moveb(), movesx()) when you want to change welding conditions for each section in a continuous path.

When you input adjustment parameters with this command, the corresponding welding and weaving conditions are adjusted. In this case, you cannot adjust the welding/weaving conditions in real-time in the welding monitoring information window of the TP (Teaching Pendant).

To return to the original conditions (welding/weaving conditions set by app_weld_set_weld_cond_analog() and app_weld_weave_cond_trapezoidal(), etc.) from the adjusted conditions, execute with flag_reset=1. When flag_reset=1 is set, it returns to the final condition adjusted in real-time from the TP (the ratio of the weaving width (wv_width_ratio), which cannot be adjusted in real-time, is changed to 1), and you can adjust the welding conditions in real-time from the TP.

Arguments

Argument Name

Data Type

Default Value

Description

bRealTime

unsigned char

0: present <br> 1: realtime

bResetFlag

unsigned char

-

0: Apply adjusted value 1: Apply reference target (app_weld_set_weld_cond_analog()) value

fTargetVol

float

-

Target voltage (V)

fFeedingVel

float

-

Feeding speed (m/min)

fTargetVel

float

-

Target speed (mm/sec) Note that the input unit of the teaching pendant is different (Cm/min)

fOffsetY

float

-

Weave coordinate system, y-direction offset (mm)

fOffsetZ

float

-

Weave coordinate system, z-direction offset (mm)

fWidthRate

float

-

Ratio of changed weaving width to set weaving width (0~2)

Return

Value

Description

0

Error

1

Success

Example

CODE
// app_weld_set_weld_cond_analog Call
unsigned char bRealTime = 0;
unsigned char bResetFlag = 0;
float fTargetVol = 0;
float fFeedingVel = 0;
float fTargetVel = 0;
float fOffsetY = 0;
float fOffsetZ = 0;
float fWidthRate = 0;
bool result = Drfl.app_weld_adj_welding_cond_analog(bRealTime, bResetFlag,  fTargetVol,  fFeedingVel,  fTargetVel,  fOffsetY,  fOffsetZ,  fWidthRate);
JavaScript errors detected

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

If this problem persists, please contact our support.