Speed Up And Slow Down Simulation - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

6.1

Speed up and slow down simulation

Influence of fast forward and slow motion
Simulations can be accelerated and slowed down. Fast forward and slow motion only affects
time-based components, for example, cyclic OBs. Compared to the real time, they are
performed more frequently with fast forward and less frequently with slow motion.
Fast forward and slow motion do not change the execution speed of the CPU machine
codes. For example, the speed at which all operations of an OB1 cycle are executed does
not change. The execution speed depends on the processor of the PC on which the virtual
controller running. If you change the scaling factor, more or fewer cycle control points are
reached in a given period of virtual time.
Fast forward
To speed up the virtual time, select a scaling factor greater than 1 in the Control Panel or in
the API.
Note
Performance
The performance depends on the size of your project, among other things.
If the scaling factor is too high and the cycle-time monitoring indicates that the PC was
incapable of calculating the OB1 or cyclic OBs in the specified time, the virtual controller
goes to STOP.
Recommendation: To avoid this, start with a small scaling factor and gradually increase it
step-by-step while keeping the virtual controller in RUN.
Slow motion
To slow down the virtual time, select a scaling factor less than 1 in the Control Panel or in
the API.
API functions
● GetScaleFactor() (Page 221)
● SetScaleFactor() (Page 222)
● ScaleFactor { get; set; } (Page 223)
See also
Cycle control (Page 223)
Settings for the virtual time (Page 220)
Error with overflow of cyclical events and motion OBs (Page 355)
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
Virtual time response
6.1 Speed up and slow down simulation
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents