FB_Brake - General Information

Overview

Type:

Function block

Available as of:

V1.0.7.0

Inherits from:

-

Implements:

-

Versions:

Current version

Task

Releasing the motor brake.

Description

A positive edge at the i_xRelease input releases the motor brake.

A negative edge at the i_xRelease input allows the motor brake to engage.

NOTE: POU changes cycle time monitoring!

The POU relatively increases the settings of the cycle time monitoring in the enabled state.

The POU independently resets this relative increase when no longer required.

Hereto, the POU must be called-up correctly.

Interface

Input

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU.

A deactivated POU does not execute any actions.

i_xRelease

BOOL

TRUE: the brake will be released.

FALSE: the brake will be closed.

i_ifDrive

IF_Drive

Input for the axis that shall be controlled.

Output

Data type

Description

q_xActive

BOOL

TRUE: The POU is active and has to be executed further.

FALSE: The POU is inactive.

q_xReady

BOOL

TRUE: The POU is ready to operate and can accept user commands.

FALSE: The POU is not ready to accept user commands.

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to an diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message which gives more detailed information on the diagnostic state.

q_xReleased

BOOL

TRUE: the brake is released.

FALSE: the brake is closed.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Disabled

9

The POU is disabled.

OK

Initializing

4

The POU is being initialized.

OK

WaitForNotRelease

280

Waiting until closed.

OK

WaitForRelease

282

Wait for open.

OK

WaitUntilBrakeClosed

283

Wait until the brake is closed.

OK

WaitUntilBrakeReleased

281

Wait until the brake is released.

OK

WaitUntilDisabled

8

Waiting until the POU is deactivated.

DriveConditionInvalid

DriveNotReady

10

The drive is not ready for motion commands.

DriveConditionInvalid

DriveNotReady

10

The drive is not ready for motion commands.

ExecutionAborted

AsyncInitNotFinished

290

Init has not been completed yet.

ExecutionAborted

ColdResetOfControllerNecessary

297

A cold start of the controller is required

ExecutionAborted

NoAsyncTasksCreated

289

No asynchronous task has been generated.

InputParameterInvalid

AsyncInvalid

288

The value of IF_Async is invalid.

InputParameterInvalid

DriveInvalid

3

The connected drive is invalid.

SercosConditionInvalid

SercosNotInPhaseFour

19

The Sercos bus is not in phase 4.

UnexpectedProgramBehavior

AsyncAddWasNotSuccessful

284

It was not possible to transfer an asynchronous job to a task.

UnexpectedProgramBehavior

BrakeStateChangedNotInTime

278

The BrakeState did not change in time.

UnexpectedProgramBehavior

InterfaceCastFailed

285

The prompt for the interface was unsuccessful.

UnexpectedProgramBehavior

SemaphoreMeCreateFailed

287

The creating of a Semaphore failed

UnexpectedProgramBehavior

UnexpectedFeedback

1

An unintended detected error occurred during execution.

AsyncAddWasNotSuccessful

Enumeration name:

AsyncAddWasNotSuccessful

Enumeration value:

284

Description:

It was not possible to transfer an asynchronous job to a task.

Issue

Cause

Solution

-

An error has been detected and occurred in the internal execution.

Please inform the support team about this detected error.

AsyncInitNotFinished

Enumeration name:

AsyncInitNotFinished

Enumeration value:

290

Description:

Init has not been completed yet.

Issue

Cause

Solution

-

Init() method has not yet been completed.

Call up the Init() before you call up Start() for the first time.

After you have called up the Init, wait until Init has been executed successfully. (Init.q_xDone = TRUE)

AsyncInvalid

Enumeration name:

AsyncInvalid

Enumeration value:

288

Description:

The value of IF_Async is invalid.

Issue

Cause

Solution

-

No valid value has been transferred at the i_ifAsync input.

Verify the value at the i_ifAsync input for <> 0.

BrakeStateChangedNotInTime

Enumeration name:

BrakeStateChangedNotInTime

Enumeration value:

278

Description:

The BrakeState did not change in time.

Issue

Cause

Solution

