Professional Documents
Culture Documents
OPC Server Ethernet
OPC Server Ethernet
OPC Server Ethernet
OPC S E R V E R E T H E R N E T
COPYRIGHT
Intro
The contents of this manual and the related software are the property of INAT GmbH. This information is
subject to the conditions of a general or special license agreement (i.e., one-time license) and may only be
used or copied in accordance with the specifications of this agreement.
The information in these documents is not binding.
Changes to the contents can occur at any time without prior notification. Subject to change due to technolo-
gical advances.
© Copyright INAT GmbH 1996-2006
Industrial Networks for Automation Technology
Ostendstrasse 50A
D-90482 Nuremberg
Tel: + 49 911 / 5 44 27-0
Fax: + 49 911 / 5 44 27-27
Web: www.inat.de
Email: info@inat.de
Page 2
[ OPC Server Ethernet Manual / Intro ]
CONTENT
Intro
1 Introduction....................................................................................................................... 8
1.1 General .................................................................................................................................................. 8
1.2 Scope of Supply .................................................................................................................................... 9
1.3 System Requirements .......................................................................................................................... 9
1.4 OPC Overview ....................................................................................................................................... 9
1.4.1 What is OPC?.................................................................................................................................. 9
1.4.2 OPC DA Specification .................................................................................................................. 10
2 Getting Started........................................................................................................... 14
2.1 Installation of the OPC Server ............................................................................................................ 14
2.2 Installation of the H1 driver ................................................................................................................ 19
2.2.1 Change number of H1 connections .............................................................................................. 20
2.2.2 Allow overwriting the MAC Address .............................................................................................. 20
2.2.3 Do not allow overwriting the MAC Address ................................................................................... 20
2.3 Installing the Server as Service ......................................................................................................... 21
2.4 Changing Server Type......................................................................................................................... 21
2.5 Licensing ............................................................................................................................................. 22
2.5.1 Licensing with dongle .................................................................................................................... 22
2.5.2 Licensing with license request code .............................................................................................. 22
2.6 Updating and Upgrading..................................................................................................................... 24
2.6.1 Update ........................................................................................................................................... 24
2.4.2 Upgrade......................................................................................................................................... 24
Page 3
[ OPC Server Ethernet Manual / Intro ]
4 Configuration .............................................................................................................. 38
4.1 Required steps for OPC Communication ......................................................................................... 38
4.2 Setting up a new connection .............................................................................................................. 39
4.2.1 Edit TCP/IP Parameters ................................................................................................................ 41
4.2.2 Edit H1 Parameters ...................................................................................................................... 48
4.3 Shutting down the OPC Server .......................................................................................................... 52
4.4 Alias Configuration ............................................................................................................................ 53
4.4.1 Import Step 7 Symbols ................................................................................................................. 54
4.5 Server Settings ................................................................................................................................... 55
4.5.1 Protocol Timer Tick........................................................................................................................ 55
4.5.2 Configuration file ........................................................................................................................... 55
4.5.3 Data types .................................................................................................................................... 56
4.5.4 Echo Written Data back to Client .................................................................................................. 56
4.5.5 Show Server Icon in the task bar .................................................................................................. 56
4.6 Server Optimisation ............................................................................................................................ 57
4.6.1 Combine coherent blocks always (max)........................................................................................ 57
4.6.2 Chronological Order is preserved.................................................................................................. 57
4.6.3 Write every item separately (off) ................................................................................................... 57
4.6.4 Write with Priority, Chronological Order is Preserved.................................................................... 57
4.6.5 Writes with immediate positive Confirm (default: No) .................................................................... 57
4.6.6 Read between Write (default: No) ................................................................................................. 57
4.7 Server Options .................................................................................................................................... 58
4.7.1 String Format................................................................................................................................. 58
4.7.2 Timeouts ........................................................................................................................................ 58
4.8 H1 Station Address ............................................................................................................................. 59
4.9 DCOM Configuration .......................................................................................................................... 60
4.9.1 User ............................................................................................................................................... 60
4.9.2 Computer properties for client and server machine ...................................................................... 60
4.9.3 OPC Server Settings for Server PC .............................................................................................. 62
4.10 Main window ...................................................................................................................................... 65
4.11 Logging............................................................................................................................................... 67
OPC Server Ethernet
Page 4
[ OPC Server Ethernet Manual / Intro ]
Intro
5.1 S7 Item ID Syntax ................................................................................................................................ 72
5.2 S5 Item ID Syntax ................................................................................................................................ 75
5.3 Modbus Item ID Syntax ....................................................................................................................... 79
5.4 Send / Receive Item ID Syntax ........................................................................................................... 81
5.5 PLC-5 Item ID Syntax .......................................................................................................................... 83
5.6 Mitsubishi Item ID Syntax ................................................................................................................... 85
5.7 Arrays ................................................................................................................................................... 87
5.8 Suffixe................................................................................................................................................... 88
5.8.1 Suffix BA........................................................................................................................................ 88
5.8.2 Suffix BCD ..................................................................................................................................... 88
5.8.3 Suffix D .......................................................................................................................................... 89
5.8.4 Suffix DT........................................................................................................................................ 89
5.8.5 Suffix DU ....................................................................................................................................... 90
5.8.6 Suffix KA........................................................................................................................................ 90
5.8.7 Suffix KF ........................................................................................................................................ 90
5.8.8 Suffix KG ....................................................................................................................................... 90
5.8.9 Suffix KT ........................................................................................................................................ 91
5.8.10 Suffix RI ....................................................................................................................................... 91
5.8.11 Suffix RU ..................................................................................................................................... 91
5.8.12 Suffix S5T .................................................................................................................................... 91
5.8.13 Suffix SWAB ................................................................................................................................ 91
5.8.14 Suffix T ........................................................................................................................................ 92
5.8.15 Suffix TOD ................................................................................................................................... 92
5.8.16 Suffix TR...................................................................................................................................... 92
5.9 Bit Masking .......................................................................................................................................... 92
5.10 Special Items...................................................................................................................................... 93
5.10.1 Pollinterval ................................................................................................................................... 93
5.10.2 Storesettings ............................................................................................................................... 94
5.10.3 Maxinterval .................................................................................................................................. 94
5.10.4 Itemcount..................................................................................................................................... 94
5.10.5 Errorcount ................................................................................................................................... 94
5.10.6 Writecomplete ............................................................................................................................. 95
5.10.7 Status .......................................................................................................................................... 95
5.10.8 WriteItemCount ........................................................................................................................... 95
5.10.9 WriteStatusMsg ........................................................................................................................... 95
5.10.10 Servercycle................................................................................................................................ 98
Page 6
C H A P T E R 1:
INTRODUCTION
[ OPC Server Ethernet Manual / Chapter 1: Introduction ]
1 INTRODUCTION
Chapter 1: Introduction
1.1 General
Six Ethernet OPC server types are available, each with a different range of supported protocols. Depending
on the supported transport protcols and application protocols, the OPC server enables the transfer of real-
time data between Siemens S5/S7 PLCs, Allen-Bradley PLCs, Mitsubishi PLCs, devices with Modbus on
TCP interface and OPC clients via Ethernet. The following OPC servers are available:
Page 8
[ OPC Server Ethernet Manual / Chapter 1: Introduction ]
Chapter 1: Introduction
Before setting up the OPC server, please make sure, that the following components are included in the
scope of supply.
CDROM with
OPC Server
INAT Demo software
INAT Manuals
Optional: Dongle
Optional: Certificate
field data from plant floor devices. This method remains the same regardless of the type and source of data.
OPC servers provide a method for many different software packages to access data from a process con-
trol device, such as a PLC or DCS. Traditionally, any time a package needed access data from a device, a
custom interface, or driver, had to be written. The purpose of OPC is to define a common interface that is
written once and then reused by any business, SCADA, HMI, or custom software packages.
Page 9
[ OPC Server Ethernet Manual / Chapter 1: Introduction ]
Chapter 1: Introduction
Once an OPC server is written for a particular device, it can be reused by any application that is able to
act as an OPC client. OPC servers use Microsoft’s OLE technology (also known as the Component Object
Model, or COM) to communicate with clients. COM technology permits a standard for real-time information
exchange between software applications and process hardware to be defined.
Class: OPCServer
An OPCServer object represents a vendor specific OPC server. OPC servers implement the access to the
hardware. The OPC server receives a unique name by its vendor, so that it can be identified. In COM stan-
dard, this name is called ProgID.
Page 10
[ OPC Server Ethernet Manual / Chapter 1: Introduction ]
Chapter 1: Introduction
INAT TCPIPH1 OPC Server
Class: OPCGroup
An OPCGroup object structures the variables used by the server. The OPCGroup manages the single
process variables, the OPC items.
Class: OPCItem
An OPCItem object represents the ultimate process variable. In the address space of the OPC server, the
item is identified by its Item ID (Item Syntax). An item is NOT the data source, but the connection to the data
source. The Item ID is defined by the server vendor. Each item has the following properties:
Value the latest value read from the server
Quality the latest quality read from the server
Time Stamp time when the latest value was read
Page 11
[ OPC Server Ethernet Manual / Chapter 1: Introduction ]
Chapter 1: Introduction
OPC Server Ethernet
Page 12
C H A P T E R 2:
G E T T I N G S TA R T E D
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
2 GETTING STARTED
Chapter 2: Getting Started
3. Select „Installation“.
„Installation“: files to install INAT OPC Server.
„Software Overview“: a downloadable overview with INAT software and manuals.
„Informative Literature“: a downloadable overview with INAT informative literature (press releases, manuals
etc).
Page 14
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
Page 15
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
Chapter 2: Getting Started
12. Enter the folder for the OPC server (Default: INAT\OPC Server Ethernet) and select „Next“.
Page 16
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
16. The installation of the „hardlock device drivers“ is required to license the OPC server via dongle. Select
„Next“.
18. To install the OPC components of the OPC Foundation, you must accept the license agreement. Select
„Next“.
Page 17
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
Chapter 2: Getting Started
21. You are asked to select the desired server. Select a server and you will see the protocols provided. The
server type may be changed at any time (see chapter 2.4). This provides the opportunity to test the functio-
nal range of the diverse server types without installing another software.
NOTE
If you have already installed and licensed a server and change the server type
your license expires. You need a new license confirm code or a new dongle!
OPC Server Ethernet
If using a OPC server, that supports the ISO (H1) protocol, the H1 protocol driver must be installed (see
chapter 2.2)
Installation is complete. If you do not license the OPC server, it runs for 72 hours after every start or restart.
Page 18
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
During the installation of the OPC server the H1 driver will automatically be copied to the hard disc. A PC-H1
subdirectory will be created in the installation directory of the server.
Default: C:\Programs\INAT\OPC Server Ethernet\pch1\
NOTE
OPC Server Ethernet
Page 19
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
The registry entry „200H1Connections.reg“ increases the maximum number of H1 connections from 64
(default) to 200.
Select Start > Programs > INAT > OPC Server Ethernet >pch1 > H1 registry scripts > 200H1Connections.
reg.
A warning will appear. Confirm with „Yes“. A confirmation message will verify that the new registry entry has
been made.
NOTE
The change to the registry requires a system reboot
NOTE
The change to the registry requires a system reboot
NOTE
The change to the registry requires a system reboot
OPC Server Ethernet
Page 20
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
NOTE
If you have already installed and licensed a server and change the server type
your license expires. You need a new license confirm code or a new dongle!
When selecting again the licensed server type, the license is valid again.
Select Start > Programs > INAT > OPC Server Ethernet > Tools > Change Type of server
Mark the desired server and confirm with „OK“. With the next start of the server, it runs with the selected
protocol range.
OPC Server Ethernet
Page 21
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
2.5 Licensing
Chapter 2: Getting Started
NOTE
In conjunction with RAID systems and Cluster stations, Dongle licensing is
required!
NOTE
You should license your server when all tests are done. The desired server
type must be installed on the target device. A later portation of the license
confirm code to another hardware is NOT possible!
● Compare the entries under Product and Order No. with your ordering data!
● Enter your company name and the user name in order to get a unique license.
● Press the button ->Clipboard. The data needed for the license request are now available. You only have
to paste them in your email program.
Page 22
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
Example:
Page 23
[ OPC Server Ethernet / Chapter 2: Gettings Started ]
INAT OPC Servers are improved and extended with helpful features on a regular basis. At the download
area of the INAT website, the current version of the OPC servers is available. If you are already licensee
of a OPC server license and want to use the latest version by replacing it with your earlier version, please
determine, if it is an update or an upgrade.
2.6.1 Update
Updates are free. If the version number of your OPC server begins with the same number as the version
number of the current version on the INAT Web Site, it is an update.
Example:
2.4.2 Upgrade
Upgrades are not free. If the version number of your OPC server begins with another number than the ver-
sion number of the current version in the Internet, it is an upgrade.
Example:
NOTE
Choose „About“ from the help menu to find out the version number of your
OPC server
OPC Server Ethernet
Page 24
C H A P T E R 3:
C O M M U N I C AT I O N B A S I C S
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
3 COMMUNICATION BASICS
Chapter 3: Communication Basics
Job Types
Send Direct
Receive Direct
Fetch Active (Read Active)
Write Active
Fetch on Event Active
to be read. The user program of the receiving station supplies the source address of the data in the remote
station AND the data destination in the own station.
In contrast to a SEND job, the sending station does firstly not know what data shall be send. These informa-
tion must be transferred. Fetch function requires parameter transfer.
The active end of the FETCH can read a data record from the passive end
Page 26
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
In the ISO/OSI reference model FETCH communication is Layer 7 based. The services of the upper layers
3.2 Connections
To exchange data between stations via Ethernet, a connection is required. A transport connection is a logi-
cal connection between two access points.
Typically connections must be configured on both ends of the communication. With Point-to-Point connec-
tions the communication partners must agree, who establishes the connection active and passive.
Connection
OPC
Active Passive
The transport connection is based on address information that uniquely identify the transport route between
the two access points. Address informations depend on used protocol. The used protocols must be under-
stood by both stations.
Data is transferred via Ethernet in data packets. These packets are supplemented with the addition of extra
fields at the beginning and/or end of the packet (headers and trailers). These fields may include the source
and destination addresses, the packet length, acknowledgement numbers and so on. For example data
transferred via TCP/IP, are supplemented with a TCP header and an IP header.
OPC Server Ethernet
Page 27
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
Communication partner 2
Chapter 3: Communication Basics
RFC1006 Connection
MAC Address 1 MAC Address 2
Port 102 Port 102
local TSAP local TSAP
remote TSAP remote TSAP
verifying that the data reached the other end of the network
correctly. UDP uses port numbers to deliver data to the correct
applications process.
Page 28
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
IP Address
In IP based networks, each station has an unambiguous IP address. Own IP address and destination IP
address are part of the Source Address Field (resp. the Destination Address Field) of the IP header. With
this additional address information stations outside the own LAN can be addressed - IP uses the network
portion of the address to route the datagram between networks. The MAC header with MAC address is
insufficient for it (example for an IP address: 192.0.9.4).
Port number
TCP/IP uses port numbers to pass the data to the correct application process. Port numbers are 16-bit
values. The Source Port Number which identifies the process that sent the data and the Destination Port
Number which identifies the process that is to receive the data are contained in the first header word of each
TCP segment and UDP packet. Port numbers below 256 are reserved for „well-known-services“ (like FTP
and TELNET) and are defined in the RFCs. Ports numbered from 256 to 1023 are used for other specific
services.
It is the combination of IP address and port number that uniquely identifies the TCP/IP connection. The
combination of an IP address and a port number is called socket.
STATION A STATION B
Port Port
IP Address A IP Address B
3.2.2 H1 Connections
The SINEC H1 is based on the specifications of the IEEE 802.3 extended with details for industrial com-
OPC Server Ethernet
munications and was developed by the Siemens AG in 1985. The term „SINEC H1“ has been replaced by
the term „SIMATIC NET“. ISO 8073 is a ISO norm, that describes connection-oriented transport protocols.
There are 5 protocol classes with different characteristics. H1 is a class 4 protocol.
Like TCP, H1 works connection-oriented. H1 exchanges control information with the remote system to verify
that it is ready to receive data before sending it. Like TCP, H1 provides data transfer between two application
programs. The H1 transport protocol passes the data to the correct application process. Application proces-
Page 29
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
ses are identified by TSAPs (corresponding to the port numbers with TCP). The ISO transport service does
Chapter 3: Communication Basics
not use IP. It enables communication between stations at the same Industrial Ethernet Subnet.
MAC Address
Ethernet components, that shall be targeted by messages need an unambiguous physical address, the MAC
address. Own MAC address and destination MAC address are part of the Source Field (resp. the Destina-
tion Field) of the MAC header of a Ethernet frame. With the MAC address a machine is unambiguously iden-
tified on the network. In ISO (H1) networks the MAC addresses uniquely identify the access to the stations
(example for a MAC address: 00 E0 4B 19 03 95).
Station addressing is handled exclusively via MAC addresses. Therefore H1 is not routing-capable. Stations
outside the own network can not be accessed.
TSAPs
H1 uses TSAPs (Transport Service Access Points) to pass the data to the correct application process. For
each connection a different pair of TSAPs is being used.
local TSAP identifies the transport service access point in the own
system
remote TSAP identifies the transport service access point in the other
system
To establish the connection, TSAPs have to correspond crosswise i.e.: local TSAP“ of station A must cor-
respond with the „remote TSAP“ of Station B and „local TSAP“ of station B must correspond with „remote
TSAP“ of station A.
Localer TSAP (Station A) = Remote TSAP (Station B)
Remote TSAP (Station A) = Local TSAP (Station B)
STATION A STATION B
Local TSAP
OPC Server Ethernet
Local TSAP
Remote TSAP Remote TSAP
To recognize the end of a message, a blocking mechanism is required. The RFC1006 gives TCP/IP a mes-
sage structure.
RFC1006 (ISO Transport Service on the top of the TCP) specifies how to carry an ISO transport protocol on
the top of the TCP/IP protocol.
The port 102 is used for RFC1006 connections. To address stations IP addresses are used. To address
applications TSAPs are used. For each connection a different pair of TSAPs is being used.
STATION A STATION B
IP Address A IP Address B
OPC Server Ethernet
Page 31
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
3.3 S5 Connections
Chapter 3: Communication Basics
If data shall not only be read from a S5 PLC but also be written to the S5 PLC, a write connection is required
besides the read connection. With the INAT OPC server only ONE connection has to be set up. Via the port
number or the TSAP the read connection and the write connection are defined.
TCP/IP Connection
Station A Station B
READ
OPC
WRITE
Station A Station B
READ
OPC
WRITE
The connections must be parameterized on both sides of the connection (one connection for read and write
in the OPC Server and two connections in the S5: one read connection and one write connection).
OPC Server Ethernet
When communicating via TCP/IP, the port for read must be the same on both sides of the connection. The
same ist with the port for write: it must be the same on both sides of the connection, too.
When communicating via RFC1006 or via H1, the local TSAP on the local side and the remote TSAP on the
remote side must be the same. The remote TSAP on the local side and the local TSAP on the remote side
must be the same.
Page 32
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
3.4 S7 Connections
TCP/IP Connection
Station A Station B
READ
OPC
WRITE
RFC1006 or H1 Connection
Station A Station B
READ
OPC
WRITE
When communicating via TCP/IP, the port for read and write must be the same on both sides of the connec-
tion.
When communicating via RFC1006 or via H1, the local TSAP (for read and write) on the local side and the
remote TSAP on the remote side must be the same. The remote TSAP (for read and write) on the local side
and the local TSAP on the remote side must be the same.
OPC Server Ethernet
Reading of data from a S7 PLC and writing of data into a S7 PLC (Layer 7 communication) is handled via:
Page 33
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
Standard connections are connections, that are pre-parameterized on PLC side. For that reason, the con-
nection must only be set up on OPC side and NOT on PLC side. Standard connections use standard TSAPs
or standard ports. The number of standard connections is limited. If there are not enough standard connec-
tions available, parameterizable connections must be used. Siemens communication processors handle
standard connections via RFC1006 or H1. Normally the standard connections are sufficient.
TCP/IP Connection
Station A Station B
READ
OPC
WRITE
The port for read and write must be the same on both sides of the connection. When using the port 502, the
connection must only be set up on OPC side and NOT on PLC side. Besides the IP address and the port
number, the Unid ID of the target device is required.
OPC Server Ethernet
Page 34
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
TCP/IP Connection
Station B with
Station A NetLink adapter
READ
OPC
WRITE
The port for read and write must be the same on both sides of the connection. When using the standard port
1099, the connection must only be set up on OPC side and NOT on PLC side. Besides the IP address and
the port number, the MPI address of the target device is required.
TCP/IP Connection
Station A Station B
READ
OPC
WRITE
The port for read and write must be the same on both sides of the connection. When using the port 2222,
the connection must only be set up on OPC side and NOT on PLC side.
Page 35
[ OPC Server Ethernet Manual / Chapter 3: Communication Basics ]
A Melsec-Q connection is used to communicate with a Mitsubishi PLC of the Melsec-Q series. The Melsec-
Q protocol can only be used with TCP/IP. Read and write jobs can be handled via one connection.
The connection must be parameterized on both sides of the connection. In the OPC server one conenction
for read and write is required. In the Melsec-Q PLC one passive receive connection and one passive send
connection must be set up. The port for read and write must be the same on both sides of the connection.
TCP/IP Connection
Station A Station B
READ
OPC
WRITE
Standard connections may be used too. The connection must only be set up on OPC side and NOT on PLC
side. Refer to the manual of your PLC to find out which port number is used as standard port. This port must
be used as port for read and write with the OPC connection.
OPC Server Ethernet
Page 36
C H A P T E R 4:
C O N F I G U R AT I O N
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
4 CONFIGURATION
Chapter 4: Configuration
The INAT OPC server requires very small amount of configuration to function properly.
Read / Write
OPC Server Ethernet
Page 38
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
For each hardware that shall be accessed for read and/or write, at least one connection must be set up in
the OPC server. The connection defines the access path to the hardware.
The number of TCP/IP connections ist NOT limited. The maximum number of H1 connections is set to 64 in
the default setting. With a registry entry, this number can be increased (see chapter 2.2.1 „Change number
of H1 connections“).
● The Access Path Definitions are used to create a new access path, to modify an existing access path or
to delete an existing access path. To create a new one choose „New“ from the Configuration menu.
Page 39
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Name
Chapter 4: Configuration
Enter a name for the connection. This access path name will be
used in the OPC client later, too.
Type of Connection
Select the used transport protocol H1 (ISO) or TCP/IP. When com-
municating via RFC1006 select TCP/IP.
Type of Protocol
Select the used application protocol S5, S7, Modbus, NetLink,
PLC-5 or Melsec-Q.
If NO high-level protocol shall be used, select Send / Receive. In
this case raw data is transferred.
Page 40
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
4.2.1.1 Allow Cyclic Poll / Poll interval
If this selection is checked, data are updated cyclically. The frequency for updates is configured as poll
interval. If this selection is unchecked, data are no longer updated cyclically. In this case the client must ask
for the update.
The poll interval (read interval) function specifies in milliseconds the intervals at which user data is updated.
To keep the network load as low as possible, the intervals should be based on the importance of the particu-
lar user data. The value „0“ indicates that the server reads as fast as possible.
S5 Protocol
Siemens S5-CPs, It is NOT possible to read and write through one con-
INAT S5-TCP/IP: nection. One connection is required for the read job and
another connection is required for the write job. One
port number (or TSAP) for read and one port number
(or TSAP) for write is required.
echolink It is possible to read and write through one connection.
Page 41
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
Advantages:
- Data are only sent in case of an event
- Cyclic poll is no longer required
- Network traffic is reduced
4.2.1.6 Write Single Coil / Write Single Register (only with Modbus)
If your Modbus device does not provide opcode „Write Multiple Coils (15)“ activate „Write Single Coil (05)“. If
your Modbus device does not support opcode „Write Multiple Registers (16)“ actiavte „Write single register
(06)“.
4.2.1.11 No Header
When communicating with stations, that support „only“ the pure TCP/IP protocol „no header“ should be
used. The application program on both sides is responsible for monitoring.
Page 42
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
Select the PLC Header when communicating with INAT devices (S7-TCP/IP, S5-TCP/IP, echolink).
OPC Server
PLC
Page 43
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
First Group
Chapter 4: Configuration
Examples:
01 00 PC with OPC server; direct addressing
03 43 OPC communication with S7 CPU in rack 2, slot 3
03 02 OPC communication with S7 CPU in rack 0, slot 2
03 2E OPC communication with S7 CPU in rack 1, slot 14
NOTE:
Enter the standard TSAPs in the HEX field! The remote TSAP of S7 connec-
tions is always 03 XY. X is the rack number multiplied by 2 and Y is the slot of
the CPU.
Routing TSAPs
With the OPC Server Routing is possible. Routing ensures OPC communication transcending networks.
OPC communication is possible with alle S7 stations, that can be reached via route stations. It is irrelevant
how many route stations and networks are situated between the start device (OPC Server) and the target
device. For Fetch / Write communication only on OPC side a connection must be configured. Information
about the target network and the target device are required.
OPC Server Ethernet
Page 44
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Destination PLC
Chapter 4: Configuration
Parameters of the target device must be entered here.
S7 Subnet ID
Specify the S7 Subnet ID of the target network. You will find the subnet ID in the object properties of the
subnet in the Step 7 project. The subnet ID consist of 2 numbers separated by a dash (one number of the
project and one number of the subnet).
MPI/Profibus Address
In case of a MPI subnet, enter the MPI address of the PLC. In case of a Profibus subnet enter the Profibus
addresse.
Slot Address
Enter the slot number, where the CPU is located. With S7-300 systems, the CPU is always located on slot 2.
Service
Service „3“ should be used for OPC communication.
OPC
ETHERNET
MPI (CPU) = 2 Profibus = 6
MPI (CP ) = 3
PROFIBUS
OPC Server Ethernet
Profibus = 2
Target PLC
Page 45
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
COM Port
Chapter 4: Configuration
Enter the Com Port of the echolink that is connected with the MPI interface of the S7 PLC.
Routing PLC
The Routing PLC is the S7 PLC, that is connected with the echolink via MPI. This PLC is the first transition
from Induastrial Ethernet to MPI. Enter the MPI address of the routing device here (MPI address of the CPU
or the CP).
NOTE:
Some communication processors have a MPI address for backplane connec-
tion. This address is assigned by the CPU. If such a CP is used, make sure to
use the MPI address of the CP and not the MI address of the CPU.
Generate TSAPs
Press the button „Generate TSAPs“ when all settings are made. The TSAPs are generated and indicated.
OPC Server Ethernet
4.2.1.15 MPI/PPI Parameters (only with NetLink and activated High Performance Protocol)
In case of a MPI subnet enter the slot of the CPU and the service (service „3“ should be used for OPC com-
munication). In case of a PPI subnet select the baudrate of the PPI interface.
Page 46
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
4.2.1.16 Port for Read, Port for Write, Port for Unsolicited
Chapter 4: Configuration
The port number is a 16 bit number between 1 and 65535. The port number is the channel number via
which a connection is identified. Port numbers between 1 and 1023 should not be used.
The „Port for Read“ specifies the channel number via which the read-access is established. The „Port for
Write“ specifies the channel number via which the write-access is established. Finally the „Port for Unsoli-
cited“ specifies the channel number via which unsolicited data from the PLC are transferred. Port for Read,
Port for Write and Port for Unsolicited should not be the same.
NOTE
To be able to establish the connection, the Port number must be the same on
both sides of the connection.
With activation of the High Performance Protocol, acceses to variables, that are NOT part of the same ope-
rand area, are combined (e.g. DB5.W3 + MW1 + T2 etc.) internally to one access. The number of data pak-
kets transferred via the network is reduced. Therefore the best performance can be achieved in this mode.
NOTE:
With INAT S7-TCP/IP the High Performance Protocol may not be used.
Page 47
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
S5 Protocol
Siemens S5-CPs, It is NOT possible to read and write through one con-
INAT S5-TCP/IP: nection. One connection is required for the read job and
another connection is required for the write job. One
port number (or TSAP) for read and one port number
(or TSAP) for write is required.
echolink It is possible to read and write through one connection.
Page 48
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
Advantages:
Data are only sent in case of an event
Cyclic poll is no longer required
Network traffic is reduced
OPC Server
PLC
Page 49
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
TSAPs have a length of at least 2 bytes and a maximum length of 16 bytes. When communicating with S7
PLCs, typically standard TSAPs are used.
First Group
contains device codes, for which ressources are provided in the S7
01: PG or PC
02: OS (MMI device)
03: e.g. Simatic S7 PLC
Second Group
contains the addresses of these components
Left Character (Bit 7....4):
Rack number multiplied by 2
Right Characteren (Bit 3...0):
Slot (< 16) of the CPU. For S7-300 always slot 2 is used
Standard TSAPs must be used on PLC side (remote TSAP of the OPC server station). Local TSAP (own
TSAP of the OPC server station) ist arbitrary. It should contain the same format (e.g. 01 00)
Examples:
01 00 PC with OPC server; direct addressing
03 43 OPC communication with S7 CPU in rack 2, slot 3
03 02 OPC communication with S7 CPU in rack 0, slot 2
03 2E OPC communication with S7 CPU in rack 1, slot 14
NOTE:
OPC Server Ethernet
Enter the standard TSAPs in the HEX field! The remote TSAP of S7 connec-
tions is always 03 XY. X is the rack number multiplied by 2 and Y is the slot of
the CPU.
Page 50
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
For the mode „Unsolicited Data from PLC“ the connection establishement active or passive can be chosen
independently from the connection establishement of read and write connections. Background information:
Several CPs can be parameterized only active for send jobs.
4.2.2.11 Priority
Priority is a value from 0 (i.e., highest priority) to 4 (i.e., lowest priority). 0 and 1 are the so-called express
priorities while 2 and 3 are the normal priorities. Priority 4 is seldom used since the connection must be
reestablished for each sending job. If not used often, this priority puts less strain on the network load than
the other priorities since the line is not monitored (i.e., the connection is disconnected after each sending
job). Remember that the express priorities do not increase the transmission speed any more than the normal
priorities. For some controllers, the data are transferred to the RAM with an interrupt when priority 0 is
used. This may increase the speed of the total data transmission. When priorities 0 and 1 are used, the data
length may not exceed 16 bytes. Priority 3 is usually used here.
Page 51
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
● If all entries are made, select the button „OK“. The new access path is indicated in the connection
Chapter 4: Configuration
window.
● Select „Yes“ to save the configuration in the configuration file tcpiph1.NET in the root directory of the
server (see chapter 4.5.2 „Configuration file“).
NOTE
Reboot your system!
Page 52
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
The INAT OPC Server provides the ability to create user-defined aliases that can be used in place of regular
OPC items. This is particularly useful when the item path for a given server is very complex or difficult to
remember. The aliases are stored in a symbol file, that is imported every time the server starts.
To create an alias, choose „Edit symbols“ from the View menu.
Each parameterized connection ist indicated here in brackets with the appendix „ALIASES“ in parentheses.
Syntax: [Access Path Name(Aliases)]
Example: [PLC1(Aliases)]
In this example the Access Path Name is „PLC1“.
Now for each access path the variables in the PLC can be assigned a symbol name.
Syntax: Alias Name=Address
Example: speed=db5,W2
In this example the alias „speed“ represents the OPC item db5,W2
All aliases are stored in the file tcpiph1.txt (default: C:\Programs\INAT\OPC Server Ethernet).
The aliases are now available in the symbol view of the OPC server as well as with the browsing function of
your OPC client (provided that the OPC client supports alias browsing).
It is usually better to create aliases in groups rather than directly under the root.
Syntax: GroupName.Alias Name=Address
OPC Server Ethernet
Example: Group1.speed=db5,W2
Page 53
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
● In the S7 Project select one of the S7 programs and appoint this program to a configured access path.
● After selection of a valid program and the corresponding access path the button „Import Symbols“ beco-
mes active.
Page 54
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
Symbol comments can be imported as well. Therefore the following entry is required in the Win.ini:
AllowS7CommentImport=1
The comments are imported to the symbol file like „normal“ items (in addition to the symbolic name of the
item).
Syntax: [Connection name(ALIASES)]
Alias=Address
Alias-comment=comment
Example: [PLC1(ALIASES)]
Motor1.ON=M1.1
Motor1.ON-comment=This flag starts the motor
NOTE
Note: The name of the configuration file MAY NOT be changed. The name
TcpIpH1.net must be used.
The settings for the default data format of the OPC items can be changed here.
In PLC programs data types like BYTE, WORD or S5TIME are used. In contrast OPC works with so-called
variant types. The data type from the PLC program is mapped to variant tpyes. For example the OPC item
DB5.W3 (S7 Syntax, data type WORD) is mapped to the variant type VT_I4. The item syntax tables show
how S7 and S5 data types are mapped to variant types.
When creating OPC items, client applications can specify a requested data type for each item. The OPC
server will attempt to convert any data from the item to this format if possible.
Also unsigned:
Select this mode if your client supports unsigned data types VT_UI2 and VT_UI4.
Page 56
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
4.6.1 Combine coherent blocks always (max)
This optimisation mode is the maximum form of optimisation. It is very useful and is set active on default
because:
a) less PLC frames are transmitted, and thererfore
b) the network traffic is reduced!
If a counter increments very fast, only the last value (or the recent value) is written to the PLC
Page 57
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
S7 string: contains in the first byte the maximum length and in the second byte the
current length of the string
S5 string: contains no length information
The syntax for S5 strings and S7 strings is the same (DBxSy.z). You define, to interpret the string format
as S5 string or as S7 string. As default with S5 connections a string is interpreted as S5 String and with S7
connections it is interpreted as S7 string. You can change this setting and interpret all strings as S5 string.
The following syntax is possible
S7 syntax: db9.STRING0.10
S5 syntax: db9s0.10
S7 string: db9g0.10 (forces a S7 string always)
4.7.2 Timeouts
AppTimeout [ms]: Timout for disconnection, if the partner station does not respond (multiplied with the factor
App Count 3).
Connection Timeout [ms]: Timeout, until quality „BAD“ is sent to the client. The message is sent immediately
to the client (therefore default value is 0).
OPC Server Ethernet
Page 58
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
In this dialog you are able to display the status of the network adapter and to change the current runtime
address if necessary.
Hardware Address
The hardware or Ethernet address of your network adapter is stored in a ROM
Chip on your adapter card.
Runtime Address
On default the field runtime address shows the same value as the hardware
address field.
Software Address
In order to link your PC to an existing network, it may be necessary to change
the hardware address according to the current network address structure.
Enter the new Ethernet address in the dialog field software address. With the
registry entry „H1ChangeAddress.reg“ overwriting the MAC Address during
runtime is possible (see chapter 2.1.1.2).
Set at program startup / Set now
With the button „Set now“ the new address is active immediately. Choose the
option „Set at program startup“ to change the current address with the next
program startup.
NOTE
Mind to use the selected Ethernet address in a
network only once! Mind that there are no running
connections.
Driver Installation
The driver installation display shows you the status of the H1 driver. Three
messages are possible:
„The installed H1 driver is up and running.“
„No H1 protocol installed.“
„The installed H1 driver is not licensed.“
OPC Server Ethernet
Page 59
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
DCOM is an object protocol that enables COM components (such as OPC clients and servers) to communi-
cate directly with each other across a network. A certain amount of configuration is required on the system
where the OPC server is installed to allow remote clients to connect to it over the network.
NOTE
The following steps are suggestions only. Ask your Windows NT System
Administrator for more information about the settings that you should use,
especially between different domains.
Start the DCOM configuration utility either from the server configuration utility or from the command-line
(DCOMCNFG).
The main window for DCOMCNFG allows the user to either configure default settings for all COM servers or
else to configure settings for a specific server chosen from the list. The former will affect all servers configu-
red to use the default settings. The latter will affect the selected server only.
4.9.1 User
WORKGROUP DOMAIN
In a workgroup users that login on the In a domain, a group with all OPC
client and the server computer must be users should be created.
known on the other computer.
With General“, „Options“ and „MSDTC“ the default settings are used.
Page 60
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Default Properties
Chapter 4: Configuration
Settings for Domain
WORKGROUP DOMAIN
Enable DCOM on this computer Enable Enable
Default Authentication Level None Connect
Standard Impersonation Level Anonym Identify
Default Protocols
On the Default Protocols Tab the Connection-oriented TCP/IP protocol should be moved to the top position.
OPC Server Ethernet
Page 61
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Default Security
Chapter 4: Configuration
Page 62
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Allgemein
Chapter 4: Configuration
Authentication Level: Default
Location
On the server specific Location Tab select „Run application on this computer
Identity
Page 63
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Security
Chapter 4: Configuration
Select „Customize“ and click „edit“ to define users and goups. The following users and groups should have
Launch, Access and Configuration Permisson.
● System
● Network
● Interactive
● The users (OPC Group)
OPC Server Ethernet
Page 64
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
The main window of the OPC server shows you the status of all access pathes during runtime.
ROW 1
Access Path
Name of the connection
The state of the connection is indicated beside the connection name, separated by a
hyphen.
OK: The connection to the communication partner is established and works. The
connection is indicated in black colour.
ERR: The connection to the communication partner is faulty. No data is transferred.
The connection is indicated in red colour.
Read: / Write
Each Read connection (Fetch) as well as each Write connection has a runtime
number. Referring to these values you identify the entries of the OPC server logger.
0: the connection is not used
1 to 999: H1 connections
> 1000: TCP/IP connections
The number after the hyphen shows the connection state. An overview of all pos-
sible error codes is given in chapter 5.7.9 under WriteStatusMsg / connection errors.
Example: 3: WAIT_CONNECT
OPC Server Ethernet
Page 65
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
ROW 2
Chapter 4: Configuration
SendNewValue:
Number of items, which are written from the OPC client to the OPC server up to
now. If the writing speed of the OPC client is very fast, the OPC server optimizes
and writes only the last written value to the PLC. Due to this procedure a difference
between the values written from the client to the server and the values written from
the server to the hardware can occur.
WriteItemCount:
Numer of values, which are written from the OPC server to the hardware up to now.
WriteItemCount corresponds with the logger entry ShowSend.
RecNewValue:
Number of items which were written from the OPC server to the OPC client up to
now. Since the data are transferred from the server to the OPC client only in case of
a value change, this value is an important clue for the OPC / OPC traffic. Internally,
the OPC server tries to keep the data items at least as „fresh“ as indicated in the
update rate. However, the server will send values to the client no faster than the
update rate in order to avoid overwhelming it.
RecNewValue corresponds with the logger entry Show Rec Values.
RecMsg:
Number of frames, which the server has read from the PLC up to now. How often
the server reads is defined with the poll interval. RecMsg corresponds with the
logger entry Show Receive.
ServerCycle:
Number of complete cycles of the OPC server for this connection.
Ex ROW 3
Identification
Data area (e.g. DATA BLOCK, FLAG, INPUT, OUTPUT etc.)
Green: the interval is being processed
Grey: no data are being requested
Red: the data area is not available or too short
Len:
Specifies the number of elements to be read
Items:
Specifies how many items are contained in this read interval and how many of them are active and/or inac-
tive
OPC Server Ethernet
Page 66
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
4.11 Logging
Chapter 4: Configuration
With the logger function of the server the entire data traffic of the current OPC communication can be moni-
tored. This is helpful with troubleshooting. The logger starts automatically, as soon as OPC communication
starts. The record is available with View > Logger.
With Logger > Delete all logger entries are deleted.
With Logger > Settings the following settings are available:
Date each event is presented with its date.
Time each event is presented with its time.
Cursor at the end the logger shows always the last message at the end of the list.
With the default setting, the logger includes only errors for recording. Which information is logged can be
defined with a click on the right mouse button in the headline of the main window.
Page 67
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
ShowEvents
Detailed information that helps with troubleshooting.
ShowSend
Number of values, which were written from the server to the PLC up to now. Corre-
sponds with „WriteItemCount“ in the main window.
ShowReceive
Number of frames, which the server has read from the PLC up to now. Corresponds
with „RecMsg“ in the main window.
Show Poll Send and Receive
Records the PLCs response times. If “Show Send” or “Show Receive” are selected
and „Show Poll“ is not active, the logger entries are reduced drastically
Show Errors
Corresponds with the connection error for read and write in the main window.
ShowCreate Point
Shows the sum of items, which were created for this connection in the OPC client
and were registered in the server.
ShowActivate Point
Sum of items, which are active for this access path at the moment.
Show Access Path
Shows the connections, which are triggered by the OPC client.
Show Rec Values
Number of items which were written from the OPC server to the OPC client up to
now. Since the data are transferred from the server to the OPC client only in case of
a value change, this value is an important clue for the OPC / OPC traffic. Internally,
the OPC server tries to keep the data items at least as „fresh“ as indicated in the
update rate. However, the server will send values to the client no faster than the
update rate in order to avoid overwhelming it. Show Rec Values corresponds with
RecNewValue in the main window.
Show Send Values
Number of items, which were written from the OPC client to the OPC server up to
now. If the writing speed of the OPC client is very fast, the OPC server optimizes
and writes only the last written value to the PLC. Due to this procedure a difference
between the values written from the client to the server and the values written from
the server to the hardware can occur. Show Send Values corresponds with Send-
NewValue in the main window.
Show Symbols
Symbol file information is logged.
Verbose
OPC Server Ethernet
Page 68
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
Your setting which events shall be logged can be saved with „Save Logging Menu to Win.ini“. With the next
start of the server this setting is used. If you do not save your settings, the next time the server starts it logs
only „ShowErrors“.
Suspend Protocol
This is the „emergency exit“ of the OPC server. With „Suspend“ the running OPC
server communication is stopped and idled with the current settings.
Resume Protocol
„Resume Protocol“ restarts stopped communication. Click with your mouse on the
icon in the OPC server header frame on the top left side of the main window.
Page 69
[ OPC Server Ethernet Manual / Chapter 4: Configuration ]
Chapter 4: Configuration
OPC Server Ethernet
Page 70
C H A P T E R 5:
I T E M ID S Y N TA X
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5 ITEM ID SYNTAX
Chapter 5: Item ID Syntax
[Group.]
Items may be grouped. If there are gaps in the periphery, they can be skipped with using groups. The gap
will then not be accessed. Therefore a group name is used in front of the item name, separated by a dot.
(Group name.Item name)
Example:
Group1.A10.1
Group2.A10.3
<area>
Syntax Orientation1 Access Rights Note
Data Block DBx. BYTE Read / Write With blocks a block number
x is required (x = 1 to
Instant Block DIx. BYTE Read / Write 65535). There must be a dot
or a comma between block
number and data type
Flag M or F BYTE Read / Write
Timer T WORD Read
Counter Z or C WORD Read / Write
Input E or I BYTE Read
Output A or O or Q BYTE Read / Write
Peripheral Input PE or PI BYTE Read
Peripheral Output PA or PO BYTE Read / Write
1 BYTE oriented means, that per physical address a byte is addressed
WORD oriented means, that per physical address a word (16 bit) is addressed
OPC Server Ethernet
Page 72
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<data type>
Page 73
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
Chapter 5: Item ID Syntax
<start address>
The start address is the index of the data item within the area or block.
Example: DB5.DW6: Double word 6 of data block 5 is the start address for data to be read.
Example: MB17: Flag byte 17 ist the start address for data to be read.
If the start address is a special bit, the bit number is required.
<.bit number>
Whenever the data type is BOOL, the bit number is required!
Example: E4.3: Bit 3 of input byte 4: an input bit is addressed here
Example: MX12.1: Bit 1 of flag byte 12: a flag bit is addressed here
[.array]
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: DB10.REAL2.5. Learn more about arrays in chapter 5.7
OPC Server Ethernet
[suffix]
With the help of a suffix a value can be described in another format. Learn more about suffixes in chapter
5.8
Page 74
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
[Group.]
Items may be grouped. If there are gaps in the periphery, they can be skipped with using groups. The gap
will then not be accessed. Therefore a group name is used in front of the item name, separated by a dot.
(Group name.Item name)
Example:
Group1.A10.1
Group2.A10.3
<area>
Syntax Orientation1 Access Rights Note
Data Block DBx WORD Read / Write With blocks a block number
x is required (x = 1 to
Expanded Data DXx WORD Read / Write 65535).
Blocks
Flag M or F BYTE Read / Write
Timer T WORD Read
Counter Z or C WORD Read / Write
Input E or I BYTE Read
Output A or O or Q BYTE Read / Write
Periphery P BYTE Read / Write
Expanded Peripheral OB BYTE Read / Write
Bytes
System Data Area RS or BS WORD Read
Absolute Memory AS WORD Read
1 BYTE oriented means, that per physical address a byte is addressed
WORD oriented means, that per physical address a word (16 bit) is addressed
OPC Server Ethernet
Page 75
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
Page 76
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<start address>
OPC Server Ethernet
The start address is the index of the data item within the area or block.
Example: DB5DD6: Double word 6 of data block 5 is the start address for data to be read
Example: MB17: Flag byte 17 ist the start address for data to be read.If the start address is a special bit, the
bit number is required.
Page 77
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<.bit number>
Chapter 5: Item ID Syntax
[.array]
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: DB10.REAL2.5. Learn more about arrays in chapter 5.7
[suffix]
With the help of a suffix a value can be described in another format. Learn more about suffixes in chapter
5.8
OPC Server Ethernet
Page 78
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
[Group.]
Items may be grouped. If there are gaps in the periphery, they can be skipped with using groups. The gap
will then not be accessed. Therefore a group name is used in front of the item name, separated by a dot.
(Group name.Item name)
Example:
G1.40001
G2.R2
G3.S20.30
<area>
Syntax Number Orientation1 Access Rights
Discrete Inputs I 1xxxxx BIT Read
E
DI
DE
Discrete Outputs A 0xxxxx BIT Read / Write
O
Q
DA
DO
DQ
Input Register ER 3xxxxx WORD Read
IR
Register R 4xxxxx WORD Read / Write
(Holding Register) HR
1 BIT oriented means, that per physical address one bit is addressed
WORD oriented means, that per physical address a word (16 bit) is addressed
Discrete I/Os have 1 bit but for read and write it is assigned a 8 bit unit. Before writing one bit, one byte is
OPC Server Ethernet
read. The corresponding bit is switched and then one byte is written.
Note: If another bit has changed in the PLC during this procedure, it is overwritten with an old value by the
server.
Ranges may be addressed by code or by number. For example a Discrete Input can be accessed via „E“ as
well as via „1“
Page 79
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<data type>
Chapter 5: Item ID Syntax
<start address>
The start address is the index of the data item within the area or block.
Example: ER120: Input Register 120 is the start address for data to be read
If the start address is a special bit, the bit number is required.
<.bit number>
Whenever the data type is BOOL, the bit number is required!
HRX5.2: Bit 2 of Holding Register 5 is addressed here
[.array]
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: DB10.REAL2.5. Learn more about arrays in chapter 5.7
[suffix]
OPC Server Ethernet
With the help of a suffix a value can be described in another format. Learn more about suffixes in chapter
5.8
Page 80
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<job>
Syntax
SEND S
RECEIVE R
<data type>
RU VT_R4
S5T VT_BSTR
SWAB VT_I2
TR VT_R4
Page 81
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
DOUBLE D
WORD DW SDW6 RDW6 SDW6 BCD VT_I4
VT_R8 DWORD SDWORD6 RDWORD6 SDWORD6 KF VT_I4
(VT_UI4*) RD6 KG VT_R4
RDW6 RI VT_R4
RDWORD6 RU VT_R4
SWAB VT_R8 (VT_UI4*)
T VT_BSTR
DOUBLE INT DI SDI6 RDI6 SDI6.2 BA VT_BOOL | VT_ARRAY
VT_I4 DINT SDINT6 RDINT6 SDINT6.2 BCD VT_I4
RDI6.5 KG VT_R4
RDINT6.5 RI VT_R4
RU VT_R4
SWAB VT_I4
T VT_BSTR
REAL R SR2 RR2 SR2.2 ------- -------
VT_R4 REAL SREAL2 RREAL2 SREAL2.2
RR2.5
RREAL2.5
STRING S SS5.2 RS5.2 ------- KA VT_BSTR
VT_BSTR STRING SSTRING5.2 RSSTRING5.2 DT VT_BSTR
S7-STRING G SG5.2 RG5.2 ------- KA VT_BSTR
VT_BSTR DT VT_BSTR
* if „also unsigned“ is selected as data type (Server Settings)
<start address>
The start address is the index of the data item within the area or block.
Example: SWORD10: Word 10 is the start address for data to be sent or received
If the start address is a special bit, the bit number is required.
<.bit number>
Whenever the data type is BOOL, the bit number is required!
Example: SX1.2: Bit 2 in byte 1 is the start address to be sent or received
[.array]
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: DB10.REAL2.5. Learn more about arrays in chapter 5.4
[suffix]
With the help of a suffix a value can be described in another format. Learn more about suffixes in chapter
5.5
OPC Server Ethernet
Page 82
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
<area>
Syntax Orientation1 Access Rights
Output File O BIT Read / Write
Input File I BIT Read
Integer File N WORD Read / Write
Binary File B WORD Read / Write
Float File F DOOBLE WORD Read / Write
1 BIT oriented means, that per physical address one bit is addressed
WORD oriented means, that per physical address a word (16 bit) is addressed
DOUBLE WORD oriented means, that per physical address a double word (32 bit) is addressed
<file number>
The file number can be entered optionally. If the file number is not entered, the default file number is used.
I Input File 1
N Integer File 7
B Binary File 3
F Float File 8
<start address>
The start address is the index of the data item within the area or block. Inputs and Outputs are addressed
octal. Integer Files, Binary Files and Float Files decimal.
Address Format
O Output File octal
Start address is the word number, the float number or the bit number.
Page 83
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
Chapter 5: Item ID Syntax
<:word/bit>
NOTE
When writing bits the whole word is written!
Examples:
Syntax Description
O.0 Word 0 of Output File 0
O:0/12 Bit 10 (12 octal = 10 decimal) of Output File 0
O/12 Bit 10 (12 octal = 10 decimal) of Output File 0
I:37 Word 31 (37 octal = 31 decimal) of Input File 1
I4:37/2 Bit 2 in Word 31 (37 octal = 31 decimal) of Input File 4
I:1/0 Bit 0 of Word 1 of Input File 1
B3/26 Bit 26 of Binary File 3
B12:5.15 15 words array in Binary File 12, starting with Word 5
B12:5/15 Bit 15 in Word 5 of Binary File 12
F8:0 Float 0
F9:10.16 16 doubleword array of Float File 9, starting with double
word 10
N23:4 Word 4 of Integer File 23
N23:4.10 10 words array of Integer File 23, starting with word 4
N23:4/2 Bit 2 in Word 4 of Integer File 23 = Bit 66 of Integer File
23
N23/66 Bit 66 of Integer File 23
[.array]
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: N23:4.10. Learn more about arrays in chapter 5.4
OPC Server Ethernet
Page 84
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
[group.]<range><start address>[.array][suffix]
<> mandatory [ ] optional
[group.]
Items may be grouped. If there are gaps in the periphery, they can be skipped with using groups. The gap
will then not be accessed. Therefore a group name is used in front of the item name, separated by a dot.
(Group name.Item name)
Example:
Group1.Y10
Group2.Y30
<area>
Syntax Orientation1 Representation of
the start address
Input Relay X BIT HEX
Output Relay Y BIT HEX
Internal Relay M BIT DEZ
Latch Relay L BIT DEZ
Annuciator F BIT DEZ
Edge Relay V BIT DEZ
Data Register D WORD DEZ
Link Register W WORD HEX
Timer Current Value TN WORD DEZ
Counter Current Value CN WORD DEZ
Direct Input DX BIT HEX
Direct Output DY BIT HEX
Index Register Z WORD DEZ
File Register R WORD DEZ
1 BIT oriented means, that per physical address one bit is addressed
WORD oriented means, that per physical address a word (16 bit) is addressed
<start address>
OPC Server Ethernet
The start address indicates the start address to read or write. The start address must be entered - depen-
ding on the range - hexadecimal or decimal. Please refer to the table above.
Examples:
D20 (DEZ)
X500 (HEX)
R25 (DEZ)
Page 85
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
[.array]
Chapter 5: Item ID Syntax
An array defines a grouping of one data type. If you want to read several data words from one data block,
then you define an array of words. You access the data stored in an array using the standard syntax tog-
ether with the array length separated by a dot.
Example: X10.5. Learn more about arrays in chapter 5.4
[suffix]
With the help of a suffix a value can be described in another format. Learn more about suffixes in chapter
5.5
Suffixe OPC data type Examples
Data Register RU VT_R4 D20RI
RU VT_R4 W40KF
Link Register BCD VT_I2 TN5SWAB
Timer Current Value KF VT_I2 CN4BA
SWAB VT_I4 (VT_UI2*) Z20RU
Counter Current Value BA VT_BOOL | VT_ARRAY R10KF
Index Register
File Register
* if „also unsigned“ is selected as data type (Server Settings)
OPC Server Ethernet
Page 86
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.7 Arrays
as well as with all suffixes, that are string or bool to the client:
Page 87
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.8 Suffixe
Chapter 5: Item ID Syntax
With the help of a suffix a value can be described in another format. The S7 and Send/Receive syntax
allows the direct entry of a data type, which means that only for special data types a suffix is neccessary.
Suffix Syntax
BitArray BA
BCD BCD
Date D
Date and Time DT
Date and Time (SQL) DU
ASCII to Hex KA
S5-KG KG
S5-KT-Format KT
Signed to Real RI
Unsigned to Real RU
S5 Time S5T
Swab Bytes SWAB
Time T
Time of Day TOD
TimeReal TR
5.8.1 Suffix BA
With the Suffix BA the data stored in the PLC is interpreted and presented as an array of bits.
Suffix BA: Bit Array
Applicable with: Byte (LByte, RByte), Word,
Int, Double Word, Double Int
Range: True or False
Page 88
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.8.3 Suffix D
5.8.4 Suffix DT
With the Suffix DT the data stored in the PLC is interpreted and presented as data type DATE_AND_TIME.
The data type DATE_AND_TIME uses 8 bytes (64 bits). The DATE_AND_TIME format contains year,
month, day, hour, minute, second and millisecond. The proper use of the separators is required (hyphen,
colon, dot)!
Suffix DT: Date and Time
Applicable with: Word, Int
Range: 1990-01-01-00:00:00.000 till 2098-12-31-24:59:59.999 or
1990-01-01-00:00:00 till 2089-12-31-23:59:59
1 = sunday
7 = saturday
Page 89
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.8.5 Suffix DU
With the Suffix DU the data stored in the PLC is interpreted and presented as data type DATE_AND_TIME
in SQL compatible format.
5.8.6 Suffix KA
With Suffix KA the data stored in the PLC is interpreted and presented as Hex.
Suffix KA:
Applicable with: String, S7-String
Range: 0 till 9, A till F
5.8.7 Suffix KF
With Suffix KF the data stored in the PLC is interpreted and presented as signed integer (fixed-point
number).
Suffix KF
Applicable with: Byte (LByte, RByte, S5), Word (S5), Double
Word (S5)
Range: Byte: -128 till 127
Word: -32768 till 32767
Double Word: -2147483648 till 2147483647
5.8.8 Suffix KG
With Suffix KG the data stored in the PLC is interpreted and presented as 4 byte floating point
Suffix KG
Applicable with: Double Word, Double Int
Range: 0,1469368E-38 till 0,1701412E39
OPC Server Ethernet
Page 90
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.8.9 Suffix KT
5.8.10 Suffix RI
With Suffix RI the data stored in the PLC is interpreted and presented as signed REAL. When writing to the
PLC, the value is rounded. Example: db9dw0RI - the value 10.7 is rounded to 11.
5.8.11 Suffix RU
With Suffix RU the data stored in the PLC is interpreted and presented as unsigned REAL. When writing to
the PLC, the value is rounded.
Suffix RU: unsigned Real
Applicable with: Byte (LByte, RByte), Word, Int,
Double Word, Double Int
Page 91
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.8.14 Suffix T
Chapter 5: Item ID Syntax
With the Suffix T the data stored in the PLC is interpreted and presented as data type TIME. The data type
TIME uses a double word (32 bits). The data type contains days (d), hours (h), minutes (m), seconds (s) and
milliseconds (ms). Miliseconds may be ommited. The range is from -2147483648 (-24d20h31m23s648ms) till
2147483647 (24d20h31m23s647ms).
Suffix T: TIME
Applicable with: Double Word
Range: -24D_20H_31M_23S_648MS till
24D_20H_31M_23S_647MS**
5.8.16 Suffix TR
With the Suffix TR the data stored in the PLC is interpreted and presented as data type TIME REAL.
Suffix TR: TIME REAL
Applicable with: Word, Int
Range: 0.01 till 9990.0
Example
8 bits of data word 0 in data block 5 shall be read beginning with bit 2. Therefore the following syntax is
used:
db5.w0#2.8 or
db5.w0#2,8 or
OPC Server Ethernet
db5.w0#2#8
Page 92
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.10.1 Pollinterval
The POLLINTERVAL item is used to access the currently set poll interval. It is the same value displayed in
the Access Path Definition window of the server. It indicates the current requested poll interval in millise-
conds. A client can write new values to this item. In any case the value can always be read through OPC or.
The range of valid values differs with respect to the settings. The value of zero or greater than zero indicates
the new poll interval. A negative value indicates, that the polling is disabled. In this case the old positive
value ist still displayed. When the client writes to this item, all items of that access path are updated immedi-
ately.
Tag Type: INTEGER (signed long) / VT_I4
Access: READ, WRITE
Range: 0 till 2147483647 valid values
-1 till -2147483648 topic inactive, no items are updated
NOTE:
By writing a negative value to the POLLINTERVAL item, a client can conve-
niently stop all update activities on the corresponding access path without
OPC Server Ethernet
Page 93
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.10.2 Storesettings
Chapter 5: Item ID Syntax
The STORESETTINGS item is used to make the temporary poll interval changes to POLLINTERVAL via
OPC to the hard disk. If the client writes a value of 1 to the STORESETTINGS item, the current set update
interval is written to the server‘s configuration file. If the update interval has been changed via OPC and
STORESETTINGS is not written to 1, the server will use the original update interval for that access path the
next time it is started. Reading the item will always return 0. It does not matter, wether the client writes a 1 or
a 0.
Tag Type: DISCRETE / VT_BOOL
Access READ, WRITE
Range: 0 or 1
5.10.3 Maxinterval
The MAXINTERVAL item is used to access the measured maximum update interval in milliseconds of all
items for the corresponding access path for the last completed poll cycle.
Tag Type: INTEGER / VT_I4
Access: READ
Range: 0 till 2147483647
5.10.4 Itemcount
The ITEMCOUNT item is used to access the number of active items of the corresponding access path. It is
the same value displayed in the Access Path Definition window of the server under „Items“.
Tag Type: INTEGER / VT_I4
Access: READ
Range: 0 till 2147483647
5.10.5 Errorcount
The ERRORCOUNT item is used to access the number of all faulty (but active) items of the corresponding
access path. If the state is „bad“, all items are faulty. The ITEMCOUNT item then corresponds with the
ERRORCOUNT item.
Tag Type: INTEGER / VT_I4
Access: READ
Range: 0 till 2147483647
OPC Server Ethernet
NOTE:
Use the ERRORCOUNT item to detect wrongly configured or invalid items
Page 94
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.10.6 Writecomplete
5.10.7 Status
The STATUS item is derived from the connection status of the fetch and write connection. If one of the con-
nections has malfunctioned, the status indicates a malfunction. If no write connection is parameterized, only
the status of the read connection is indicated.
5.10.8 WriteItemCount
The WRITEITEMCOUNT item shows the number of items written to the PLC. The number is incremented
when the secure data transmission to the PLC has been concluded successfully. When an error occurs, the
WRITESTATUSMSG item receives an error code. If an item is written several times in succession before the
server is able to write the value, the last value will be written and not all intermediate values will be buffered.
If this happens, the number is „1“. The item can be set to „0“ before writing and scanned after writing.
5.10.9 WriteStatusMsg
The WRITESTATUSMSG item shows the first error when write operation to the PLC fails. If this item does
not contain a string or the first character is a blank, an error code is assigned. When an error occurs, the
error code is retained until it is deleted by OPC client or the operator. The error code consists of 6 numbers
separated by a semicolon (;) without blanks. Its meaning is shown below:
Error Code:
Identifier; DB; DW; Len; PLC Error; Connection error
OPC Server Ethernet
Page 95
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
Identifier
Chapter 5: Item ID Syntax
Identifier
1 DATA BLOCK
2 FLAG
3 INPUT
4 OUTPUT
5 PERIPHERY
6 COUNTER
7 TIMER
8 SYSTEM_DATA
9 ABSOLUTE_MEMORY
10 EXPANDED DATA BLOCKS
16 EXTMEM
17 EXT_PERIPHERAL
DB
Specifies the block number for DATA BLOCK and EXPANDED DATA BLOCK. Otherwise 0 (i.e., can be
disregarded).
DW
Specifies the start value at which the interval begins.
Len
Specifies the number of elements.
PLC Error
Indicates the error supplied by the handling block from the PLC. It is only valid when the connection error is
0. For a description of the error codes, see the programming manual of the controller.
OPC Server Ethernet
Page 96
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
Connection error
1 BAD_CR_PARAMS
2 NO_SLOT
3 WAIT_CONNECT
4 NOT_IMPLEMENTED
5 BAD_LINE
6 WAIT_DATA
7 WAIT_SEND
8 INTERNAL_ERROR
9 NO_REQUEST
10 NO_DRIVER
11 UEBERLAST
12 BLOCKED_DATA
13 NO_ADAPTER
14 ALREADY_RUNNING
OPC Server Ethernet
15 NOT_SUPPORTED
16 TRY_AGAIN
17 NO_MEMORY
18 BAD_SIGNATURE
19 DATA_ERR (Data error FETCH / WRITE)
Page 97
[ OPC Server Ethernet Manual / Chapter 5: Item ID Syntax ]
5.10.10 Servercycle
Chapter 5: Item ID Syntax
This items shows the number of complete updates of the server for the corresponding connection.
Tag Type: INTEGER / VT_I4
Access: READ, WRITE
Range: -2147483648 till 2147483647
OPC Server Ethernet
Page 98
C H A P T E R 6:
OPC C L I E N T
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
6 OPC CLIENT
Chapter 6: OPC Client
The Test OPC Client is a general-purpose OPC client. It is included with INAT OPC servers to ensure that
users always have a reliable means to test the capabilities of the software. To start the program, choose
OPC Test Client from the Start menu, in the OPC Server Programs folder.
The Client searches the registry on the local computer and generates a list of program ID’s for available
OPC servers. It displays this list in a drop-down box.
Every OPC server has a unique program ID. This is a human-readable text string that is converted to a glo-
bally unique identification number which COM then uses to identify the server. The ProgID of the INAT OPC
server is „INAT TCPIPH1 OPC Server“. Select the INAT OPC server and press „OK“. COM will attempt to
launch the OPC server if it is not currently running when the first client attempts to connect to it. If the server
OPC Server Ethernet
runs as a local executable then COM will run it. If the server runs as an NT service then COM will start it up.
Similarly, when the last client application disconnects from an OPC server, the server will shut down.
Page 100
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
Update Rate
The OPC server tries to keep the OPC client informed with values for an
OPC group at the requested update rate for that group. If the requested
update rate is too fast for the server to handle then it will return a revised
update rate that it will use instead. Internally, the server tries to keep the
data items at least as “fresh” as indicated by the update rate. However,
the server will send values to the client no faster than the update rate in
order to avoid overwhelming it.
Active
OPC servers only update values for active items in active groups. When
an individual item is set inactive, the server stops sending updates for
the item. When a group is set inactive, the server stops sending values
for any items in that group. Client applications (such as HMI applications)
can help to reduce the processing load on an OPC server by deacti-
vating groups and items that are not currently needed.
OPC Server Ethernet
Page 101
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
An OPC group serves as a logical collection of data items. Choose “Add Item” from the Item menu to create
and and add OPC items.
To create an OPC item, enter the access path and the item ID in the edit box. In addition the data type may
be entered.
Access Path
The Access Path must correspond with the connection name you use in
the OPC server. The OPC server will return errors if the access path is
invalid. Some clients do not offer an edit box for the access path. In that
case, the access path must be entered together with the Item ID syntax.
[Access Path Name]Item ID or Access Path Name.Item ID
Example (PLC1 = access path name):
[PLC1]DB5.W0
PLC1.DB5.W0
Item Name (Item ID)
All OPC items must be identified by an item ID. This identifier is a server-
specific string of characters that uniquely identifies a source of data to
an OPC server. More than one OPC item may refer to the same item ID
at the same time. Enter the item ID in the Item ID edit box (see chapter 5
„Item ID Syntax“).
With „Add Item“ the Item is transferred to the list of items to be added. When alle items are added for that
group press „OK“.
OPC Server Ethernet
Page 102
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
Each “leaf” represents an actual item. While browsing, the user may apply a number of filter criteria to
search for a particular type of item. Double-click on a “leaf” and the client will place the fully qualified item ID
for that item in the edit box.
All OPC items have a native (“canonical”) data type. That is to say, there is a default format to the data that
the server supplies for an item. When creating OPC items, client applications can specify a requested data
type for each item. The OPC server will attempt to convert any data from the item to this format if possible.
OPC servers only update values for active items in active groups. When an individual item is set inactive,
OPC Server Ethernet
the server stops sending updates for the item. When a group is set inactive, the server stops sending values
for any items in that group. Client applications (such as HMI applications) can help to reduce the processing
load on an OPC server by deactivating groups and items that are not currently needed.
Page 103
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
Chapter 6: OPC Client
Page 104
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
Page 105
[ OPC Server Ethernet Manual / Chapter 6: OPC Client ]
Chapter 6: OPC Client
OPC Server Ethernet
Page 106
C H A P T E R 7:
APPENDIX
[ OPC Server Ethernet Manual / Appendix ]
7 APPENDIX
Appendix
7.1 Win.ini
Win.ini is an initialisation file, where pre-settings for application programs are stored. When the OPC server
starts, the entries in the Win.ini are executed and the application starts with these settings.
Enter „win.ini“ in the command line to open the win.ini:
If desired, change the entries. With the next start of the OPC server, these settings are used.
OPC Server Ethernet
Page 108
[ OPC Server Ethernet Manual / Index ]
INDEX
Index
Symbole FETCH on EVENT 27
Fetch on Event 41, 48
200H1Connections.reg 20 First transition from Ethernet to MPI is echolink 45
A H
Access Path 102 H1ChangeAddress.reg 20
Active / Passive connection establishment for Unsolicited H1DoNotChangeAddress.reg 20
51 H1 Connections 29
Address Space 103 H1 connections
Add OPC Groups 101 change number 20
Add OPC Items 102 H1 driver 19
Alias Configuration 53 H1 Parameters 48
Allow Cyclic Poll 41, 48 H1 Parameter Settings 40
Arrays 87 H1 Registry Scripts 20
ASCII to Hex 88 H1 Station Address 59
High Performance Protocol 47
B
BCD 88
I
BitArray 88 Import Step 7 Symbols 54
Bit Masking 92 Import Step 7 symbol comments 55
Browse the Server Address Space 103 INAT TCPIPH1 OPC Server 100
Installation 14
C Introduction 8
Chronological Order is preserved 57 IP 28
Combine coherent blocks always (max) 57 IP Address 29
Communication Basics 26 Item-Syntax 72
Configuration 38 Itemcount 94
Configuration file 55
Connection 39
J
Connections 27 Job types 26
Connection Establishment 47
Connect Client and Server 100 L
Copyright 2
Licensing 22
Counter 74, 77
Life ACKs, Life Data ACKs 47
D Line Type 51
Local TSAP 43, 49
Data types 56 Logging 67
Date 88
Date and Time 88 M
Date and Time (SQL) 88
MAC Address 30
DCOM Configuration 60
Main window 65
Destination 42
Maxinterval 94
Destination: Ethernet Address 49
MELSEC-Q Connection 36
OPC Server Ethernet
Page 109
[ OPC Server Ethernet Manual / Index ]
N Scope of Supply 9
Index
SendNewValue 66
NetLink Connection 35 SEND / RECEIVE 26
New connection 39 Send / Receive Item ID Syntax 81
Not parameterizable connections 34 ServerCycle 66
No Header 42 Servercycle 98
Server Optimisation 57
O Server Options 58
OLE for Process Control 9 Server Settings 55
OPC Server Type 18, 21
What is it? 9 Changing 21
OPC Client 100 Server types 8
OPC DA Specification 10 Service 21
OPC Overview 9 Setting up a new connection 39
OPC server types 8 ShowCreate Point 68
ShowEvents 68
P ShowReceive 68
ShowSend 68
Parameterizable connections 34 Show Access Path 68
PLC-5 Connection 35 Show Activate Point 68
PLC-5 Item Syntax 83 Show Errors 68
Pollinterval 93 Show Poll Send and Receive 68
Poll interval 41, 48 Show Rec Values 68
Port for Read 47 Show Send Values 68
Port for Unsolicited 47 Show Server Icon in the task bar 56
Port for Write 47 Show Symbols 68
Port number 29 Shutting down the OPC Server 52
Priority 51 Signed to Real 88
ProgID 10 Socket 29
Program ID 100 Special Items 93
Protocol TCP/UDP 47 Standard connections
Protocol Timer Tick 55 S7 34
Standard TSAPs for S7 Connections 50
R Start Address 0 42
Read and Write through one connection 41, 48 Start Address 1 42
Read between Write (default: No) 57 Status 95
Read Optimisation 47, 51 Storesettings 94
Read real-time values 103 String Format 58
RecMsg 66 Suffixe 88
RecNewValue 66 Suspend and resume the OPC Server 69
Registry 20 Suspend Protocol 69
Remote TSAP 43, 49 Swab Bytes 88
Resume Protocol 69 System Requirements 9
RFC1006 Connections 31
Routing PLC 46 T
Routing TSAPs 44 TCP 28
TCP/IP Connections 28
S TCP/IP Parameters 41
S5-KG 88 TCP/IP Parameter Settings 40
OPC Server Ethernet
S5-KT 88 TcpIpH1.NET 55
S5 Connections 32 Time 88
S5 Item ID Syntax 75 Timeouts 58
S5 Time 88 Timer 74, 77
S7 Connections 33 TimeReal 88
S7 Item ID Syntax 72 Time of Day 88
S7 Subnet ID 45 TSAPs 30
Page 110
[ OPC Server Ethernet Manual / Index ]
Index
U
UDP 28
Unit ID 42
Unsigned to Real 88
Unsolicited Data from PLC 41, 48
Update Rate 101
Updating 24
Upgrading 24
Use PLC Header 43
Use RFC1006 43
V
Verbose 68
W
Win.ini 108
Writecomplete 95
WriteItemCount 66, 95
WriteStatusMsg 95
Writes with immediate positive Confirm (default: No) 57
Write access to PLC permitted 41, 48
WRITE active / WRITE passive 26
Write control values 104
Write every item separately (off) 57
Write Single Coil 42
Write Single Register 42
Write with Priority, Chronological Order is Preserved 57
Page 111
[ OPC Server Ethernet Manual / Index ]
Index
OPC Server Ethernet
Page 112