IBH OPC UA:Logo8 Configuration with IBH OPC Editor
Contents
IBH OPC UA Server/Client 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 MES, ERP and SAP systems and visualizations. Below the configuration for exchanging data with the LOGO 8 and the IBH OPC UA Server/Client 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.
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.
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 Editor
In the IBH OPC Editor the PLC type S7-200 TCP/IP must be selected.
In the TSAP settings for the TSAP PLC 0200 must be entered:
Within the menu OPC Slots the OPC Editor File can be loaded:
After the OPC Editor file was donwloaded successfully the Logo8 PLC and their variables are listed within the menu OPC Slots:
Possible variables are inputs, outputs, flags and the DB1. Any OPC UA client may now communicate with the IBH OPC UA Server/Client and read/write data from/to a LOGO 8 with ethernet port.