SMC_ReadAdditionalIpoState (FB)ΒΆ

FUNCTION_BLOCK SMC_ReadAdditionalIpoState

Returns additional state of the CNC interpolator, such as the current decoder coordinate system (DCS) or the active path processing functions.

InOut:

Scope

Name

Type

Comment

Input

Enable

BOOL

The function block executes as long as Enable is TRUE.

ipo

SMC_IInterpolator

The interpolator (SMC_Interpolator or SMC_Interpolator2D)

Output

Error

BOOL

Signals, that an error has occurred within the function block

ErrorID

SMC_ERROR

Error identification

Valid

BOOL

Indicates whether the output State is valid. As long as there is no error, Valid is TRUE if Enable is TRUE and the interpolator has been started.

State

SMC_AddGCodeState

Additional G-Code state