Setting parameters - Tc3_PlasticBaseAppStaticParams

Static parameter list of the Tc3_PlasticBaseApplication.

Syntax:

{attribute 'qualified_only'}
VAR_GLOBAL CONSTANT
// ===============================================================
// available

    // Static motion paramters
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxTrafoPoints:               INT := 181; 
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxCurvePoints:               INT := 401;
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxPtpPoints:                 INT := 6;
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxMoveCluster:               INT := 2;
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxCams:                      INT := 5;
    
    // Static temperature parameters
    {attribute 'TcHmiSymbol.Hide'}
    cnTempGroups:                   INT := 5;
    {attribute 'TcHmiSymbol.Hide'}
    cnTempTimers:                   INT := 30;
    
    // Trend
    {attribute 'TcHmiSymbol.Hide'}
    cnTrendSize:                    INT := 50;
    
    // Logger
    {attribute 'TcHmiSymbol.Hide'}
    cnLoggerBufferSize:             UINT := 100;    
    
    // Runtime handling
    {attribute 'TcHmiSymbol.Hide'}
    cnRuntimeObjects:               INT := 100;
    
    // maximum number of global alarms active at the same time
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxAlarms:                    UINT := 50;
    
    // maximum number of appendable custom values/settings
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxShotScopeCustom:            UINT := 20;
    
    // Data on FileSystem 
    {attribute 'TcHmiSymbol.Hide'}
    csFsSeparator:                  STRING := '\'
    {attribute 'TcHmiSymbol.Hide'}
    csHardDisk:                     STRING := 'C:';
    {attribute 'TcHmiSymbol.Hide'}
    csDataFolderName:               STRING := 'Data\Machine';
    {attribute 'TcHmiSymbol.Hide'}
    csMachineName:                  STRING := 'Beckhoff';
    
    // obsolete support
    {attribute 'TcHmiSymbol.Hide'}
    cbSupportObsoleteVars:          BOOL := FALSE; 
    
// ===============================================================
// obsolete

    {attribute 'hide'}
    cnNoOfTrafoPoints:             INT := cnMaxTrafoPoints;
    {attribute 'hide'}
    cnTempZonesPerGroup:           INT := 20; 
    {attribute 'hide'}
    cnNoOfCammmingPoints:          INT := cnMaxCurvePoints - 1; 
    {attribute 'TcHmiSymbol.Hide'}
    cnMaxPtpCams:                  INT := cnMaxCams / cnMaxMoveCluster;

// ===============================================================
END_VAR

Values

Name

Description

Default

cnMaxTrafoPoints

Maximum number of transformation points for the buffer for loading a table from a file.

181

cnMaxCurvePoints

Maximum number of points of an FB_CurveHmi -based cam plate (e.g. for using the TF8550 CurveEditor).

401

cnMaxPtpPoints

Maximum number of PTP segments.

6

cnMaxMoveCluster

Maximum number of clusters (Grouped PTP segments).

2 (Work-/Basepos)

cnMaxCams

Maximum number of cam switches in an FB_CamsHmi cam switch list (e.g. for use with the TF8550 CamControl).

10

cnTempGroups

Number of available temperature groups.

5

cnTempTimers

Number of weekly timings for scheduling the temperature control.

30

cnTrendSize

Maximum number of trend values that can be historized.

50

cnLoggerBufferSize

Size of the buffer of FB_CsvBase derived logger classes.

100

cnRuntimeObjects

Number of control objects that can be appended to the runtime.

100

cnMaxAlarms

Maximum number of alarms that can be active at the same time.

50

cnMaxShotScopeCustom

Maximum number of user-specific values that can be added to ShotScope.

20

csFsSeparator

File system: Separator. “/” for UNIX® and Linux®

\ (Windows)

csHardDisk

File system: Target drive of the default path.

C: (Windows)

csDataFolderName

File system: Destination folder of the default path on the target drive.

Data\Machine

csMachineName

Machine data: Abbreviation for the identification of a machine data file.

Beckhoff

cbSupportObsoleteVars

Supports the previous handling of hidden internal variables of a class, which are no longer used by the current algorithm due to changes.

FALSE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 4026 >= v3.1.4026.19
TwinCAT 4024 >= v3.1.4024.71

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.16.0.0)