FB_ScotchYokeTableGenerator
Implements a calculation algorithm for a scotch yoke mechanism.
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_ScotchYokeTableGenerator EXTENDS FB_TrafoTableGenerator
Properties
Name | Type | Access | Description |
---|---|---|---|
LookUp | Get, Set | Interface to the table to be written | |
DriveArm | LREAL | Get, Set | Radius of the eccentric rotation. |
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_ScotchYokeTableGenerator | Standard interface on FB_ScotchYokeTableGenerator. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v3.12.5.0) |