BusWorks and EtherStax Series 10/100 Mbps Industrial Ethernet I/O Modules APPLICATION NOTE Interfacing Acromag Ethernet I/O Modules to an ABB AC500 PLC with Modbus TCP/IP ACROMAG INCORPORATED Tel: (248) 295-0880 30765 South Wixom Road Fax: (248) 624-9234 P.O. BOX 437 Email: sales@acromag.com Wixom, MI 48393-7037 U.S.A. Web: www.acromag.com Copyright 2009, Acromag, Inc., Printed in the USA. Data and specifications are subject to change without notice. 8400-579
2 BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note OBJECTIVE This document illustrates a reference example for communicating to an Acromag EtherStax Model ES2152-0000 (ie; Ethernet Modbus TCP/IP Slave Device) with an ABB AC500 PLC. It is assumed that the Acromag module has been assigned a static IP address and is connected to the ABB AC500 Ethernet port. TABLE OF CONTENTS COMMUNICATING WITH ABB AC500 PLC ABB AC500 Ethernet Architecture Multiple Protocols 3 ABB AC500 Connection to EtherStax ES2152 4 ABB AC500 Program to Read 32ch AI s on ES2152 5 ABB AC500 Built-in HMI and EtherStax ES2152 Web Test Page Screen Shots 6 Notes 7 Windows is a registered trademark of Microsoft Corporation. All trademarks are the property of their respective owners.
BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note 3 ABB AC500 Ethernet Architecture with multiple Ethernet Protocols ABB AC500 w/communication modules Acromag EtherStax Ethernet I/O Blocks with redundant ports Absolute Encoder EtherCAT Ethernet Modbus TCP/IP Ethernet Modbus TCP/IP Switch PROFINET RT Acromag BusWorks Ethernet I/O Modules Acromag BusWorks Ethernet I/O Modules with 8B/7B Signal Conditioner Interface 958EN with 8Bs Acromag EtherStax Ethernet I/O Blocks with Copper or Fiber Optic Ports Acromag EtherStax Ethernet I/O Blocks with 8B/7B Signal Conditioner Interface
4 BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note ABB AC500 Ethernet Architecture with multiple Ethernet Protocols ABB AC500 PLC Model PM571-ETH is used for this Application Note. Software Programming Environment used was PS501 Control Builder AC500 Acromag s EtherStax Model ES2152-0000 ES2152 Web Configuration Key Parameters for Reference Application: Static IP Address: 10.49.91.150 Subnet Mask: 255.255.255.0 # of Sockets: 10 Gateway: Default Host Name: Default Port 1 and 2: Auto Negotiate Switch or Hub: Switch Mode Channel Configuration: Defaults Floating Point: Enabled Byte Order: B1,B0,B3,B2
BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note AC500 PLC Program to Read 32 Floating Point Analog Input Channels from ES2152 via MB TCP/IP 5 Key Information and Important Notes follows below: Modbus Function Code = 3: Reads 4xxxx Address space Modbus Starting Address: 3099 Important Notes: 1. Modbus Function Code 3 will read the 4xxxx address space 2. If Modbus Function Code 3 is used, the AC500 Modbus Starting Address will not begin with the number 4. The 4 is not used since Function Code 3 is already defined as a 4xxxx address space read command. In this example, if you want to start reading at address 43099, you ll use 3099. 3. The AC500 Modbus addressing is also zero based. When choosing to read/write an Acromag register, be sure to subtract 1 from the address referenced in the Acromag Memory Map. In this example, the AC500 begins reading at 3099 which is referenced as Channel 0 at address 43100, per the Memory Map found in the ES2152 Manual. 4. ES2152 Floating Point Data Registers for Channels 0 to 31 are found in registers 43100 thru 43163, per the Memory Map found in the Acromag manual.
6 BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note AC500 PLC Screen Shot of Built-In HMI and ES2152 Web Test Page Screen Shots
BusWorks and EtherStax Modbus TCP/IP I/O Modules ABB Application Note 7 This application note is the result of a joint effort between ABB, Incorporated and Acromag, Incorporated. For additional ABB contact information, please use the following: ABB Inc., Low Voltage Products & Systems 1425 Greenway Drive #250 Irving, TX 75038 Website: www.abb.com/plc Tel. 1-888-385-1221 NOTES: