SMC_GetMParameters (FB)

 

FUNCTION_BLOCK SMC_GetMParameters

If the interpolator working on a M-function, this module can be used to poll the parameters that have been set for this M-function (K, L, O).

InOut:

Scope

Name

Type

Comment

Inout

Interpolator

SMC_Interpolator

Instance of interpolator

Input

bEnable

BOOL

While TRUE, the function block is active

Output

bMActive

BOOL

The value TRUE indicates a M-function currently processed

dK

LREAL

M-parameter specified via word K

dL

LREAL

M-parameter specified via word L

MParameters

SMC_M_PARAMETERS

M-parameters, specified by the global data structure gSMC_MParameters or by the variable passed by O.