DelayMs

Delay BLOCK

This block supports delay functionality on STM microcontrollers.

Contents

Inputs

  • Delay [ms] – Delay time in [ms]

Outputs

None

Block parameters

  • Use input – option to use delay value from system or predefined value
  • Delay [ms] – predefined delay interval in [ms]
  • Sample time [s] – period of function refreshing it isn’t ADC conversion time (-1 means that a particular block takes sample time from its input block or if it doesn’t have any input block it takes the fastest sample time in a model)

CubeMX settings

  • If using FreeRTOS, enable vTaskDelayUntil (Middleware and Software Packs->FREERTOS->Include parameters