It is assumed that the user of this manual is familiar with USDATA‘s Factorylink® software package incl.
PROLINK
configuration using the PG/PC and COML-S7 (Configuration Management Local) tools supplied with the
SOFTNET-S7 library as well as the NCM S7 and STEP 7 programming tools from Siemens.
Data and illustrations in this manual are not binding. Any information in this document is subject to change
without notice and does not represent a commitment on the part of PROLINK AG. PROLINK AG assumes no
responsibility for any errors that may appear in this document and is not responsible for any consequential or
incidental damage incurred by the use of this software. Note that references are indicated by a Ü sign.
®
ECI Enhanced Communication Interface and, especially with the SIMATIC NET installation and
INTRODUCTION
The PROLINK®S7D Siemens SIMATIC S7-Protocol Driver supports communication between the FactoryLink
and Siemens S7-300/400 series PLC through SIMATIC NET using the Siemens S7-Protocol. An ordinary
3COM Ethernet card is required to communicate through Industrial Ethernet TCP/IP or ISO, a Siemens
Profibus adapter is used for the Multipoint Interface MPI or PROFIBUS. Data is conducted through
PROLINK
®
ECI using the IMX Intertask Mail eXchange interface.
The PROLINK®ECI task is used to scale and convert Object I/O data from and to so called Datasets which
are transmitted through the IMX interface. Consider a Dataset being a number of words or bytes (Elements)
in a particular PLC. Then, Object I/O data is represented by words, bytes or bits in the PLC and, by individual
Database Elements in FactoryLink. Objects may be specified for Read-only, Write-only, Read/Write from/to
the same or different Datasets. For a simple system, the following items are required:
®
✔✔✔✔FactoryLink
✔✔✔✔PROLINK
✔✔✔✔Siemens SOFTNET-S7/WindowsNT SAPI-S7 Library for PROFIBUS or Industrial Ethernet
Foundation System including PROLINK®ECI Converter Task
®
S7D Protocol Driver including PC adaptor for PROFIBUS or Industrial Ethernet
It is assumed that the SIMATIC NET configuration is studied and planned prior FactoryLink configuration.
This especially applies for names and addresses referenced. It is therefore recommended to get familiar with
the COML-S7 (Configuration Management Local) and PG/PC Interface set-up tools supplied with the
SOFTNET-S7 library from Siemens. Unless the Multipoint Interface MPI is applied, you must additionally
setup the PLC(s) Communication Processor with the NCM S7 and STEP 7 programming tools.
In the FactoryLink Configuration Explorer/Manager select the S7D Siemens SIMATIC S7-Protocol Driver
option in the SHARED folder/domain. Then select the desired panel(s) in order to configure or modify the
PLC communication links and its ECI Object References.
SIEMENS SIMATIC-S7 CONNECTIONS
The S7D Connections Table reflects the S7 connection list specified by the COML-S7 tool. A particular link is
defined as the connection of a Virtual Field Device VFD (PLC side) to an Access Point or Communication
Processor CP (FactoryLink side) as follows: S7 Connection = Virtual Field Device óóóó Access Point / CP
For configuration, enter an S7 Connection Name and its associated VFD Name (PLC side) and the localAccess Point or CP Name (FactoryLink side) to the appropriate columns. Note, all these names are
referenced only and defined at SIMATIC NET configuration as illustrated overleaf. Optionally you may specify
a tag name for Link Enable, Error/Status or Error/Status Message in order to indicate appropriate
information for each particular link.
S7D SIMATIC-S7 Connections (summary of table entries)
S7 Connection Name
(PLC ó FactoryLink)
VFD Name
(PLC side)
Access Point or CP Name
(FactoryLink side)
Link Enable Tag
Error Status Tag
Error Status Message Tag
Symbolic name of the communication link. The name of up to 32 char is
configured by the SIMATIC NET COML-S7 tool (Ü see overleaf and
corresponding Siemens documentation). It must be unique and represents
a pair of VFD and Access Point / CP.
Name of the Virtual Field Device. The name of up to 32 char is required
and configured by the SIMATIC NET COML-S7 tool (Ü see overleaf and
corresponding Siemens documentation). Note that pairs of VFD and
Access Point / CP must be unique.
Name of Access Pointor Communication Processor. The name of up to
32 char is required and specified by the SIMATIC NET configuration when
setting up the PG/PC interface (Ü see overleaf and corresponding Siemens
documentation). Note, pairs of Access Point / CP and VFD must be unique.
Digital Tag (optional) to enable the link if ON
Analog Tag (optional) containing Error/Status number
For values displayed see ERROR and STATUS INFORMATION
Message Tag (optional) containing Error/Status information
For message displayed see ERROR and STATUS INFORMATION
For each S7 Connection you can specify one or several ECI Objects as described below. Press Enter and
then select the S7D ECI Object Reference Table.
SAMPLE CONFIGURATION USING COML-S7 AND PG/PC TOOLS
Example of referenced names in the S7D SIMATIC-S7 Connections table:
Access Point
at FactoryLink
Local refers
to FactoryLink,
Remote refers
to PLC side
For SIMATIC NET configuration create a
binary database file xxx.ldb on harddisk by
selecting „File“ and „Generate Binary DB As...“
Harddisk
xxx.ldb
When setting up the PG/PC Interface,
refer to the binary database file xxx.ldb by
selecting „Properties...“
Make sure to assign a valid Module Parameter Set to create an Access Point i.e. DO NOT inadvertently
press OK when the <None> option is selected in the PG/PC Interface panel. Note that the SIMATIC NET
Node Name is for documentation only while the Remote Address depends on the Network type selected:
PROFIBUS
ETHERNET (ISO)
TCP/IP
Profibus/MPI Address = Station Address 0..126 (at PLC side)
Ethernet Address = 6 Pairs of hex numbers e.g. 08.00.06.01.00.00 (at PLC side)
IP Address = 4 Groups of 0..255 decimal e.g. 255.255.0.13 (at PLC side)
A SIMATIC NET Transport Service Access Point TSAP consists of exactly two groups in hex separated by
a period. You may try different numbers or consult Siemens to locate the Rack/Slot for the Remote TSAP:
Local TSAP
Remote TSAP
First group = Device ID normally set 01, second group must be 00 (for FactoryLink)
First group = Device ID normally set 03, second group = Rack/Slot of CPU (not CP !)
Please note that the Remote TSAP refers to the PLC’s CPU and NOT to its Communication Processor.
F For SIMATIC NET installation/setup refer to Ü Siemens CD Manuals for SIMATIC NET NCM S7
PROFIBUS or Industrial Ethernet chapter 1 (Communication) and chapter 2 (Installation/Commissioning).
Important! for the S7-Protocol no PLC programming (Send/Receive) is required.
The ECI Object Reference Table is used to specify one or several ECI Objects by addressing coherent
blocks (Datasets) of elements with contiguous addresses for the particular S7 Connection indicated at the
bottom of the panel. The table is displayed when selecting „Open inGrid“:
The first entry must be identical with the ECI Object Table where the specified Dataset (block of data) is
being scaled and converted to/from individual FactoryLink Database Elements. Because ECI can handle
partial Datasets (groups of Elements) as well as independent Read- and Write-Datasets for a particular
Object, the Reference Table accepts multiple entries for the same ECI Object (see examples). Objects may
be defined for Read-only, Write-only, Read/Write from/to the same Dataset as well as Read/Write from/to
different Datasets by specifying the corresponding Rd/Wr Access. Move the cursor to the appropriate
column and enter a name from the list as follows:
S7 Functions
(any number allowed per table)
Statistics Functions
(one of each type allowed per table or
one only for all tables, respectively)
ReadRead only (polling by ECI or Timer)
WriteWrite only (Exception, Block or Dataset)
Rd/WrRead and/or Write (any type as above)
SRDStatistics Read specific Device
SRDCStatistics Read specific Device and Clear
SRSStatistics Read Sum of all Devices
SRSCStatistics Read Sum of all Devices and Clear
The statistics functions provide quality and performance information on a particular or on all Symbolic
Devices. The information includes number of bytes read/written, CRC errors, jobs in queue etc. Data is polled
by triggering and displayed by 17 elements. It is decoded as shown for the Sample Configuration a) in the
next chapter or, you may dump the information to a LongAna array using the ARY Function of ECI. Functions
SRD and SRS use internal totalizers/counters which are set zero (cleared) only at shutdown of the system.
Functions SRDC and SRSC clear the counters after each poll request, i.e. the values indicate the counts
measured for a poll interval. This can e.g. be used to display the number of bytes transmitted every 10 sec.
Before accessing data in a PLC, carefully check whether all desired areas and addresses
are available else, you must allocate the required data first. This especially applies for
Counters and Timers which are not automatically created with consecutive addresses.
Although a Dataset consists of Bytes, Words or Doublewords, you may access any bit, nibble, byte,
short, long, float, message or array as specified in the ECI Information Table for both, read and write.
Apart from Block and Dataset Write commands, PROLINK-S7D also supports Exception Write
commands for any data type including Bit 0..7 for bytes of DB, DI, MB and OB.