0% found this document useful (0 votes)
62 views

Module 49 - EtherNetIp

This document provides an overview of EtherNet/IP communication in PcVue. It discusses enabling the EtherNet/IP add-on, configuring connections via an .ini file, and mapping PcVue variables to EtherNet/IP tags by adding addresses to the variables' extended attributes. Mapping involves specifying the equipment name, tag name, type, polling group, and access for each variable.

Uploaded by

Rafaael Castro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Module 49 - EtherNetIp

This document provides an overview of EtherNet/IP communication in PcVue. It discusses enabling the EtherNet/IP add-on, configuring connections via an .ini file, and mapping PcVue variables to EtherNet/IP tags by adding addresses to the variables' extended attributes. Mapping involves specifying the equipment name, tag name, type, polling group, and access for each variable.

Uploaded by

Rafaael Castro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Communication

Module 49
EtherNet/IP
Contents

1 Introduction 3
1.1 PcVue version 3
1.2 In this module you will learn 3
1.3 Files used in this module 3
1.4 Third party software used in this module 3

2 This feature in PcVue architecture 4


3 Overview 5
4 Enabling and configuring the EtherNet/IP add-on6
5 Mapping variables to EtherNet/IP 7
5.1 Variable mapping syntax 7
5.1.1 TagName syntax for ControlLogix access 7
5.1.2 Variable types 7
5.2 How to map a variable to EtherNet/IP 8

V12.0 Module 49 - EtherNet/IP Page 2/8


1 Introduction
1.1 PcVue version
This module is for PcVue version 12.0

1.2 In this module you will learn


What EtherNet/IP is,
How to configure an EtherNet/IP connection,
How to map variables for EtherNet/IP.

1.3 Files used in this module

1.4 Third party software used in this module


None.

V12.0 Module 49 - EtherNet/IP Page 3/8


2 This feature in PcVue architecture

Figure 1

V12.0 Module 49 - EtherNet/IP Page 4/8


3 Overview
EtherNet/IP is an industrial network protocol that adapts the Common Industrial
Protocol to standard Ethernet. It is widely used, particularly in the USA, in a range of
industries including factory, hybrid and process. The EtherNet/IP and CIP technologies
are managed by ODVA (Open DeviceNet Vendors Association).
EtherNet/IP communication, in PcVue, takes the form of an add-on developed using
the SV Manager toolkit. Whilst it is a fully supported PcVue component there are no
specific configuration dialogs, configuration taking place using a combination of text
files (.dat) and standard features of PcVue. The add-on enables communication with
Ethernet/IP and CIP (Common Industrial Protocol) elements.
The EtherNet/IP add-on is licensed and requires a specific option to be enabled in the
PcVue protection key (dongle). Without this option it will operate in demonstration
mode with the communication limited to 60 minutes in any one PcVue session.

V12.0 Module 49 - EtherNet/IP Page 5/8


4 Enabling and configuring the EtherNet/IP add-on
Step 1. Enabling the EtherNet/IP add-on
The Ethernet/IP add-on is installed during a standard PcVue installation. To enable it,
when PcVue starts, the configuration file USRMGR.DAT must exist in PcVue’s BIN
folder. USRMGR.DAT is a text file containing the following lines.
[USRMGR\usrmgrEIP]
DLL=svmgrEIP.dll
Depending on the version of PcVue you have this file may already exist under a
different name and can simply be renamed, or you can create it from scratch using a
text editor.
Step 2. Configuring the EtherNet/IP add-on
The Ethernet/IP Data Acquisition Driver add-on is configured using a file called
EtherNetIP.ini which must be created in the PER folder of the project. The file has the
following structure.
[TaskParameters]
LocalIpAddress = 192.168.56.1
nbPollingGroups = 1
nbEquipments = 1
[PollingGroup1]
RefreshRateInSec = 1
[Equipment1]
IpAddress1 = 192.168.56.11
[TaskParameters] The primary task parameters.
o LocalIpAddress - The IP Address of the PC on which PcVue is running.
o NbEquipments - The number of equipments to which the driver is to
connect.
o nbPollingGroups - The number of polling groups to be used. A polling
group defines at what rate data is scanned.
[PollingGroupN] - The definition of each polling group. The values of N must be
contiguous.
o RefreshRateInSec - The polling rate for the group in seconds.
[EquipmentN] – The definition of each equipment. The values of N must be
contiguous.
o IpAddress1 - The IP Address of the equipment.
Only the mandatory parameters have been shown. For a full list, including
optional parameters, see the help.

V12.0 Module 49 - EtherNet/IP Page 6/8


5 Mapping variables to EtherNet/IP
5.1 Variable mapping syntax
To map a variable to EtherNet/IP you enter the EtherNet/IP address in the variable’s
extended attribute 16. When PcVue loads the variable tree at startup it recognizes the
address and makes the appropriate mapping. The EtherNet/IP address takes the
following syntax.
EIP#EquipmentName#TagName#Type#PollingGroup#Access#Scaled
 EIP - The key which indicates it is a variable with an Ethernet/IP source.
 EquipmentName - The identifier of the equipment as in EtherNetIP.ini.
Equipment1, Equipment2 etc. One of the optional parameters allows a
meaningful name to be used instead.
 TagName - The identifier of the variable within the equipment. See below.
 Type - The variable type. See below.
 PollingGroup - The identifier of the polling group, as in EtherNetIP.ini. One of
the optional parameters allows a meaningful name to be used instead.
 Access - Enter W if you want PcVue to be able to write to the tag.
 Scaled - Enter S if you want the Supervisor to apply scaling between the
minimum and maximum of the data type and the minimum and maximum
defined in the variable.

5.1.1 TagName syntax for ControlLogix access


Here are some of the common TagName syntaxes. For a full list see the main help.
 If the tag is global the syntax is MyTag.
 If the tag is part of a program, named MyProg, the syntax is
Program:MyProg.MyTag.
 If the tag is an array the syntax is MyArray[x] where x is the array index of
the specific element to access.
 If the tag is a string the syntax is MyString[x] where x is the string size you
want to access.

5.1.2 Variable types

Format Scaling possible Range

BOOL No
SINT Yes 0 to 255
INT Yes 0 to 65535
DINT Yes 0 to 4294967295
USINT Yes 0 to 255

V12.0 Module 49 - EtherNet/IP Page 7/8


UINT Yes 0 to 65535
UDINT Yes 0 to 4294967295
REAL No
STRING No

5.2 How to map a variable to EtherNet/IP


Step 1. Using the Application Explorer display the configuration of the
variable to be mapped and select the Extended attributes tab.
Step 2. Enable the Extended attributes and enter the address in attribute
16.

Figure 2

Step 3. Save the variable

The mapping is not taken into account until PcVue is shut down
and restarted.

V12.0 Module 49 - EtherNet/IP Page 8/8

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy