FB_RgPosStartOptimised - General Information

Overview

Type:

Function block

Available as of:

V1.5.3.0

Inherits from:

-

Implements:

-

Versions:

Current version

Task

A positioning movement consists of several phases. This function block calculates the corresponding durations and jerk values of these phases.

Description

A typical motion task is a positioning operation, for example, to change the velocity and acceleration within a specified movement distance.

During this motion some boundary conditions regarding the velocity, acceleration, and jerk must not be violated.

This task can be solved by applying 7 jerk phases. An example is shown in figure below.

The function block FB_RgPosStartOptimised calculates the durations and the jerk values for these phases.

Example of a positioning path with all its phases

G-SE-0068878.1.gif-high.gif

 

 

Usage

oThe usage of this function block (to calculate a positioning operation, with up to seven jerk phases) is explained by a simple project shown in figure below.

o 1. Initialize FB_RgPosStartOptimised with the desired values of the positioning.

o2. Trigger the calculation of the positioning job.

o3. Check for errors via the method GetJobResult (shown here as example code within an ETEST project).

o4. With methods as GetTotalTime some information about the result can be accessed directly.

o5. By FB_RgPosStartOptimised.GetPathDescription you can access the complete path information, which is available via the object oriented object FB_PathForJerkPositioning and its methods.

Example to create and access a positioning path

G-SE-0068879.1.gif-high.gif

 

 

Interface

NOTE: POU is not addressable!

The POU must not be called up.

The function block can be used by calling it up over methods and properties.

Methods

Name

Description

CalculateRequiredMotion

Triggers the calculation of the required motion.

GetAccelerationCharacteristic

Gets the characteristics and orientation of acceleration trapezoids.

GetDeltaT...

Gets the time of a specific positioning phase.

GetJobResult

Gets the feedback from last usage of InitialiseFB and CalculateRequiredMotion.

GetPathDescription

Gets the complete path description as a function block.

GetTotalTime

Gets time for total positioning.

InitialiseFB

Initializes the function block.