FB_ManualBaseWork
Implements a ready-made version of a manual function for controlling the end positions of a motion object.
Internal functions:
- Signals the active movement of a motion object.
- Signals that the end position of a motion object has been reached.
Syntax:
FUNCTION_BLOCK FB_ManualBaseWork EXTENDS FB_ManualMotion
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_Manual | ||||
Enable | BOOL | Get, Set | FALSE | Releases the manual function. |
TrigCmdBasePos | Get | - | Trigger on the base position command. | |
TrigCmdWorkPos | Get | - | Trigger on the working position command. | |
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_ManualBaseWork | |
Init( | Initializes the manual function with a motion object and the associated HMI. |
Configuration of the end positions to display the status. | |
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. |
Cycle methods
Name | Description |
---|---|
Cyclic() | Cycle method |
Interfaces
Type | Description |
---|---|
I_Base | Standard interface on FB_Base. |
I_ManualBaseWork | Standard interface on FB_ManualBaseWork. |
I_ManualFunction | Universal interface to a manual function. |
I_ManualDev | Extended interface to a manual function. |
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) |