Setting PLC cycle time

Setting PLC cycle time

To set the cycle time of the virual PLC in an IEC 61131-3 task, first stop the task and right click the task name in the control panel.


Then click on the Execution Mode tab.


The fastest cycle time that can be set is 1 msec if the IEC task is run on a FAST process.  Note that making the SERVO_PERIOD faster does not increase the available cycle time and might make the PLC task overflow due to more processor time being allocated to the motion.
    • Related Articles

    • AN-338 Creating User Function Block in IEC-61131-3

      This document is a quick guide to creating and using a User Function Block in IEC61131-3 programming
    • ladder program process

      Why is the IEC process showing "Sleeping" most of the time? ========================================================================== The PLC has a scan cycle. Probably it is set to 10 msecs. The ladder may take only one or two msecs to run and then ...
    • MOVE and SEL functions in IEC

      I could not find equivalent of Codesys MOVE or SEL functions in our IEC language. A programmer can easily recreate the MOVE by creating a user function block that on rising edge of the ENO input will pass the value of IN to OUT with the desired ...
    • AN-402 User PID Function Block

      Trio BASIC includes a PID function for general purpose use. The function mirrors the PID found in a typical IEC 61131-3 PLC programming system. This document explains how to use the USER_PID function and examples.
    • Timed ramps and dwells - a FUNCTION example

      Functions to make timed position ramps and dwells. For example as might be used in a blow moulding controller. ' Function library to support timed ramps ' 'Declare a universal value to hold the table index DIM tab_index AS INTEGER ' Set up a linear ...