FB_CoEAX8000BrakeControl

FB_CoEAX8000BrakeControl 1:

This function block can be used to manually open or close the brake of a motor that is operated on an AX8000.

It should be noted that the brake is permanently closed or opened via "Lock" or "Unlock".

It is recommended to open or close the brake manually only for the necessary duration. The brake should then be set back to "Automatic" mode using the function block.

FB_CoEAX8000BrakeControl 2: Inputs

VAR_INPUT
Execute : BOOL;
Mode : E_AX8000BrakeMode;
END_VAR

Name

Type

Description

Execute

BOOL

The function block is enabled via a positive edge at this input.

Mode

E_AX8000BrakeMode

The mode with which the brake is controlled.

FB_CoEAX8000BrakeControl 3: Inputs/outputs

VAR_IN_OUT
   Axis : AXIS_REF;
END_VAR

Name

Type

Description

Axis

AXIS_REF

Axis data structure that unambiguously addresses an axis in the system. Among other parameters it contains the current axis status, including position, velocity or error state.

FB_CoEAX8000BrakeControl 4: Outputs

VAR_OUTPUT
Busy : BOOL;
Error : BOOL;
ErrorID : UDINT;
END_VAR

Name

Type

Description

Busy

BOOL

This output is set when the function block is activated, and remains set until a feedback is received.

Error

BOOL

This output is set after the Busy output has been reset when an error occurs in the transmission of the command.

ErrorID

UDINT

In the event of a set error output returns the ADS error code.

Requirements

Development environment

Target platform type

PLC libraries to include

Firmware version

Revision

TwinCAT ≥ 4022.36

TwinCAT ≥ 4024.15

PC or CX (x86 or x64)

Tc2_MC2_Drive ≥V3.3.23.0