CONFIG_WEAVING_SETTING
This structure defines the generic weaving configuration for welding. It supports trapezoid-style and circular (Lissajous-like) patterns via a detail union.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
Weaving type selector (e.g., trapezoid vs. circular) |
|
1 |
|
|
mm |
Weaving offset along Y |
5 |
|
|
mm |
Weaving offset along Z |
9 |
|
|
Weaving gradient (tilt) |
|
13 |
|
|
Pattern-specific parameters (see below) |
Total size: 61 bytes
Detail union
Trapezoid (
_tTrap)BYTE#
Field Name
Data Type
Value
Remarks
13
_tDetail._tTrap._tPoint1Corner point #1 (X,Y)
21
_tDetail._tTrap._tPoint2Corner point #2 (X,Y)
29
_tDetail._tTrap._fTMove1floats
Move time #1
33
_tDetail._tTrap._fTMove2floats
Move time #2
37
_tDetail._tTrap._fTAcc1floats
Acc time #1
41
_tDetail._tTrap._fTAcc2floats
Acc time #2
45
_tDetail._tTrap._fTDwell1floats
Dwell time #1
49
_tDetail._tTrap._fTDwell2floats
Dwell time #2
Circular (
_tCirc)BYTE#
Field Name
Data Type
Value
Remarks
13
_tDetail._tCirc._fWidthXfloatmm
X width (amplitude)
17
_tDetail._tCirc._fWidthYfloatmm
Y width (amplitude)
21
_tDetail._tCirc._fPeriodXfloats
X period
25
_tDetail._tCirc._fPeriodYfloats
Y period
Defined in: DRFS.h
typedef struct _CONFIG_WEAVING_SETTING
{
unsigned char _iType;
float _fOffsetY;
float _fOffsetZ;
float _fGradient;
union {
struct {
POINT_2D _tPoint1;
POINT_2D _tPoint2;
float _fTMove1;
float _fTMove2;
float _fTAcc1;
float _fTAcc2;
float _fTDwell1;
float _fTDwell2;
} _tTrap;
struct {
float _fWidthX;
float _fWidthY;
float _fPeriodX;
float _fPeriodY;
} _tCirc;
unsigned char _szBuffer[48];
} _tDetail;
} CONFIG_WEAVING_SETTING, *LPCONFIG_WEAVING_SETTING;