Presentation Ethernet/IP - Innovative-IDM

Download Report

Transcript Presentation Ethernet/IP - Innovative-IDM

PP.AFD.26
An Overview When
Connecting to
Yaskawa Drives
Date: 8/14/06, Rev: 06-08
Introduction
This presentation will focus on
Variable Frequency Drives
controlled by a PLC via EtherNet/IP
communication. Benefits and
weaknesses are discussed as well
as the drive’s webpage and a
sample PLC setup comparing the
F7 drive to a PowerFlex 70.
Overview
Ethernet
•
Computer networking technology for local area networks (LAN)
•
Defined by IEEE 802.3 (wiring, signaling for physical layer, link layer, and
TCP/IP for transport and network layers)
EtherNet/IP
•
Uses same layers as Ethernet
•
Application layer is CIP (Common Industrial Protocol), which has the same
profile as traditional DeviceNet and ControlNet devices
Overview
Many Languages (Application layers)
•
•
•
EtherNet/IP
Modbus TCP/IP
ProfiNet
Current Yaskawa Options
•
EtherNet/IP
•
•
•
CM092 for F7, G7, P7, and G5
CM093 for V7
Modbus TCP/IP
•
•
CM090 for F7, G7, P7, and G5
CM091 for V7
EtherNet/IP Model
Device Profiles / Application Text
Application
Transport
CIP Network & Transport
Implicit
Message
Explicit
Message
UDP
TCP
CIP Interface
TCP/IP Suite
Network
IP
Link
Ethernet
MAC
Physical
Ethernet
Physical
IEEE 802.3
CIP over Ethernet
Benefits
•
Extremely fast
•
•
•
Nearly unlimited network configurations
•
•
No practical limits on nodes, distances, etc. within reason
Easy (open) access
•
•
•
10/100Mbps transmission speed
<20ms response rate possible (RPI)
Use any vendor’s switches, CAT-5 cable, etc.
All PC’s / HMI’s / etc. have Ethernet ports as standard
Webpage
•
•
Accessible from any browser. Just type in IP address
No special program necessary
Benefits
•
Easy remote access capability
•
•
•
•
•
Multiple simultaneous connections
•
•
•
•
“Boardroom Access”
Easy troubleshooting from anywhere including the Internet
Advanced diagnostics (parameter management, monitoring, trending)
Tap into the network anywhere on the floor. Don’t have to be in front of the drive or
PLC
Can have different concurrent PLC/PC’s for control and monitoring
Easy to add in production monitoring etc. with different device. No need to burden
machine controller
Easy to add in PM programs and examination of suspect areas
Enhanced performance with PC programs (DriveWizard, DriveWorksEZ)
•
•
Faster connection
Look at entire drive network from remote location for parameter backup, monitoring,
etc
Benefits
•
Plug and play
•
•
Boot/P and DHCP allow for automatic IP address assignment
Easy to expand/change network
•
•
•
Add drives to open ports on switches or add switches
Less wiring hassle than ring networks (1 cable versus 2)
Standard programming interfaces for easy integration
Weaknesses
•
Security
•
Network design is critical
•
•
•
Isolate control network from business network
Use high quality shielded cable
Use switches rather than hubs
•
New breed of Control Engineer needed with strong IT background
•
Determinism has its limits
Network Comparison
Feature
Modbus TCP/IP
EtherNet/IP
DeviceNet
Part Number
CM090
CM092
CM05X
Network Type
Request / Response
Produced / Consumed I/O
Protocol Type
Controller Level
Device Level
Speed
10/100Mbps
125-500kpbs
Nodes
Unlimited
64
Number of Masters
Multiple
1
Webpage
Yes
No
PLC Support
Modicon,
Prosoft Cards for AB
AB
AB
Deterministic
No
Essentially
No
Configuration Files
No
Simultaneous
Connections
Automatic Node
Replacement
Parameter Access
EDS Files
10
8
2
None
Built-in
ADR
MSTR Function
Explicit Messaging
Webpage
Webpage
Example EtherNet/IP System
The following slides will outline the setup procedure for the system shown below. A comparison
will be made between setting up a Yaskawa F7 drive and an Allen Bradley PowerFlex 70.
Example EtherNet/IP System
For either drive, configure RS Linx by installing an EtherNet/IP driver as shown below. This
allows the PC to communicate over the EtherNet/IP network.
Either
Drive
Example EtherNet/IP System
To begin implementing the example system, configure the I/O in RS Logix 5000. Start RS
Logix 5000 and begin a new project by selecting ->’File’ and ->’New’. Select the correct
PLC/Controller and system descriptions for the example system being created.
Either
Drive
Example EtherNet/IP System
To add either drive to the I/O configuration, refer to the I/O configuration folder in the project
tree and highlight the EtherNet/IP port used in the project. In this case, the EtherNet/IP port is
the Local EtherNet/IP port on the 1769-L32E controller. Right click to add a new I/O module to
the project (in this case, a drive). The controller must be offline in order to add and\or
configure I/O devices.
Either
Drive
Example EtherNet/IP System
To add a PowerFlex
70 drive to the PLC,
select it from the
Drives menu tree in
the New Module
dialog box.
PF 70
Drive
Example EtherNet/IP System
When the PowerFlex 70 drive is selected, a dialog box is displayed, which requires a name
and the drives IP address.
PF 70
Drive
Example EtherNet/IP System
To add an F7 drive to
the PLC, select the
Generic Ethernet
Module from the
Communications menu
tree in the New Module
dialog box.
.
F7
Drive
Example EtherNet/IP System
When the Generic Ethernet Module is selected, a dialog box is displayed, which requires a
name, IP address, and the assembly instances that will be used to communicate with the
drive. In this example, we will install the variable frequency drive (VFD) profile standard
assemblies output ‘21’ and input ‘71’, along with the default setting of ‘1’ for the configuration
assembly.
F7
Drive
Example EtherNet/IP System
Assembly 21 was chosen as the input assembly for the F7 drive. The assembly 21 details
are given below.
Controller Tag Name
(Example)
F7_Drive1_Ex:O:Data[0]
Assembly
Data
Assembly 21
(Bytes 1 & 2)
Description
Drive Command Word:
Bit 0: Run Forward Command
Bit 1: Run Reverse Command
Bit 2: Fault Reset
Bit 3: Not Used
Bit 4: Not Used
Bit 5: Network Control
Bit 6: Network Frequency Reference
Bit 7: Not Used
Bit 8-15: Not Used
Commanded Speed
F7_Drive1_Ex:O:Data[1]
Assembly 21
(Bytes 3 & 4)
Example (3000 = 30.00 Hz),
If (O1-03 = 4)
Speed Value is in RPM, (1750 = 1750 RPM)
F7
Drive
Example EtherNet/IP System
Assembly 71 was chosen as the output assembly for the F7 drive. The assembly 71 details
are given below.
Controller Tag Name
(Example)
Assembly
Data
Description
F7_Drive1_Ex:I:Data[0]
Assembly 71
(Bytes 1 & 2)
Drive Status Word:
Bit 0: Faulted
Bit 1: Warning
Bit 2: Running Forward
Bit 3: Running Reverse
Bit 4: Drive Ready
Bit 5: Controlling from Network
Bit 6: Frequency Reference from Network
Bit 7: At Speed Commanded
Bit 8-15: Not Used
F7_Drive1_Ex:I:Data[1]
Assembly 71
(Bytes 3 & 4)
Actual Speed
Example (3000 = 30.00 Hz),
If (O1-03 = 4)
Speed Value is in RPM, (1750 = 1750 RPM)
F7
Drive
Example EtherNet/IP System
Once the Module information is entered, select ‘Finish’ to complete the I/O configuration. The
picture below shows the project tree with the F7 drive added.
Either
Drive
Example EtherNet/IP System
By highlighting the ‘Controller Tags’ in the project tree, you can view the newly added drive to
the project.
Either
Drive
Example EtherNet/IP System
All of the status bits of the
PowerFlex 70 drive are
added to the PLC’s I/O List.
PF 70
Drive
Example EtherNet/IP System
All of the control bits of the
PowerFlex 70 drive are
added to the PLC’s I/O List.
PF 70
Drive
Example EtherNet/IP System
All of the status bits of the F7 drive are
added to the PLC’s I/O List, but they are not
commented. Additional “tag” descriptions can
be entered.
F7
Drive
Addition of “tag”
descriptions
Example EtherNet/IP System
All of the control bits of the F7 drive are
added to the PLC’s I/O List, but they are not
commented. Additional “tag” descriptions
can be entered.
F7
Drive
Addition of “tag”
descriptions
Example EtherNet/IP System
The PowerFlex 70 drive requires 3 rungs of logic to send a Speed Reference and Start/Stop
signals to the drive.
PF 70
Drive
Example EtherNet/IP System
The F7 drive requires 2 rungs of logic to send a Speed Reference and Start/Stop signals to
the drive.
F7
Drive
Example EtherNet/IP System
The following is a summary of setting up the two EtherNet/IP systems:
Adding a New I/O Module (drive)
•
Task is essentially identical. F7 requires the setting of the input and output assemblies
to be used.
“Tag” Descriptions of I/O Points
•
Both drives populate the I/O list in the PLC. The PowerFlex 70 has better generic tags. However,
most programmers will want to add custom “tags” to either drive to give the I/O specific meaning to
the machine and application.
PLC Ladder Logic
•
Task is essentially identical. PowerFlex 70 requires 3 rungs to the F7’s 2.
Installation Example
Installation Example
Questions
Thank You!