Skip to main content
Version: Ver.4.10

Defining Derived Signals

Overview​

A derived signal is a result calculated from signals registered in the Catalog. It differs from a bus signal, which directly extracts specific bits from the bus. You can create numeric conversions, comparisons, and combinations of multiple conditions.

Creation Procedure​

  1. Stop monitoring and select the Set to use in Signal Catalog.
  2. Click “+ Derived.”
  3. Enter Signal name.
  4. Find an input signal under Signals on the right of the Formula tab and double-click it to insert it into the formula. Add operators or Functions as needed.
  5. Check Detected result and the validation results at the bottom of the screen. For numeric results, configure Unit and Decimal places.
  6. Check input signals, dependencies, and channel assignments in Inputs and Details.
  7. Configure Display settings and Alert as needed, then confirm with OK.
  8. Check membership, Current Set, and display destinations in the Catalog, then save with Save.
New Derived Signal dialog

Figure 1. Checking available functions under Functions in the creation screen.

Figure 1 shows Functions for New Signal Set. The signal name and formula are still blank, so the derived signal has not yet been confirmed. Inputs at the bottom also shows Not checked.

Screen Reference​

ItemDescription
Signal nameName of the derived signal.
Detected resultResult type inferred from the formula, such as Number or Boolean.
UnitDisplay unit for numeric results. The unit name alone does not convert values.
FormulaBuild a formula using input signals, operators, constants, and functions.
Decimal placesNumber of decimal places displayed. Check the format under Example.
Signals / SearchFind and select input candidates to insert into the formula.
FunctionsInsert functions such as ABS, MIN, MAX, and IF into the formula.
ExamplesView formula examples.
Inputs / DetailsCheck required inputs, dependencies, and availability.
Display settingsConfigure destinations such as the value list and graphs.
AlertConfigure alert conditions for the derived result.
OK / CancelConfirm this edit or discard unconfirmed changes.

Formula Examples​

Signal references inserted from Signals have the form “SIG(number).” The number is an identifier in the Catalog. Do not enter the example numbers unchanged; insert the actual signal you use from the list.

PurposeExample formulaResult
Convert speed from km/h to m/sSIG(number) / 3.6Input 36 km/h gives 10. Set Unit to m/s.
Test whether a value reaches an upper limitSIG(number) >= 10Produces a Boolean result.
Absolute valueABS(SIG(number))Absolute value of a number.
Smaller of two signalsMIN(SIG(number1), SIG(number2))Numeric comparison.
Select a number by conditionIF(SIG(number) >= 10, 1, 0)1 if the condition is true, otherwise 0.

Use AND/OR/NOT for Boolean conditions. The IF condition must be Boolean, and its true/false values must have the same type. You can also insert comparison symbols and parentheses using the on-screen buttons.

Example: Converting Speed to m/s​

Figures 2 and 3 use Speed from the sample LDF in a Set named LIN Sensor. This differs from New Signal Set in Figure 1, so check which Set you are editing.

  1. Select LIN Sensor in the Catalog, click + Derived, and set Signal name to Speed_mps.
  2. Search for Speed under Signals, select Speed belonging to LIN SensorFrame, insert it into the formula, and append / 3.6. If several signals are named Speed, compare their Protocol, frame, ID, and CH.
  3. Check that Detected result is Number, then set Unit to m/s and Decimal places to 3.
  4. Check that Inputs is Ready and that the input in Details is Speed belonging to LIN SensorFrame. Also check the input Speed's channel assignment in the Catalog. This example uses CH1-1. Turn on Values under Display settings and click OK to register it.
Creating Speed_mps in LIN Sensor with formula SIG(46) / 3.6 referencing Speed, unit m/s, and 3 decimal places

Figure 2. Creating Speed_mps to convert Speed to m/s.

Figure 2 selects Speed | LIN | CatalogId 46 under Signals, so the formula is SIG(46) / 3.6. Here, 46 is the identifier within this Catalog, not the LIN frame ID. In actual operation, insert the target signal from Signals rather than copying the number in the figure.

  1. Check Current Set and the Values display targets, start monitoring, and compare the input Speed with the derived Speed_mps on the same screen. Figure 3 shows Speed at 10 km/h and Speed_mps at 2.778 m/s, matching 10 ÷ 3.6 = 2.777… displayed to 3 decimal places.
Values at the same timestamp showing Speed 10 km/h, State On, Speed_mps 2.778 m/s, and Received on all rows

Figure 3. Comparing input Speed and derived Speed_mps in Values.

In Figure 3's Time/Value view, Speed, State, and Speed_mps all have Time +0000177.002582 and Status Received. This example was captured by actually transmitting ID 0x10 with data “1E 01” as Tx using Master Sim. on CH1-1. Input Speed is 10 km/h converted from Raw value 30; the derived formula divides this 10 by 3.6. For source-byte extraction and transmission/reception direction, also see the basic operations. Do not compare unavailable No Data as though it were 0.

Derived values are used for display and analysis, but are not direct bit-editing targets for transmission data or selectable targets for Signal Trigger.

Input Signals and Sets​

Adding a derived signal to a Set also brings its required input signals under management. Do not estimate limits using only the number of derived signals; count required input signals too.

Input bus signals require definitions matching the target frames and channel assignments. Do not treat the result as a normal number if an input has not been received, is unassigned, cannot be referenced, or is otherwise unavailable to the formula. Check validation messages and correct circular references or type mismatches.

If the input channel cannot be verified during automatic restoration of a saved Current Set, derived signals depending on that input also remain pending. Reconnect the target device and use “Device” → “Refresh” to recheck assignments.

Value Timestamps

When using multiple signals, inputs may update at different frame intervals. Check not only the calculated result but also the input update states and source frames.

Checking Edited Results​

Check the input and derived signals in Current Set and compare results against manual calculations using known input values. Recheck Signals references and Inputs after renaming a signal or replacing source definitions.

See Figure 3 for an actual display example. Place input Speed and derived Speed_mps together in Values and compare Time, Value, and Status.

Save the configuration to MPXSIG, including derived signals.