Mark window master value correction
In the case of print images, it can happen, for example, that not only the print marks themselves but also parts of the print image or other interfering signals are located in the scanning field of the mark sensor.
A mark window can be activated to prevent the mark sensor from being triggered unintentionally. When the scPar.xEnableMarkWindowMaster parameter = TRUE, the mark window function is active.
For the master value correction to function properly when the mark window is activated, the mark window has to be taught once. That can happen in the declutched state (master value is moving, drive axis is at standstill) as well as when the drive axis is in the clutched-in state (master value and drive axis are moving).
In order for the master value correction to function properly when the mark window is activated, the mark window must be taught in once. There are two different use cases for this:
-
Master value moves, drive axes is decoupled
-
Master value moves, drive axes is coupled
With the input xTeachMarkWindow the teach-in function is activated. Each time a mark is detected, the mark window is placed symmetrically around the mark until the input xTeachMarkWindow is set to the value FALSE again.
In the second application, the guide position is not set but corrected via the guide value correction. This can take several product cycles before an optimum correction is achieved. This leads to greater product waste.
The mark window can be shifted via scPar.lrSetOffsetMarkWindowMaster .
Correction window relating to the position of the corrected master axis
|
|
scPar.lrMarkWindowSizeMaster |
|
|
scPar.lrSetOffsetMarkWindowMaster |
Inputs relevant for the function
The inputs are located in the L_TS2P_SyncAndCorrectionState function block.
-
xTeachMarkWindow
Outputs relevant for the function
The outputs are located in the L_TS2P_SyncAndCorrectionState function block.
-
xMarkWindowTeached
Parameters relevant for the function
The parameters are located in the L_TS2P_scPar_SyncAndCorrectionState structure.
-
xEnableMarkWindowMaster , BOOL, initial value: FALSE
-
lrMarkWindowSizeMaster , LREAL, initial value: 90 [unit]
-
lrSetOffsetMarkWindowMaster , LREAL, initial value: 0 [unit]
Signal characteristic
Signal characteristic when the teaching function is executed (xTeachMarkWindow = TRUE)
|
No. |
scTPRecData_
|
xTeachMark
|
xMarkWindow
|
scSignal-Flow.MP_ xMarkWindowOpen |
Description |
|---|---|---|---|---|---|
|
A |
FALSE |
FALSE ä TRUE |
FALSE |
FALSE |
Mark window teaching is started. |
|
B |
FALSE ä TRUE |
TRUE |
FALSE ä TRUE |
FALSE ä TRUE |
The first mark after the teach process has started opens the mark window. |
|
C |
FALSE ä TRUE |
TRUE |
TRUE |
TRUE |
The mark window is open. The next mark is detected within the mark window. |
Synchronous clutch-in in coupling mode scPar.eSyncMode = 5 (Ramp_Dist)
|
No |
scTPRecData_MarkSensor.xValueStored |
scSignal-Flow.MP_ xMarkWindowOpen |
Description |
|---|---|---|---|
|
A |
FALSE ä TRUE æ FALSE |
FALSE ä TRUE |
The first mark occurs within the mark window. |
|
B |
FALSE ä TRUE æ FALSE |
FALSE ä TRUE |
The second mark occurs within the mark window. |
|
C |
FALSE ä TRUE æ FALSE |
FALSE ä TRUE |
The third mark occurs within the mark window. |
|
D |
FALSE ä TRUE æ FALSE |
FALSE ä TRUE |
The fourth mark occurs within the mark window. |