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.
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.
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:
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. |