FB_CoreDebug

FB_CoreDebug 1:

This class is used for better debugging of the core function chain.

Syntax:

FUNCTION_BLOCK FB_CoreDebug

FB_CoreDebug 2: Properties

Name

Type

Access

Description

FunctionMatchesCounter

BOOL

Get

TRUE if CyclicCounter and FunctionCounter have the same value.

FB_CoreDebug 3: Methods

Name

Description

AxisStateIncrement()

Increments the internal counter value nAxisStatecounter.

Is called by FB_CoreFunction.AxisState.Set.

AxisStateReset()

Resets the internal counter value nAxisStatecounter.

CyclicCounterIncrement()

Increments the internal counter value nCyclicCounter.

Is called by FB_CoreFunction.Cyclic().

CyclicCounterReset()

Resets the internal counter value nCyclicCounter.

FunctionCounterIncrement()

Increments the internal counter value nFunctionCounter.

Is called by FB_CoreFunction.NextCore.Set.

FunctionCounterReset()

Resets the internal counter value nFunctionCounter.

SendDebugMessage()

Sends the transferred event as a debug message.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.71
TwinCAT v3.1.4026.19

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v12.14.0.0)