Rockwell Automation 2711P Creating Modbus Applications User Manual

Page 3

Advertising
background image

3

Publication 2711P-UM002B-EN-P - March 2007

Table of Contents

Preface

Topics Covered. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Chapter 1

Installing Software

Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Install RSView Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Install KEPServer Enterprise. . . . . . . . . . . . . . . . . . . . . . . . . 10
Firmware Upgrade Wizard. . . . . . . . . . . . . . . . . . . . . . . . . . 10

Chapter 2

Modbus KEPServer Drivers

Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Modbus Master/Slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Modbus (RTU) Serial . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Modbus Unsolicited Serial . . . . . . . . . . . . . . . . . . . . . . . 11

Modbus ASCII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Modbus/TCP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Modbus Device Model . . . . . . . . . . . . . . . . . . . . . . . . . . 13
MailBox. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Guidelines for Developing Modbus Applications . . . . . . . . . 14

Create a Modbus Application . . . . . . . . . . . . . . . . . . . . . 14
Compile, Download and Run a Modbus application . . . . 14

Chapter 3

Configuring KEPServer Drivers for
Modbus

Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Create a Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Select the Default Project File (.pfe) . . . . . . . . . . . . . . . . . . . 16
Configure Drivers for Modbus Protocols. . . . . . . . . . . . . . . . 17

Add a Channel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Add A Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Create Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Chapter 4

Testing KEPServer
Communications

Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Use the OPC Quick Client . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Chapter 5

Making KEPServer Drivers and
Tags Available in RSView Studio

Objectives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Create an OPC Data Server . . . . . . . . . . . . . . . . . . . . . . . . . 37
Browse KEPServer Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Advertising