OPCServer:H1 with OPC Server

From IBHsoftec Wiki English
Jump to: navigation, search

IBH OPC Server with Siemens S5 and S7 CPs over H1

Starting with Version V4.12 of the IBH OPC Server the H1 communication uses the Open Source driver WinPcap. It can be downloaded from http://www.winpcap.org free of charge and must be installed for H1 communication. Alternatively WinPcap may also be installed with the OpenSource Network Analyzer Wireshark http://www.wireshark.org. For diagnostic purposes it may be helpful to have Wireshark available.

H1 is a connectionless Ethernet I communication. The communication partners are identified by their MAC addresses. Care must be taken, that there are only unique addresses in the network. The default address, the Siemens hardware configuration uses, when inserting a CP is 08-00-06-01-00-00. It must be altered to a unique address in the network.

Because of the connectionless Ethernet I communication, H1 drivers cannot decide, whether received packets were bound for them. For this reason, only one active H1 driver must exist on the PC running the IBH OPC Server. H1 drivers of other manufacturers must either be inactive or be uninstalled.

The existence of other, active drivers can be determined with Wireshark. A typical sequence is, that a successful "Connection Confirm <CC>" from the CP will be answered by the PC immidiately with a "Disconnect Request <DR>", instead of starting to send data "Data".

Prerequisites to verify:

  • WinPcap must be installed.
  • Other H1 drivers must be inactive or uninstalled.
  • Network MAC addresss must be unique.
  • The connection between PLC and CP (for S5: Monkey Swing) must work.