ExternalGenerating
Not available via the axis interfaces This core function is not available via the axis interfaces. Direct access by the application is not required. |
This core function is used for setpoint generation generated in TwinCAT 3 Plastic Technlogy Functions. It belongs to the group of statically controlled core functions.
Syntax:
FUNCTION_BLOCK FB_ExternalGenerating EXTENDS FB_CorefunctionFeedback
Properties
Name | Type | Access | Description |
---|---|---|---|
InitState | BOOL | Get, Set | The core function is not completely and successfully initialized. |
FB_ExternalGenerating | |||
Position | LREAL | Get, Set | Transfer of the set position. |
Limiting | LREAL | Get, Set | Transfer of the active limitation value |
Velocity | LREAL | Get, Set | Transfer of the target velocity. |
TorqueLimiting1 | LREAL | Get, Set | Transfer of the applied torque limit. |
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 | |||
[ | Get, Set | The current state of the axis state machine. | |
[ | BOOL | Get | The Corefunction is connected to an axis. |
[ | LREAL | Get, Set | The cycle time of the PLC task from which the method |
[ | BOOL | Get, Set | A TRUE indicates that the |
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. |
[ | I_Corefunction | Get, Set | This property is part of the execution chain and must not be affected by the application task. |
[ | BOOL | Get, Set | The axis uses this property to signal an Online Change to the Corefunction. |
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_ExternalGenerating | |
Enables/disables external setpoint generation. | |
FB_Corefunction | |
[ | Applies the command to the axis. |
[ | Clears up some of the possible states. |
[ | This method is called when the axis is reset. |
[ | Removes the command from the axis. |
Interfaces
Type | Description |
---|---|
I_Corefunction | Standard interface on FB_Corefunction. |
I_ExternalGenerating | Standard interface on FB_ExternalGenerating. |
I_CorefunctionFeedback | Standard interface on FB_CorefunctionFeedback. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v12.6.1.0) |