ST_TcMcAutoIdent

ST_TcMcAutoIdent 1:

Available from version 3.0.4

In this structure the parameters for an MC_AxUtiAutoIdent_BkPlcMc function block are stored. It contains further information about the purpose of the individual elements.

Syntax

TYPE ST_TcMcAutoIdent :
(* last modification: 08.11.2019 *)
STRUCT
     EndOfTravel_Negativ:        LREAL:=0.0;
     EndOfTravel_Positiv:        LREAL:=0.0;
     EndOfTravel_NegativLimit:   LREAL:=0.0;
     EndOfTravel_PositivLimit:   LREAL:=0.0;
     DecelerationFactor:         LREAL:=1.0;
     EndOfVelocity_NegativLimit: LREAL:=0.0;
     EndOfVelocity_PositivLimit: LREAL:=0.0;
     EndOfTravel_LastIdent_P:    LREAL:=0.0;
     EndOfTravel_LastIdent_M:    LREAL:=0.0;
     ValveCharacteristicLowEnd:  LREAL:=0.0;
     ValveCharacteristicHighEnd: LREAL:=0.0;
     ValveCharacteristicRamp:    LREAL:=0.0;
     ValveCharacteristicSettling:LREAL:=0.0; (* starting with V3.0.32 *)
     ValveCharacteristicRecovery:LREAL:=0.0;
     ValveCharacteristicMinCycle:LREAL:=0.0;

     Valve_LinLimitP: LREAL:=0.0;   (* starting with V3.0.46 *)
     Valve_LinLimitM: LREAL:=0.0;

     ValveCharacteristicTable:   ARRAY[1..100,1..2] OF LREAL;

     EndOfIncrements_Negativ:    DINT:=0;
     EndOfIncrements_Positiv:    DINT:=0;

     ValveCharacteristicType:    INT:=0; (* starting with V3.0.33 *)
     ValveCharacteristicTblCount:INT:=0;

     EnableEndOfTravel:          BOOL:=FALSE;
     EnableOverlap:              BOOL:=FALSE;
     EnableZeroAdjust:           BOOL:=FALSE;
     EnableArreaRatio:           BOOL:=FALSE;
     EndOfTravel_PositivDone:    BOOL:=FALSE;
     EndOfTravel_NegativDone:    BOOL:=FALSE;
     EnableValveCharacteristic:  BOOL:=FALSE;
     EnableNoUturn: BOOL:=FALSE;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

EndOfTravel_Negativ

LREAL

[mm] If determination of the travel limits is activated, this value is determined by the function block. If it is disabled, the application must specify the value here.

EndOfTravel_Positiv

LREAL

[mm] If determination of the travel limits is activated, this value is determined by the function block. If it is disabled, the application must specify the value here.

EndOfTravel_NegativLimit

LREAL

[V] This parameter limits negative output voltages.

EndOfTravel_PositivLimit

LREAL

[V] This parameter limits positive output voltages.

DecelerationFactor

LREAL

[1] After the measuring stroke, the axis is moved to the end of the measuring path for the next measuring stroke. The regular axis parameters fMaxAcc and fMaxDec, which are weighted with this factor, are used.

EndOfVelocity_NegativLimit

LREAL

[mm/s] This parameter limits negative velocities. If this velocity is reached or exceeded during the measurement, the current measurement is completed, but no further measurement in this direction is performed.

EndOfVelocity_PositivLimit

LREAL

 [mm/s] This parameter limits positive velocities. If this velocity is reached or exceeded during the measurement, the current measurement is completed, but no further measurement in this direction is performed.

EndOfTravel_LastIdent_P

LREAL

No description available

EndOfTravel_LastIdent_M

LREAL

No description available

ValveCharacteristicLowEnd/

ValveCharacteristicHighEnd

LREAL

ValveCharacteristicMinCycle: [mm] The measurement travel is only valid if the measuring voltage was established before the axis has moved towards the center of the measuring distance defined by ValveCharacteristicHighEnd and ValveCharacteristicLowEnd by less than half its value. Otherwise the effective measuring distance (without ramps) is less than this distance, and this measurement and all further measurements in this direction are replaced by a value calculated using the reference velocity of the axis.

ValveCharacteristicRamp

LREAL

