MC-Basic:SineWave

From SoftMC-Wiki
Revision as of 12:20, 13 September 2017 by Itay (talk | contribs) (AXY: new links)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Performs endless sine-wave motion on the given axis or group. The Stop command is used to end the motion.

The <amplitude> is peak-to-peak amplitude between the current position and the given position.

The desired frequency is set by the SineWaveFreq property. The actually used frequency is limited by the maximal velocity, acceleration and jerk of each axis.

Group motion is performed on axes level, e.g. no coupling is applied.

Syntax

SineWave <axis>|<group> <amplitude>

Availability

Since Version 4.9.6

Type

<amplitude>
double for axes
vector of double for groups

Scope

Task or Terminal

Limitations

  • No joints are allowed, only axes and groups.

Examples

SineWave ax2 300 SineWaveFreq = 0.4
...
Stop ax2
SineWave grp2 {100, 75} SineWaveFreq = {0.3, 0.5}
...
Stop grp2

See Also