TB_Tension_Reduc

Darstellung in FBD

General Information

This function block gives out the tension and the torque depending on the actual diameter. At one mode of operation the tension is constant during the whole diameter change. At the other mode of operation the tension reduces in an hyperbolic way during a rising diameter value. The unit of the end tension is percent. The matching torque is calculated from the tension.

Attention: The function block doesn't make a plausibbility check of the actual diameter.

Recommended Task: CYCLIC
Libraries used: none

General description

InOut Parameter

none

Input Parameter

Marking: Data type: Description:
x_Enable BOOL TRUE: Enable FB.
x_Execute BOOL LH-edge: starts a calculation of traction and torque one time. Before this calculation the fb will be check up the diameter for plausibility. The first x_enable LH-edge suppresses the plausibility check up.
x_Reset_Error BOOL LH-edge: reset all error messages and the internal mismeasure counter. ATTENTION: The first calculation after an error reset ignores the plausibility check up of the diameter. In this case a value jump of the result can occur.
ud_Diameter_Min UDINT minimal winder diameter.
ud_Diameter_Max UDINT maximal winder diameter.
ud_Diameter_Act UDINT actual winder diameter.
ud_Tension_End UDINT End tension in percent in relation to the start tension (ud_Tension_Start)
range: 1% <= ud_Tension_End <= 100%.
ud_Tension_Start UDINT Final tension which the FB put out at minimal diameter (ud_Diameter_Min)
range: 1N <= ud_Tension_Start <= 2000N.

Output Parameter

Marking: Data type: Description:
x_Error BOOL TRUE: error in calculation or at the parameterization of the inputs --> for detailled information see w_Error_Info.
w_Error_Info WORD Detailed error description, bitcoded, please see main page.
ud_Torque_Target UDINT calculated torque.
ud_Tension_Target UDINT calculated traction.
w_Error_Info Description:
Bit 0 Internal error, please raise ud_Diameter_Max and ud_Tension_End.
Bit 1 Minimum Diamater > Maximum Diameter.
Bit 2 Minimum Diameter = 0.
Bit 3 Maximum Diameter = 0.
Bit 4 Start tension out of range: 1 N to 2000 N.
Bit 5 Final tension out of range: 1% to 100%.
Bit 15 No technology license at PLC platform.