Difference between revisions of "MC-Basic:element.STARTTYPE"

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:element.STARTTYPE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 16: Line 17:
 
This property is used inside a motion command to override the permanent value.
 
This property is used inside a motion command to override the permanent value.
  
'''1 - IMMEDIATE''':  The motion command is executed immediately from the system current position does not wait for the current motion command to complete. The current move is cancelled and any buffered move is delayed until the IMMEDIATE command is executed.
+
'''1 - IMMEDIATE''':  The motion command is executed immediately from the current position. The system does not wait for the current motion command to complete. The current move is cancelled and any buffered move is delayed until the IMMEDIATE command is executed.
  
 
'''2 - INPOSITION''':  The motion command is executed when the ISSETTLED flag is set. This means the system accomplished its previous motion and reached the required position.
 
'''2 - INPOSITION''':  The motion command is executed when the ISSETTLED flag is set. This means the system accomplished its previous motion and reached the required position.
Line 62: Line 63:
 
* [[MC-Basic:ATTACH|ATTACH]]
 
* [[MC-Basic:ATTACH|ATTACH]]
 
* [[MC-Basic:SYNCSTART|SYNCSTART]]
 
* [[MC-Basic:SYNCSTART|SYNCSTART]]
 +
* [[MC-Basic:SYNCALL|SYNCALL]]
 
* [[MC-Basic:element.ISMOVING|ISMOVING]]
 
* [[MC-Basic:element.ISMOVING|ISMOVING]]
 
* [[MC-Basic:element.ISSETTLED|ISSETTLED]]
 
* [[MC-Basic:element.ISSETTLED|ISSETTLED]]

Latest revision as of 06:29, 24 March 2022

Language: English  • 中文(简体)‎

This property determines the point in time at which the next motion command begins. It is relevant when a motion command is issued while a previous motion command is still being executed. The INPOSITION option is the most stringent condition for motion completion.

This property is used inside a motion command to override the permanent value.

1 - IMMEDIATE:  The motion command is executed immediately from the current position. The system does not wait for the current motion command to complete. The current move is cancelled and any buffered move is delayed until the IMMEDIATE command is executed.

2 - INPOSITION:  The motion command is executed when the ISSETTLED flag is set. This means the system accomplished its previous motion and reached the required position.

3 - GENERATORCOMPLETED:  The motion command executes when the profiler has completed the generation of the last motion command reference.

4 - SYNC: The start of the motion is synchronized by the SYNCSTART command.

5 - SUPERIMMEDIATE: Similar to IMMEDIATE, but the computation of the command is done in realtime rather than in the background.


DANGER.svgDANGER
Use IMMEDIATE and SUPERIMMEDIATE on single axis motion, usage in groups/robots can lead to undesired effects (jumps).

The INPOSITION option is the most stringent condition for motion completion. This property is used inside a motion command to override the permanent value

Syntax

<element>.StartType = <expression>

?<element>.StartType

Availability

All versions

Type

Long

Range

1 to 5

Default

3

Scope

Configuration, Task or Terminal

Limitations

This property cannot be used within a motion command. To set the value within a task, the element must be attached to that task (using the ATTACH command).

Examples

Axis
A1.Strattype - InPosition
Move A1 100 StratType = Immed

Group
G1.StartType = InPosition
Move G1 {100, 200} StartType = Immed

See Also