Decodes the contents of a received J1939/73 DM7 message.
EXT_DIAG (Extended diagnostics library). (See Section 2.3, “Licensed Features”.)
A J1939/73 DM7 message is a fixed length message. The purpose of a DM7 message is to command tests or last measured test results. Direct blockset support is provided (rather than relying on the pj1939_PgReceive block).
Refer to J1939-73 FEB2010 section 5.7.7 for details of the DM7 message.
The simulation value for the outport test_commanded.
Value type: | Boolean | ||
Calibratable: | No |
Set to 1 (true) if a DM7 message has been received containing a commanded test which matches the Test identifier only (when parameter Test identifier is in the range [1, 64]) or if a DM7 message has been received containing a commanded test which matches the Test identifier and Suspect parameter number and Failure mode indicator parameters (when parameter Test identifier is in the range [247, 250]). Note that this is a one-shot pulse which will remain high only until the next block iteration.
Value type: | Boolean | ||
Calibratable: | No |
The source address of the DM7 message received.
Value type: | Integer | ||
Calibratable: | No |
The destination address of the DM7 message received.
Value type: | Integer | ||
Calibratable: | No |
The logical J1939 channel on which to receive the request. Must be a channel declared with a pj1939_ChannelConfiguration block.
Value type: | Integer | ||
Calibratable: | No |
The value of the TID of the commanded test to match against. In the case where a DM30 response is required, the parameters Suspect parameter number, Failure mode indicator and Test identifier uniquely identify the commanded test. If a DM8 response is required then only the Test identifier is needed.
Range: [0, 255]
Value type: | Integer | ||
Calibratable: | No |
The value of the SPN of the commanded test to match against. The parameters Suspect parameter number, Failure mode indicator and Test identifier uniquely identify the commanded test. Only applicable if the Test identifier parameter is in the range [247, 250]. A DM30 response is required when the requested DM7 test consists of a valid SPN/FMI/TID combination.
Range: [0, 524287]
Value type: | Integer | ||
Calibratable: | No |
The value of the FMI of the commanded test to match against. The parameters Suspect parameter number, Failure mode indicator and Test identifier uniquely identify the commanded test. Only applicable if the Test identifier parameter is in the range [247, 250]. A DM30 response is required when the requested DM7 test consists of a valid SPN/FMI/TID combination.
Range: [0, 31]
Value type: | Integer | ||
Calibratable: | No |
The periodicity of the block execution.
Range: [0.001, 3600] seconds
Value type: | Real | ||
Calibratable: | No |