Академический Документы
Профессиональный Документы
Культура Документы
SIMATIC HMI WinCC V7.0 SIMATIC HMI WinCC V7.0 Allen Bradley - Ethernet IP
1
______________
2
Channel Unit Assignment
______________
SIMATIC HMI
WinCC V7.0 SP2
Allen Bradley - Ethernet IP
Safety Guidelines
07/2010
3
Supported Data Types
______________
4
Configuring the Channel
______________
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
WARNING
This device may only be used for the applications described in the catalog or the technical description and only
in connection with devices or components from other manufacturers which have been approved or
recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage,
positioning and assembly as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90327 NRNBERG
GERMANY
Table of contents
1
4.2
How to configure a "Allen Bradley E/IP PLC5" channel unit connection . ...................................12
4.3
How to configure an "Allen Bradley E/IP SLC50x" channel unit connection . .............................13
4.4
How to configure an "Allen Bradley E/IP ControlLogix" channel unit connection. ......................14
4.5
4.6
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
4.6.6
4.6.7
4.6.8
4.6.9
4.6.10
Table of contents
Introduction
The channel "Allen Bradley - Ethernet IP" is used for linking to Allen-Bradley automation
systems. The communication is handled with the Ethernet IP protocol.
Depending on the communication hardware used, the system supports connections via the
following channel units:
Allen Bradley E/IP PLC5
Allen Bradley E/IP SLC50x
Allen Bradley E/IP ControlLogix
The channel unit must be selected for the channel in order to create a connection from
WinCC to an existing or planned network.
Communication Network
AS
Ethernet IP
Ethernet IP
Ethernet IP
ControlLogix 5500
Introduction
Define the required tags for a logical connection. The following data types are supported by
the "Allen Bradley - Ethernet IP" channel:
Binary Tag
Signed 8-bit value
Unsigned 8-bit value
Signed 16-bit value
Unsigned 16-bit value
Signed 32-bit value
Unsigned 32-bit value
Floating-point number 32-bit IEEE 754
Floating-point number 64-bit IEEE 754
Text tag 8-bit character set
Text tag 16-bit character set
10
Introduction
WinCC needs a logical connection for communication of WinCC with the automation system
(AS). This section shows how the "Allen Bradley - Ethernet IP" channel is configured.
When implementing the TCP/IP protocol, you must define the IP address of the AS for the
logic connection. The IP address consists of four numerical values, separated by dots. The
numerical values must be within the range of 0-255.
Note
Timeout Behavior
Interrupted connections are not detected immediately when using the TCP/IP protocol. The
check-back message can take up to a minute.
Connectable controllers
Connections can be implemented for the following Allen-Bradley PLCs:
Allen-Bradley ControlLogix 5500
Allen-Bradley CompactLogix 5300
PLC-5 with Ethernet Port
SLC 500 with Ethernet Port, e.g. SLC 5/05
MicroLogix
Online Configuration
The online configuration of the "Allen Bradley - Ethernet IP" channel is not supported.
11
4.2
Introduction
The following steps are required for configuring a connection of the "Allen Bradley E/IP
PLC5" channel unit:
1. Configuring a connection
2. Configuring Tags
Requirements
The communication driver for channel "Allen Bradley - Ethernet IP" is installed and
integrated into the project.
Procedure
1. Select the entry "New Connection" in the pop-up menu of the "Allen Bradley E/IP PLC5"
channel unit. The "Connection Properties" dialog is opened.
2. Enter a connection name in the "General" tab.
3. Click on the "Properties" button to open the "Allen Bradley E/IP Connection Parameters"
dialog.
4. Enter the IP address of the Ethernet/IP module of the controller. Port 44818 is
permanently set by default for Ethernet/IP devices.
5. Define the CIP path from the Ethernet module to the controller in the "Communication
path" field. This setting creates a logical interconnection of the Ethernet module with the
PLC, irrespective of their location in different CIP networks.
6. Close both of the dialogs by clicking the "OK" button.
12
4.3
Introduction
The following steps are required for configuring a connection of the "Allen Bradley E/IP
SLC50x" channel unit:
1. Configuring a connection
2. Configuring Tags
Requirements
The communication driver for channel "Allen Bradley - Ethernet IP" is installed and
integrated into the project.
Procedure
1. Select the entry "New Connection" in the pop-up menu of the "Allen Bradley E/IP
SLC50x" channel unit. The "Connection Properties" dialog is opened.
2. Enter a connection name in the "General" tab.
3. Click on the "Properties" button to open the "Allen Bradley E/IP Connection Parameters"
dialog.
4. Enter the IP address of the Ethernet/IP module of the controller. Port 44818 is
permanently set by default for Ethernet/IP devices.
5. Define the CIP path from the Ethernet module to the controller in the "Communication
path" field. This setting creates a logical interconnection of the Ethernet module with the
PLC, irrespective of their location in different CIP networks.
6. Close both of the dialogs by clicking the "OK" button.
13
4.4
Introduction
The following steps are required for configuring a connection of the "Allen Bradley E/IP
ControlLogix" channel unit:
1. Configuring a connection
2. Configuring Tags
Requirements
The communication driver for channel "Allen Bradley - Ethernet IP" is installed and
integrated into the project.
Procedure
1. Select the entry "New Connection" in the pop-up menu of the "Allen Bradley E/IP
ControlLogix" channel unit. The "Connection Properties" dialog is opened.
2. Enter a connection name in the "General" tab.
3. Click on the "Properties" button to open the "Allen Bradley E/IP Connection Parameters"
dialog.
4. Enter the IP address of the Ethernet/IP module of the controller. Port 44818 is
permanently set by default for Ethernet/IP devices.
5. Define the CIP path from the Ethernet module to the controller in the "Communication
path" field. This setting creates a logical interconnection of the Ethernet module with the
PLC, irrespective of their location in different CIP networks.
6. Close both of the dialogs by clicking the "OK" button.
14
4.5
Example 1:
Connection with a PLC in the same Allen-Bradley rack.
1,0
Number
Meaning
Example 2:
Connection with a PLC in remote Allen-Bradley racks. Two Allen-Bradley racks are
networked on Ethernet.
1,2,2,190.130.3.101,1,5
Number
Meaning
Backplane connection
Stands for the CPU slot number of the second Ethernet module.
190.130.3.101
Backplane connection
4.6
4.6.1
Introduction
For a connection between WinCC and the automation system (AS) via channel "Allen
Bradley - Ethernet IP", tags of different data types can be created in WinCC. The permitted
data types are listed in this section.
Tag Updating
If the tags are retrieved simultaneously in a picture from a PLC, the "Allen Bradley - Ethernet
IP" channel attempts to optimize the update. This can only be accomplished under the
following conditions however:
Allen Bradley - Ethernet IP
07/2010, Printout of the Online Help
15
Bool
SInt
0-7
USInt
0-7
Int
0-15
UInt
0-15
DInt
0-31
UDInt
0-31
Real
String
Address
Array
Arrays
4.6.2
Addressing
Addressing
A tag is uniquely referenced in WinCC by means of an address in the controller. The address
must correspond with the tag name in the PLC. The tag address is defined by a string with a
length of up to 128 characters.
16
Function
Element delimiter
[]
17
Note
You cannot address module-specific Tags, such as data at input and output modules,
directly. Use an Alias tag in the controller instead.
Example: Local:3:O.data cannot be addressed in WinCC
If, for Local:3:O in the controller, the alias "MyOut" is defined, you can address with WinCC
via MyOut.Data.
4.6.3
Addressing syntax
Notation of addresses
The following tables define the possibilities for writing individual addressing.
Table 4-1
Data types
Type
Address
PLC tag
Tag name
Program tag
Programname:tagname
Arrays
Bits
Structure elements
PLC tag
Array tag
Program tag
PLC tag
Tagname/bitnumber
Program tag
Programname:tagname/bitnumber
PLC tag
Program tag
Note
Bit addressing with the data types Bool, Real and String is not permitted and will cause an
addressing fault.
18
4.6.4
Addressing Types
Array elements
Elements of one-dimensional, two-dimensional and three-dimensional arrays in the PLC are
indexed by setting an index and the corresponding notation in the tag editor. Array
addressing starts at element "0", with arrays of all basic types being valid for element
addressing. Read/write operations are only carried out at the addressed element, and not for
the entire array.
Structures
User-defined data types are created by means of structures. These structures group tags of
different data types. Structures may consist of basic types, arrays and of other structures. In
WinCC, only basic data types are addressed as structure elements and not entire structures.
Structure elements
Structure elements are addressed by means of the name of the structure and of the required
structure element. This addressing is separated by point. In addition to basic data types, the
structure elements may represent arrays or other structures. Only one-dimensional arrays
may be used as a structure element.
Note
The nesting depth of structures is only limited by the maximum length of 128 characters for
the address.
19
4.6.5
Type
Address
General
PLC tag
Tag name
Program tag
Program:tagname
Array
Arraytag[Dim1].structureelement
Array in structure
Structuretag.arraytag
Structuretag.structure2.arraytag
[element]/bit
Note
Program tags are addressed by leading the address with the program name derived from the
PLC with colon delimiter.
Example: Programname:arraytag[Dim1,Dim2]
Address
PLC tag
Arraytag[Dim1]
Arraytag[Dim1,Dim2]
Arraytag[Dim1,Dim2,Dim3]
Program tag
Programname:arraytag[Dim1]
Programname:arraytag[Dim1,Dim2]
Programname:arraytag[Dim1,Dim2,Dim3]
20
4.6.6
How to configure a tag for the Allen Bradley E/IP ControlLogix channel unit
Introduction
This section shows how you configure a tag for channel unit "Allen Bradley E/IP
ControlLogix" in the automation system (AS) address range.
Requirements
The channel "Allen Bradley - Ethernet IP" must be integrated in the project.
A connection must be created in the "Allen Bradley E/IP ControlLogix" channel unit.
Procedure
1. Select "New Tag" from the shortcut menu of the Ethernet IP connection. The "Tag
properties" dialog box opens.
2. Enter the name of the tag in the "Name" field. Select the desired data type in the "Data
type" field.
3. The "Select" button opens the dialog "Allen Bradley ControlLogix Variable".
4.6.7
How to configure a tag with bit by bit access for Allen Bradley E/IP PLC5 or
SLC50x
Introduction
This section shows you how to configure a tag for bit by bit access for the address area in
the automation system (AS).
21
Requirements
The channel "Allen Bradley - Ethernet IP" must be integrated in the project.
A connection must be created in the "Allen Bradley E/IP PLC5" or "Allen Bradley E/IP
SLC50x" channel unit.
Procedure
1. Select "New Tag" from the shortcut menu of the Ethernet IP connection. The "Tag
properties" dialog box opens.
2. Enter the name of the tag in the "Name" field. Select the desired data type in the "Data
type" field.
3. The "Select" button opens the dialog "Allen Bradley PLC/SLC Tag".
4.6.8
How to configure a tag with byte by byte access for Allen Bradley E/IP PLC5 or
SLC50x
Introduction
This section shows you how to configure a tag for byte by byte access for the address area
in the automation system (AS).
Requirements
The channel "Allen Bradley - Ethernet IP" must be integrated in the project.
22
Procedure
1. Select "New Tag" from the shortcut menu of the Ethernet IP connection. The "Tag
properties" dialog box opens.
2. Enter the name of the tag in the "Name" field. Select the desired data type in the "Data
type" field.
3. The "Select" button opens the dialog "Allen Bradley PLC/SLC Tag".
4.6.9
How to configure a tag with word by word access for Allen Bradley E/IP PLC5 or
SLC50x
Introduction
This section shows you how to configure a tag for word by word access for the address area
in the automation system (AS).
Requirements
The channel "Allen Bradley - Ethernet IP" must be integrated in the project.
A connection must be created in the "Allen Bradley E/IP PLC5" or "Allen Bradley E/IP
SLC50x" channel unit.
Procedure
1. Select "New Tag" from the shortcut menu of the Ethernet IP connection. The "Tag
properties" dialog box opens.
Allen Bradley - Ethernet IP
07/2010, Printout of the Online Help
23
4. Select the address range in the "File" field. Entries N, R, C, T, B, S, I, O, D, A and ST are
available.
5. Enter the "File Number" if it is different from the suggested file number. The File number
cannot be changed for the setting "S".
6. Enter the "Element".
7. Select one of the values for the "Sub" field if it is displayed. This depends on the setting
made in the "File field.
8. Close both of the dialogs by clicking the "OK" button.
4.6.10
How to configure a text tag for Allen Bradley E/IP PLC5 or SLC50x
Introduction
This section shows you how to configure a tag for word by word access for the address area
in the automation system (AS).
Requirements
The channel "Allen Bradley - Ethernet IP" must be integrated in the project.
A connection must be created in the "Allen Bradley E/IP PLC5" or "Allen Bradley E/IP
SLC50x" channel unit.
Procedure
1. Select "New Tag" from the shortcut menu of the Ethernet IP connection. The "Tag
properties" dialog box opens.
2. Enter the name of the tag in the "Name" field. Select the desired data type in the "Data
type" field.
3. The "Select" button opens the dialog "Allen Bradley PLC/SLC Tag".
24
25
26