FB_TrafoFunctions
Implements specific functions for a transforming TF8560 axis.
Syntax:
FUNCTION_BLOCK FB_TrafoFunctions EXTENDS FB_Base
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
AttachableMdInterface | I_MdComponent | Get | - | Interface to the machine data component |
IsTrafo | BOOL | Get | FALSE | Transformer functions are supported by the assigned axis type. |
LowerLimit | LREAL | Get, Set | 0.0 | Lower limit of the real transformation |
ParamList | I_Parameter | Get | - | Internal list for storing the TableGenerator parameters in the machine data |
Table | I_CammingLookUp | Get | - | Interface to the instance of the table |
TableGenerator | I_TrafoTableGenerator | Get, Set | NULL | Interface to a TableGenerator class to be assigned |
UpperLimit | LREAL | Get, Set | 0.0 | Upper limit of the real transformation |
Methods
Name | Description |
---|---|
AssignTableToAxis() | Assigns the internal table to the axis instance (means activating the transformation curve) |
ConvDriveEndsToLoadEnds() | Calculates the resulting software end positions of the load side using the transformation table |
CopyTableDriveEnds() | Copies the start and end position of the TableGenerator class to the software end positions of the drive axis. |
FillDebugTable() | Copies the contents of the internal table into a two-dimensional array |
ParamListToTableGenerator() | Copies the internal parameter list to the parameters of the TableGenerator |
TableGeneratorToParamList() | Copies the parameters of the TableGenerator into the internal parameter list |
Possible events
ID | Description | Alarm/Message |
---|---|---|
201 | Calling the TableGenerator property without previous assignment | Message |
Interfaces
Type | Description |
---|---|
I_TrafoFunctions | Standard interface on FB_TrafoFunctions |
I_AttachableMdInterface | Interface for containerless machine data components |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.42 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.5) |