Appendix g: escl (scl over ethernet) reference, Introduction, Getting started – Applied Motion RS-232 User Manual

Page 268: Connecting a drive to your pc

Advertising
background image

268

920-0002 Rev. I
2/2013

Host Command Reference

Appendix G: eSCL (SCL over Ethernet) Reference

Introduction

eSCL is Applied Motion Products’ language for commanding and querying motion control products over

Ethernet. It is supported by several motion control devices, including the ST5-Q-E, ST10-Q-E and SV7-Q-E. In
addition to sending commands to a drive from a host in real time, you can also use our Q Programmer software
to embed sequences of commands, called Q Programs, in a drive. These programs can be set to execute
automatically at power up, or can be triggered by commands sent from the host.

This guide is intended to help you connect and configure your drive and to help you start writing your own

eSCL host application.

Getting Started

There are three steps required to create an eSCL application with your new Applied Motion Products motor

driver. Each of these is explained in a separate section of this manual.

Connect the drive to your PC. This includes getting the drive physically connected to your network (or
directly to the PC), setting the drive’s IP address, and setting the appropriate networking properties on
your PC.

Configure the drive for your motor and application. For step motor drives, you’ll need to use a suitable
version of our Configurator software. For servos, use Quick Tuner.

Create your own application. This guide includes code examples in Visual Basic and C# to help you get
started. You can download the example in their entirety, from our website, but we recommend reading the
explanations in the guide first.

Connecting a Drive to Your PC

This process requires three steps

Get the drive physically connected to your network (or directly to the
PC)

Set the drive’s IP address

Set the appropriate networking properties on your PC.

Addresses, Subnets, and Ports
Every device on an Ethernet network must have a unique IP address.

In order for two devices to communicate with each other, they must both be
connected to the network and they must have IP addresses that are on the
same subnet. A subnet is a logical division of a larger network. Members
of one subnet are generally not able to communicate with the members of
another. Subnets are defined by the choices of IP addresses and subnet
masks.

If you want to know the IP address and subnet mask of your PC, select

Start…All Programs…Accessories…Command Prompt. Then type “ipconfig”
and press Enter. You should see something like this:

Point of Interest
AMP recommends performing all
Ethernet configuration of the drive
while connected directly to a PC via
a CAT-5 Ethernet cable. This avoids
many potential communication
problems associated with frequent
IP address changes on a larger
network.
Once fully configured, the drive may
be used on a plant network without
issue.
See the section titled “ARP Tables -
the Ghost in the Machine” below for
further information.

Advertising
This manual is related to the following products: