Properties

Name

The name of the ModFrame component. This name will be visible below the ModFrame component in the ModFrame Client configuration panel.

The name of a ModFrame component must be unique within the container it resides in.

Counter definition

This property defines the counter definition for which to count events. The set of counter definitions to select from are defined by the database configuration.

Time registration

This property defines what time stamps to register in the database for the aggregated counted events. The options are:

  • First. Use the time stamp of the first aggregated physical event. 
  • Middle. Use the mean time stamp of the first and last aggregated physical event.
  • Last. Use the time stamp of the last aggregated physical event.

Register on trigger

When this property is checked, accumulated counter values will be transferred to the database on positive flank of the trigger port.

Register on enum change

When this property is checked, accumulated counter values will be transferred to the database when the enumID of a counter changes. This option may be adequate when the CounterEnumType is Portbased ID.

Register period

This parameter decides on what period (seconds) accumulated counter values will be transferred to the database. When zero, values are not transferred to the database periodically.

Register every time step

When true, accumulated counter values will be transferred every time step.

Port exposure reset

The Port exposure reset defines how long the exposed counter values will be available on the exposure ports:

  • Immediately: The results are available in one time step.
  • On consecutive registration: The results are available until the next result is registered.
  • Step delayed: The results are available in a given number of time steps. The number of time steps are defined in the Port exposure reset delay parameter.
  • Time delayed: The results are available in a given period. The period (milliseconds) is defined in the Port exposure reset delay parameter.

Port exposure reset delay

The Port exposure reset delay defines the delay when the Port exposure reset is one of the delayed options:

  • Step delayed: Number of steps to delay the reset.
  • Time delayed: Number of milliseconds to delay the reset.

Max accumulation

The maximum number of events to accumulate before accumulated counter values will be transferred to the database.

Counter maximum value

This property applies only to counter inputs of type Analog Difference and defines the expected maximum value of the counter variable on the signal source. This value is used to calculate the sum of remainders when counter overflow occurs.

Example: If the signal source is 8 bit, this property should be set to 255.

Counter overflow threshold

This property applies only to counter inputs of type Analog Difference and is used to decide how to handle decreasing values on the signal source. A decrease in the signal source most often indicates an overflow of the counter variable, but decreases may also happen when the signal source is reset, the PLC is restarted and so on. With this property it is possible to define the limit where decreasing values shall be handled as overflow. If the counter value decreases, but is larger that the value specified by this property, the situation is interpreted as overflow of the counter.