IEEE 1588 Sync Error

Output block execution step size and offset delta of real-time interrupt

  • Library:
  • Simulink Real-Time / IEEE 1588

Description

The block returns the block execution step size as measured by the PTP clock. It also returns the following information:

  • The PTP time when the real-time interrupt triggers.

  • The difference between the PTP time at the real-time interrupt and the nearest PTP time that is a multiple of the fundamental sample time.

To use this block, in the Simulink® Real-Time™ options, set the real-time interrupt source to Timer.

The PTP internal block descriptions are for informational purposes only. You cannot use these blocks by themselves in a model. The subsystem mask controls the block parameters. Do not edit the parameters directly.

Ports

Output

expand all

PTP time value when the real-time interrupt occurs, in seconds

Actual block execution step size, in seconds, as calculated from PTP clock measurements

Current difference, in seconds, between the PTP time at the interrupt and the nearest PTP time that is a multiple of the fundamental sample time

Parameters

expand all

Enter the base sample time or a multiple of the base sample time.

Programmatic Use

Block Parameter: sample_time

Introduced in R2016a