Skip to main content

Object: Simulation Interface

The Simulation Interface object is located below the application. It provides a configurator for the simulation interface and for the simulation broker.

Tab: Configuration

Simulation enabled

_cds_icon_option_activated.png: The application connects to the simulation tool. (Consequently, the physical I/Os are decoupled.)

_cds_icon_option_deactivated.png: The application uses the physical I/Os.

Table 2. Simulation Options

Entire I/O image

The entire I/O image is sent and received. It is independent of whether the I/Os are mapped or not.

Mapped I/O signals only

Only the assigned I/O signals are sent and can be received.



Table 3. IP Settings

Publisher Multicast/Unicast IP

IP address for the publication of output of the I/O mapping

Make sure that this address range does not match other IT/OT systems in the shared environment.

Subscriber Multicast IP

IP address with which the inputs of the I/O mapping are subscribed to

Make sure that this address range does not match other IT/OT systems in the shared environment.

Use device IP for Unicast

IP address of the device where the application is running

Start port

Port for communication

Default: 4840



Table 4. Send/Receive Settings

Tx Publisher ID

ID for communication via pub/sub

Default: 10

Tx Writer Group Start ID

ID for communication via pub/sub

Default: 10

Rx Publisher ID

ID for communication via pub/sub

Default: 20

Rx Writer Group Start ID

ID for communication via pub/sub

Default: 20



Important

All settings have a tooltip. The tooltip appears when you move the mouse pointer over a setting name.

Tab: Status

This page is for diagnostic purposes. It shows information about the send and read status of the individual tasks.

Tab: Simulation Broker

The simulation broker contains an OPC UA Server with the simulation model of the OPC UA PubSub-configuration. And it can manage the configurations of multiple devices.

Button: Select Broker Device

Opens the Select Device dialog.

Select the desired controller from the list. The broker application can run on any standard CODESYS controller.

Note: The selected runtime system must provide an OPC UA Server.

Note: The device description of the broker device must be installed in the device repository of your CODESYS Development System.

Button: Update Broker

Creates or updates the application of the simulation broker

The created broker application is added to an existing broker setup. If no broker setup is available, then a new one is created, downloaded, and started automatically.

Table 5. Broker Communication Settings

Device name

Example: SimBroker

Device address

Example: 0001

Serial number

Target ID

Example: 0000 0004

Target type

Example: 4096

Target vendor

Example: CODESYS

Target version

Example: 3.5.21.0