Difference between revisions of "MC-Basic:SineWave"

From SoftMC-Wiki
Jump to: navigation, search
(published)
Line 5: Line 5:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
FW 4.7.14+x
+
AMCS FW 4.9.6
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Motion command which performs endless sine-wave motion on the given axis or group.
+
Performs endless sine-wave motion on the given axis or group.
 +
The [[Axystems:MC-Basic:STOP|Stop]] command is used to end the motion.
  
;''<amplitude>''
+
The ''<amplitude>'' is peak-to-peak amplitude between the current position and the given position.
: Peak-to-Peak amplitude between the current position and the given position.  
+
 
 +
The desired frequency is set by the [[#See_Also|SineWaveFreq]] property.
 +
The actually used frequency is limited by the maximal velocity, acceleration and jerk of each axis.  
  
* Starts endless sine-wave motion. The [[Axystems:MC-Basic:STOP|Stop]] command is used to end the motion.
+
Group motion is performed on axes level, e.g. no coupling is applied.
* Group motion is performed on axes level, e.g. no coupling is applied.
 
* Frequency is set by the SineWaveFreq property. The maximal frequency is limited by vmax and amax.
 
  
 
|TYPE=
 
|TYPE=
Line 36: Line 37:
 
|EXAMPLE=
 
|EXAMPLE=
 
<pre>
 
<pre>
SineWave ax2 300 SineWaveFreq=4
+
SineWave ax2 300 SineWaveFreq = 0.4
SineWave grp2 {100, 75} SineWaveFreq={3, 5}
+
...
 +
Stop ax2
 +
</pre>
 +
<pre>
 +
SineWave grp2 {100, 75} SineWaveFreq = {0.3, 0.5}
 +
...
 +
Stop grp2
 
</pre>
 
</pre>
  

Revision as of 12:33, 22 December 2011

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

AMCS FW 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