Starting behaviour
Prerequisite
The technology module is in the "STANDBY" state
The axis is enabled xEnableOperation = TRUE.
Execution
The traversing mode is activated with xTraversingCtrl = TRUE. The technology module switches to the "TRAVERSING" state.
The traversing mode is deactivated with xTraversingCtrl = FALSE. The technology module switches to the "STANDBY" state.
Procedure for starting the traversing operation
traversing operations are started in three steps:
Step 1: Positioning to the start position
Positioning to the start position is performed on a rising edge at the xTraversingCtrl input. The start position is defined via the eStartMode parameter:
|
Identifier Data type |
Description |
|
|---|---|---|
|
eStartMode L_TW2P_TraverserStartMode
|
Starting behavior of the traversing drive. |
|
|
0 |
StartCurrentPos: The traversing drive starts at the current position as long as it is within the traversing range (persistent variables lrModLowerPos and lrModUpperPos). If the position is outside the traversing area, it is first positioned at the nearest traversing area boundary. Only then is the traversing operation started. |
|
|
1 |
StartLowerPos: First, positioning to the lower traversing area limit (lrModLowerPos) takes place. Only then is the laying operation started. |
|
|
2 |
StartUpperPos: First, positioning to the upper traversing area limit (lrModUpperPos) takes place. Only then is the laying operation started. |
|
|
3 |
StartVirtualPos: First, positioning to the virtual traversing position (MP18_lrVirtualPos) takes place. Only then is the traversing operation started. |
|
Positioning is not carried out if the eOperationMode = 1 (Switches) mosde is set. In this case, the current position is used as the start position.
Step 2: Calculating the traversing profile
When the axis reaches the start position, the traversing profile is calculated. The direction of the traversing profile is determined by setting the eStartDir parameter:
|
Identifier Data type |
Description |
|
|---|---|---|
|
eStartDir L_TW2P_TraverserStartDir
|
Starting direction of the traversing drive with eStartMode = StartCurrentPos |
|
|
-1 |
negative: Negative direction (from left end position to right end position): The drive starts in the direction of travel to the lower reversing position. (byProfileCurrSection = 11). |
|
|
0 |
last: Last active direction (initial value): The drive starts in the direction in which it last moved. This allows a restart to be easily realized. |
|
|
1 |
positive: Positive direction (from right end position to left end position): The drive starts in the direction of travel to the upper reversing position. (byProfileCurrSection = 3) |
|
Step 3: Coupling onto the traversing profile
The xStartInstant setting determines whether the angle lrSyncInAngle is used to engage the traversing profile or whether the traversing profile is moved off directly.
|
Identifier Data type |
Description |
|
|---|---|---|
|
xStartInstant BOOL
|
Start behavior with/without ramp. |
|
|
FALSE |
Initial value; the traversing profile is switched hard. The master value must be at a standstill. |
|
|
TRUE |
The traversing profile is calculated with the ramp via the angle lrSyncInAngle. This enables coupling to a moving master value. |
|
Procedure for ending the traversing operation
Before the traversing mode can be ended, the master value must be stopped. If the master value is at a standstill, traversing mode is ended with xTraversingCtrl = FALSE.