Overview – Siemens

The Siemens connector is a device driver with support for Ethernet connectivity to common Siemens S7 processor types including S7-200, S7-300, S7-400, S7-1200 and S7-1500.

👉 Use the Getting Started Siemens page to configure a driver.

Driver Properties

The following sections describes properties that relate to the driver configuration.

IP Address

The IP address of the device.

Connection Type

The connection to a Siemens device can be configured with the following parameters:

  • Processor Type: The processor type [S7-200 | S7-300 | S7-400 | S7-1200 | S7-1500]
  • Link Type: The link type [PC | OP | PG]
  • Rack: The rack number [0]
  • CPU Slot: The CPU slot number [1]

Timeouts and Retries

You can manage the timeouts and retries that OAS will apply to the connection. You can tweak the following configuration properties depending on your requirements:

  • Transaction Timeout: The timeout when sending a message in milliseconds [1000]
  • Connection Timeout: The timeout when opening a connection in milliseconds [2500]
  • Return to Online: When a driver is disconnected due to bad messages, a new connection will be attempted after this many seconds [60]

Write Behaviors

You can manage the behavior of the Siemens driver when performing writes using the following properties:

Write Latest Value Only

When enabled only the last value in the pending queue of writes will be written to the controller. This property is useful to account for slow networks or slow responding controllers.

Single Write

When enabled each value will be written one at a time to the device. When disabled all values will be written together to the device.

Read After Write

When enabled a synchronous read will be called after each write to the controller.

Failover

You can enable the Enable Failover property and configure a secondary IP address, rack and CPU slot. When a secondary interface is configured, OAS will attempt to use it if the primary interface fails to send a message after a failed connection.