PAC_ParisonControl (FB)

FUNCTION_BLOCK PAC_ParisonControl

This function block is the implementation of a parison controller, which all motion processes are executed inside.

Indicators for filling and extrusion
For ACCUMULATOR type:
EndOfFilling gets to True,

with EXTRUSION_FIXED type, when the position percentage of the accumulator is greater than Delay + ShotSize + Cushion. with FILLING_FIXED type, when the position percentage of the accumulator is greater than 100- Delay * 0.1.

EndOfExtrusion gets to True,

with EXTRUSION_FIXED type, when the position percentage of the accumulator is less than Cushion. with FILLING_FIXED type, when the position percentage of the accumulator is less than 100 - Delay - ShotSize.

For CONTINUOUS type:

EndOfFilling is always False. EndOfExtrusion gets to True when the parison control completed.

Conditions for the effectiveness of each movement
For ACCUMULATOR type:
Standby: PowerOn = True, means the function block and the die axis are both enabled.

ProfileRunning = False, means the parison profile is not running. Stopping = False, means the die axis is not stopping.

DieGap: PowerOn = True, means the function block and the die axis are both enabled.

ProfileRunning = False, means the parison profile is not running. Stopping = False, means the die axis is not stopping.

Purge: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping.

Tooling: PowerOn = True, means the function block and the die axis are both enabled.

ProfileRunning = False, means the parison profile is not running. Stopping = False, means the die axis is not stopping.

Start: PowerOn = True, means the function block and the die axis are both enabled.

EndOfFilling = TRUE, means the accumulator is fully filled. ProfileRunning = False, means the parison profile is not running. Stopping = False, means the die axis is not stopping. If all conditions are met, “Ready” will change to True automatically.

For CONTINUOUS type:
Standby: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping.

DieGap: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping.

Purge: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping.

Tooling: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping.

Start: PowerOn = True, means the function block and the die axis are both enabled.

Stopping = False, means the die axis is not stopping. If all conditions are met, “Ready” will change to True automatically.

Automatical cycle time calculation

For CONTINUOUS type, when AutoTime = True, the time interval between the two triggering of the “Start” will be automatically set as the control time for the next parison control. The values of “Delay” and “ShotSize” will be automatically allocated in proportion.

Note

The molding parameters are only loaded during the rising edge of the input Enable.

Note

This function block must be called in the POU which is executing in the MotionSolution_Task.

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

Enable the function block and the die axis

Standby

BOOL

Move the die from the current position to the position of the first profile point; for the accumulator type, only acceptable when ProfileRunning is False

Start

BOOL

Cycle start

AutoTime

BOOL

True to enable the automatical calculation of the cycle time for the continuous extrusion

PhaseChecker

BOOL

True to allowed the parison thickness is determined by the enabled phase checkers which are defined in parison profile

Delay

LREAL

10

[% or s] For the accumulator type, the volume of the delay which is extruded before the parison control starts, range: > 0 and < 100; For the continuous type, the delayed time before the parison control starts

ShotSize

LREAL

80

[% or s] For the accumulator type, the volume of the shot size which is extruded used for the parison control, range: > 0 and < 100; For the continuous type, the time to complete the parisoin control

Cushion

LREAL

5

[%] For the accumulator type and EXTRUSION_FIXED only, the volume of the cushion which is left in accumulator after the parison control finish, range: > 0 and < 100

DieGap

BOOL

With rising edge, move the die to the default gap

Purge

BOOL

With rising edge, move die to purge gap

Tooling

BOOL

With rising edge, move die to tooling gap

DefaultGap

LREAL

1

[%] The default die gap, range: 0 ~ 100

PurgeGap

LREAL

100

[%] The die gap during the accumulator purge, which is expressed as a percentage of the die stroke, range: ToolingGap ~ 100

ToolingGap

LREAL

0

[%] The die gap during changing the material, which is expressed as a percentage of the die stroke, range: 0 ~ PurgeGap

Stop

BOOL

Stop the movement of the die

Reset

BOOL

Reset error of both parison control and core axis

Home

BOOL

With rising edge, start the calibration process, not available for now

JogUp

BOOL

Move die up as long as JogUp = TRUE

JogDown

BOOL

Move die down as long as JogDown = TRUE

JogVelocity

LREAL

10

[mm/s] Velocity to jog

GapVelocity

LREAL

10

[mm/s] The velocity used by input DieGap, Purge, Tooling to change the die gap

Acceleration

LREAL

100

[mm/s2] Acceleration for jog and die moving

Deceleration

LREAL

100

[mm/s2] Deceleration to jog and die moving

AccumulatorActualValue

LREAL

0

The actual raw value of the position feedback of the accumulator

DieActualValue2

LREAL

0

The actual raw value of the position feedback 2 of the die, the position feedback 1 is internally read via the actual position of die axis

Output

PowerOn

BOOL

Indicates that the parison control and die axis are both enabled

Busy

BOOL

Indicates that the function block is runnig

Error

BOOL

Signals that error has occurred within function block

ErrorID

AC500_MotionControl.ERROR_ID

Error identification. For error details refer to AC500_MotionControl.Enumeration ERROR_ID

AppErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

Ready

BOOL

Indicates that the start signal can be received

Stopping

BOOL

Indicates that the die axis is stopping, no other movement can be received

ProfileRunning

BOOL

Indicates that the parison profile is running

CurrentPoint

INT

The current point of the profile on which the parison control is, range: 1 ~ Profile.NumberOfPoints

CurrentProgress

LREAL

[%] The current progress of the parison control, range: 0 ~ 100

StandbyReached

BOOL

Indicates that the start gap of the profile has been reached

DefaultGapReached

BOOL

Indicates that the default gap has been reached

PurgeGapReached

BOOL

Indicates that the purge gap has been reached

ToolingGapReached

BOOL

Indicates that the tooling gap has been reached

ActualThickness

LREAL

[%] The actual thickness

DieActualPosition

LREAL

[mm] The actual position of die

EndOfFilling

BOOL

Indicates that the filling of the accumulation can be stopped

EndOfExtrusion

BOOL

Indcates that the injection of the accumulation can be stopped. in continuous mode, ON until the next start

AccumulatorPosition

LREAL

[%] The actual position of the accumulator, full: 100%; empty: 0%

Inout

MoldingParameter

PAC_MoldingParameter

Reference to the molding parameters

ProfileID

PAC_ParisonProfileID

Reference to the parison profile ID

DieAxis

Axis_Ref

Reference to the die axis