FB_CrankTableGenerator

FB_CrankTableGenerator 1:

Implements a calculation algorithm for a crank mechanism.

FB_CrankTableGenerator 2:
FB_CrankTableGenerator 3:

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

FB_CrankTableGenerator 4: Properties

Name

Type

Access

Description

LookUp

I_CammingLookUp

Get, Set

Interface to the table to be written

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.

FB_CrankTableGenerator 5: Methods

Name

Description

DefineTable()

Starts the calculation of the transformation table.

Reset()

Resets generator calculations.

FB_CrankTableGenerator 6: Interfaces

Type

Description

I_TrafoTableGenerator

Standard interface on FB_TrafoTableGenerator.

I_CrankTableGenerator

Standard interface on FB_CrankTableGenerator.

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)