4 xpositiontrimming function block, Variable names, Xpositiontrimming function block -90 – Lenze EVS93xx CrossCutter User Manual

Page 258: Cross cutter, Appendix

Advertising
background image

Cross Cutter

Appendix



Prepared Solution Servo PLC / ECSxA 1.1 EN

6-90

6.6.4 XPositionTrimming function block

The XPositionTrimming function block can be used to move the x position in a negative or
positive direction by means of inching. Furthermore, a position value can be defined for an
absolute positioning operation to which the function block is to move the x position. To move the
x position, the function block generates a speed value at the output to move the x axis directly.
A print-mark-sensor distance is also defined at the output by the block.

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

dnActXLength_p DINT

Cycle of the x axis. Connect this input to output dnActXLength_p of the L_CamData
FB.

dnSetPositionTrimming_p

DINT

Setpoint for absolute positioning. Connect this variable to the position value you

wish to use for correction. As soon as this value changes, absolute positioning will
be performed to the specified value.

bTrimPosDirection

BOOL

Setting this variable to TRUE will cause a positive trimming speed
(nXTrimmingFactor_v ) to be output to output nxVelTrimmingFactorOut_v and a
corresponding position value to be output to output dnOutTpPos_p.

bTrimNegDirection

BOOL

Setting this value to TRUE will cause a negative trimming speed to be output to
output nxVelTrimmingFactorOut_v and a corresponding position value to be output
to output dnOutTpPos_p.

nXTrimmingFactor_v INT

Entry

indicating the trimming speed for trimming in a positive and negative direction

(bTrimPosDirection and bTrimNegDirection)

Reset Variable dnOutTpPos_p to zero.

TRUE

Set the value of variable dnOutTpPos_p to zero.

bSetToZero BOOL

FALSE

Value of variable dnOutTpPos_p will remain its value.

Perform absolute positioning.

TRUE

Perform absolute positioning in accordance with the value of
variable dnSetPositionTrimming_p.

bExecuteSetPositionTrimming BOOL

FALSE

Abort absolute positioning.

Advertising