Difference between revisions of "MC-Basic:DELAY"

From SoftMC-Wiki
Jump to: navigation, search
m
m
Line 34: Line 34:
  
 
|EXAMPLE=
 
|EXAMPLE=
<pre>Attach x_axis<br>
+
<pre>Attach x_axis
Delay x_axis 100                        Delay for 100 msec
+
Delay x_axis 100       'Delay for 100 msec
 
</pre>
 
</pre>
  

Revision as of 11:43, 23 April 2014

This command causes the motion to be delayed on the specified axis, for the specified period of time given in milliseconds.

Syntax

Delay <motionelement> <delaytime>

Availability

All versions

Type

<delaytime>: Long (in milliseconds)

Range

<motionelement>: Name of an existing axis or group
<delaytime>: 2 to MaxLong

Scope

Task or Terminal

Limitations

Attachment is required. Delay cannot be used with STARTTYPE immediate or superimmediate.

Time value will be rounded up to nearest integer multiple of sercos cycle time

Examples

Attach x_axis
Delay x_axis 100        'Delay for 100 msec

See Also