SMC_GroupReadAxisLimitFactors (FB)ΒΆ

FUNCTION_BLOCK SMC_GroupReadAxisLimitFactors

This function block reads the limit factors for each axis. The returned values are the last values set by SMC_GroupSetAxisLimitFactors, or the initial factors, and not the factors of the currently active movement.

See SMC_GroupSetAxisLimitFactors for details.

InOut:

Scope

Name

Type

Comment

Inout

AxisGroup

AXIS_GROUP_REF_SM3

Reference to an axis group

Input

Execute

BOOL

Sets the factors on rising edge.

Output

Done

BOOL

The limits have been set successfully.

Busy

BOOL

The FB is not finished.

Error

BOOL

Signals that an error has occurred within the function block.

ErrorID

SMC_ERROR

Error identification

VelFactors

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

The velocity factors for all axes

AccFactors

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

The acceleration factors for all axes

JerkFactors

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

The jerk factors for all axes