FB_WtcHmi
HMI parallel class of FB_Wtc
class.
Syntax:
FUNCTION_BLOCK FB_WtcHmi EXTENDS FB_BaseCammingHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_WtcHmi | ||||
Converging | BOOL | Get, Set | FALSE | Convergent die shape: When moving in the direction of material flow, the die closes. |
DelayDieWaitPosition | LREAL | Get, Set | 0.0 [s] | Delay of the FB_Wtc.DieWaitPosition() command for the wait position. |
DieMove | BOOL | Get, Set | FALSE | Die movement: The die is adjusted by the movement of the sleeve. |
DieWaitPosition | LREAL | Get, Set | 0.0 | Wait position of the FB_Wtc.DieWaitPosition() command. |
Diverging | BOOL | Get, Set | FALSE | Diverging die shape: When moving in the direction of material flow, the die opens. |
DoTheWaitPosition | BOOL | Get, Set | FALSE | Command to move to the waiting position. |
DoSetupMode | BOOL | Get, Set | FALSE | Reserved (theoretical control signal for switching to setup mode). |
DoTestposition | BOOL | Get, Set | FALSE | Command to move into the test position. |
PinMove | BOOL | Get, Set | 0.0 | Pin movement: The die is adjusted by moving the inner pin. |
Test position | LREAL | Get, Set | 0.0 | Test position of the FB_Wtc.DoTestPosition() command. |
ToolStroke | LREAL | Get, Set | 0.0 | Availability of the tool stroke. |
FB_BaseCammingHmi | ||||
ActivateCurve | BOOL | Get, Set | FALSE | Command of the HMI to take over the cam plate on control level. |
CurrentIndex | UDINT | Get | 0 | Indicates the current index of the cam plate where the drive position is located. |
FB_AxisHmi | ||||
AxisHomingAbsSwitch | REFERENCE TO FB_HomingAbsoluteSwitchHmi | Get | <Local> | Parameter set for homing via absolute switch. |
AxisHomingBlock | REFERENCE TO FB_HomingBlockHmi | Get | <Local> | Parameter set for homing via end stop. |
AxisHomingBlockDetect | REFERENCE TO FB_HomingBlockDetectHmi | Get | <Local> | Parameter set for calibrating an end stop position. |
AxisHomingBusy | BOOL | Get, (Set) | FALSE | Homing or calibration is active (axis is in homing state). |
AxisHomingFinish | REFERENCE TO FB_HomingFinishHmi | Get | <Local> | Parameter set for completing homing. |
AxisHomingSetup | REFERENCE TO FB_HomingSetupHmi | Get | <Local> | Parameter set for general settings and homing commands. |
AxisIsHomed | BOOL | Get, (Set) | FALSE | Axis was successfully homed. |
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. |
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_WtcHmi | ||
fbParamWtc | FB_MdWtcHmi | Entries in the HMI parameter list under WTC. |
fbPatamWtcTimer | FB_MdWtcTimerHmi | Entries in the HMI parameter list under WTC Timer. FB_Wtc.SetMaster() method was executed once with an FB_WtcTimer. |
FB_BaseCammingHmi | ||
aSetCurve | ARRAY[] OF ST_CPoint | Set curve transmitted by the HMI. |
aActCurve | ARRAY[] OF ST_CPoint | Actual curve that the axis has actually traveled and should be displayed. |
FB_AxisHmi | ||
fbAxisHomingAbsSwitch | FB_HomingAbsoluteSwitchHmi | Parameter set for homing via absolute switch. |
fbAxisHomingBlock | FB_HomingBlockHmi | Parameter set for homing via end stop. |
fbAxisHomingBlockDetect | FB_HomingBlockDetectHmi | Parameter set for calibrating an end stop position. |
fbAxisHomingFinish | FB_HomingFinishHmi | Parameter set for completing homing. |
fbAxisHomingSetup | FB_HomingSetupHmi | Parameter set for general settings and homing commands. |
fbParamAxis | FB_MdAxisHmi | Entries in the HMI parameter list under Axis. |
fbParamHoming | FB_MdHomingHmi | Entries in the HMI parameter list under Homing. |
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_BaseCammingHmi | |
GetActPoint( | Returns an actual value of the displayed curve. |
GetSetPoint( | Returns a setpoint of the displayed curve. |
SetActPoint( | Sets an actual value of the displayed curve. |
SetSetPoint( | Sets a setpoint of the displayed curve. |
FB_BaseHmi | |
Init( | Default initialization method to pass the base class. |
FB_Base | |
SetHMI( | General assignment method for an FB_BaseHmi extending class. |
[ | Extracts the first part of the instance path as an object namespace. |
[ | Extracts the last part of the instance path as the object name. |
Interfaces
Type | Description |
---|---|
I_Base | Standard interface on FB_Base. |
I_WtcHmi | Standard interface on FB_WtcHmi. |
I_BaseCammingHmi | Standard interface on FB_BaseCammingHmi |
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_BaseEmpty | For extension without standard interface. |
I_BaseDev | Covers all methods and properties of the base class. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.7.0) |