6.8.6. Cam wheel — movement (pan_CamWheelMovement)

Determine whether a camshaft wheel is moving or not.

6.8.6.1. Supported targets

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

6.8.6.2. Required license

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

6.8.6.3. Description

The pan_CamWheelMovement block retrieves whether the camshaft wheel is moving or not. The ECU continually monitors the camshaft wheel input signal looking for tooth edges. If a tooth edge (as defined in the pan_CamWheelConfig block) is detected within a timeout period (approximately 2 seconds), then the ECU declares the wheel as moving. Otherwise, the ECU assumes the wheel is stationary and not moving.

6.8.6.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.6.5. Outports

  • movement

    Set to zero if the camshaft wheel input appears to have stopped (i.e., is below the frequency measurement threshold of approximately 0.5 Hz), and set to one if the camshaft wheel input appears to be moving.

    Value type:Boolean

6.8.6.6. Mask parameters

  • Wheel

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

    Value type:List
    Calibratable:No
  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds, or -1 to inherit the sample time

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

    Tick to enable inport sim_movement.

    Value type:Boolean
    Calibratable:No

6.8.6.7. Notes

None.