FB_CrankDoubleShaftTableGenerator

Implements a calculation algorithm for a crank mechanism with drive levers on both sides.

![]() | Names of the dimension designations in the sketch The dimension designations are the same as the names of the properties of the class to be configured. |
Syntax:
FUNCTION_BLOCK FB_CrankTableGenerator EXTENDS FB_TrafoTableGenerator
Properties
Name | Type | Access | Description |
---|---|---|---|
LookUp | Get, Set | Interface to the table to be written | |
AsymHalf | I_CrankDoubleShaftTableGenerator_Half | Get | Interface to an asymmetrical half of the crank drive. |
DriveArm | LREAL | Get, Set | Lever arm attached to the drive. |
HeightOffset | LREAL | Get, Set | Height offset between the guiding direction of the load and the pivot point of the drive. |
LoadArm | LREAL | Get, Set | Transfer arm to the guided load side. |
DriveHighEnd | LREAL | Get, Set | Upper limit of the drive position. |
DriveLowEnd | LREAL | Get, Set | Lower limit of the drive position. |
DriveStep | LREAL | Get | Step size of the drive positions. |
ParamValid | BOOL | Get | The set parameters have valid values. |
Points | INT | Get, Set | Number of points to be defined. |
Methods
Name | Description |
---|---|
DefineTable() | Starts the calculation of the transformation table. |
Reset() | Resets generator calculations. |
Interfaces
Type | Description |
---|---|
I_TrafoTableGenerator | Standard interface on FB_TrafoTableGenerator. |
I_CrankDoubleShaftTableGenerator | Standard interfaces on FB_CrankDoubleShaftTableGenerator. |
Requirements
Development Environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.66 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v12.10.0.0) |