Configuring a variable

The following variables may be configured individually:

  • Categories (These variables are subject to the appropriate costs.)

    • Time-based / cyclic trigger

    • Trigger based on variable values

    • Alarm-based trigger

Requirement

74972887435.png

Software option

In order to use the variable data, you need the "Path length evaluation" software option (6FC5800-0AM53-0YB0).

Procedure

  1. In the launchpad, click "Asset Manager" and select the required asset in the left-hand side of the window.

  2. Click the "MTA Asset Config" icon.

  3. Open the "Advanced" tab.

    The "Topics" window opens.

    • Click "Add topic".
      You obtain a new input field.

    • Enter a name for the topic in the input field.

    121040283275.png
  4. Click on the arrow to the left of the input field to perform additional settings.
    Recording type and data acquisition of the cyclic trigger and alarm trigger are available.

    121041573259.png
  5. Click on the "Edit" icon to create individual cycles or for systematic selection of alarms.

  6. Click on the "Add configuration" button to add a new data set.
    The following selection is available:

    • Time-based / cyclic trigger

    • Trigger based on variable values

    • Alarm-based trigger

    108674952843.png

Time-based / cyclic trigger

Parameters

Description

Aspect name

Enter a name to designate a common group of variables.

The name must be unique and not exceed 255 characters.
The following characters are not permitted: Return, °, $, §, €, \, >, <, ß ä ö ü Ä Ö Ü

Name

In the variable set, enter a name of the variable to be sensed.

Example: Jerk_MA_MX

The variable name must have at least three characters. The first character must not be a number or an underscore.

Do not use square brackets in the notation of a variable!

Do not use any umlauts (special German characters), e.g. "ä", "ö", "ü"!

Address

Enter the address or the path of a variable.

Examples:

Axis data:

/Nck/MachineAxis/AATRAVELCOUNT[1]

/Nck/MachineAxis/AATRAVELDIST[2]

Channel data:

/Channel/ChannelDiagnose/CuttingTime[u1]

/Channel/ChannelDiagnose/OperatingTime[u1]

Machine operating mode:

/Bag/State/opMode[u1]

Data type

From the drop-down list select the data type of the variable:

  • DOUBLE

  • BOOLEAN

  • STRING

Note:

If values exceed the floating-point number accuracy, they are displayed with faulty decimal places.

Unit

From the drop-down list, select the physical unit of the variable.

Example: m/s3

A reading cycle

The sampling rate of the data acquisition is specified with this value.

From the drop-down list select the time period.

Example: 5 seconds

Procedure

  1. Click on the "Time-based / cyclic trigger" function.

    121397431179.png
  2. Enter a name in the "Aspect name" input field and click the ">" arrow to the left of the input field.
    Further input fields and drop-down lists open.

    123344433419.png
  3. Enter the variables in the input fields as in the following example.

    • Click the "Add variable" button to add a new variable.
      If necessary, repeat this step.

      NOTE

      Limiting the number of variables

      A read cycle time selection of 5 seconds allows the creation of a maximum of 5 variables.

      Otherwise, up to 50 variables can be created.

    • Click the "Delete" icon to delete individual variables.

    • Click on the "Cancel" button to reset the entries.

      123354362507.png
  4. Click the "Save" button to accept the entries.

    NOTE

    Changing saved variable sets

    After saving, you can only change the following properties of the variable set:

    • Address of a variable

    • Query cycle of the variable set

    If you want to change further properties, you must delete the variable set and create a new one. The previously acquired data is lost!

  5. Click the "Exit" button to close the property window without saving the entries.
    You return to the overview of the assets.

Trigger based on variable values

Any variables for which a communication mechanism exists can be linked logically with the variable trigger.

For this you have the following options:

Parameters

Description

When the variable

Data acquisition name

Enter a previously created variable.

Variable address

Shows the address of the variable.

Data type

