SMC_CornerDistance (FB)ΒΆ

FUNCTION_BLOCK SMC_CornerDistance

Sets the transition parameters for distance based blending (transition mode MC_TRANSITION_MODE.TMCornerDistance). The outputs can be connected to the inputs TransitionMode and TransitionParameter of the movement function blocks.

InOut:

Scope

Name

Type

Comment

Input

Distance

LREAL

The corner distance.

../../../_images/TMCornerDistance_Distance.png

Output

TransitionMode

MC_TRANSITION_MODE

Can be connected to the input TransitionMode of the movement function block.

TransitionParameter

ARRAY [0..(SMC_RCNST.MAX_TRANS_PARAMS - 1)] OF LREAL

Can be connected to the TransitionParameter input of the movement function block.