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) |
|
4 |
|
|
mm |
Weaving offset along Y |
8 |
|
|
mm |
Weaving offset along Z |
12 |
|
|
Weaving gradient (tilt) |
|
16 |
|
|
Pattern-specific parameters (see below) |
Total size: 64 bytes
Detail union
Trapezoid (
_tTrap)BYTE#
Field Name
Data Type
Value
Remarks
16
_tDetail._tTrap._tPoint1Corner point #1 (X,Y)
24
_tDetail._tTrap._tPoint2Corner point #2 (X,Y)
32
_tDetail._tTrap._fTMove1floats
Move time #1
36
_tDetail._tTrap._fTMove2floats
Move time #2
40
_tDetail._tTrap._fTAcc1floats
Acc time #1
44
_tDetail._tTrap._fTAcc2floats
Acc time #2
48
_tDetail._tTrap._fTDwell1floats
Dwell time #1
52
_tDetail._tTrap._fTDwell2floats
Dwell time #2
Circular (
_tCirc)BYTE#
Field Name
Data Type
Value
Remarks
16
_tDetail._tCirc._fWidthXfloatmm
X width (amplitude)
20
_tDetail._tCirc._fWidthYfloatmm
Y width (amplitude)
24
_tDetail._tCirc._fPeriodXfloats
X period
28
_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;