3 connecting the drive to your pc using ethernet, 1 addresses, subnets, and ports – Applied Motion TXM24IP-1EG User Manual

Page 13

Advertising
background image

13

Rev. C

920-0089

TXM24 Ethernet Hardware Manual

3.3 Connecting the Drive to Your PC using Ethernet

This process requires three steps:

• Physically connect the drive to your network (or directly to the PC)
• Set the drive’s IP address
• Set the appropriate networking properties on your PC.

3.3.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. You network may be segmented for a reason.
Your drive’s IP Address is stored internally in nonvolatile memory. The factory default address is

192.168.1.10. This address can be changed using our Step Servo Quick Tuner software.
If someone were to change the setting and not write it down or tell anyone then you will not be

able to communicate with your drive. The only way to “recover” it is to apply power to the TXM24

with the network cable unplugged. The TXM24 will detect this condition and revert to a recovery

address of 10.10.10.10. You may then connect your cable to the network and use Step Servo

Quick Tuner to upload and change the stored address (using IP Table in the menu). Your PC, or

any other device that you use to communicate with the drive, will also have a unique address.
Use the standard class B subnet mask (i.e. “255.255.0.0”). The mask for the recovery address

is the standard class A (i.e. “255.0.0.0”). One of the great features of Ethernet is the ability for

many applications to share the network at the same time. Ports are used to direct traffic to the

right application once it gets to the right IP address. The UDP eSCL port in our drives 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

Advertising
This manual is related to the following products: