IF_VelRatio - Change (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Versions:

Current version

Task

The factor of the feed forward velocity of a belt of the IF_Infeed is to be changed.

Description

The feed forward velocity of a belt is generated by connecting the belt to the master belt with a cam. The method changes the gradient of this cam.

Interface

Input

Data type

Description

i_lrVelRatio

LREAL

The desired factor of the feed forward velocity

i_udiBeltId

UDINT

The number of the belt the feed forward velocity of which is to be changed

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnosis.

A value unequal GD.ET_Diag.Ok equates an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnosis.

q_etDiag = GD.ET_Diag.Ok -> status message

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

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

ExecutionAborted

JobBufferOverflow

78

Too many motion commands have been issued.

ExecutionAborted

NotReadyForJob

79

The POU is not ready to execute the job.

InputParameterInvalid

BeltIdRange

11

BeltId is outside the valid range.

InputParameterInvalid

BeltTypeInvalid

77

BeltType is invalid.

InputParameterInvalid

ChannelInvalid

60

No valid channel has been selected.

InputParameterInvalid

VelRatioRange

80

VelRatio is outside the valid range.

UnexpectedProgramBehavior

InterfaceCastFailed

15

The object does not support all required interfaces.

UnexpectedProgramBehavior

LoggerInvalid

38

No valid logger POU has been transferred.

UnexpectedProgramBehavior

UnknownFeedback

20

An unexpected error occurred during execution.

BeltIdRange

Enumeration name:

BeltIdRange

Enumeration value:

11

Description:

BeltId is outside the valid range.

Issue

Cause

Solution

-

An invalid value has been transferred at the input i_udiBeltId.

At the i_udiBeltId input, the number of the belt has to be specified whose feed forward velocity is to be changed. The number must be between one and the number of parameterized belts.

BeltTypeInvalid

Enumeration name:

BeltTypeInvalid

Enumeration value:

77

Description:

BeltType is invalid.

Issue

Cause

Solution

-

An invalid belt has been selected for the correction motion.

It must be made sure that a belt of type ET_BeltType.Series is selected at the input i_udiBeltId.

ChannelInvalid

Enumeration name:

ChannelInvalid

Enumeration value:

60

Description:

No valid channel has been selected.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

InterfaceCastFailed

Enumeration name:

InterfaceCastFailed

Enumeration value:

15

Description:

The object does not support all required interfaces.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

JobBufferOverflow

Enumeration name:

JobBufferOverflow

Enumeration value:

78

Description:

Too many motion commands have been issued.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

LoggerInvalid

Enumeration name:

LoggerInvalid

Enumeration value:

38

Description:

No valid logger POU has been transferred.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

NotReadyForJob

Enumeration name:

NotReadyForJob

Enumeration value:

79

Description:

The POU is not ready to execute the job.

Issue

Cause

Solution

-

The belt is not ready for jobs.

It must be made sure that jobs are issued only when the belt signals via FB_Infeed.raifBelt[x].ifSeriesBelt.xReadyForMotionCommand, FB_Infeed.ifVelRatio.raxReadyForMotionCommand[x] or via FB_Infeed.ifCorrection.raxReadyForMotionCommand[x] that it is ready to accept them.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The feed forward velocity of the belt is being changed.

UnknownFeedback

Enumeration name:

UnknownFeedback

Enumeration value:

20

Description:

An unexpected error occurred during execution.

Issue

Cause

Solution

-

An error occurred in the internal execution.

Please inform the support team about this error.

VelRatioRange

Enumeration name:

VelRatioRange

Enumeration value:

80

Description:

VelRatio is outside the valid range.

Issue

Cause

Solution

-

An invalid value has been transferred at the input i_lrVelRatio.

A value greater than or equal to 0 must be transferred at the input i_lrVelRatio.