ST_MultiCamExt

 

ST_MultiCamExt - General Information

Overview

Type:

Data structure

Available as of:

V1.0.3.0

Inherits from:

-

Description

Data structure for the extended parameters of the FB_MultiCam

Structure Elements

Variable

Data type

Description

xNoModuloMasterAtStart

BOOL

TRUE: The master position is not set in the period with the warm start.

xNoModuloSlaveAtStart

BOOL

TRUE: The following position is not set in the period with the warm start.

oi_etWsMode = StoredCamMoveAlwaysNoPositionCheck, NewCamMoveAlwaysNoPositionCheck -> do not use the shortest way

oi_etWsMode = StoredCamMoveToCamPositonInWsWindow, NewCamMoveToCamPositonInWsWindow -> do not use the shortest way, window does not go into the next period

oi_etWsMode = StoredCamMoveForwardToCamPositon, NewCamMoveForwardToCamPositon -> do not move to the next period

oi_etWsMode = StoredCamMoveBackwardToCamPosition, NewCamMoveBackwardToCamPosition -> do not move to the previous period

xNoCyclicCams

BOOL

The cam start will not be re-started at the end.

xFirstCamNoXLimMin

BOOL

The flag prevents the XlimMin from being active in the first curve during cold start. XlimMin is re-activated on the second curve.

xStopPositionSelect

BOOL

If xStopPositionSelect = TRUE, the system is moved to lrStopPosition by means of Start TRUE -> FALSE.

lrStopPosition

LREAL

see xStopPositionSelect

lrStopVelocity

LREAL

see xStopPositionSelect

lrStopAcceleration

LREAL

see xStopPositionSelect

lrStopDeceleration

LREAL

see xStopPositionSelect

lrStopJerk

LREAL

see xStopPositionSelect

xStartPositionSelect

BOOL

If xStartPositionSelect = TRUE, the IrStartPosition is moved to at the start, and the falling edge of start is waited for. Then normal startup is possible again with xStartPositionSelect = FALSE.

lrStartPosition

LREAL

see xStartPositionSelect

lrStartVelocity

LREAL

see xStartPositionSelect

lrStartAcceleration

LREAL

see xStartPositionSelect

lrStartDeceleration

LREAL

see xStartPositionSelect

lrStartJerk

LREAL

see xStartPositionSelect

xYEqualCheck

BOOL

If xYequalCheck = TRUE, then in the case of iq_xNewCam = TRUE or iq_xInstantNewCam = TRUE a check is performed if the Y start position of the new cam is the same as the Y end position of the current cam.

If an error is detected, iq_xNewCam = TRUE implements a pause at the cycle end of the current cam, and iq_xInstantNewCam = TRUE executes an immediate stop. An detected error message is triggered.

lrYEqualCheckAccuracy

LREAL

Precision for YEqualCheck

xNewCamDirectAccept

BOOL

TRUE: iq_xNewCam is accepted immediately.

FALSE: q_xXHighEnd or q_xXLowEnd are considered.

xDisableLowEnd

BOOL

xDisableLowEnd prevents the addition of a new cam at the lower end of the current cam by means of iq_xNewCam or iq_xInstantNewCam.

When setting the iq_xNewCam input during standstill in a physical master encoder, the function block may attempt to add the new cam at the lower end, as it sees a small negative velocity at this moment in time.

The same applies to the upper end of the cam with xDisableHighEnd.

xDisableHighEnd

BOOL

xDisableHighEnd prevents the addition of a new cam at the upper end of the current cam by means of iq_xNewCam or iq_xInstantNewCam.

lrCsMasterPosition

LREAL

Cold start position of the master axis at i_etCsModeMaster = SetMasterPositionToExtCsMasterPosition

xInWindowCheckWithoutLimits

BOOL

The flag switches the interpretation of output q_xInWsWindow to the warm start modes StoredCamMoveForwardToCamPositon, NewCamMoveForwardToCamPositon, StoredCamMoveBackwardToCamPosition and NewCamMoveBackwardToCamPosition, also across the period limit.

etInWindowMode

ET_MultiCamWsMode

In the warm start modes StoredCamShowCamPosition and NewCamShowCamPosition, the output q_xInWsWindow has not been set until now. This output will now be set as a function of etInWindowMode. The parameter symbolizes the warm start mode sequence that is actually to be carried out. No diagnostic message occurs when the drive is not found in the warm start window.

lrXStart

LREAL

XStart for warm start mode StoredCamSetMasterPositionToRelatedSlavePosition,

lrXIncr

LREAL

XIncr for warm start mode StoredCamSetMasterPositionToRelatedSlavePosition, NewCamSetMasterPositionToRelatedSlavePosition

lrAccuracy

LREAL

Accuracy for warm start mode StoredCamSetMasterPositionToRelatedSlavePosition, NewCamSetMasterPositionToRelatedSlavePosition

lrXEndWidth

LREAL

lrXEndWidth determines the width of the inputs q_xXLowEnd and q_xXHighEnd of FB_MultiCam:

If iq_stExt.lrXEndWidth = 0 then the time i_diTXEnd is used for the determination of both inputs.

If iq_stExt.lrXEndWidth > 0 then the distance lrXEndWidth is used for the determination of both inputs.

xDirectionChanged

BOOL

xDirectionChanged indicates that the direction of the master has changed before an already assigned new curve was activated.

In this case, FB_MultiCam returns to the state in which a new iq_xNewCam signal is accepted. iq_xnewCam is then not reset by FB_MultiCam.