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

Page 83

Advertising
background image

Cross Cutter

Features of the "Cross Cutter" prepared solution



Prepared Solution Servo PLC / ECSxA 1.1 EN

2-69

Variable

names

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_DFIN_bTPReceived_b BOOL Trigger input for calculating position deviation.

This signal is use for incoming print-mark-sensor signals.
This global variable is linked directly to SB DFIN_IO_DigitalFrequency. Digital
input I5 is assigned to the mark sensor!

g_DFIN_dnIncLastScan_p DINT

Δ incr between mark sensor signal and start of task. This global variable is linked
directly to SB DFIN_IO_DigitalFrequency.

g_dnTPPositionWindow DINT Size

of

mark window in 0.0001[m_units].

This value is displayed in code C3669/000; this variable can be written to this code.
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 with no mark signals appearing in the mark window. If
this number is exceeded, a warning signal will be generated. This value is displayed
in code C3670/000; this variable can be written to this code.

Outputs

(Variable type: VAR_GLOBAL)

Name Data

type

Value/Meaning

g_bXTpReceived

BOOL

Output signal for mark correction. This output signal outputs all print-mark signals
located inside the defined mark window. All other print-mark signals are not output.

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.

g_dnTPDistance_p

DINT

This output signal indicates the distance between two print marks in increments.

Advertising