14.08.2013 Views

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

About this Guide<br />

CHAPTER 1: INTRODUCTION<br />

If you are <strong>programming</strong> for Linux ® or another operating system other than Microsoft ®<br />

Windows ® , the IEEE 1394-<strong>based</strong> protocol for communicating with Ethernet-<strong>based</strong> I/O <strong>units</strong> is<br />

open <strong>and</strong> documented in Chapter 4.<br />

SNAP Ethernet I/O <strong>units</strong> can also be used with Opto 22 FactoryFloor ® software running on a<br />

SNAP-LCM4 controller. (SNAP Ultimate I/O <strong>and</strong> SNAP Simple I/O <strong>units</strong> are not compatible with<br />

FactoryFloor; they use ioControl <strong>and</strong> ioDisplay.)<br />

This <strong>guide</strong> provides information you need if you are configuring <strong>and</strong> communicating with your<br />

SNAP Ethernet-<strong>based</strong> I/O unit using the SNAP Ethernet I/O Driver Toolkit or the IEEE 1394-<strong>based</strong><br />

protocol. If you are not doing one of these things, but are using flowcharts developed in ioControl<br />

as your method of communicating with these I/O <strong>units</strong>, you do not need this <strong>guide</strong>. See<br />

“Underst<strong>and</strong>ing Communication with the I/O Unit” on page 8.<br />

This <strong>guide</strong> assumes that you are already familiar with <strong>programming</strong> in the format you’ve chosen<br />

to use. It also assumes that you have already installed the SNAP Ethernet-<strong>based</strong> I/O unit. (If you<br />

have not, see Opto 22 form #1460, the SNAP Ethernet-Based I/O Units User’s Guide, for<br />

instructions.)<br />

The following sections are included in this user’s <strong>guide</strong>:<br />

Chapter 1, “Introduction”—information about the <strong>guide</strong> <strong>and</strong> how to reach Opto 22 Product<br />

Support.<br />

Chapter 2, “Overview of Programming”—basic information you need for <strong>programming</strong><br />

applications to communicate with SNAP Ethernet-<strong>based</strong> I/O <strong>units</strong>.<br />

Chapter 3, “Using the SNAP Ethernet I/O Driver Toolkit”—<strong>programming</strong> your own<br />

applications the easy way, using our ActiveX components or C++ classes to hide the details of<br />

the memory map <strong>and</strong> the IEEE 1394-<strong>based</strong> protocol.<br />

Chapter 4, “Using the IEEE 1394-<strong>based</strong> Protocol”—<strong>programming</strong> your own applications for<br />

SNAP Ethernet-<strong>based</strong> I/O <strong>units</strong> using Opto 22’s IEEE 1394-<strong>based</strong> memory map protocol. Includes<br />

examples.<br />

Chapter 5, “Advanced Modbus Programming”—Using Modbus/TCP to access areas of the<br />

I/O unit’s memory map that are not included in the Modbus memory map.<br />

Appendix A, “SNAP Ethernet-Based Brain Memory Map”— the complete memory map for<br />

all SNAP Ethernet-<strong>based</strong> I/O <strong>units</strong>.<br />

Appendix B, “Table of Offsets”—an easy way to find memory map addresses for specific<br />

points on Ethernet-<strong>based</strong> I/O <strong>units</strong>.<br />

SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!