6.8.13. Crank wheel — movement (pan_CrankWheelMovement)

Determine whether a crankshaft wheel is moving or not.

6.8.13.1. Supported targets

M220-000, M221-000, M250-000 and M670-000

6.8.13.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

6.8.13.3. Description

The pan_CrankWheelMovement block retrieves whether the crankshaft wheel is moving or not. The ECU continually monitors the crankshaft wheel input signal looking for tooth edges. If the crankshaft signal decoding state machine has reached state Detect AB or higher, then the ECU declares the wheel as moving. See Section 6.1.2.4, “Crank decoding” for a description of the crank decoding state machine.

6.8.13.4. Inports

  • sim_movement

    Only used under simulation. Under simulation, the value of this inport is passed through to outport movement.

    Value type:Boolean

6.8.13.5. Outports

  • movement

    Set to zero if the crankshaft wheel input appears to have stopped, and set to one if the crankshaft wheel input appears to be moving.

    Value type:Boolean

6.8.13.6. Mask parameters

  • Wheel

    A drop down to identify the crankshaft wheel to measure for movement. The selection of wheel must match a pan_CrankWheelConfig block elsewhere in the model.

    Value type:List
    Calibratable:No
  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No
  • Provide simulation inports?

    Tick to enable inport sim_movement.

    Value type:Boolean
    Calibratable:No

6.8.13.7. Notes

None.