CPU Processing time

CPU Processing time

You can make things more efficient if you make sure a BASIC program never waits on WAIT UNTIL.

WAIT UNTIL a=0 AND b=2 AND c=3 will keep the process runing in its slot.

UNTIL a=0 AND b=2 AND c=3 will put the process to sleep while wating and give up the time for another program to use. So other programs will go faster.

Sleep state is caused by WA(time), WAIT IDLE and WAIT LOADED. Any WAIT UNTIL will not put the process to sleep.
    • 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 ...
    • Inquiry about Python Programming

      Do you support Python for visual programming? Answer: If Python supports the Windows ActiveX concept or DLLs then the TrioPC Motion ActiveX / DLL can be used. No one at Trio has used Python.
    • What is the scale for target speed in DX4?

      When the DX4 is in speed mode, CSV, the value of DAC_OUT in the master is the target speed given to the drive in the cyclic PDO data.  It is mapped to object 0x60FF.  The scale of this value is RPM * 10.  So a value DAC = 5000 when the SERVO is OFF ...
    • AN-399 TrioPC Motion Performance with Flex-6 Nano

      This document describes some timing tests with made with TrioPC motion Active X and Flex-6 Nano Motion Coordinator.
    • AN-320 MOVELINK SPEED Extension

      MOVELINK is a flexible motion command that allows acceleration, constant speed and deceleration phases of a linked motion profile to be programmed separately or together. The accel and decel phases may be S ramp or linear ramp but for simplicity we ...