Skip to main content

TB_Acc_Mode

TB_Acc_Mode

During an acceleration process of the machine this funtionblock add offset values of current and speed. A linear ramp function generator ist implented for this functionality.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_Act_CycCalcBOOLActivate the calculation of the Offset Value depending on the Winder Diameter.
x_Start_AccBOOLStart an Acceleration Process.
i_Ticks_UpINTSystem ticks for Ramping up.
i_Ticks_DownINTSystem ticks for ramping down.
di_Offset_IDINTCurrent Offset during acceleration, while Winder is Zero.
di_Offset_VDINTSpeed Offset during acceleration, while Winder is Zero.
ud_Act_DiaWinUDINTActual Winder Diameter.
ud_Max_DiaWinUDINTMinimal Winder Diameter.
ud_Min_DiaWinUDINTMaximal Winder Diameter.

Ausgänge

Marking:Data type:Description:
x_BusyBOOLFB is busy.
x_ErrorBOOLFB Error.
i_ErrorINTError number.
di_Out_VDINTOutput of the Speed Offset.
di_Out_IDINTOutput of the Current Offset.
s_ErrTxtSTRINGError in a written form.

Ein-/Ausgänge

none

TB_Acc_Mode

TB_Acc_Mode

During an acceleration process of the machine this funtionblock add offset values of current and speed. A linear ramp function generator ist implented for this functionality.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enabling of the module.
x_Act_CycCalcBOOLActivate the calculation of the Offset Value depending on the Winder Diameter.
x_Start_AccBOOLStart an Acceleration Process.
i_Ticks_UpINTSystem ticks for Ramping up.
i_Ticks_DownINTSystem ticks for ramping down.
di_Offset_IDINTCurrent Offset during acceleration, while Winder is Zero.
di_Offset_VDINTSpeed Offset during acceleration, while Winder is Zero.
ud_Act_DiaWinUDINTActual Winder Diameter.
ud_Max_DiaWinUDINTMinimal Winder Diameter.
ud_Min_DiaWinUDINTMaximal Winder Diameter.

Ausgänge

Marking:Data type:Description:
x_BusyBOOLFB is busy.
x_ErrorBOOLFB Error.
i_ErrorINTError number.
di_Out_VDINTOutput of the Speed Offset.
di_Out_IDINTOutput of the Current Offset.
s_ErrTxtSTRINGError in a written form.

Ein-/Ausgänge

none

TB_Calc_Diameter

TB_Calc_Diameter

????????.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_ENBOOL?...?
x_EXECUTEBOOL?...?
r_WIN_DIAMETER_STARTREAL?...?
ud_POS_WIN_INCUDINT?...?
ud_POS_REF_INCUDINT?...?

Ausgänge

Marking:Data type:Description:
x_ERRBOOL?...?
ud_WIN_DIAMETERUDINT?...?
w_ERR_INFWORD?...?

Ein-/Ausgänge

Marking:Data type:Description:
_STRUCT_WINDER_STRUCT_WINDER?..?

TB_Calc_Diameter

TB_Calc_Diameter

????????.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_ENBOOL?...?
x_EXECUTEBOOL?...?
r_WIN_DIAMETER_STARTREAL?...?
ud_POS_WIN_INCUDINT?...?
ud_POS_REF_INCUDINT?...?

Ausgänge

Marking:Data type:Description:
x_ERRBOOL?...?
ud_WIN_DIAMETERUDINT?...?
w_ERR_INFWORD?...?

Ein-/Ausgänge

Marking:Data type:Description:
_STRUCT_WINDER_STRUCT_WINDER?..?

TB_Detect_Rd

TB_Detect_Rd

The function block detects the position and delivers a puls per each round of motor. The detection starts when the fb is enabled. As startposition is the actual position set at the moment when the is enabled.


If the motors stops it has to be send to the fb via the input "x_Stand_Still".

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLFALSE: disable the fb TRUE: enable the fb and set the actual position as start position for a complete turn.
x_DirectionBOOLFALSE: drive turns in positive direction (positive speed) TRUE: drive turns in negative direction (negative speed).
x_Stand_StillBOOLFALSE: drive moves TRUE: drive moves not (speed = 0).
ud_Inc_ResUDINTincrements for a complete turn, for example 65535.
ud_Actual_PosUDINTActual position value of the drive (for example from 0 to 65535).

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLLH-edge: a complete turn of the motor was detected.
x_Round_TrigBOOLFALSE: fb has no error TRUE: fb has error, for more informations see "w_Error_Info".
w_Error_infoWORDbitcoded detaillled description of the errors, see table.
ud_Round_PosUDINTrest of the way to a complete turn.

