Main Content



  • Library:
  • Task block


The task block is placed inside a PLC controller. There can be multiple tasks inside a controller. Each task consists of a program or multiple programs.

You can use the get_param and set_param functions to control the settings of the Task block.

Property NameDescription
'Name'Task name
'SystemSampleTime'Task rate
'PLCTaskWatchDog'Watch dog timer value
'Priority'Task priority
'Description'Task Description

Version History

Introduced in R2019a