Read Data By Periodic Identifier
Requests periodic transmission of data from an ECU at specified intervals, enabling continuous monitoring of dynamic vehicle parameters.
Overview
“The ReadDataByPeriodicIdentifier service is used by the client to request periodic transmission of data record values of data identifiers from the server.”
Live Stream
Pick a transmission rate and watch the ECU push periodic responses in real time. This is what 0x2A actually feels like on the wire — every other section below explains why.
Transmission Mode (Byte 1)
Select a rate and press Start Streaming to see live periodic responses
One-Shot vs Periodic
SID 0x22 ReadDataByIdentifier returns one value per request. SID 0x2A sets up a subscription — the ECU autonomously pushes data until you stop it. The contrast is best seen as a timing diagram. Press the request button and watch.
One-Shot vs Periodic
Same request, two services. Watch how 0x22 stops after one response while 0x2A keeps streaming.
Notice: 0x22 emits exactly one 0x62 response and stops. 0x2A keeps emitting 0x6A frames at the chosen cadence until the tester sends 2A 04 or the session ends.
Transmission Modes
The first parameter defines how fast the ECU should sample and send the data.
| Mode | Name | Typical Frequency | Use Case |
|---|---|---|---|
| 0x01 | Slow Rate | 1-2 Hz | Temp, Battery Level |
| 0x02 | Medium Rate | 5-10 Hz | Vehicle Speed, O2 Sensors |
| 0x03 | Fast Rate | 20-100 Hz | Crank Sensor, Torque |
| 0x04 | Stop Sending | N/A | Explicit termination |
Message Structure
Tap any byte to see what it means, the valid value range, and the ISO 14229 clause that defines it. Use the preset buttons to swap between common request and response shapes.
Protocol anatomy
0x2A Read Data By Periodic Identifier
0x2A Response
Examples
Start RPM Streaming (Medium Rate)
Request
Start PDID 0x01 at Medium Rate
Periodic #1
RPM = 3000 (0x0BB8)
Periodic #2
RPM = 3002 (sent ~100ms later)
Stop Streaming
Request
Stop PDID 0x01
Response
Confirmation: Stopped
Want to see these in motion? Scroll back to the live stream in the Overview — the same hex frames render there in real time.
Session & Security Requirements
SID 0x2A has two independent prerequisites: an active diagnostic session AND, for some PDIDs, a successful security unlock. The matrix below combines both. Click any cell to see the exact request, response, and NRC code; toggle security to watch protected cells flip.
Session & Security Matrix
Which periodic data categories stream in each session, and which need security authentication. Select a row for details.
| Periodic Identifier (PDID) Category | DEFAULT 0x01 | EXTENDED 0x03 | PROGRAMMING 0x02 | Security |
|---|---|---|---|---|
| — | ||||
| Level 1 | ||||
| ~ | Level 1 / OEM |
Requests for standard public PDIDs succeed normally. Requests containing proprietary/secure PDIDs without prior 0x27 unlock trigger NRC 0x33 (SecurityAccessDenied).
All authorized periodic identifiers stream at requested rates. If security locks during active streaming, protected PDIDs auto-stop while public streams continue.
| From session | To session | Transition command | Security state effect |
|---|---|---|---|
| 0x01 Default | 0x03 Extended | Security state preserved. Periodic scheduler unlocked for high-rate streams. | |
| 0x03 Extended | 0x01 Default | Security resets to LOCKED. All active periodic transmission queues immediately clear. | |
| Any Session | ECU Reset | ECU reboots to Default session. All scheduler allocations wiped. |
Triggered when this service or requested resource requires an active security unlock that has not been granted.
Triggered during unlock attempts if the calculated key fails ECU cryptographic verification.
Enforced delay lockout if the maximum number of failed key submissions (typically 3) has been exceeded.
Service Dependencies
0x2A configures autonomous high-frequency streaming of telemetry parameters from ECU to tester. Select a node to inspect interactions.
Inspect a related service
0x10 DiagnosticSessionControl
Session Lifetime Arbiter · 0x10 -> BOUNDARY CONTROLLER
How it relates to ReadDataByPeriodicIdentifier
While general public PDIDs may stream in Default Session (0x01), manufacturer dynamic data identifiers mandate Extended Session (0x03). Crucially, any transition to a different session unconditionally aborts all active periodic streams and clears the scheduler table.
Session permissions
- 0x01 Default
- Public PDIDs
- 0x02 Programming
- Blocked
- 0x03 Extended
- All PDIDs
- 0x04 Safety
- Safety PDIDs
- Extended Session unlocks high-speed engineering periodic telemetry
- Programming Session (0x02) strictly forbids periodic streaming
- Switching sessions unconditionally flushes all active periodic transmission timers
- Tester must re-subscribe after returning to Extended Session
Typical request
10 03- 10
- SID: DiagnosticSessionControl
- 03
- Sub-func: extendedDiagnosticSession
Timing
Streams terminate instantaneously upon session transition confirmation.
Failure risk: STREAM_ABORT
Session change flushes periodic scheduler queue back to empty state.
Example packet exchange
- Tester → ECU
10 03Enter Extended Diagnostic Session
- Tester → ECU
2A 02 01Subscribe to PDID 0x01 (Medium Rate)
- ECU → Tester
6A 01 [DATA]Continuous Autonomous Stream
Diagnostic workflow
1. Diagnostic Session Escalation
Switch to Extended Session (10 03) to access periodic streaming
2. Cryptographic Security Clearance (If Required)
Authenticate via 0x27 for protected sensor and actuator telemetry
3. Periodic Transmission Subscription (0x2A)
Send 2A [TransmissionMode] [PDID] (e.g. 0x01 slow, 0x02 medium, 0x03 fast)
4. Active TesterPresent Heartbeat Loop
Transmit 3E 80 every 2000–3500ms to keep S3 alive during reception
5. Stream Termination & Cleanup
Send 2A 04 [PDID] (stopTransmission) or trigger 0x11 reset
Service rules at a glance
- ECU Streams Do NOT Reset S3
- Autonomous 0x6A responses do not reset the S3 server timer; tester MUST send 3E 80 heartbeats or stream will die.
- Session Change Flush
- Any diagnostic session change unconditionally purges the periodic scheduler and cancels all active PDID streams.
- Transmission Mode Codes
- Subfunction values: 0x01 = slowRate (~1Hz), 0x02 = mediumRate (~5Hz), 0x03 = fastRate (~20Hz), 0x04 = stopTransmission.
- Single-Frame CAN Constraint
- PDID responses are constrained to single CAN frames (SF); complex multi-frame payloads must be polled via 0x22.
Complete Workflows
Four end-to-end scenarios played as a ladder diagram. Tester messages on the left, ECU on the right; periodic responses are the cyan rows. Use the speed control for slow walk-through or fast review.
Rate Selection Guide
Engineers don’t pick rates — they pick signals. Pick what you’re monitoring, then see whether your chosen rate aliases the signal, wastes bandwidth, or fits cleanly. The recommended rate is starred.
Rate Advisor
Pick a signal first, then a rate. Watch the oscilloscope trace below to see if you would actually capture the real curve.
Aliased - wrong rate
2A 02 01Sampling at 5 Hz is below the Nyquist limit of 10 Hz for this signal. The trace below will show false oscillation patterns instead of the real waveform.
Medium rate (~5 Hz) tracks gear-shift transients. Fast rate is overkill unless diagnosing misfire.
Oscilloscope
Signal bandwidth: 5 Hz · Sampling at: 5 Hz · Nyquist needs ≥ 10 Hz
Scheduler Behavior
The ECU maintains an internal scheduler with separate queues per transmission rate. Add PDIDs, slide capacity to match your target ECU, and trigger events to observe the auto-stop rules in motion.
Scheduler Visualizer
Three queues, three rates. Add PDIDs, fire ECU events, watch the bus traffic update live.
Trigger ECU Event
Bus Timeline (last 8 s)
Capacity rules
- • Typically 5–10 entries per rate (manufacturer-specific)
- • Usually 15–20 simultaneous PDIDs total
- • Overflow → NRC 0x72 (generalProgrammingFailure)
Auto-stop triggers
- • Session change → all queues drain
- • Security re-lock → only protected PDIDs drain
- • ECU reset (0x11) → scheduler wiped, no resume
- • Mode 0x04 → clean tester-initiated stop
- • P2* timeout (no 0x3E 80) → silent stop, no NRC
Negative Response Codes
Negative response codes
Transmission mode (0x01-0x04) is not supported by this ECU.
This negative response indicates a rejection while processing the Read Data By Periodic Identifier (SID 0x2A) request. Verify preconditions, session levels, and message formatting per ISO 14229.
Troubleshooting
Symptom decision tree
Two or three questions narrow you to a concrete fix. The full NRC reference is in the appendix below.
What's the symptom?
Reference appendix
Complete NRC-by-NRC catalogue. Use the decision tree above for guided diagnosis; come here for lookup.
Quick Reference & Best Practices
SID 0x2A quick reference
16 ready-to-send commands across 4 categories. Click any byte string to copy.
Showing all 16 commands
transmissionMode 0x01 = slow. Saves bus bandwidth on inert signals.
transmissionMode 0x02 = medium. Most common rate in fleet logging.
transmissionMode 0x03 = fast. Watch scheduler capacity — fast lane fills first.
Bytes 3+ are additional PDIDs. Verify scheduler depth before bulk subscribe.
transmissionMode 0x04 = stopSending. Preferred clean exit.
Append PDID list to mode 0x04 for targeted stop. Useful in multi-rate sessions.
Side-effect stop. Useful when explicit 2A 04 cannot reach the ECU.
Response carries P2 / P2* timing — note these for keepalive cadence.
Pair with 27 02 [key]. Skip for public PDIDs (RPM, speed, temp).
Successful unlock persists until session change or explicit re-lock.
Without this, EXTENDED session expires after ~5 s and all streams stop silently.
Response byte 4 = session ID: 0x01 DEFAULT, 0x03 EXTENDED.
Reset clears the entire scheduler. There is no resume — all subscriptions are gone.
Typical fast-lane capacity 5–10 entries. Use for ECU profiling, not production.
Equivalent of "turn it off and on again" for the periodic scheduler.
Replace [pdid] with a low-priority active PDID. Then resend the original request.
Streaming best practices
For Implementation
- Validate all 6 message formats before processing
- Implement 3 separate scheduler queues by rate
- Use timer-based transmission (not polling loops)
- Stop ALL periodic on session or security change
- Return specific NRC for each validation failure
- Support at least 10 simultaneous PDIDs
- Interleave responses when multiple rates active
For Testing
- Test basic single PDID request
- Test multiple PDIDs at different rates
- Verify session change stops transmission
- Test security-protected PDIDs
- Trigger scheduler overflow (NRC 0x72)
- Verify timing tolerance (±10% acceptable)
- Test recovery after ECU reset