FB_Injector

Implements specific functions of an injection axis (injector). Together with an FB_MeteringScrew, the combination of both axes results in an injection unit.
Internal functions:
- Automatic injection sequence, consisting of:
- Injection as a time-based PTP movement
- Holding pressure switchover with HMI-configurable switchover criteria
- Holding pressure phase with active process pressure control
- Cooling phase with active position control
- Automatic decompression after an injection or metering process (configurable)
- Automatic response to metering commands from a metering screw
Syntax:
FUNCTION_BLOCK FB_Injector EXTENDS FB_PtpMotion
Properties
Name | Type | Access | Initial value | Description |
|---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_Injector | ||||
BackPressureParams | Get | <Local> | Parameter set for back pressure control with a connected metering screw. | |
DecompressionDone | BOOL | Get | FALSE | The decompression was carried out completely. |
EnableBackPressure | BOOL | Get, Set | TRUE | Enables the back pressure control. As soon as the connected metering screw requests the back pressure control, it starts automatically. |
HoldPressureParams | Get | <Local> | Parameter set for holding pressure control. | |
InjectionDone | BOOL | Get | FALSE | The injection process has been completed. |
InputPressure | Get, Set | NULL | I/O element for reading in the pressure value to be controlled. | |
IsColling | BOOL | Get | FALSE | The injection process is currently in the cooling phase. |
IsDecompressing | BOOL | Get | FALSE | A decompression command is currently being executed. |
IsHolding | BOOL | Get | FALSE | The injection process is currently in the holding pressure phase. |
IsInjecting | BOOL | Get | FALSE | The injection process is currently in the injection phase. |
ReadyForMetering | BOOL | Get | FALSE | Feedback signal to a metering screw that the back pressure control has been activated. |
FB_PtpMotion | ||||
ClampOnlyLastSeg | BOOL | Get, Set | TRUE | Clamping is only possible in the last segment. |
PtpMoveFinished | BOOL | Get | FALSE | The PTP movement was executed successfully. |
StackSegmentCount | BOOL | Get, Set | TRUE | Aborted segments are taken into account in the subsequent command. |
UseClamping | BOOL | Get, Set | TRUE | Commanded PTP movements should use the set clamping. |
UseManualSpeed | BOOL | Get, Set | FALSE | Commanded PTP movements should be executed at manual speed. |
FB_Axis | ||||
Axis | Get | NULL | Interface to the assigned TF8560 axis. | |
Referencing | Get | <Local> | Functions for referencing the axis. | |
FB_Motion | ||||
Motion | Get | NULL | Interface to the assigned TF8560 motion object. | |
ErrorAlarmTL | Get, Set | Error (3) | Severity of the alarm that the axis triggers in the error state. | |
Specific | Get | - | Technology-specific functions/values | |
FB_BaseMd | ||||
MachineData | Get | - | Interface for machine data handling. | |
FB_Base | ||||
BaseState | Get | eNotHandled | Initialization state of the class instance. | |
Error | BOOL | Get | FALSE | Class is in an error state. |
ResultMessage | Get | - | Access to the class-internal EventLogger. | |
[ | STRING | Get | <SourceName> |
|
Methods
Name | Description |
|---|---|
Reset() | Resets the error state of the class. |
FB_Injector | |
Decompress( | Starts/stops a relative PTP movement to decompress the current injection volume. |
Inject( | Starts/stops a PTP movement with holding pressure switchover switched on. As soon as the switchover conditions are met, the axis automatically switches to holding pressure control. |
SetMetering( | Assigns an associated metering screw to the injection axis. |
FB_PtpMotion | |
ContinuePtp( | Continues a paused |
Starts/stops a PTP movement with the parameterization from the HMI. | |
Starts/stops a point movement with parameterization from the HMI. | |
ResetPtp() | Resets the saved progress of the |
SetCams( | Assigns the cams that are to be used. |
[ | Internal call to update the cam scale. |
[ | Forms the difference of two segment positions. |
FB_Axis | |
SetPosition( | Setting the axis position with the |
FB_Motion | |
Checks the current state of the axis. | |
FeedEnable( | Enable of a direction of movement. |
JogNegative( | Starts/stops a jog movement in negative direction. |
JogPositive( | Starts/stops a jog movement in positive direction. |
Power( | Switching on the drive control. |
SetMotionRef( | Assignment method for the TF8560 motion object. |
FB_BaseMd | |
[ | Adds a component of type I_MdComponent to the machine data container. |
FB_Base | |
GetHMI() | Returns the assigned HMI object.
|
SetHMI( | General assignment method for an
|
[ | Identifies whether the transferred object corresponds to its own instance. |
[ | Extracts the first part of the instance path as an object namespace. |
[ | Extracts the last part of the instance path as the object name. |
Procedure controlling methods (FB_AdaptableSequence)
Name | Description |
|---|---|
Procedure for loading a PTP movement (extended). |
Possible events
ID | Description | Alarm/Message |
|---|---|---|
11 | Object error state | Alarm |
21 | Command rejected | Alarm |
710x | Injection error | Message |
6000 | Pressure control error | Message |
200x | PTP command error | Message |
10 | Axis Errors | Alarm |
20 | Axis command rejected | Alarm |
Machine data
Component | Description | Index range | Number of instances |
|---|---|---|---|
File information | 0x0000 Fxxx | 1 | |
Parameters for back pressure and holding pressure control. | 0x0000 9xxx | 2 | |
Parameters for linear motion | 0x0000 20xx | 1 | |
Applicative axis parameters | 0x0000 1xxx | 1 | |
NC specific parameters, only if | 0x0000 22xx | 1 (0) | |
Transformation-specific parameters, only if | 0x0000 23xx | 1 (0) | |
Parameters for homing the axis | 0x0000 3xxx | 1 | |
Actuator-specific parameters, only if | 0x0000 8xxx | 1 (0) | |
FB_MdMotionParams | General parameters of a TF8560 motion object | 0x0000 0xxx | 1 |
Interfaces
Type | Description |
|---|---|
I_Base | Standard interface on FB_Base. |
I_Injector | Standard interface on FB_Injector. |
I_PtpMotion | Standard interface on FB_PtpMotion. |
I_Axis | Standard interface on FB_Axis. |
I_Motion | Standard interface on FB_Motion |
I_TwoTaskInterface | Runtime interface for two PLC tasks. |
I_BaseMd | Standard interface on FB_BaseMd. |
I_BaseDev | Covers all methods and properties of the base class. |
I_Comparable | Enables comparisons via |
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT 4026 >= v3.1.4026.19 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.14.0.0) |