Internal data point elements of the simulator

There are three data points of internal data point type _Simulator per default.

Data point element Data type Description
FileName string

Allows to specify a new simulation file which will be used instead of the file defined in the manager start options.

You have to define the file as follows:

<WinCC_OA_Proj>\<File name>.txt

Example:

D:\MyProjects\SimTest\simulator.txt

Signal bool This data point element allows to start (set the value to 1) or stop (set value 1 again) the simulation.
Command string

Commands specified here are directly executed. The format of the commands matches the entries in the simulation file.

Example:

0 a4 t "Hello world" 0 0 "2010.04.27;17:55:00,000"

This command writes a "Hello world" string including the given time stamp on the data point element with peripheral address "a4".

Note:

Commands are only executed if the config entry autoHWObjects = "Y" is set.