Power

This core function is used to enable or disable active operation of the controlled device.
Syntax:
FUNCTION_BLOCK FB_Power EXTENDS FB_CorefunctionFeedback
Properties
Name | Type | Access | Description |
---|---|---|---|
InitState | BOOL | Get, Set | The core function is not completely and successfully initialized. |
FB_Power | |||
IsFeedEnabledM | BOOL | Get | TRUE if the axis is enabled for active movement in negative direction. |
IsFeedEnabledP | BOOL | Get | TRUE if the axis is enabled for active movement in positive direction. |
Override | LREAL | Get, Set | A factor for scaling commanded velocities. |
Status | BOOL | Get | TRUE, if the axis is enabled for active operation. |
Timeout | LREAL | Get, Set | If there is no response, an axis error is triggered after the time-out period. |
FB_CorefunctionFeedback | |||
AbortedState | BOOL | Get, Set | Signals the abort of a command by another Corefunction. |
BusyState | BOOL | Get, Set | Signals the active execution of a command. |
DoneState | BOOL | Get, Set | Signals the successful execution of a command. |
IdleState | BOOL | Get, Set | The Corefunction is ready for operation and commandable. |
IsCommanded | BOOL | Get | Signals the pending of a command. |
FB_Corefunction | |||
FailedState | BOOL | Get, Set | If IsActivated is TRUE at the same time: Signals the failure of an accepted command. If IsActivated is FALSE at the same time: Signals the rejection of a command. |
HasFeedback | BOOL | Get | The core function has responded to a pending command. |
IsActivated | BOOL | Get | The core function has an accepted command pending. |
IsLocalCmd | BOOL | Get | Signals that the axis is assigned with a command of this core function. |
ReadyState | BOOL | Get, Set | The Corefunction is ready for operation, but is not commandable at this time. Possible reasons are: |
Methods
Name | Description |
---|---|
[ | This method is called cyclically by the axis. |
FB_Power | |
Enable for active operation of the axis. | |
Directional enables for commanding active axis movements. |
Interfaces
Type | Description |
---|---|
I_Corefunction | Standard interface on FB_Corefunction. |
I_Power | Standard interface on FB_Power. |
I_PowerDev | Extended interface with access to the |
I_CorefunctionFeedback | Standard interface on FB_CorefunctionFeedback. |
Example:
iAxisBase.Power.DoPower(bEnable);
iAXisBase.Power.FeedEnable(bEnable, bEnable);
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |