For information on the latest version, please have a look at GL013301.
MOVE_MOVESINE
This structure defines the parameters for sinusoidal motion of a single axis. It is used to generate smooth oscillatory motion along one direction (X, Y, or Z) in either the base or tool coordinate frame.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
0~2 |
Target axis |
1 |
|
|
0~1 |
Reference coordinate |
2 |
|
|
Acceleration time (sec) |
|
6 |
|
|
Motion amplitude (mm) |
|
10 |
|
|
Oscillation frequency (Hz) |
|
14 |
|
|
Number of sine repetitions |
|
18 |
|
|
0~1 |
Motion synchronization flag |
Total size: 19 bytes
Defined in: DRFS.h
typedef struct _MOVE_MOVESINE
{
/* X:0, Y:1, Z:2 */
unsigned char _iTargetAxs;
/* Base:0, Tool:1 */
unsigned char _iTargetRef;
/* Acceleration time */
float _fTargetAcc;
/* Sinusoidal amplitude (mm) */
float _fAmplitude;
/* Sinusoidal frequency (Hz) */
float _fFrequency;
/* Repeat count */
unsigned int _iRepeatCount;
/* 0: Sync, 1: Async */
unsigned char _iTargetAsyn;
} MOVE_MOVESINE, *LPMOVE_MOVESINE;
Note
The MOVE_MOVESINE command creates an oscillatory trajectory along a single axis.
Use the
_iTargetRefflag to define whether the motion occurs in the Base or Tool frame.When
_iTargetAsyn = 1, the motion runs asynchronously from other axes.