Author: Ulrich Ribi

SPSLogger V0.2.1.0 available

An update for SPSLogger is available.

Version 0.2.1.0 contains the following improvements:

New: Focus log rows

When watching several signals at once, it can be hard to keep track of one or more specific rows in the chart. A new focus feature helps with this:

  • Ctrl+Click on a row’s chart area toggles its focus.
  • The chart’s right-click context menu also offers Focus Row and Clear All Focus.

Focused rows get a gray highlight; all other rows stay unchanged. Multiple rows can be focused at the same time. Focus is a display-only state and is not saved in the configuration file.

Dieses Bild hat ein leeres Alt-Attribut. Der Dateiname ist Schreenshot_Focus.png

New: OPC-UA connection

SPSLogger can now connect to the controller in two ways:

  • SPS-direct – as before, via libnodave (S7 protocol, MPI/DP/Ethernet).
  • OPC-UA – new, via an OPC-UA server (e.g. the PLC’s built-in OPC-UA server).

Use Settings → Connection type… to choose which of the two is active. The choice is stored in the configuration file and shown in the status bar. Switching is only possible while disconnected. Settings → Connection settings… automatically opens the matching dialog (SPS or OPC-UA settings) for whichever mode is active.

Note: OPC-UA support is experimental and not yet fully tested. Please use with care and report any issues to the author.

Dieses Bild hat ein leeres Alt-Attribut. Der Dateiname ist Schreenshot_Verbindungsart.png

Other improvements

  • New Ctrl+E shortcut to open the edit dialog for a log row directly.
  • Drag-and-drop row reordering in the log-row dialog is now possible.
  • The status bar shows the active protocol type.

Bug fixes

  • Copy/cut/paste (Ctrl+C/X/V) in the log-row dialog could occasionally throw a “clipboard cannot be opened” error; fixed.
  • Pasting into a single cell in the log-row dialog sometimes wrote into the wrong column (“Description” instead of “Format”); fixed.
  • Invalid log rows removed during cleanup could reappear the next time the view was rebuilt; fixed.
  • Browsing historical data while a real-time recording was running could show the wrong (too far away) value at the right edge of the chart; fixed.
  • Determining the most recent database timestamp happened to return the correct result due to a coding mistake; the calculation is now implemented correctly.
  • Various smaller internal fixes (database access, server function, resource cleanup) as part of a broader internal code review.

Hinweis:

The update can be performed via the “Help” → “Check for Updates” menu item. Alternatively, you can download it directly from the page https://spslog.ch/en/download/

SPSLogger Version for Windows XP available

A Windows XP Version for SPSLogger is available.

Under the following link you can download an XP-compatible version:

https://spslog.ch/downloads/spsloggerXP/Setup_SPSLoggerXP_0_1_10_2.zip

Requirements:

  • Windows XP with Service Pack 3
  • Internet connection for the installation of additional components

Installation:

  • Unzip the ZIP file and run Setup.exe.
  • The following components are required and are automatically downloaded and installed from the Internet:
    – Microsoft .NET Framework 4 (x86 and x64)
    – SQL Server Compact 4.0 SP1

Remarks:

  • To make SPSLogger XP compatible, the database has been replaced and an older .NET Framework has been used.
  • This XP version has not been extensively tested yet.

SPSLogger V0.1.10 available

An update for SPSLogger is available.

Version 0.1.10 contains the following improvements:

  • Fixed error Import/Export values with decimal points.

SPSLogger V0.1.8 available

An update for SPSLogger is available.

Version 0.1.8 contains the following improvements:

Online connection over the Internet (eg VPN connections)

ConnectionPN

Sample configuration for a VPN dial-up router that is connected to a Siemens CPU S7-315PN.

The configuration must be adapted to the local connection.

Possible problems with online connections

  • The response time of the controller is too slow. Measure: Increase the timeout (eg to 5000000)
  • The PLC can not be reached via Ping. This is the case when the ping response is deactivated during the VPN connection. Result: The “Find connection” function is not connected. All parameters must therefore be entered manually and tested using the “Check connection” function.

Online connection with NetLinkPro via MPI or Profibus (eg S7-315-2DP)

Connection DP

Using the NetLinkPro adapter from Deltalogic.

If the adapter is connected to the Profibus port, the protocol “DP protocol with NetLinkPro (Siemens S7-300 / 400)” must be set. The remaining settings are valid for the Profibus. For example, the Profibus address of the PLC must be entered at “MPI address PLC”.

Sample configuration for a Siemens CPU S7-315-2DP.

This configuration should apply to all S7-300 and S7-400 CPUs with MPI or Profibus connection.