SMC_Interpolator2Dir_SlowTask (FB)

 

FUNCTION_BLOCK SMC_Interpolator2Dir_SlowTask

This FB is used for generating the reversed-path. It has been split off from SMC_Interpolator2Dir in order to be called from a task with lower priority.

InOut:

Scope

Name

Type

Initial

Comment

Inout

ipo2d

SMC_Interpolator2Dir

SMC_Interpolator2Dir-instance.

Input

dAngleTol

LREAL

0

Angle tolerance for backward path. Typically the same as angle tolerance of SMC_CheckVelocities.

nSizeOutQueue

UDINT

This variable contains the size of the data buffer the backward path shall be stored in. This buffer must be large enough to hold the complete path.

pbyBufferOutQueue

POINTER TO BYTE

Pointer to the first byte of the memory area that is allocated for the backward path.