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

Enable

BOOL

FALSE

Enable the function block with Enable = TRUE

CoarseAdjustPositive

BOOL

FALSE

Adjust cut offset with coarse adjustment in positive direction by rising edge

CoarseAdjustNegative

BOOL

FALSE

Adjust cut offset with coarse adjustment in negative direction by rising edge

PreciseAdjustPositive

BOOL

FALSE

Adjust cut offset with precise adjustment in positive direction by rising edge

PreciseAdjustNegative

BOOL

FALSE

Adjust cut offset with precise adjustment in negative direction by rising edge

CoarseAdjustment

LREAL

5.0

[u] the value of coarse adjustment. Range: > 0 and < CutLength/4

PreciseAdjustment

LREAL

1.0

[u] the value of precise adjustment. Range: > 0 and < CoarseAdjustment/2

Output

Done

BOOL

Shows the status of the command. Done = TRUE if the execution is finished

Busy

BOOL

Indicates that the function block is not finished

Error

BOOL

Signals that error has occurred within function block

AppErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

ActiveCutOffset

LREAL

The cut offset in effect

BufferedCutOffset

LREAL

The buffered cut offset which should take effect in next cut

Inout

RotaryCutter

RCK_RotaryCutter

Reference to rotary cutter