-

An unintended error has been detected while releasing the brake.

Please inform your Schneider Electric representative about this detected error.

ColdResetOfControllerNecessary

Enumeration name:

ColdResetOfControllerNecessary

Enumeration value:

297

Description:

A cold start of the controller is required

Issue

Cause

Solution

-

Gc_udiNumOfAsyncTasks has been changed.

A cold start of the controller and a call up of Init() is required.

Disabled

Enumeration name:

Disabled

Enumeration value:

9

Description:

The POU is disabled.

The function block is disabled and executes no actions whatsoever. i_xEnable and q_xActive are set to FALSE

DriveInvalid

Enumeration name:

DriveInvalid

Enumeration value:

3

Description:

The connected drive is invalid.

Issue

Cause

Solution

-

At the input i_ifDrive, no drive was applied.

At the input i_ifDrive, a valid drive must be transferred.

-

The connected drive does not support all required functionalities.

Establish which functionalities are not supported by the drive by means of output q_sMsg.

Use a drive which supports all required functionalities.

DriveNotReady

Enumeration name:

DriveNotReady

Enumeration value:

10

Description:

The drive is not ready for motion commands.

Issue

Cause

Solution

-

The axis is in position control or not ready for operation.

Verify the state of the axis.

Initializing

Enumeration name:

Initializing

Enumeration value:

4

Description:

The POU is being initialized.

The function block is being initialized and thus is not yet ready to receive commands at its inputs.

The function block will signalize that it is ready for operation with the signal q_xReady = TRUE.

InterfaceCastFailed

Enumeration name:

InterfaceCastFailed

Enumeration value:

285

Description:

The prompt for the interface was unsuccessful.

Issue

Cause

Solution

-

An error has been detected and occurred in the internal execution.

Please inform the support team about this detected error.

NoAsyncTasksCreated

Enumeration name:

NoAsyncTasksCreated

Enumeration value:

289

Description:

No asynchronous task has been generated.

Issue

Cause

Solution

-

Gc_udiNumOfAsyncTasks = 0

Allocate Gc_udiNumOfAsyncTasks with a value > 0 and <= 10.

SemaphoreMeCreateFailed

Enumeration name:

SemaphoreMeCreateFailed

Enumeration value:

287

Description:

The creating of a Semaphore failed

Issue

Cause

Solution

-

An error has been detected and occurred in the internal execution.

Please inform the support team about this detected error.

SercosNotInPhaseFour

Enumeration name:

SercosNotInPhaseFour

Enumeration value:

19

Description:

The Sercos bus is not in phase 4.

Issue

Cause

Solution

-

The parameter State of the Sercos bus is not 4.

Set the Sercos bus parameter PhaseSet to 4.

Verify the Sercos bus for errors.

UnexpectedFeedback

Enumeration name:

UnexpectedFeedback

Enumeration value:

1

Description:

An unintended detected error occurred during execution.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

WaitForNotRelease

Enumeration name:

WaitForNotRelease

Enumeration value:

280

Description:

Waiting until closed.

The brake is open. The function block awaits the i_xRelease = FALSE user operation for closing the brake.

WaitForRelease

Enumeration name:

WaitForRelease

Enumeration value:

282

Description:

Wait for open.

The axis brake can be released via the i_xRelease input.

WaitUntilBrakeClosed

Enumeration name:

WaitUntilBrakeClosed

Enumeration value:

283

Description:

Wait until the brake is closed.

The function block awaits the closure of the brake.

WaitUntilBrakeReleased

Enumeration name:

WaitUntilBrakeReleased

Enumeration value:

281

Description:

Wait until the brake is released.

The function block awaits the release of the brake.

WaitUntilDisabled

Enumeration name:

WaitUntilDisabled

Enumeration value:

8

Description:

Waiting until the POU is deactivated.

The function block is disabled. All internal states are reset and connected resources (e.g. axes) are transferred to a safe state. The function block has to be called up continuously until it reports q_xActive = FALSE.

Methods

Name

Description

RegisterLoggerPoint

Registering the logger points of the POU in the Application Logger