Skip to content

Examples

Using Proemion Standard Metrics

You can find an example of the fundamental PDC structure for engine speed (SPN 190) with the standard metric value.common.engine.speed below.

Global Dictionary

<!-- Global Dictionary -->
  <GlobalDictionary>
    <Message key="label.value.common.engine.speed">
      <Label lang="en" value="Engine speed"/>
      <Label lang="de" value="Motordrehzahl"/>
    </Message>
  </GlobalDictionary>

Value Definitions

<!-- ValueDefinitions -->
  <ValueDefinitions>
    <ValueDefinition key="value.common.engine.speed">
      <description xsi:type="MessageReference" value="label.value.common.engine.speed"/>
      <unit>predefined.unit.rotation.RPM</unit>
    </ValueDefinition>
  </ValueDefinitions>

Parsing Definition

<!-- ParsingDefinition -->
  <ParsingDefinition>
    <BinaryStreamDefinition src="CAN" channel="1">
      <CanMessage canId="0x0CF00400" canIdLength="29" mask="0x1FFFFFFF" protocolStyle="GENERIC">
        <Values>
          <IntValue startPos="24" length="16" endianness="LITTLE" signed="false" continueOnLastPostion="false">
            <valueDefinition ref="value.common.engine.speed"/>
            <transformer ref="transformer.0.125.0"/>
          </IntValue>
        </Values>
      </CanMessage>
    </BinaryStreamDefinition>
  </ParsingDefinition>

Data Consumption

To visualize the data traffic of the Proemion SIM-Card in the Proemion Standard Portal and DataPortal, you have to extend the following lines in your PDC between the corresponding tags.

Between the tag <GlobalDictionary> and </GlobalDictionary> you have to extend the following lines:

Global Dictionary

<GlobalDictionary>  <Message key="label.value.common.cu.sim.traffic.month">
    <Label lang="en" value="SIM Traffic this month"/>
    <Label lang="de" value="SIM Datenverbrauch in diesem Monat"/>
  </Message>
</GlobalDictionary>

Between the tag <ValueDefinitions> and </ValueDefinitions> you have to extend the following lines:

Value Definitions

<ValueDefinitions>  <ValueDefinition key="value.common.cu.sim.traffic.month">
    <description xsi:type="MessageReference" value="label.value.common.cu.sim.traffic.month"/>
    <unit> predefined.unit.datavolume.BYTE</unit>
    <format>%1.0f</format>
  </ValueDefinition>
</ValueDefinitions>

In the DataPortal, the data consumption of the SIM-Card can be shown on the machine detail page of a certain machine. Please click on to display the data consumption of the SIM-Card. Three different display options are available which allow to display the data consumption of the SIM-Card on the DataPortal if you use the key in the PDC.

Data Consumption
Figure 1: Data Consumption