Siemens TCP I Pcs
Siemens TCP I Pcs
Siemens TCP I Pcs
Siemens AG
SIMATIC S7 Ethernet
03/2014
EIO0000001214.00
www.schneider-electric.com
2 EIO0000001214 03/2014
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 SIMATIC S7 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
System Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Supported Device Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Consecutive Equipment Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
I/O Manager Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Equipment Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Device Address Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
EIO0000001214 03/2014 3
4 EIO0000001214 03/2014
Safety Information
§
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
EIO0000001214 03/2014 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material.
A qualified person is one who has skills and knowledge related to the construction
and operation of electrical equipment and its installation, and has received safety
training to recognize and avoid the hazards involved.
6 EIO0000001214 03/2014
About the Book
At a Glance
Document Scope
This manual describes the device driver communication settings in the Vijeo
Designer screen editing software. Vijeo Designer enables you to design Magelis
target machines that communicate with PLCs, drives, field devices, and other
equipment.
For more information about Vijeo Designer and Magelis target machines, please
refer to Vijeo Designer user documentation.
Validity Note
The data and illustrations found in this book are not binding. We reserve the right to
modify our products in line with our policy of continuous product development. The
information in this document is subject to change without notice and should not be
construed as a commitment by Schneider Electric.
Documentation Conventions
Target Machine: Human-Machine Interface (HMI) that runs user applications
designed in Vijeo Designer screen editing software. A target machine is also known
as a terminal.
EIO0000001214 03/2014 7
Product Related Information
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes
of control paths and, for certain critical control functions, provide a means to
achieve a safe state during and after a path failure. Examples of critical control
functions are emergency stop and overtravel stop.
Separate or redundant control paths must be provided for critical control
functions.
System control paths may include communication links. Consideration must be
given to the implications of unanticipated transmission delays or failures of the
link.*
Each implementation of a Magelis XBTGT, HMISTO, HMISTU, HMIGTO,
HMIGTU, XBTGH, XBTGK, XBTGC, iPC, and XBTGTW must be individually
and thoroughly tested for proper operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
* For additional information, refer to NEMA ICS 1.1 (latest edition), “Safety
Guidelines for the Application, Installation, and Maintenance of Solid State Control.“
User Comments
We welcome your comments about this document. You can reach us by e-mail at
techcomm@schneider-electric.com.
8 EIO0000001214 03/2014
SIMATIC S7 Ethernet
EIO0000001214 04/2013
SIMATIC S7 Ethernet
1
Subject of this Chapter
This chapter explains the SIMATIC S7 Ethernet.
EIO0000001214 03/2014 9
SIMATIC S7 Ethernet
System Structure
Overview
The following table describes the basic system setup for connecting the target
machine to Siemens S7-200/300/400 Series PLCs over a network.
Connection
10 EIO0000001214 03/2014
SIMATIC S7 Ethernet
Note:
Use a 100BASE-TX connection for iPC Series, XBTGTW Series, XBTGK
Series, XBTGC2000 Series or higher, XBTGT2000 Series or higher,
XBTGH2000 Series, XBTGT1005 Series, HMIGTO Series, HMIGTU Series,
HMISTO Series, and HMISTU Series target machines.
EIO0000001214 03/2014 11
SIMATIC S7 Ethernet
Overview
WARNING
UNINTENDED EQUIPMENT OPERATION
Incorrect values will result if conflicting writes to the same register are requested
simultaneously by the target and PLC program.
Design your system to avoid conflicting write processes between the target
machine and PLC program.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
The following tables list the device address ranges you can enter from the Device
Address keypad.
For actual device address ranges supported by the PLC, refer to the corresponding
PLC manual.
LOGO! OBA7
Output *1
Q00000.0-Q00001.7 QW00000-QW00000
*1) PLC word addresses defined for integer, float, and string variables must be
even-numbered. i.e., IW5 is not a valid device address for an integer variable.
Must be either IW4 or IW6.
12 EIO0000001214 03/2014
SIMATIC S7 Ethernet
S7-1200 Series
*1) Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*2) German variable name.
*3) Data blocks are created by the user. Available addresses depend on what the
user has created.
*4) PLC word addresses defined for integer, float, and string variables must be even-
numbered. i.e., IW5 is not a valid device address for an integer variable. Must be
either IW4 or IW6.
*5) Depending on the CPU type, IW0-IW2 may be reserved for onboard I/O.
*6) 16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.
EIO0000001214 03/2014 13
SIMATIC S7 Ethernet
*1) Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*2) German variable name.
*3) Data blocks are created by the user. Available addresses depend on what the
user has created.
*4) PLC word addresses defined for integer, float, and string variables must be even-
numbered. i.e., IW5 is not a valid device address for an integer variable. Must be
either IW4 or IW6.
*5) Depending on the CPU type, IW0-IW2 may be reserved for onboard I/O.
*6)16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.
14 EIO0000001214 03/2014
SIMATIC S7 Ethernet
S7-300/400 Series
Timer*3*4*5 T00000-T00255
Counter*3*4*5 C00000-C00255
or
Z00000-Z00255*2
*1) Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*2) German variable name.
*3) Timers and Counters (T&C Devices) store special information in the top 4 bits
(time base, counter up/down status, and so on). The actual timer current value
is stored in the lower 12 bits. Depending on which “Connection Type” is used the
data returned by the PLC is in a different format. For “FETCH/WRITE” mode, the
current timer/counter value is returned as Binary encoded data, but for “OP
Communication” the current timer/counter value is returned as BCD encoded
data.
*4) Valid range in BCD is 0000 to 0999.
*5) Read-only.
*6) Data blocks are created by the user. Available addresses depend on what the
user has created.
*7) PLC word addresses defined for integer, float, and string variables must be even-
numbered. i.e., IW5 is not a valid device address for an integer variable. Must be
either IW4 or IW6.
EIO0000001214 03/2014 15
SIMATIC S7 Ethernet
*8) 16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.
S7-300/400 Fetch/Write
Timer*3*4*5 T00000-T00255
Counter*3*4*5 C00000-C00255
or
Z00000-Z00255*9
*1) Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*2) Device size is 1 byte.
*3) Device size is 2 bytes, or 1 word.
*4) Valid range in BCD is 0000 to 0999.
*5) Read-only.
*6) Data blocks are created by the user. Available addresses depend on what the
user has created.
*7) PLC word addresses defined for integer, float, and string variables must be even-
numbered. i.e., IW5 is not a valid device address for an integer variable. Must be
either IW4 or IW6.
*8) 16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.
16 EIO0000001214 03/2014
SIMATIC S7 Ethernet
S7-200 Series
*1) Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*2) PLC word addresses defined for integer, float, and string variables must be even-
numbered. i.e., IW5 is not a valid device address for an integer variable. Must be
either IW4 or IW6.
*3) Depending on the CPU type, it may not be possible to write to addresses IW0-
IW2. These addresses are reserved for onboard I/O.
*4) You can write to the QW / Q device only while the PLC is in RUN mode. Outputs
are reset if the PLC is in STOP mode.
*5) 16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.
*6) German variable name.
EIO0000001214 03/2014 17
SIMATIC S7 Ethernet
18 EIO0000001214 03/2014
SIMATIC S7 Ethernet
Overview
The following table lists the maximum number of consecutive addresses that can be
read by each PLC. Refer to this table when using block transfers.
Note:
To speed up data communication, use consecutive variable addresses on the
same panel screen.
The following situations increase the number of times that the equipment is
read, which reduces the data communication speed between the target
machine and the equipment:
when the number of consecutive addresses exceeds the maximum
when different device types are used.
EIO0000001214 03/2014 19
SIMATIC S7 Ethernet
Overview
The driver and equipment, which enable communication between the target
machine and the PLC, depends on the PLC type.
Note:
For information on how to display the [New Driver] dialog box, see the Vijeo
Designer Help.
20 EIO0000001214 03/2014
SIMATIC S7 Ethernet
Equipment Configuration
Overview
WARNING
UNINTENDED EQUIPMENT OPERATION
Read and understand the instructions in this section to ensure data is properly
transferred. If you do not follow these instructions, incorrect data could be written
to the PLC and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
To set up details about the communication process between the target machine and
the PLC, use the [Equipment Configuration] dialog box.
For an overview of the driver and equipment settings, see Equipment Configuration.
Note:
For information on how to display the [Equipment Configuration] dialog box, see
the Vijeo Designer Help.
LOGO! OBA7
Screen Description
Area Description
IP Address Enter the PLC unit’s IP address.
EIO0000001214 03/2014 21
SIMATIC S7 Ethernet
S7-1200 Series
Screen Description
Area Description
IP Address Enter the PLC unit’s IP address.
S7-300/400 Series
Screen Description
Area Description
IP Address Enter the PLC unit’s IP address.
Rack Enter the rack number where the CPU is located.
Slot Enter the slot number where the CPU is located.
22 EIO0000001214 03/2014
SIMATIC S7 Ethernet
Screen Description
Area Description
IP Address Enter the PLC unit’s IP address.
PLC Ports Fetch
Specify the PLC’s TCP port number for the Fetch operation. Specify
values between 1024~65535.
Write
Specify the PLC’s TCP port number for the Write operation. Specify
values between 1024~65535.
Host Port Override Select the Host Port Override checkbox when:
the PLC is configured to communicate with only specified
host ports or
the PLC is configured to accept any host ports but there is a
port conflict with other applications on the target machine.
Fetch
Specify the TCP Fetch port number to be used on the target machine.
If the PLC is configured to communicate with only specified host ports,
then this setting must match the PLC connection configuration.
Write
Specify the TCP Write port number to be used on the target machine.
If the PLC is configured to communicate with only specified host ports,
then this setting must match the PLC connection configuration.
EIO0000001214 03/2014 23
SIMATIC S7 Ethernet
Note:
The IP Address and PLC Ports fields should match the communication settings
on the PLC unit.
The connection configuration on the PLC can be configured to accept only
specified host IP addresses and specified host ports.
S7-200 Series
Screen Description
Area Description
IP Address Enter the PLC unit’s IP address.
Module Enter the module number to match the PLC configuration software.
Connection Enter the connection number to match the PLC configuration software.
24 EIO0000001214 03/2014
SIMATIC S7 Ethernet
Overview
WARNING
UNINTENDED EQUIPMENT OPERATION
Read and understand the instructions in this section to ensure data is properly
transferred. If you do not follow these instructions, incorrect data could be written
to the PLC and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
To set up a PLC variable in the Variable List, use the Device Address Keypad from
the variable properties.
EIO0000001214 03/2014 25
SIMATIC S7 Ethernet
Screen Description
Area Description
Memory Area Lists the device type.
Data Block Defines a number for a valid data block. This field is available when
DB is selected as the Memory Area. To enter a valid data block, click
the Data Block field’s ellipsis to display the [Data Block Selector]
keypad.
26 EIO0000001214 03/2014