RCK_CutOffsetAdjust (FB)
FUNCTION_BLOCK RCK_CutOffsetAdjust
This function block is implemented to adjust the offset between the acutal cutting position and the theoretical cutting position coresponding to the cutting parameters. By default, the offset is zero, that means the actual cutting position should be at the place where the registration is if registration detection is enabled.
With the rising edge of CoarseAdjustPositive/PreciseAdjustPositive, the actual cutting position will move toward positive direction which the material is coming by the distance CoarseAdjustment/PreciseAdjustment. With the rising edge of CoarseAdjustNegative/PreciseAdjustNegative, the actual cutting position will move toward negative direction which the material is going by the distance CoarseAdjustment/PreciseAdjustment.
This function block can only be activated when cutter state is in “Automatic”, “Paused” or “Resuming”.
Note
The units of CoarseAdjustment and PreciseAdjustment are the same as the unit of circumference of cutter set in RCK_Parameter.
- InOut:
Scope
Name
Type
Initial
Comment
Input
EnableBOOLFALSE
Enable the function block with Enable = TRUE
CoarseAdjustPositiveBOOLFALSE
Adjust cut offset with coarse adjustment in positive direction by rising edge
CoarseAdjustNegativeBOOLFALSE
Adjust cut offset with coarse adjustment in negative direction by rising edge
PreciseAdjustPositiveBOOLFALSE
Adjust cut offset with precise adjustment in positive direction by rising edge
PreciseAdjustNegativeBOOLFALSE
Adjust cut offset with precise adjustment in negative direction by rising edge
CoarseAdjustmentLREAL5.0
[u] the value of coarse adjustment. Range: > 0 and < CutLength/4
PreciseAdjustmentLREAL1.0
[u] the value of precise adjustment. Range: > 0 and < CoarseAdjustment/2
Output
DoneBOOLShows the status of the command. Done = TRUE if the execution is finished
BusyBOOLIndicates that the function block is not finished
ErrorBOOLSignals that error has occurred within function block
AppErrorIDError identification. For error details refer to Enumeration ERROR_ID
ActiveCutOffsetLREALThe cut offset in effect
BufferedCutOffsetLREALThe buffered cut offset which should take effect in next cut
Inout
RotaryCutterReference to rotary cutter