Main Content

Task

Task

  • Library:
  • Task block

Description

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
Introduced in R2019a