FB_TeachingLinearMotionSystem - General Information

Overview

Type:

Function block

Available as of:

V1.8.0.0

Inherits from:

-

Implements:

IF_TeachingLinearMotionSystem

Extends:

FB_TeachingProcedure

This chapter provides information on:

Task

Implements a procedure for the teaching of a linear motion system.

Description

This function block is used to implement a procedure for the teaching of a linear motion system.

Methods

Name

Description

AddSample

Adds a new sample to the active set.

EstimateOrientation

Estimates an orientation based on sampled data.

GetProcedureData

Gets the data set for the procedure.

GetSample

Gets a previously stored sample.

RemoveAllSamples

Removes the last stored samples.

RemoveLastSample

Removes the last stored sample.

SetProcedureData

Sets the data for the procedure.

Properties

Name

Data type

Accessing

Description

etProcedure

ET_TeachingProcedure

Get

Enumerator used to identify the type of procedure implemented by the function block.

udiNumberOfCompleteSets

UDINT

Get

Number of sets for which the samples are acquired.

udiNumberOfSamplesInActiveSet

UDINT

Get

Number of samples acquired for the set with index udiActiveSetIndex.

udiNumberOfSamplesPerSet

UDINT

Get

Configured number of samples for each set. The number of samples is configured by calling the method SetNumberOfSamplesPerSet.

xConfigDone

BOOL

Get

TRUE: The procedure is successfully configured, otherwise FALSE.

xProcedureDataSet

BOOL

Get

TRUE: The data required by the procedure are successfully set, otherwise FALSE.