Cycle Time and Time Section 9-2
191
Time Elapse in Virtual Cycle
Time
In virtual cycle time, the standard processing time (virtual time) for the in-
struction is added each time one instruction of the program is executed.
The virtual time will be the base for the following time-related functions.
· Virtual Cycle Time The accumulated virtual time will be the computing
time.
· Timer Update in the unit of virtual time.
· Pulse Update in the unit of virtual time.
· Clock Update in the unit of virtual time.
The CX-Simulator can execute two program areas: the program area for ap-
plications (UM1) and for debugging (UM2). However, only the execution time
of instructions in UM1 is added as the virtual time, and not in UM2.
In the virtual cycle time, based on the virtual time, the time elapse on the
computer does not agree with that on the Ladder Engine. Also, the clock will
not advance in the Program mode, where instructions are not executed. Thus
this causes a time lag with the clock on the computer. Therefore, set the
clock from the CX-Programmer as required.
Instruction execution time
Virtual
time
One step
execute
One step
execute
One step
execute
One step
execute
Process
AUDIN - 8, avenue de la malle - 51370 Saint Brice Courcelles - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : info@audin.fr