GE Industrial Solutions 6KCV300WPD User Manual

Page 51

Advertising
background image

S i m u l a t i n g P r o g r a m s o n t h e P C

includes a simulation environment for the code that was generated for the PC simulation. The

generated program is put into a DLL that is called from

To display output data of the simulation,

probes can be set. The values of these probes can be displayed graphically in monitor windows (looking

oscilloscopes) and in a tabular form in trace windows.

To run a simulation the following steps must be performed:

the project must be successfully generated and compiled for the PC simulation.
probes must be set for all variables that shall be displayed in monitor or trace windows.

the monitor and trace windows have to be defined.

the simulation will be started for one or more steps. After each simulation step the actual values of the
ports can be examined using the quick value function of the schematics.
now the simulation output can be watched using the monitor and trace windows.

As long as the simulation is running the schematics cannot be changed. The simulation has to be stopped
before making any changes.

Setting Prubes

Probes are set on ports of blocks. Only the values of ports where probes are set are traced during the simula-
tion, For setting probes two methods can be used:

by an item of the Edit menu, or
by

the context

sensitive menu (right mouse button) while the mouse pointer is on a connection line or port

of a block.

Setting Probes from the Edit menu

Within the Edit menu there are three items that can be used to set probes:

Set Probe will set a probe without automatically allocating it to a monitor or trace window,

Create Monitor

set a probe and create a new monitor window where this probe is displayed,

Create

will set a probe and create a new trace window where this probe will be displayed.

All three menu items act in a similar way:

after selecting the menu item, the mouse pointer changes its icon,

move the mouse pointer to the port that should be probed,

press the left mouse button. Now the port will change its color (the color is set in the Colors item of the

Options menu).
if Create Monitor or Create Trace was selected also a new window will appear.

9.

Setting Probes by

Context Sensitive Menu

For setting probes using the context sensitive menu perform the following actions:

move the mouse pointer to a connection line or port of a block.

now press the right mouse button, the context sensitive menu will appear
choose Set Probe from this menu. Now the Set Debug Window dialog appears.

Within this dialog you can change the name of the probe. The default name is the block name plus the port
name. If a probe already has this name (because same block name is used elsewhere), then a number is
appended.

4 1

Advertising