9 varcrosscutterxaxistrimming, Varcrosscutterxaxistrimming -22, Cross cutter – Lenze EVS93xx CrossCutter User Manual
Page 190: Appendix

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-22
6.1.9 VarCrossCutterXAxisTrimming
Inputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
Activates X trimming and switches from the calculated mark sensor distance to the
mark sensor distance specified by X trimming.
TRUE
X trimming activated.
g_bUseXPositionTrimming BOOL
FALSE
X trimming deactivated.
Key this variable to perform X trimming in a positive direction at the set speed.
TRUE
Perform X trimming in a positive direction.
g_bXAxisTrimmingPosDirection BOOL
FALSE
Do not perform X trimming.
Key this variable to perform X trimming in a negative direction at the set speed.
TRUE
Perform X trimming in a negative direction.
g_bXAxisTrimmingNegDirection BOOL
FALSE
Do not perform X trimming.
Perform absolute positioning
at the set speed.
TRUE
Perform absolute positioning in accordance with the value of
variable g_dnSetXAxisTrimmingTPPos.
g_bLoadSetXAxisTrimmingTPPos BOOL
FALSE
Abort absolute positioning.
g_nXAxisTrimmingFactor_v
INT
Selection of the inching speed for X trimming in a positive and negative direction.
g_dnSetXAxisTrimmingTPPos
DINT
Target position of absolute positioning for X trimming 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_dnSetXAxisTrimmingTPPos_p!
g_dnSetXAxisTrimmingTPPos_p
DINT
Target position of absolute positioning for X trimming in [incr.].
If you use this variable, to avoid inconsistencies, do not write variable
g_dnSetXAxisTrimmingTPPos!
Outputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
g_dnXAxisTrimmingTPPosOut
DINT
Displays the actual X trimming position in 0.0001[m_units]. This output indicates the
mark sensor distance set by X trimming. Whenever X trimming is active, this value
will serve as the mark sensor distance for mark correction.
This value is displayed in code C3671/000.
g_nXAxisVelTrimmingFactor_v INT
This
variable contains the speed value generated for X trimming. It is added to the
DFIN signal in order to effect an immediate change in the position value when using
X trimming.
Inputs/Outputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
g_dnXAxisTrimmingTPPosOut_p
DINT
This input/output indicates the mark sensor distance set by X trimming. Whenever X
trimming is active, this value will serve as the mark sensor distance for mark
correction. The variable is a retain variable (this means that once an X trimming
value has been calculated, it will remain accessible even after mains switching).