From the drop-down list select the data type of the variable.

  • DOUBLE

  • BOOLEAN

  • STRING

From the drop-down list, select the comparison operation that is restricted to the format of the variables:

  • Greater than

  • Less than

  • Corresponds to

  • Not equal

Variable value

Enter a value.

With the following configuration

Debounce time

Enter the debounce time

min

Select the duration of the debounce time from the drop-down list.

Minimum: 30 s

Maximum: 24 h

Hysteresis

Activate the checkbox if you want to include hysteresis.

Activate the "Relative" option button if the relative value in relation to the comparison value is to be recorded. Activate the "Absolute" checkbox if the absolute values in relation to the comparison value is to be recorded. Retriggering to the comparison value only occurs if the actual value differed from the comparison value by more than the stated hysteresis. Enter a comparison value. This is restricted depending on the selection of the address format.

Then

Record the subsequent value

Select the value from the drop-down list.

Variable address

Shows the address of the variable.

Data type

From the drop-down list select the data type of the variable:

  • DOUBLE

  • BOOLEAN

  • STRING

With the following configuration

Recording for

Duration

Enter the duration

Minimum: 30 s

Maximum: 24 h

Time unit

Select the time unit from the drop-down list.

Within the cycle time

Cycle

Enter a cycle

Minimum: 30 s

Maximum: 24 h

Time unit

Select the time unit from the drop-down list.

Procedure

  1. Click on the "Trigger based on variable values" function to define dependencies.

    121387987851.png
  2. Select a variable and open further input fields and drop-down lists with the arrow.

  3. Enter the dependencies.
    Click the "Save" button to save the variable trigger.

    121041698443.png

Alarm-based trigger

The alarm-based trigger reacts to all alarms programmed in the control.

These alarms also contain the user range of alarm numbers that are assigned the machine functions for the machine diagnostics. If machine diagnostics are not performed on the basis of alarm numbers, these error messages cannot be integrated. The alarm numbers that are triggered can be entered individually, in groups, or in series. It is also possible to remove individual alarms or groups from a selection. You can link conditions that themselves do not activate a trigger.

Parameters

Description

Alarm name

Enter a descriptive name for the alarm.

Alarm acknowledgement filter

INCLUDED

Alarm codes:

Enter the alarm numbers or the alarm IDs that activate the trigger.

The alarms are entered in the following notation:

  • Separate the individual alarms through a comma, e.g. 3200, 32100, ...

  • Enter the alarm number ranges with a "-" character, e.g. 4000-5000

The alarm list must not exceed 200 characters.

Alarm intervals:
Left / Right:

Enter the alarm limits:

  • Left: Enter the lowest alarm ID, e.g. 0

  • Right: Enter the highest alarm ID, e.g. 99999

All alarms between 0 and 99999 are included.

EXCLUDED

Alarm codes:

Enter the alarm numbers that do not activate the trigger.

The alarms are entered in the following notation:

  • Separate the individual alarms through a comma, e.g. 3200, 32100, ...

  • Enter the alarm number ranges with a "-" character, e.g. 4000-5000

The list of alarm numbers must not exceed 200 characters.

Alarm intervals:
Left / Right:

Enter the alarm limits:

  • Left: Enter the lowest alarm ID, e.g. 0

  • Right: Enter the highest alarm ID, e.g. 99999

All alarms between 0 and 99999 are included.

New alarm filter

INCLUDED

All fields, the same as under "Alarm Acknowledge Filter" - "INCLUDED"

EXCLUDED

All fields, the same as under "Alarm Acknowledge Filter" - "EXCLUDED"

Procedure

  1. Click the "Alarm based trigger" function to define alarm properties, e.g. when an alarm should be displayed.

    121397786507.png
  2. Enter a name for the alarm and specify the properties.
    Click the "Save" button to save the alarm based trigger.

    121350014859.png

References

Further variables can be found in the following List Manual: SINUMERIK 840D sl, NC Variables and Interface Signals