Delete mark stack
In mark-controlled mode, a rising edge (FALSE ä TRUE) at the input xResetMarkStack deletes all the stored marks in the mark stack.
The output wMarksInStack shows how many marks the mark stack can hold (max. 100).
If the function is executed while the flying saw is in synchronous state (input xStartFlyingSaw = TRUE), the carriage moves to the waiting position (parameter lrLowerLimit ) and is synchronized with the next mark.
Both the possibilities are shown in the time diagram in Figure Marken-Stack löschen.
Example
Example: Process "Delete mark stack"
|
No. |
mark receive |
xResetMarkStack |
xSynchronised |
Description |
|---|---|---|---|---|
|
A |
FALSE |
FALSE |
FALSE |
The master axis, and thus the material, is moved. The technology module is in the "SAW_IN_PROCESS" state. |
|
B |
4 x FALSE ä TRUE |
FALSE |
FALSE |
Four marks are recorded. The first mark is followed via the target position lrTargetPos . The remaining targets are loaded into the stack and tracked. The output wMarksInStack shows the number of stored marks. The target position lrTargetPos moves synchronously to the material velocity below the limit lrLowerLimit . |
|
C |
FALSE |
TRUE |
FALSE |
If the input xResetMarkStack = TRUE, the mark stack is deleted and wMarksInStack = 0 is set. The entire mark stack is then freely available again for a maximum of 100 marks. The target position lrTargetPos is reset and is therefore no longer coupled to the material velocity. The slave axis remains at the lower limit of the working range. |
|
D |
3 x FALSE ä TRUE |
FALSE |
FALSE |
Four marks are recorded. The first mark is followed via the target position lrTargetPos . The remaining targets are loaded into the stack and tracked. The output wMarksInStack shows the number of stored marks. The target position lrTargetPos moves synchronously to the material velocity below the limit lrLowerLimit . |
|
E |
FALSE |
FALSE |
TRUE |
The target position lrTargetPos enters the working range of the flying saw. This synchronizes the slave position to the target position. The saw carriage is synchronized with the mark. |
|
F |
FALSE |
TRUE |
FALSE |
If the input xResetMarkStack = TRUE, the mark stack is deleted and wMarksInStack = 0 is set. The entire mark stack is then freely available again. The target position lrTargetPos is reset and is therefore no longer coupled to the material velocity. The slave axis remains at the lower limit of the working range. |
|
G |
FALSE |
TRUE |
FALSE |
The slave axis waits for a valid mark. |