With the method SetDeclampParameter, you can specify the parameters of the declamping station.
The return value SetDeclampParameter of type BOOL indicates TRUE if the setting of the parameters has been executed successfully.
Input |
Data type |
Description |
---|---|---|
i_udiNumberOfPairsInProcess |
UDINT |
Specifies the number of carrier pairs that are expected to declamp in the declamping process. |
i_lrDeclampGap |
LREAL |
Specifies the gap inside a pair of carriers after the declamping process. |
i_etDeclampMode |
For defining the mode of declamping: which carrier(s) move(s) during the declamping process. |
|
i_xMoveSyncWhenLeaveStation |
BOOL |
If i_xMoveSyncWhenLeaveStation is set to TRUE, the carriers leave the station by pairs that keep the declamping gap defined by the parameter lrDeclampGap. The first carrier of the pair moves out with the move command MoveGapControl and the second carrier moves out with the move command MoveSync. For more information on the aforementioned move commands, refer to MoveGapControl and MoveSync in the Multicarrier library (see EcoStruxure Machine Expert, Multicarrier Library Guide). If i_xMoveSyncWhenLeaveStation is set to FALSE, the carriers leave the station as single carriers. By default, the parameter i_xMoveSyncWhenLeaveStation is set to FALSE. |
i_xUseCurveCompensation |
BOOL |
If i_xUseCurveCompensation is set to TRUE, the second carrier of a carrier pair is synchronized to the first carrier of the pair and additionally a curve compensation is executed via the method StartCurveCompensationToCarrierInFront. As a precondition, the parameter i_xMoveSyncWhenLeaveStation must be set to TRUE. 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_DeclampingStation 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. |