Simulation Of The Configuration - Mitsubishi Electric WS0-CPU0 Operating Manual

Melsec ws series, safety controller setting and monitoring tool
Table of Contents

Advertisement

Chapter 9
Figure 255:
Simulation toolbar
Note
265
Logic programming – Function blocks
9.14

Simulation of the configuration

Within the logic editor, it is possible to simulate the programmed logic offline. Inputs
can be set to High or Low and the resulting switching of the outputs can be monitored.
Additionally the timer and counter values of the used function blocks are displayed on
the function blocks while the simulation is running.
 Click on the Start simulation mode icon (
simulation mode. The background of the logic editor will change to green and the
simulation toolbar will appear.
To start a simulation of the logic, click the green Play button (1)) for simulation at full
speed (near to real time). The timer (2)) keeps track of the elapsed time. The timer can
be reset using the blue Reset button (3)). To stop a simulation, click the red Stop
button (5)).
Time control of the simulation
For logic processes which are too fast to see at normal speed there are two
possibilities:
 Use the sliding bar (4)) to slow the simulated passage of time.
 It is possible to execute a simulation in time increments. To do so, stop the
simulation by clicking on the red Stop button and click on one of the time increment
buttons to the right of the sliding bar (6)). The following time periods are available
by default: +4 ms, +20 ms, +40 ms, +200 ms and +400 ms. These values will be
adapted automatically respective to the size of the programmed logic since they
represent multiples of the logic execution time. By clicking on one of these time
buttons, the simulation jumps forward by the specified time increment.
Additionally, the input field on the right (7)) allows you to enter a user specific time
period in ms, by which the simulation will jump forward when the yellow button (8))
beside the input field is pressed. By entering a large number such as 40000 (40 s)
into this field, you can jump forward in order to avoid waiting for timers to complete
their cycle, for example.
The entered time will be rounded to the nearest possible cycle time.
) in the toolbar to activate the

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws0-cpu1Sw1dnn-ws0adr-bWs0-cpu3

Table of Contents