Ein-/Ausgänge

none
Darstellung in FBD

TB_Detect_Rd

TB_Detect_Rd

The function block detects the position and delivers a puls per each round of motor. The detection starts when the fb is enabled. As startposition is the actual position set at the moment when the is enabled.


If the motors stops it has to be send to the fb via the input "x_Stand_Still".

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLFALSE: disable the fb TRUE: enable the fb and set the actual position as start position for a complete turn.
x_DirectionBOOLFALSE: drive turns in positive direction (positive speed) TRUE: drive turns in negative direction (negative speed).
x_Stand_StillBOOLFALSE: drive moves TRUE: drive moves not (speed = 0).
ud_Inc_ResUDINTincrements for a complete turn, for example 65535.
ud_Actual_PosUDINTActual position value of the drive (for example from 0 to 65535).

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLLH-edge: a complete turn of the motor was detected.
x_Round_TrigBOOLFALSE: fb has no error TRUE: fb has error, for more informations see "w_Error_Info".
w_Error_infoWORDbitcoded detaillled description of the errors, see table.
ud_Round_PosUDINTrest of the way to a complete turn.

Ein-/Ausgänge

none
Darstellung in FBD

TB_J_Comp

TB_J_Comp

...

Empfohlene Task: Event

Verwendete Bibliotheken: -

Eingänge

Marking:Data type:Default:Data range:Description:
......
......

Ein-/Ausgänge

none

TB_J_Comp

TB_J_Comp

...

Empfohlene Task: Event

Verwendete Bibliotheken: -

Eingänge

Marking:Data type:Default:Data range:Description:
......
......

Ein-/Ausgänge

none

TB_KS_Factor

TB_KS_Factor

This FB results in the Ks factor depending on the actual diameter. There are two methods implemented for calculating the Ks factor. One option is the step function and the other is an exponential function. The prefered method can be set in "i_TypeExp".

Empfohlene Task: CYCLIC

Verwendete Bibliotheken: BM_TYPES_XXbd01 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLEnable FB.
x_ExecuteBOOLExecute the fb once.
i_TypeExpINTset the type of KS output signal.
0: Output is step function.
1: Output is e-function.
ud_Diameter_ActUDINTactual diameter of the winder [1/10mm] .
r_Multiplier_ExpREALmultiplier for exponential function. see general describtion.
r_Denominator_ExpREALDenominator for exponential function. see general describtion.
r_Ramp_KpREALKp for step type output of Ks.
0: deactivates P-Controller.
>0: Gain factor P-Controller.
a_Steps_KS_ValueREAL_8_BMARRAYKs value of each step.
a_Steps_KS_RangeUDINT_16_BMARRAYLimits of each step for the Ks change.

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLError at FB.
w_Error_InfoWORDdetailed error describtion. See table below.
r_KS_FaktorREALKS factor.

Ein-/Ausgänge

none
Darstellung in FBD

TB_KS_Factor

TB_KS_Factor

This FB results in the Ks factor depending on the actual diameter. There are two methods implemented for calculating the Ks factor. One option is the step function and the other is an exponential function. The prefered method can be set in "i_TypeExp".

Empfohlene Task: CYCLIC

Verwendete Bibliotheken: BM_TYPES_XXbd01 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLEnable FB.
x_ExecuteBOOLExecute the fb once.
i_TypeExpINTset the type of KS output signal.
0: Output is step function.
1: Output is e-function.
ud_Diameter_ActUDINTactual diameter of the winder [1/10mm] .
r_Multiplier_ExpREALmultiplier for exponential function. see general describtion.
r_Denominator_ExpREALDenominator for exponential function. see general describtion.
r_Ramp_KpREALKp for step type output of Ks.
0: deactivates P-Controller.
>0: Gain factor P-Controller.
a_Steps_KS_ValueREAL_8_BMARRAYKs value of each step.
a_Steps_KS_RangeUDINT_16_BMARRAYLimits of each step for the Ks change.

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLError at FB.
w_Error_InfoWORDdetailed error describtion. See table below.
r_KS_FaktorREALKS factor.

Ein-/Ausgänge

none
Darstellung in FBD

TB_PID_Limit_WR

TB_PID_Limit_WR

???.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EXBOOL???.
x_DONE_WRBOOL???.
x_DONE_RDBOOL???.
x_RESETBOOL???.
r_VALUE_RDREAL???.

Ausgänge

