FB_MoveCfgHmi
Summarizes the information of a Move Cluster.
Syntax:
FUNCTION_BLOCK FB_MoveCfgHmi EXTENDS FB_BaseHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_MoveCfgHmi | ||||
REFERENCE TO ARRAY[5] OF FB_CamCfgHmi | Get | <Local> | Cluster cams. | |
ClampingPoint | LREAL | Get, Set | 0.0 | Position from which clamping starts. |
ClampingVelocity | LREAL | Get, Set | 0.0 | Pre-controlled velocity at which the clamping is performed. |
Direction | INT | Get, Set | 0 | Intended direction of the cluster:
< 0 – Negative direction |
EndFunction | INT | Get, Set | 0 | ID of the Move Cluster start function. |
InUse | BOOL | Get, Set | FALSE | Cluster is used. |
ManualVelocity | LREAL | Get, Set | 0.0 | Manual velocity of the cluster. |
REFERENCE TO ARRAY[6] OF FB_SegCfgHmi | Get | <Local> | Segments of the cluster. | |
StartFunction | INT | Get, Set | 0 | ID of the Move Cluster end function. |
ClampingDistance1 | LREAL | Get, Set | 0.0 | Position from which clamping starts. Alternative: ClampingPoint |
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> |
|
1Obsolete
Local HMI variables
Name | Data type | Description |
---|---|---|
fbSegments | ARRAY[6] OF FB_SegCfgHmi | Segments of the cluster. |
fbCams | ARRAY[5] OF FB_CamCfgHmi | Segments of the cluster. |
Methods
Name | Description |
---|---|
Reset() | Resets the error state of the class. |
FB_MoveCfgHmi | |
GetLastSegInUse() | Returns the index of the last segment whose |
GetLastSegInUseItf() | Returns an interface to the last segment whose |
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. |
Possible events
ID | Description | Alarm/Message |
---|---|---|
203 | Invalid index in method call | Message |
Interfaces
Type | Description |
---|---|
I_Base | Standard interface on FB_Base. |
I_MoveCfgHmi | Standard interface on FB_MoveCfgHmi. |
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 (>= v12.8.1.0) |