Entering cycle time within PLC-object
How to enter the cycle time:
-
Open a PLC-object.
-
Search for the following line in the opened editor for the PLC-object:
Syntax TASK task-name(INTERVAL := TIME#numberms, PRIORITY := number);
Example TASK DefaultTask(INTERVAL := TIME#500ms, PRIORITY := 38229);
After you have created a project, a cycle time of
500
ms is already specified within the existing PLC-objects. -
Replace the entered cycle time (e.g.
TIME#500ms
) by the requested cycle time. Enter the cycle time as duration →literal; maximum:TIME#20d
Observe that your used →target system might influence the timing scheduling when calling tasks (see "Properties and restrictions specific to the target system").Examples for duration literals: see under "Assignments in ST"
-
Save the PLC-object: menu File – Save
Triggered execution of an application The →runtime system for Windows and platform |