ADJUST_WELDING_SETTING
This structure defines the adjustable parameters for welding operation, allowing both preset and real-time modification of welding variables such as voltage, current, velocity, and weaving offsets. It is used to fine-tune welding performance dynamically during or before operation.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
0 or 1 |
Operation mode flag |
1 |
|
|
0 or 1 |
Reset control flag |
2 |
|
|
Target voltage value (V) |
|
6 |
|
|
Target current value (A) |
|
10 |
|
|
Target welding velocity (mm/s) |
|
14 |
|
|
Weaving offset along Y-axis (mm) |
|
18 |
|
|
Weaving offset along Z-axis (mm) |
|
22 |
|
|
Weaving width scaling rate (percentage multiplier) |
Total size: 26 bytes
Defined in: DRFS.h
typedef struct _ADJUST_WELDING_SETTING
{
/* Mode selection: preset(0) or real-time(1) */
unsigned char _bRealTime;
/* Reset flag: keep current(0) or apply new setting(1) */
unsigned char _bResetFlag;
/* Target voltage (V) */
float _fTargetVol;
/* Target current (A) */
float _fTargetCur;
/* Target welding velocity (mm/s) */
float _fTargetVel;
/* Weaving offset along Y-axis (mm) */
float _fOffsetY;
/* Weaving offset along Z-axis (mm) */
float _fOffsetZ;
/* Weaving width scaling factor (ratio) */
float _fWidthRate;
} ADJUST_WELDING_SETTING, *LPADJUST_WELDING_SETTING;
Note
_bRealTimeenables on-the-fly welding parameter control, useful for adaptive welding applications._bResetFlagallows either retaining the current welding state or fully reinitializing to new preset values.The combination of voltage, current, and velocity defines the welding heat input, while _fOffsetY/Z and _fWidthRate tune the oscillation path geometry.