ExternalHydAxisLibRef

ExternalHydAxisLibRef 1:

This class represents a standard hydraulic axis of the Tc2_Hydraulic library (without using an FB_AxisHydraulicBase). This allows standard hydraulic axes and TF8560-based hydraulic axes to communicate with the PlcMcManager in one application.

Syntax:

FUNCTION_BLOCK FB_ExternalHydAxisLibRef
VAR_INPUT
    stAxisRef : AXIS_REF_BkPlcMc;
END_VAR

ExternalHydAxisLibRef 2: Inputs

Name

Type

Description

stAxisRef

AXIS_REF_BkPlcMc

Reference to the hydraulic axis.

ExternalHydAxisLibRef 3: Properties

Name

Type

Access

Description

NextHydAxis

I_ExternalHydAxisLibRef

Get, Set

Interface to another hydraulic axis.

NextHydAxisChainlength

INT

Get

Length of the chain on hydraulic axes.

UseDatFile

BOOL

Get, Set

A TRUE here signals that the axis loads its parameters with function blocks of the hydraulics library from a file during startup.

Notice A TRUE must be set before the first Cyclic call.

ExternalHydAxisLibRef 4: Methods

Name

Description

GetHydAxisRef()

Returns a POINTER to the AXIS_REF_BkPlcMc.

[INTERNAL]
LeaveCriticalSection()

Used internally.

[INTERNAL]
EnterCriticalSection()

Used internally.

ExternalHydAxisLibRef 5: Interfaces

Type

Description

I_ExternalHydAxisLibRef

Standard interface on FB_ExternalHydAxisLibRef.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher

Tc3_PlasticHydraulic v3.12.4.26 or higher