FB_FileTableGenerator
Implements the basic functionality for file-based table reading mechanisms.
Class is abstract Since the class is defined as |
Syntax:
FUNCTION_BLOCK ABSTRACT FB_FileTableGenerator EXTENDS Tc3_PlasticFunctions.FB_TrafoTableGenerator
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
FilePath | STRING | Get, Set | ‘‘ | File path on the target system to the stored description file. |
FB_FileTableGenerator | ||||
DriveHighEnd | LREAL | Get | 0.0 | Read highest point of the drive side. Can be used in equidistant mode to define the drive points. |
DriveLowEnd | LREAL | Get | 0.0 | Read lowest point of the drive side. Can be used in equidistant mode to define the drive points. |
LoadHighEnd | LREAL | Get | 0.0 | Read highest point of the load side. |
LoadLowEnd | LREAL | Get | 0.0 | Read lowest point of the load side. |
Tc3_PlasticFunctions.FB_TrafoTableGenerator | ||||
<> | <> | <> | Implemented by FB_TrafoTableGenerator |
Methods
Name | Description |
---|---|
DefineTable() | Starts reading the table from the file. The function runs asynchronously and must be called several times. As soon as the file has been successfully loaded, a |
FB_FileTableGenerator | |
Reset() | Resets the started, completed or failed reading mechanism. |
Procedure controlling methods (FB_AdaptableSequence)
Type | Description |
---|---|
Procedure for processing the file loading mechanism |
Possible events
ID | Description | Alarm/Message |
---|---|---|
8002 | Table could not be read. | Alarm |
Interfaces
Type | Description |
---|---|
I_FileTableGenerator | Standard interface on FB_FileTableGenerator. |
Implemented by FB_TrafoTableGenerator. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.8.1.0) |