[s] This parameter specifies the ramp for establishing the measuring voltage for the characteristic curve determination. During the specified time the voltage is increased to 10 V. Since the actual voltages are generally lower, less time is usually required to establish the voltage. Please pay attention to the notes at the end of this document.

ValveCharacteristicSettling

LREAL

[s] Once the control value has been ramped up to the test level for the measurement, the starting of the measurement can be delayed through this parameter.

If a lower velocity than at the previous measuring point is detected in the same direction during the measurement at a test output, a warning is issued regardless of the set logger limit. The measuring point is automatically corrected to avoid falling characteristic ranges. This correction has no influence on the validity of the characteristic curve. However, it should be checked whether the values in ValveCharacteristicRamp and ValveCharacteristicSettling are suitable for this axis.

ValveCharacteristicRecovery

LREAL

[s] This parameter defines a dwell time, which is adhered to before the measurement travel. This enables the supply to compensate a pressure drop that may have been caused by the previous measurement travel.

ValveCharacteristicMinCycle

LREAL

See description under ValveCharacteristicLowEnd/ ValveCharacteristicHighEnd

Valve_LinLimitP/

Valve_LinLimitM

LREAL

[mm/s] The lowest velocity for using the linearization table. For lower velocities, the characteristic curve is replaced by a straight line that connects the zero point with the point for the velocity specified here.

ValveCharacteristicTable

ARRAY

This ARRAY[1..2,1..100] contains the value pairs of the linearization table. ValveCharacteristicTable[nnn,1] is the normalized velocity value, ValveCharacteristicTable[nnn,2] is the normalized output value. Within the table, the value pairs with increasing index have increasing values for the velocity value and the output value. The first value pair therefore describes the fastest negative point, the last active value pair the fastest positive point. During automatic determination, the control voltage is limited to EndOfTravel_NegativLimit and EndOfTravel_PositivLimit and the velocity to EndOfVelocity_NegativLimit and EndOfVelocity_PositivLimit. The further points of the table are determined through extrapolation from the last two measuring points.

EndOfIncrements_Negativ

DINT

[1] If determination of the travel limits is activated, this value is determined by the function block. It then matches EndOfTravel_Negativ, but it is the raw encoder value in increments.

EndOfIncrements_Positiv

DINT

[1] If determination of the travel limits is activated, this value is determined by the function block. It then matches EndOfTravel_Positiv, but it is the raw encoder value in increments.

ValveCharacteristicType

INT

The identification can be adapted here to special valve variants or special conditions of the axis. See also E_TcMcValveType.

ValveCharacteristicTblCount

INT

This parameter specifies the number of value pairs to be determined in ValveCharacteristicTable. The value must be odd and between 3 and 99 (including).

EnableEndOfTravel

BOOL

If this boolean parameter is set, the mechanical travel limits are determined automatically. First, the system ensures that the axis can move freely or is at the positive function block. The axis is now moved with a negative control voltage until it has reached the function block. The axis is then operated with a positive control voltage until the positive function block has been detected. The control voltage is limited to EndOfTravel_NegativLimit and EndOfTravel_PositivLimit. If the positive travel limit falls below the negative limit, the values are swapped, and Axis.stAxParams.bDrive_Reversed is inverted.

EnableOverlap/

EnableZeroAdjust

BOOL

If one of these boolean parameter is set, the cover or the offset voltage of the valve is determined.

Thus operation is influenced by EndOfTravel_Negative and EndOfTravel_Positive.

EnableArreaRatio

BOOL

If this boolean parameter is set, the direction-dependent velocity ratio is determined. First, the axis is moved into a position window, which is located between pStAxAutoParams. EndOfTravel_Positiv and pStAxAutoParams. EndOfTravel_Negativ, in the middle. The width of the window is 80% of the area defined by these parameters. Then, the axis is moved in positive and negative direction for one second with a control voltage of 1 V. The velocities determined during this movement are divided, in order to determine the velocity ratio.

EndOfTravel_PositivDone

BOOL

This signal is set by the function block if determination of the travel limits is disabled or the positive travel limit was determined.

EndOfTravel_NegativDone

BOOL

This signal is set by the function block if determination of the travel limits is disabled or the negative travel limit was determined.

EnableValveCharacteristic

BOOL

If this boolean parameter is set, the characteristic velocity curve is determined automatically.

EnableNoUturn

BOOL

No description available