Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to access task cycle in program

  • Chag

    Chag - 2012-11-07

    I know that through TaskConfiguration I can configure or Monitor when i'm online the task cycle ( average, time... in micro sec ). How can I get those informations through program ?

  • sarathbabu

    sarathbabu - 2012-11-08


     Use SysIECTaskGetInfo function of type BOOL from SysLibIECTasks.lib to get the information of an IEC task.

    Have a GOOD DAY

  • shooter

    shooter - 2012-11-12

    use a time() and when same routine is done again (main loop subtracte newtime with oldtime.

  • eschwellinger

    eschwellinger - 2012-11-23

    you could use the implcit generated instance which is used by SyslibTaskinfo.lib

    _callTask+'Name of the Task'

    Your Task is called ErsteTask then use _callTaskErsteTask


    IMG: callErsteTask.png


Log in to post a comment.