Marking:Data type:Description:
x_EX_WRBOOL???.
x_EX_RDBOOL???.
x_ERRBOOL???.
i_PARA_INDEX_WRINT???.
i_PARA_SUBINDEX_WRINT???.
i_PARA_INDEX_RDINT???.
i_PARA_SUBINDEX_RDINT???.
r_VALUE_WRREAL???.
w_ERR_INFWORD???.

Ein-/Ausgänge

none

TB_PID_Limit_WR

TB_PID_Limit_WR

???.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EXBOOL???.
x_DONE_WRBOOL???.
x_DONE_RDBOOL???.
x_RESETBOOL???.
r_VALUE_RDREAL???.

Ausgänge

Marking:Data type:Description:
x_EX_WRBOOL???.
x_EX_RDBOOL???.
x_ERRBOOL???.
i_PARA_INDEX_WRINT???.
i_PARA_SUBINDEX_WRINT???.
i_PARA_INDEX_RDINT???.
i_PARA_SUBINDEX_RDINT???.
r_VALUE_WRREAL???.
w_ERR_INFWORD???.

Ein-/Ausgänge

none

TB_Tension_Reduc

TB_Tension_Reduc

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.

Empfohlene Task: CYCLIC

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enable FB.
x_ExecuteBOOLLH-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_ErrorBOOLLH-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_MinUDINTminimal winder diameter.
ud_Diameter_MaxUDINTmaximal winder diameter.
ud_Diameter_ActUDINTactual winder diameter.
ud_Tension_EndUDINTEnd tension in percent in relation to the start tension (ud_Tension_Start)
range: 1% <= ud_Tension_End <= 100%.
ud_Tension_StartUDINTFinal tension which the FB put out at minimal diameter (ud_Diameter_Min)
range: 1N <= ud_Tension_Start <= 2000N.

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLTRUE: error in calculation or at the parameterization of the inputs --> for detailled information see w_Error_Info.
w_Error_InfoWORDDetailed error description, bitcoded, please see main page.
ud_Torque_TargetUDINTcalculated torque.
ud_Tension_TargetUDINTcalculated traction.

Ein-/Ausgänge

none
Darstellung in FBD

TB_Tension_Reduc

TB_Tension_Reduc

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.

Empfohlene Task: CYCLIC

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Enable FB.
x_ExecuteBOOLLH-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_ErrorBOOLLH-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_MinUDINTminimal winder diameter.
ud_Diameter_MaxUDINTmaximal winder diameter.
ud_Diameter_ActUDINTactual winder diameter.
ud_Tension_EndUDINTEnd tension in percent in relation to the start tension (ud_Tension_Start)
range: 1% <= ud_Tension_End <= 100%.
ud_Tension_StartUDINTFinal tension which the FB put out at minimal diameter (ud_Diameter_Min)
range: 1N <= ud_Tension_Start <= 2000N.

Ausgänge

Marking:Data type:Description:
x_ErrorBOOLTRUE: error in calculation or at the parameterization of the inputs --> for detailled information see w_Error_Info.
w_Error_InfoWORDDetailed error description, bitcoded, please see main page.
ud_Torque_TargetUDINTcalculated torque.
ud_Tension_TargetUDINTcalculated traction.

Ein-/Ausgänge

none
Darstellung in FBD

TB_Wind_Up

TB_Wind_Up

???.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_ENBOOL???.
x_SPEED_NULLBOOL???.
x_MOMENTEN_GRENZEBOOL???.
ud_ANWICKEL_SPEED_RPMUDINT???.
ud_OFFSET_SPEED_RPMUDINT???.
t_ZEIT_n0_MmaxTIME???.
t_MAX_ANWICKELZEITTIME???.

Ausgänge

Marking:Data type:Description:
x_IN_ZUGBOOL???.
x_ERRBOOL???.
w_ERR_INFWORD???.
di_SET_SPEED_RPMDINT???.

Ein-/Ausgänge

none

TB_Wind_Up

TB_Wind_Up

???.

Empfohlene Task: EVENT

Verwendete Bibliotheken: none

Eingänge

Marking:Data type:Description:
x_ENBOOL???.
x_SPEED_NULLBOOL???.
x_MOMENTEN_GRENZEBOOL???.
ud_ANWICKEL_SPEED_RPMUDINT???.
ud_OFFSET_SPEED_RPMUDINT???.
t_ZEIT_n0_MmaxTIME???.
t_MAX_ANWICKELZEITTIME???.

Ausgänge

Marking:Data type:Description:
x_IN_ZUGBOOL???.
x_ERRBOOL???.
w_ERR_INFWORD???.
di_SET_SPEED_RPMDINT???.

Ein-/Ausgänge

none