Loading...
Searching...
No Matches
realvirtual.LogicStep_DriveTo Class Reference
Logic step that moves a drive to a specified target position and waits for completion. More...
Inheritance diagram for realvirtual.LogicStep_DriveTo:
 
  
| Public Member Functions | |
| void | FixedUpdate () | 
|  Public Member Functions inherited from realvirtual.LogicStep | |
| void | StartStep () | 
| Starts the execution of this logic step. | |
| Public Attributes | |
| Drive | drive | 
| The drive component to control. | |
| float | Destination | 
| Target position in millimeters for the drive movement. | |
| PLCOutputFloat | DestinationFromPLCOutput | 
| Optional signal to read the destination position from. | |
| bool | Relative | 
| If true, the destination is relative to current position. | |
| bool | LiveEdit | 
| Enables live preview of the target position in editor. | |
|  Public Attributes inherited from realvirtual.LogicStep | |
| string | Name | 
| Name identifier for this logic step, used for jumps and debugging. | |
| float | State | 
| Current execution state as percentage (0-100) | |
| bool | StepActive | 
| True when this step is currently executing. | |
| bool | IsWaiting | 
| True when this step is waiting for a condition. | |
| bool | IsContainer | 
| True if this step is a container for other steps. | |
| Protected Member Functions | |
| override void | OnStarted () | 
|  Protected Member Functions inherited from realvirtual.LogicStep | |
| void | OnStarted () | 
| virtual void | OnStartInit () | 
| void | NextStep () | 
| bool | NonBlocking () | 
| void | NextStep (string name) | 
| void | Start () | 
| Additional Inherited Members | |
|  Properties inherited from realvirtual.LogicStep | |
| bool | IsShowingRuntimeInfo  [get] | 
Detailed Description
Logic step that moves a drive to a specified target position and waits for completion.
This step can perform absolute or relative movements and optionally read the target position from a signal. The step automatically proceeds to the next step when the drive reaches its destination.
Member Data Documentation
◆ Destination
| float realvirtual.LogicStep_DriveTo.Destination | 
Target position in millimeters for the drive movement.
◆ DestinationFromPLCOutput
| PLCOutputFloat realvirtual.LogicStep_DriveTo.DestinationFromPLCOutput | 
Optional signal to read the destination position from.
◆ drive
| Drive realvirtual.LogicStep_DriveTo.drive | 
The drive component to control.
◆ LiveEdit
| bool realvirtual.LogicStep_DriveTo.LiveEdit | 
Enables live preview of the target position in editor.
◆ Relative
| bool realvirtual.LogicStep_DriveTo.Relative | 
If true, the destination is relative to current position.