FB_FileTableGenerator

FB_FileTableGenerator 1:

Implements the basic functionality for file-based table reading mechanisms.

FB_FileTableGenerator 2:

Class is abstract

Since the class is defined as ABSTRACT, the class cannot be instantiated and must be implemented using inheritance.

Syntax:

FUNCTION_BLOCK ABSTRACT FB_FileTableGenerator EXTENDS Tc3_PlasticFunctions.FB_TrafoTableGenerator

FB_FileTableGenerator 3: 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

Further characteristics

<>

<>

<>

Implemented by FB_TrafoTableGenerator

FB_FileTableGenerator 4: 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 TRUE is returned.

FB_FileTableGenerator

Reset()

Resets the started, completed or failed reading mechanism.

FB_FileTableGenerator 5: Procedure controlling methods (FB_AdaptableSequence)

Type

Description

States()

Procedure for processing the file loading mechanism

FB_FileTableGenerator 6: Possible events

ID

Description

Alarm/Message

8002

Table could not be read.

Alarm

FB_FileTableGenerator 7: Interfaces

Type

Description

I_FileTableGenerator

Standard interface on FB_FileTableGenerator.

Further interfaces

Implemented by FB_TrafoTableGenerator.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT >= v3.1.4024.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.8.1.0)