OPCServer:Variables from LOGO 8

From IBHsoftec Wiki English
Revision as of 17:18, 10 February 2015 by Axel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

IBH OPC Server with Siemens LOGO 8

The Siemens LOGO 8 is equipped with an ethernet port and supports S7 connections over ethernet. This permits to integrate the LOGO 8 into more comlex environments, as per example connecting it to an HMI. Often, HMI applications use OPC as connection to the PLC. Below the configuration for exchanging data with the LOGO 8 and the IBH OPC Server is described.


Communication

The communication with the LOGO 8 uses the ethernet protocol of the S7-200. Following variables can be read/written from/to the LOGO 8:

  • Order number
  • Inputs
  • Outputs
  • Flags
  • DB1, it's configuration is made with the LOGO! Soft Comfort software

Reading the operational state of the PLC does not interfere with the communication, but does not deliver useable results.

Settings of the LOGO 8 over it's display

First, the LOGO 8 must be accessible over the ethernet network. Then the IP addres can be set with the LOGO! Soft Comfort software. If neccessary, the IP address of the PC needs to be changed, to have LOGO 8 and PC in the same subnet. The current address of the LOGO 8 can be looked up in the display.

  • "ESC" opens the settings.
  • Move down to "Network..".
  • "OK" - "IP address" is shown. "OK" The current address is displayed.


Settings with the LOGO!Soft Comfort software

In the LOGO!Soft Comfort software the IP address of the PLC must be set. This is made within LOGO!settings IP settings.

Logo8 settings.png

Then the LOGO 8 must be configured to accept connections from a HMI device. Using the right mouse button a server conection can be added:

Logo8 add server connection.png Logo8 server connection.png


To read variables from the DB1, it must be created. With "Tools - Parameter VM Mapping..." the elements from the PLC programm can be arranged in the DB1.

Logo8 VM.png

It may happen, that the LOGO!Soft Comfort software must be restarted, before changes in the connection settings will be transferred to the PLC.


Settings within the IBH OPC Server

In the IBH OPC Server the PLC type S7-200 TCP/IP must be selected.

Logo8 OPC plc properties.png]

In the TSAP settings for the TSAP PLC 0200 must be entered:

Logo8 OPC plc setting.png

Possible variables are inputs, outputs, flags, the DB1 and the order number. Any OPC client may now communicate with the IBH OPC Server and read/write data from/to a LOGO 8 with ethernet port.