Skip to main content

DBC smartCORE module

Description

The dbc module provides a DBC parser via Fast Message Dispatcher. Data is extracted from a dispatched message and produced in corresponding channels.

In principle, the module can be operated with any Fast Message Dispatcher. This is useful in the context of CAN bus

An image containing text, screenshot, font, number. Automatically generated description

An image containing symbol, logo, automatically generated description

  • the (generic) CAN bus socket module ("canbus")

Interfaces & protocols used

  • CAN bus DBC (CAN DBC)
  • Fast Message Dispatching

JSON configuration

The following section describes the entire JSON configuration of the module and explains the individual parameters.

Example configuration (minimum)

    {
"module": "DBC1",
"factory": "dbc",
"config":{
"fmd": "CANBus1",
"dbcFileContents":"<BASE 64 coded content of the CAN DBC file>"
}
},

Example configuration (maximum)

    {
"module": "DBC1",
"factory": "dbc",
"config":{
"fmd": "CANBus1",
"bufferSize":1024,
"dbcFileContents":"<BASE 64 coded content of the CAN DBC file>",
"dbcParserDebugOutput":true,
"namespace":["directory", "subDirectory"],
"channelPrefix": "CAN1__",
"produceOnChangeOnly":true,
"separateEFFlag":false
}
},

Parameter list

Parameter nameRequiredData typeMeaningful value rangeDefaultDescription
fmdYESSTRINGFast Message Dispatcher Name (e.g. "CANBus1")
bufferSizeNoINT1 -1024Buffer size of the channels to be produced
dbcFileContentsYESSTRINGBase 64 coded content of the CAN DBC file
dbcParserDebugOutputNoBOOLfalse, truefalseFlag for activating additional debug information of the DBC parser
channelPrefixNoSTRINGChannel prefix (useful if several DBC modules are used and the DBC files have overlapping channel names)
namespaceNoARRAY [ STRING ]Channel prefix in the form of hierarchically linked namespaces
produceOnChangeOnlyNoBOOLtrue, falsetrueproduction only on value change
absoluteToleranceNoFLOAT0.0 -0.0Tolerance threshold regarding detection of a value change
doubleChannelsNoARRAY [ STRING ][]List of channels to be created as double precision channels
separateEFFlagNoboolfalseShould a distinction be made between "Extended IDs" (29 bits) and standard IDs (11 bits) or not. If false, no distinction is made and the EFF flag is removed from the message ID.

Module information

InformationValue
AuthoroptiMEAS Measurement and Automation Systems GmbH
since smartCORE0.120
Module typeReceiver (Producer)
Dependenciesany Fast Message Dispatcher module (e.g. "canbus", "fmudp")