Variable names, Cross cutter, Appendix – Lenze EVS93xx CrossCutter User Manual
Page 273

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-105
Task information
Can be called in:
Cyclic task
Time-controlled task
(INTERVAL)
Event-controlled task
(EVENT)
Interrupt task
Variable
names
Inputs
(Variable type: VAR_INPUT)
Name Data
type
Value/Meaning
bTpReceived_b
BOOL
Input bit for the print-mark signal: A FALSE => TRUE edge tells the Tp_Register function block
that a print-mark signal has been detected.
When the print-mark pulses are evaluated, system variable DFIN_bTPReceived_b is typically
evaluated at this input.
dnActIncLastScan_p
DINT
Last-scan information: This value is made available by the touch-probe interface and indicates
the material feed in [incr.] between the point at which the print-mark signal occurred and the
start of the calling task.
When the print-mark pulses are evaluated, system variable DFIN_dnIncLastScan_p is typically
evaluated at this input.
nIn_v
INT
Material speed in [incr./ms] (16384 = 15000[rpm]):
As soon as a print-mark pulse appears at input bTpReceived_b, in the Tp_Register function
block this value is integrated to a position (internal variable dnOut_p). If the integrated position
exceeds the set offset distance dnOffset_p, a pulse will be output at output
bShiftedTpReceived_b.
When the print-mark pulses are evaluated, system variable DFIN_nIn_v is typically evaluated at
this input.
dnOffset_p
DINT
Entry indicating the offset distance in [incr.]:
Once it has been detected at input bTpReceived_b, inside the function block the print-mark
pulse will pass through this distance before being output at output bShiftedTpReceived_b as a
FALSE-TRUE edge. When output at bShiftedTpReceived_b, the print-mark pulse is deleted
from the register.
Note: Only the value (and not the state) at input dnOffset_p is evaluated inside the function
block:
•
At positive input speeds (nIn_v > 0) a pulse signal will be output at output
bShiftedTpReceived_b if the integrated speed at nIn_v is greater than the offset value
dnOffset_p.
•
At negative input speeds (nIn_v < 0) a pulse signal will be output at output
bShiftedTpReceived_b if the integrated speed at nIn_v is less than the offset value
dnOffset_p.
Input to reset all internal registers:
FALSE No effect – the Tp_Register function block works as described.
bReset_b
BOOL
TRUE Deletion of all internal registers:
•
All print-mark signals detected via bTpReceived_b but not yet output at
bShiftedTpReceived_b are deleted from the internal registers (all elements
of the internal data array abEnable[0..31] are set to FALSE).
•
The reset procedure takes 8 task cycles. During the reset procedure, status
output bResetState_b = TRUE.