Study Invalidate stale CAN telemetry. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.
Learning Objectives
- Explain the role of hmi states, alarms and command ownership in the engineering system.
- Calculate the worked quantity with consistent units.
- Design a measurement that can reveal an implementation failure.
Study guide
Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.
Lesson focus: Invalidate stale CAN telemetry
Define the input, measured output, units and pass/fail condition before running the experiment.
HMI states, alarms and command ownership
An HMI displays process state and requests actions; the PLC retains authority over permissives and physical outputs. Display commanded and measured values separately, and show whether a command was rejected, accepted or completed.
Model, units and assumptions
Timestamps must use a consistent time base. Tstale is an application threshold derived from update rate and process dynamics, not a universal constant.
Worked engineering example
For a display updated every 200 ms, choose a teaching threshold of 1 s. A value last received 1.3 s ago is stale even if its numeric speed appears reasonable. Disable new remote run requests until communication is restored and the operator reconfirms intent.
Practical task and evidence
Apply the following procedure to the topic of this lesson: Invalidate stale CAN telemetry.
- Draw a state table with Stopped, Ready, Running and Fault.
- Show connection quality and timestamp next to the measured speed.
- Disconnect the link and verify that stale values cannot be mistaken for live operation.
Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.
Check your understanding
Question. A sensor reports every 100 ms. At 750 ms since the last update with a 500 ms threshold, is it valid?
Show worked answer
No. Its age exceeds the chosen threshold. Whether to stop equipment depends on the risk-assessed control design.
Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.
Summary
Suggested Reading & Resources
- ReadingBook source: Raspberry Pi Robotics LaboratoryOpen ↗
Primary documentation or original technical reference; check the version used in your lab.
- ReadingCODESYS Structured Text referenceOpen ↗
Primary documentation or original technical reference; check the version used in your lab.
- ReadingModbus Organization protocol specificationsOpen ↗
Primary documentation or original technical reference; check the version used in your lab.