FB_InjectorHmi

HMI parallel class of FB_InjectorHmi class.
Syntax:
FUNCTION_BLOCK FB_InjectorHmi EXTENDS FB_PtpMotionHmi
Properties
Name | Type | Access | Initial value | Description |
|---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_InjectorHmi | ||||
ActPressure | LREAL | Get | 0.0 [bar] | Current process pressure of the injection axis. |
BackPressure | LREAL | Get, Set | 20.0 [bar] | Setpoint for back pressure control. |
BackPressureLimiting | LREAL | Get, Set | 0.0 [%] | Axis pressure/torque limitation during back pressure control. |
CoolingTimer | Get | <Local> | Interface to the timer that runs during the cooling phase. | |
DecompAfterInjection | BOOL | Get, Set | TRUE | If TRUE, decompression is carried out after the injection process. |
DecompAfterMetering | BOOL | Get, Set | TRUE | If TRUE, decompression is carried out after the metering process. |
DecompTravel | LREAL | Get, Set | 5.0 [mm] | Relative distance to be traveled when decompressing. |
DecompVelocity | LREAL | Get, Set | 20.0 [mm/s] | The velocity at which decompression is to be performed. |
HoldingLimiting | LREAL | Get, Set | 0 [%] | Axis pressure/torque limitation during holding pressure control. |
HoldingPressure | LREAL | Get, Set | 50.0 [bar] | Setpoint for holding pressure control. |
HoldingTimer | Get | <Local> | Interface to the timer that expires during the holding pressure phase. | |
PressureScalings | Get | <Local> | Scaling setting for the process pressure sensor. | |
SwitchOver | Get | <Local> | Settings for switching over to holding pressure. | |
FB_PtpMotionHmi | ||||
ActiveMove | INT | Get, Set | 0 | Index of the active cluster. |
ActiveSegment | INT | Get, Set | 0 | Index of the active segment. |
AxisMove | REFERENCE TO FB_AxisMoveHmi | Get | <Local> | Motion configuration object. |
EnableRecipe | BOOL | Get, Set | FALSE | Enables recipe handling via I_Recipe. |
NativeCams | Get, Set | <Local> | Internal instance of FB_CamsHmi for querying the cam switch values. | |
FB_AxisHmi | ||||
EncoderZeroShift | LREAL | Get, (Set) | 0.0 | Zero offset shift of the axis. |
LimitingReference | LREAL | Get | 100.0 [%] | Reference value (maximum) for commanded limiting values (pressure or torque limit). |
MaxAcceleration | LREAL | Get | 0.0 | Maximum acceleration of the axis. |
MaxDeceleration | LREAL | Get | 0.0 | Maximum deceleration of the axis. |
MaxJerk | LREAL | Get | 0.0 | Maximum jerk of the axis. |
MaxPosition | LREAL | Get | 0.0 | Maximum position of the axis. |
MaxVelocity | LREAL | Get | 0.0 | Maximum velocity of the axis. |
MinPostion | LREAL | Get | 0.0 | Minimum position of the axis. |
MinVelocity | LREAL | Get | 0.0 | Minimum velocity of the axis. |
Referencing | Get | <Local> | Parameter sets and commands for referencing the axis. | |
SetPosition | LREAL | Get, Set | 0.0 | Position used when calling FB_Axis.SetPosition(). |
UnitGroup | STRING(64) | Get, Set | ‘Length‘ | Physical quantity with which the axis is parameterized and operated. |
FB_MotionHmi | ||||
ActPosition | LREAL | Get | 0.0 | Current position of the connected motion object |
ActVelocity | LREAL | Get | 0.0 | Current velocity of the connected motion object |
JogLimitingNegative | LREAL | Get, Set | 0.0 | Limitation of the jog command via the FB_Motion.JogNegative() method |
JogLimitingPositive | LREAL | Get, Set | 0.0 | Limitation of the jog command via the FB_Motion.JogPositive() method |
JogVelocityNegative | LREAL | Get, Set | 0.0 | Velocity of the jog command via the FB_Motion.JogNegative() method |
JogVelocityPositive | LREAL | Get, Set | 0.0 | Velocity of the jog command via the FB_Motion.JogNegative() method |
ManualPower | Get, Set | <Local> | Interface for a manual function to switch on the motion object. | |
Specific | REFERENCE TO FB_MotionSpecificHmi | Get | <Local> | Access to the technology-specific functions |
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> |
|
Local HMI variables
Name | Data type | Description |
|---|---|---|
fbParamHandle | FB_MdHandleHmi | Handling interface for loading and saving machine data. |
FB_InjectorHmi | ||
fbSwitchOver | Settings for switching over to holding pressure. | |
fbPressureScalings | Scaling settings for the process pressure sensor. | |
fbCoolingTimer | Timer that runs during the cooling phase | |
fbHoldingTimer | Timer that runs during the holding pressure phase. | |
fbParamPressureSensor | FB_MdAnalogValueHmi | Entries in the HMI parameter list under Pressure sensor. |
fbParamBackPressure | FB_MdPCtrlParamsHmi | Entries in the HMI parameter list under Back pressure. |
fbParamHoldingPressure | FB_MdPCtrlParamsHmi | Entries in the HMI parameter list under Holding pressure. |
FB_PtpMotionHmi | ||
aRecipe | ARRAY[] OF FB_MoveClusterRecipe | Structured recipe values for the motion configuration. |
fbAxisMove | Motion configuration object. | |
fbNativeCams | FB_NativeCamsHmi | Internal cam switch list for connection with the TF8550 CamControl. |
fbParamPtpMotion | FB_MdPtpMotionHmi | Entries in the HMI parameter list under Linear motion. |
FB_AxisHmi | ||
fbParamAxis | FB_MdAxisHmi | Entries in the HMI parameter list under Axis. |
fbParamHoming | FB_MdHomingHmi | Entries in the HMI parameter list under Homing. |
fbReferencing | FB_ReferencingHmi | Parameter sets and commands for referencing. |
FB_MotionHmi | ||
fbManualPower | Interface for a manual function to switch on the motion object. | |
fbSpecific | FB_MotionSpecificHmi | Technology-specific functions of the motion object. |
Methods
Name | Description |
|---|---|
Reset() | Resets the error state of the class. |
FB_PtpMotionHmi | |
Moves( | Returns an interface to the xth move cluster. |
FB_BaseHmi | |
Init( | Default initialization method to pass the base class. |
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. |
![]() | Exceptions avoidance The list access functions (e.g. Channels(x), Groups(x), etc...) return a pseudo variable if the requested index is invalid. In addition, a message is thrown in the EventLogger. |
Interfaces
Type | Description |
|---|---|
I_Base | Standard interface on FB_Base. |
I_InjectorHmi | Standard interface on FB_InjectorHmi. |
I_PtpMotionHmi | Standard interface on FB_PtpMotionHmi. |
I_Recipe | Interface for managing structured recipe values. |
I_AxisHmi | Standard interface on FB_AxisHmi. |
I_MotionHmi | Standard interface on FB_MotionHmi. |
I_BaseMdHmi | Standard interface on FB_BaseMdHmi. |
I_BaseHmi | Standard interface on FB_BaseHmi. |
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) |
