Variable names, Cross cutter, Features of the "cross cutter" prepared solution – Lenze EVS93xx CrossCutter User Manual
Page 97

Cross Cutter
Features of the "Cross Cutter" prepared solution
Prepared Solution Servo PLC / ECSxA 1.1 EN
2-83
Variable
names
Inputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
g_dnMeasuredTPDistance
DINT
Distance measured from TP sensor to 6 o'clock position on the knife drum. The
value is entered in 0.0001[m_units].
This value is displayed in code C3668/000; this variable can be written to this code.
Outputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
Use of the print-mark register.
This value is displayed in code C4150/000 bit 28.
TRUE
The print-mark register needs to be used.
g_bUseShiftedTP BOOL
FALSE
The print-mark register does not need to be used.
g_nNumberOfKnifes
INT
Number of knives mounted on the knife drum.
This value is displayed in code C3690/000.
g_dnXTpPos
DINT
Print-mark-sensor position calculated. A modulo arithmetic operation is used to
adjust this value by multiples of the cutting length so that a virtual touch-probe-
sensor position can be calculated as close as possible to the knife. The value is
scaled 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_dnXTpPos_p!
g_dnXTpPos_p
DINT
Print-mark-sensor position calculated. A modulo arithmetic operation is used to
adjust this value by multiples of the cutting length so that a virtual touch-probe-
sensor position can be calculated as close as possible to the knife. The value is
scaled in [incr.].
The value is converted into increments internally. If you use this variable, to avoid
inconsistencies, do not write variable g_dnXTpPos!
g_dnMultipleTPDistance DINT Calculated
value indicating the distance of the print-mark sensor in integer multiples
of the cutting length. The value is scaled in 0.0001[m_units]. You will need this
value if you are using a print-mark register.
The value is converted into increments internally. If you use this variable, to avoid
inconsistencies, do not write variable g_dnMultipleTPDistance_p!
g_dnMultipleTPDistance_p DINT
Calculated
value indicating the distance of the print-mark sensor in integer multiples
of the cutting length. The value is scaled in 1[incr.].
You will need this value if you are using a print-mark register. If you use this
variable, to avoid inconsistencies, do not write variable g_dnMultipleTPDistance!