FB_MasterVelFeedForward - General Information
Type: |
Function block |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
Calculation of the required feed forward velocity for an infeed distance
The mean product flow on the feed belt and on the target belt of an infeed distance must be the same. However, the product feed that precedes an infeed distance normally delivers a product flow with a variable time mean value. If idle cycles on the target belt are to be avoided, the velocity of the target belt must be adjusted to the mean product flow of the feed belt or vice versa.
To this end, the POU measures the mean product flow of the feed belt and the mean flow of the targets on the target belt and from this calculates the velocity at which the feed belt or the target belt has to move in order to match the mean product flow of the mean flow of the targets.
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_xStart |
BOOL |
A rising edge FALSE -> TRUE starts the calculation with the set parameters. |
i_xWsSelect |
BOOL |
TRUE: Warm start is selected. In the case of a positive edge at i_xStart, a warm start is performed. |
i_ifInfeed |
The instance of the FB_Infeed for which the calculation is to be performed. |
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 function block is not ready to accept user commands. |
q_etDiag |
General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
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. |
Input/Output |
Data type |
Description |
---|---|---|
iq_stParameter |
The parameters of the POU |
|
iq_stFeedBack |
The return values of the POU |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
7 |
The POU is being disabled. |
|
OK |
1 |
The POU is disabled. |
|
OK |
2 |
The POU is being initialized. |
|
OK |
3 |
Waiting for starting command. |
|
OK |
6 |
The POU is working. |
|
ControllerConditionInvalid |
26 |
The controller does not support all required time functionalities. |
|
InputParameterInvalid |
11 |
BeltId is outside the valid range. |
|
InputParameterInvalid |
94 |
An invalid infeed POU has been transferred. |
|
UnexpectedProgramBehavior |
20 |
An unexpected error occurred during execution. |
Enumeration name: |
BeltIdRange |
Enumeration value: |
11 |
Description: |
BeltId is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value has been applied at the input i_lrVel. |
It must be made sure that a value greater than 0 and smaller than the number of parameterized belts of the connected FB_Infeed POU is applied at the iq_stParameter.udiBeltId input. |
Enumeration name: |
Disabled |
Enumeration value: |
1 |
Description: |
The POU is disabled. |
The function block is deactivated, it executes no actions whatsoever. i_xEnable and q_xActive have the value FALSE.
Enumeration name: |
Disabling |
Enumeration value: |
7 |
Description: |
The POU is being disabled. |
The POU is being disabled.
Enumeration name: |
InfeedInvalid |
Enumeration value: |
94 |
Description: |
An invalid infeed POU has been transferred. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid object has been applied at the input i_ifInfeed. |
It must be made sure that the instance of the FB_Infeed POU is transferred to the i_ifInfeed input, the belts of which are to be monitored. |
Enumeration name: |
Initializing |
Enumeration value: |
2 |
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 POU will signalize that it is ready for operation with the signal q_xReady = TRUE.
Enumeration name: |
NoTimeInterface |
Enumeration value: |
26 |
Description: |
The controller does not support all required time functionalities. |
Issue |
Cause |
Solution |
---|---|---|
- |
The connected controller does not support all required functionalities. |
Use a controller that supports all required functionalities. |
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. |
Enumeration name: |
WaitForStart |
Enumeration value: |
3 |
Description: |
Waiting for starting command. |
The function block has completed its initialization and is waiting for a positive edge at the input i_xStart before continuing the processing.
Enumeration name: |
Working |
Enumeration value: |
6 |
Description: |
The POU is working. |
The feed forward velocities are being calculated.
Name |
Description |
---|---|
Registers the internal logger point in the Application Logger. |