CheckAxisState()

CheckAxisState() 1:

Checks the current state of the TF8560 axis.

Syntax:

METHOD CheckAxisState : BOOL
VAR_INPUT
    eState:        BOOL;
    bSendEvent:    BOOL;
END_VAR

CheckAxisState() 2: Inputs

Name

Type

Description

eState

E_AxisState

Axis condition to be checked

bSendEvent

BOOL

Logging an event when the checked state does not match.

CheckAxisState() 3: Outputs

Name

Type

Description

CheckAxisState

BOOL

Is TRUE if the axis state matches.

CheckAxisState() 4: Possible events

ID

Description

Alarm/Message

1000

Axis is not in state ‘{0}’

Message

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)