FB_GroupingStation - ChangeLeavingStationParameters (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Changing the parameters for the carrier groups that leave the station.

Description

The method ChangeLeavingStationParameters is optional and can be used to change settings on a current pattern which has been defined via the method SetLeavingStationParameters.

Depending on the group pattern (see the methods of the interface IF_GroupingPattern), there is a defined process gap between the carrier groups.

When the input i_xKeepProcessGapWhenSendToNextStation is set to TRUE, the groups keep the process gap from the sending station also for the waiting position of the target station.
When the input i_xKeepProcessGapWhenSendToNextStation is set to FALSE, the groups use the waiting gap of the target station.
For more information on the parameter i_xKeepProcessGapWhenSendToNextStation and the leaving behavior, refer to the method SetLeavingStationParameters.
NOTE: The gap within the carrier groups is not influenced and remains unchanged.

With the input i_udiNumberOfGroupsToSendToNextStation, you can send a certain number of the groups in process position to the waiting position of the target station.

The return value ChangeLeavingStationParameters of type BOOL indicates TRUE if the parameters for leaving the station have been changed successfully.

Inputs

Input

Data type

Value range

Description

i_udiNumberOfGroupsToSendToNextStation

UDINT

0 < i_udiNumberOfGroupsToSendToNextStation ≤ number of groups defined by the parameter udiNumberOfGroupsInStation (see structure ST_Pattern )

The number of carrier groups that will be sent from the process position of the present station to the waiting position of the target station.

i_xKeepProcessGapWhenSendToNextStation

BOOL

If i_xKeepProcessGapWhenSendToNextStation is set to TRUE, the process gap of the sending station is used as target gap in the target station.

If i_xKeepProcessGapWhenSendToNextStation is set to FALSE, the waiting gap of the target station is used as target gap.

For more information on the target gap, refer to the Multicarrier library .

i_xMoveSyncWhenLeaveStation

BOOL

If i_xMoveSyncWhenLeaveStation is set to TRUE, the carriers leave the station as a group with the first carrier of the group moving out with the move command MoveGapControl and the other carriers of the group moving out with the move command MoveSync.

If i_xMoveSyncWhenLeaveStation is set to FALSE, the carriers of a group move out with the move command MoveGapControl.

For more information on the aforementioned move commands, refer to MoveGapControl and MoveSync in the Multicarrier library (see EcoStruxure Machine Expert, Multicarrier Library Guide).

i_xUseCurveCompensation

BOOL

If i_xUseCurveCompensation is set to TRUE, the second carrier of a group is synchronized to the first carrier of the group and additionally a curve compensation is executed via the method StartCurveCompensationToCarrierInFront.

The preconditions for using the input i_xUseCurveCompensation are as follows:
  • The parameter i_xMoveSyncWhenLeaveStation must be set to TRUE.

  • The group of carriers consists only of two carriers.

If the group consists of more than two carriers, the input i_xUseCurveCompensation is ignored.

For more information on curve compensation with the method StartCurveCompensationToCarrierInFront, refer to the Multicarrier library.

NOTE: The ToolPivotPoint settings are not part of the FB_GroupingStation and must be set separately. For more information on the ToolPivotPoint settings, refer to the Multicarrier library.

If i_xUseCurveCompensation is set to FALSE, no curve compensation is executed.

By default, the parameter i_xUseCurveCompensation is set to FALSE.

Outputs

The method has no outputs.