7 varcrosscuttertphandling, Varcrosscuttertphandling -19, Cross cutter – Lenze EVS93xx CrossCutter User Manual
Page 187: Appendix

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-19
6.1.7 VarCrossCutterTPHandling
Inputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
Variable to reset the counter for mark signals located outside the mark window.
TRUE Reset
counter.
g_bResetCounterTPOutOfWindow BOOL
FALSE
Do not reset counter.
g_dnMeasuredTPDistance
DINT
Distance measured from mark sensor to 6 o'clock position on knife in [m_unit].
The value is entered in fixed point format with 4 decimal positions (1 [unit] = 10000).
The value is converted into increments internally. If you use this variable, to avoid
inconsistencies, do not write variable g_dnMeasuredTPDistance_p!
g_dnMeasuredTPDistance_p DINT
Distance measured from mark sensor to 6 o'clock position of knife in [incr.].
If you use this variable, to avoid inconsistencies, do not write variable
g_dnMeasuredTPDistance!
g_DFIN_nIn_v
INT
Speed signal from DFIN in incr./ms.
g_DFIN_dnIncLastScan_p
DINT
Δ inc between mark sensor signal and start of task. This global variable is linked
directly to SB DFIN_IO_DigitalFrequency.
Trigger input for calculating position deviation.
This signal is used for incoming print-mark-sensor signals.
This global variable is linked directly to SB DFIN_IO_DigitalFrequency. Digital input
I5 using 9300 Servo PLC and I1 using ECS is reserved for the mark sensor!
FALSE => TRUE
A print-mark signal has been received.
g_DFIN_bTPReceived_b BOOL
FALSE
No print-mark signal detected.
g_dnTPPositionWindow
DINT
Size of mark window in 0.0001[m_units].
The value is converted into increments internally. If you use this variable, to avoid
inconsistencies, do not write variable g_dnTPPositionWindow_p!
g_dnTPPositionWindow_p
DINT
Size
of mark window in [incr.].
If you use this variable, to avoid inconsistencies, do not write variable
g_dnTPPositionWindow!
g_wMaxNumberOfTpOutOfWindow
WORD
Number of cycles permitted without a mark signal appearing in the mark window. A
warning signal is generated if this number is exceeded.
Outputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
This output indicates the time at which the window is open.
TRUE
The mark window is open. Incoming mark signals are output at
g_bXTpReceived.
g_bTpWindowOpen BOOL
FALSE
The mark window is closed. Incoming mark signals are not
output at g_bXTpReceived.
This output indicates that the mark window is active and the first print-mark signal
has been received.
TRUE
The mark window is active.
g_bTPWindowActive BOOL
FALSE
The mark window is not active. The first print mark has not yet
been detected.