ladder program process

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 it has 8 msecs of sleeping while it waits for the start of the next scan.

The above setting may be found by right-click of the IEC task in the control panel and then selecting IEC 61131-3 settings.
    • Related Articles

    • 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 ...
    • AN-418 IEC61131-3 Ladder Diagram - Timers

      This series of documents outlines how to add Ladder Diagram in a project. Ladder Diagram can be added to a project anytime during the development process and work seamlessly with other programming languages available in Motion Perfect. This ...
    • AN-422 IEC61131-3 Ladder Diagram - Subprogram

      This series of documents outlines how to add Ladder Diagram in a project. Ladder Diagram can be added to a project anytime during the development process and work seamlessly with other programming languages available in Motion Perfect. This ...
    • AN-425 IEC61131-3 Ladder Diagram - Counters

      This series of documents outlines how to add Ladder Diagram in a project. Ladder Diagram can be added to a project anytime during the development process and work seamlessly with other programming languages available in Motion Perfect. This ...
    • AN-417 IEC61131-3 Ladder Diagram - Contacts & Coils

      This series of documents outlines how to add Ladder Diagram in a project. Ladder Diagram can be added to a project anytime during the development process and work seamlessly with other programming languages available in Motion Perfect. This ...