FC_SetEnableLoadEff - General Information

Overview

Type:

Function

Available as of:

V1.1.0.0

Support for:

PacDrive pilot template architecture

Task

Function for describing the EnableLoadEff parameter of the controller.

Description

By means of this function, the monitoring of the cycle times can be enabled on the controller. By monitoring the EffectiveLoad values are displayed on the controller.

Interface

Input

Data type

Description

i_xEnableLoadEff

BOOL

Specifies the value for LMC_PacDrive.EnableLoadEff.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> status message

q_etDiag <> GD.ET_Diag.Ok -> diagnostic message

q_sMsg

STRING[80]

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

Return Value

Data type

Description

BOOL

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ControllerConditionInvalid

ControllerInvalid

6

The controller is invalid.

ControllerInvalid

Enumeration name:

ControllerInvalid

Enumeration value:

6

Description:

The controller is invalid.

Issue

Cause

Solution

-

This function is not supported on the controller.

Use a other controller.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok