The SENT serial input block (Single Edge Nibble Transmission) decodes a SENT sensor's transmission pulses according to SAE J2716 Jan 2010, making available the sensor's short or enhanced serial data.
None (Main library). (See Section 2.3, “Licensed Features”.)
The SENT input block decodes a sensor's transmission pulses according to SAE J2716 Jan 2010, making available the sensor's short or enhanced serial data. See the pdx_SentInput block for a summary of SENT.
The SENT serial input block:
When using a pdx_SentSerialInput block, the application model must have a corresponding pdx_SentInput block to initialise the SENT channel.
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
Available when Provide simulation input? is ticked. The value of this inport is copied to the corresponding outport during model simulation.
Value type: | Integer |
A counter incremented for each serial message that is successfully received, decoded and verified.
Range: [0, inf] messages, modulo 256
Value type: | Integer |
A counter incremented for each serial message that is received but that fails a CRC verification.
Range: [0, inf] messages, modulo 256
Value type: | Integer |
Set to one if at least one serial message has been successfully received, decoded and verified, set to zero otherwise. If set to one, then the serial_formatpdxf_serial_format, message_id and data outports provide information about the last successfully received, decoded and verified message, and the timestamp outport provides the time when the message was received.
Range: 0 or 1
Value type: | Integer |
The detected serial format of the last successfully received, decoded and verified serial message. Set to zero when a serial message has not been received.
Outport value | Description |
---|---|
0 | Identifies a short serial message, with a 4-bit message identifier and 8-bit data |
1 | Identifies an enhanced format 1 serial message, with a 8-bit message identifier and 12-bit data |
2 | Identifies an enhanced format 2 serial message, with a 4-bit message identifier and 16-bit data |
Value type: | Integer |
The value of the message identifier of the last successfully received, decoded and verified serial message. Set to zero when a serial message has not yet been received.
Range: [0, 15] for short serial and enhanced serial format 2 Range: [0, 255] for enhanced serial format 1
Value type: | Integer |
The data nibbles of the last successfully received, decoded and verified serial message. Set to zero when a serial message has not yet been received.
Range: [0, 255] for short serial Range: [0, 8192] for enhanced format 1 Range: [0, 65535] for enhanced format 2
Value type: | Integer |
A timestamp is taken when the last SENT message was fully received, decoded and verified. The timestamp increments in counts of 256, wrapping approximately every 4 seconds. The timestamp can be used by the application to determine whether the SENT sensor is transmitting data at the expected period.
Range: [0, inf] counts, modulo 4294967296
Value type: | Integer |
The channel pin for this SENT input.
Value type: | List | ||
Calibratable: | No |
The periodicity of the block execution.
Range: [0.001, 3600] seconds
Value type: | Real | ||
Calibratable: | No |
If selected then the block creates simulation inports for each of the outports.
Value type: | Boolean | ||
Calibratable: | No |