Step 5: How to Simulate, Manipulate, and Inspect CAN Communication

Objective

When you start online calibration, you can simulate, manipulate, and inspect the CAN communication that you configured with the Bus Manager. You can use ControlDesk instruments to access the CAN communication.


Method: To simulate, manipulate, and inspect CAN communication

  1. On the Home ribbon, click .

    Online calibration starts and the CAN communication is active. In the PDU RX Status Inspection region of the Bus Instrument (Inspection type), the values of the Counter, Time, and Delta Time function ports are running. This indicates that the GearboxInfoIPdu is transmitted on the bus and can be received by the bus members. The ISignal Value Inspection region indicates that the value of the SpeedISignal is 3.

    The recipient of the IPDU is the CentralGatewayECU. The Bus Instrument (RX type) indicates that the actual value of the SpeedISignal that is received by the ECU is identical to the inspected value.

    The value of the SpeedISignal is already manipulated: The Bus Instrument (TX type) indicates that the ISignal is simulated with its model signal, which is 0. But before transmission, an offset value of 3 is added to the ISignal value because the ISignal's manipulation feature switch is set to 3: ISignal Offset Value (permanently) by default.

  2. In the ISignal Value Access region of the Bus Instrument (TX type), specify the following settings:

    • Substitute Value: 5

    • Source Switch: Substitute value

    The ISignal value is simulated with a value of 5. Because this value is manipulated with the offset value, the transmitted and inspected ISignal value is 8. This value is received by the CentralGatewayEcu.

  3. In the Signals - SpeedISignal - Feature Switch Manipulation region of the Bus Instrument (Manipulation type), set the Substitute Value of the Feature Switch to 0: None.

    The ISignal value is not manipulated and the SpeedISignal is transmitted with its simulated substitute value, i.e., 5.

  4. In the Feature Switch Manipulation region, set the Substitute Value of the Countdown Start Value to 300.

  5. Set the Substitute Value of the Feature Switch to 2: ISignal Overwrite Value (temporarily).

    For 300 sampling steps, the SpeedISignal is manipulated by the ISignal Overwrite Value feature, i.e., the simulated ISignal value is overwritten with 255. The Actual Value of the Current Countdown Value indicates the remaining number of sampling steps for manipulating the ISignal.

    After the number of sampling steps has elapsed, the Feature Switch is automatically set to 0: None and the ISignal is transmitted with its simulated value.

  6. In the PDUs - Suspend Frame Transmission Manipulation region, set the Substitute Value of Enable to 1: Permanently enabled.

    The Suspend Frame Transmission feature is permanently enabled, i.e., the GearboxInfoFrame and its included GearboxInfoIPdu are not transmitted on the bus. Therefore, the values of the Counter, Time, and Delta Time function ports in the PDU RX Status Inspection region stop.

  7. In the Bus Instrument (Manipulation type), specify the following settings:

    Region

    Function Port

    Substitute Value

    Signals - SpeedISignal - Feature Switch Manipulation

    Feature Switch

    4: ISignal Offset Value (temporarily)

    PDUs - Suspend Frame Transmission Manipulation

    Countdown Start Value

    200

  8. In the Suspend Frame Transmission Manipulation region, set the Substitute Value of Enable to 2: Temporarily enabled.

    For 200 sampling steps, the transmission of the GearboxInfoFrame is disabled and the GearboxInfoIPdu is not transmitted on the bus. After the number of sampling steps has elapsed, Enable is automatically set to 0: Disabled, i.e., the frame manipulation is disabled. The IPDU including its ISignals is transmitted on the bus.

    Now, the SpeedISignal is manipulated by the ISignal Offset Value feature for 300 sampling steps, i.e., the transmitted ISignal value is 8.

    After the number of sampling steps has elapsed, the Feature Switch is automatically set to 0: None and the ISignal is transmitted with its simulated value.

  9. On the Home ribbon, click .

    Online calibration stops.


Result

You simulated, manipulated, and inspected the CAN communication that you configured with the Bus Manager and accessed the communication via instruments.


What's next

With this step, you finished the lesson. For a summary of the lesson and for more information, refer to Result of the Experimenting with ControlDesk Lesson.


Redaction