164
SV200 DC Hardware Manual
920-0126A
4/14/2017
9.5 Ethernet Communication
9.5.1 Connecting PC using Ethernet
Connecting SV200 Series Drive with PC requires following steps:
A. Physically connect the drive to the network (or directly to the PC). There are RJ45 connectors on the drive labeled
CN6 and CN7.
B. Set the drive’s IP address
C. Set the appropriate networking properties on the PC
D. Power up the Drive
Note: The following sections are taken from the “Host Command Reference - Appendix G: eSCL (SCL over Ethernet) Reference”. For
more information, please read the rest of the guide. It can be downloaded from Applied Motion Products website.
9.5.1.1 Setting the IP Address
The default IP address for SV200 series Ethernet address is 10.10.10.10
NOTE: For Dual Port ethernet models, only CN6 can be used as configuration port, CN7 can be
used as dasiy chain communication port.
1.
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 members of another unless they are connected
through special network equipment (e.g. router). 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:
If your PC’s subnet mask is set to 255.255.255.0, a common setting known as a Class C subnet mask, then your machine can only talk
to another network device whose IP address matches yours in the first three octets. (The numbers between the dots in an IP address
are called octets.) For example, if your PC is on a Class C subnet and has an IP address of 192.168.0.20, it can talk to a device at
192.168.0.40, but not one at 192.168.1.40. If you change your subnet mask to 255.255.0.0 (Class B) you can talk to any device whose
first two octets match yours. Be sure to ask your system administrator before doing this. Your network may be segmented for a reason.
2.
Port setting
Ports are used to direct traffic to the right application once it gets to the right IP address. The UDP eSCL port in SV200 series drive is
7775. To send and receive commands using TCP, use port number 7776. You’ll need to know this when you begin to write your own
application. You will also need to choose an open (unused) port number for your application. Our drive doesn’t care what that is; when
the first command is sent to the drive, the drive will make note of the IP address and port number from which it originated and direct
any responses there. The drive will also refuse traffic from other IP addresses that is headed for the eSCL port. The first application to
talk to a drive “owns” the drive. This lock is only reset when the drive powers down.
If you need help choosing a port number for your application, you can find a list of commonly used port numbers at http://www.iana.
org/assignments/port-numbers.
One final note: Ethernet communication can use one or both of two “transport protocols”: UDP and TCP. eSCL commands can be
sent and received using either protocol. UDP is simpler and more efficient than TCP, but TCP is more reliable on large or very busy
networks where UDP packets might occasionally be dropped.