21 varxtouchprobesynchronisation, Varxtouchprobesynchronisation -37, Cross cutter – Lenze EVS93xx CrossCutter User Manual

Page 205: Appendix

Advertising
background image

Cross Cutter

Appendix



Prepared Solution Servo PLC / ECSxA 1.1 EN

6-37

6.1.21 VarXTouchProbeSynchronisation

Inputs

Global variables

(Variable type: VAR_GLOBAL)

Enable print-mark synchronisation.
TRUE

Print-mark synchronisation enabled.

g_bXTpEnable BOOL

FALSE

Print-mark synchronisation disabled.

Start ramp generator to correct position deviations.
FALSE => TRUE

The position deviation calculated

(g_dnXDifference_p) is
corrected via the internal ramp
generator.

g_bRfgXTpExecute BOOL

FALSE

The ramp generator is not active and the
position deviation calculated

is not corrected. The starting position is
retained.

Selection of correction mode for print-mark synchronisation.

TRUE

Correct measured distance via internal
ramp generator.

g_bRfgXTpEnable BOOL

FALSE

Correct measured distance via constant
speed value at
g_nXTpMakeUpLeeway_v.

Trigger input for calculating position deviation

g_bXTpReceived BOOL

FALSE => TRUE

Recalculate position deviation.

g_nXTpMakeUpLeeway_v INT

Speed in [incr./ms] for correcting the calculated position deviation.

Only relevant for correction via constant speed value
(g_bRfgXTpEnable = FALSE). Internal limitation to 0 ...
g_dnVertShaftLengthAct_p

g_dnXTpPos DINT

Distance from zero point to touch-probe sensor in [m_unit]

Internal limitation to 0 ... 2 * g_dnVertShaftLengthAct_p

The value is entered in fixed point format with 4 decimal positions (1
[unit]/10000). The value is converted into increments internally.

The variable is a retain variable.

If you use this variable, to avoid inconsistencies, do not write variable
g_dnXTpPos_p!

g_dnXTpPos_p DINT

Distance from zero point to TP sensor in [incr.]

If you use this variable, to avoid inconsistencies, do not write variable g_dnXTpPos!

g_dnXTpActLastScan_p DINT

Δ incr between touch probe and start of task

Outputs

Global variables

(Variable type: VAR_GLOBAL)

Name Data

type

Value/Meaning
Status of print-mark synchronisation.

TRUE

Synchronisation active, correcting X
difference.

g_bXTpSyncBusy BOOL

FALSE

No correction of setpoint currently

active.

g_dnXDifference_p DINT

Correction value for touch-probe signal

Only if g_bRfgXTpEnable = TRUE.

g_dnXTpDifference_p DINT

Difference between two touch-probe signals

Only if g_bRfgXTpEnable = TRUE.

Advertising