Trio Default IP Address

Similar documents
IP Addressing and Subnetting

IP Addressing - Subnetting

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

Table of Contents Chapter 1 IP Addressing Configuration

Brief Notes on Networks

TCP/IP and the OSI Model

CCNA MCQS with Answers Set-1

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Lab Troubleshooting Using traceroute Instructor Version 2500

Ethernet UART System Administrator Setup Guide

SB72EX User's Manual

Lab 4.2.5a Connectivity Tests Ping

Configuring IP addressing

1 IBM-compatible PC running Windows 98, 2000 or XP, and one Network Interface Card (NIC) with TCP/IP communication protocol enabled

ZyAIR B-500 Wireless Access Point Quick Installation Guide

INDEX. Document Name : User Manual for SC10EJ Serial to Ethernet Converter

ESPSX3 Ethernet Serial Port Server X 3 Users Guide

Trio Motion Technology Ltd. Shannon Way, Tewkesbury, Gloucestershire. GL20 8ND United Kingdom Tel: +44 (0) Fax: +44 (0)

Otasuke Pro-ServerEX! Introduction. What is Pro-Server EX? - Introduction-0 -

Lab Configuring Static Routes Instructor Version 2500

Vigor2600 Initial Setup Top Setup Tips

Before you start the lab exercises see the lab administrator or EEE3080F tutor to get assigned to your routers.

D-Link (Europe) Ltd. 4 th Floor Merit House Edgware Road London HA7 1DP U.K. Tel: Fax:

Port Forwarding Setup (NB7)

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

ACE PLUS CORP. APCON100 series Operation Manual RS-232 to Ethernet Converter

Introduction to TCP/IP

APPLICATION NOTE AN0004 CHANGING THE IP ADDRESS ON AN EWSi PORTAL PLUS CONTROLLER WITH WINDOWS 7

ZyWALL 70. Internet Security Appliance. Quick Start Guide Version 3.62 December 2003

Vorlesung Kommunikationsnetze

Programming through Web browser:

Configuring IP addressing 1

Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge

AT&T Digital Subscriber Line Service

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Technical Paper. Network Alternatives. Using the. ROTRONIC HW3 Software

ZyWALL 10W. Internet Security Gateway. Quick Start Guide Version 3.62 December 2003

ECOV-110 User s Manual

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or

HOME AUTOMATION, INC. Model 93A00-1. Serial Server. User s Manual

Cisco Interconnecting Cisco Networking Devices Part 2

EQ7000. User Manual. Rev 1.00

IP Subnetting, Troubleshooting IP, and Introduction to NAT. Chapter. 1.3 Explain the purpose and properties of IP addressing

Chapter 6 Addressing the Network- IPv4

User s Guide. Ethernet Module for Barcode Printer

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Packet Tracer - Subnet Scenario 2 Topology

Networks: Communicating and Sharing Resources

IP Module Technical Guide

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

CS1302 / Computer Networks

Networking a Digital Video Recorder

Activity Configuring Routers, Web, DHCP, DNS and FTP Servers

Enabling RUGID RTUs to Communicate Over Ethernet

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

IP Module Technical Guide

CCNA Exam File with Answers. Note: Underlines options are correct answers.

EQ-DCM User Manual Revision 1.02 Sep 10, 2013

DS Manager IP Setup For use with Hall Research Products. Table of Contents

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Figure 11 Two-level addressing in classful addressing

MCS-11/IP TUNNEL MODELS 2701 AND CENTER STREET OREGON CITY, OR

TCP/IP Protocol Suite and IP Addressing

Port Forwarding Setup (RTA1025W Rev2)

Game100 Networking Lab 4. Part 1 (5.1.4) Using the Windows Calculator with Network Addresses

Canlan INSTALLATION MANUAL

Lab VTY Restriction Instructor Version 2500

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

DX200 OPTIONS INSTRUCTIONS

IP Module Technical Guide

IP: Addressing, ARP, Routing

CCNA Semester 1 labs. Part 2 of 2 Labs for chapters 8 11

User s Guide UT-620. RS232/RS485 To TCP/IP Converter Module - 1 -

Table of Contents. NBC User's Manual

LAN-505 Ethernet Communication

1. Which OSI layers offers reliable, connection-oriented data communication services?

CCNA 1 Final Exam Answers UPDATE 2012 eg.2

Before you install the hardware, ensure the following components are included in your shipment:

CH-100 Internet HUB Controller

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials

XPort Development Kit Quick Start Guide. XPort Quick Start Guide

Note: This case study utilizes Packet Tracer. Please see the Chapter 4 Packet Tracer file located in Supplemental Materials.

IP Module Technical Guide

Network Access Layer Internet Layer Transport Layer Application Layer. Presentation. Transport. Physical

~ 1 ~ Ankara University Department of Computer Engineering COM LAB 1 Part 1

Application Note. IP Nano (IPn920F & IPn920T) & Centracs Compatibility. February Country Hills Landing NW Calgary, Alberta Canada T3K 5P3

Lab 6.7.1: Ping and Traceroute

MatchPort E Embedded Device Server Demonstration Kit Quick Start Guide

MiPDF.COM. 1. Convert the decimal number 231 into its binary equivalent. Select the correct answer from the list below.

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

IPR10. Quick Start Guide and Application Notes

Linux System Administration

ASL Holdings Ltd. User Guide for the: - DELTA PLUS LAN modem. Provisional Ver1.8

Edition:2A ODM- 88. DVI Matrix Router USER MANUAL

Table of Contents 1 IP Addressing Configuration IP Performance Configuration 2-1

OSI Network Layer. Chapter 5

MicroTech II Alerton BACtalk Integration Information for MicroTech II Applied Rooftop and Self-Contained Unit Controllers

# Byrne Rd, Burnaby, BC, V5J 3J1, Canada Phone: or

ELK-IP232 INSTALLATION AND CONFIGURATION MANUAL. Ethernet to Serial Bridge /07

Transcription:

TECHNICAL NOTE Shannon Way 1000 Gamma Drive Tewkesbury Suite 206 Gloucester GL20 8ND Pittsburgh, PA 15238 Ph: 011.44.1684.292333 Ph: 412.968.9744 Fx: 011.44.1684.297929 Fx: 412.968.9746 www.triomotion.com Doc No.: TN30-04 Date: February 17, 2003 Version: 1.02 Subject: Ethernet IP Address and Subnet Mask Definitions Trio Default IP Address The IP address is (Internet Protocol address) a 32-bit address that has two parts: one part identifies the network (with the network number) and the other part identifies the specific machine or host within the network (with the host number). An organization can use some of the bits in the machine or host part of the address to identify a specific subnet. Effectively, the IP address then contains three parts: the network number, the subnet number, and the machine number. The 32-bit IP Address is often depicted as a dot address (also called dotted quad notation) - that is, four groups of decimal digits separated by periods. For example, the Trio Ethernet daughter board has a default IP of: 192.168.000.250 Each of the decimal digits represents a string of four binary digits. Thus, the above IP address really is this string of 0s and 1s: 11000000.10101000.00000000.11111010 As you can see, we inserted periods between each eight-digit sequence just as we did for the decimal version of the IP address. Obviously, the decimal version of the IP address is easier to read and that's the form most commonly used (192.168.000.250). Part of the IP address represents the network number or address and another part represents the local machine address (also known as the host number or address). IP addresses can be one of several classes, each determining how many bits represent the network number and how many represent the host number. IP addresses are grouped by classes A,B,C, D and E. The Trio ethernet board is set up for a Class C address. Using the above example, here's how the IP address is divided: <-Network address->.<-host address-> 192.168. 000.250 The beginning Network Address portion of 192 begins with the first three bits as 110... and classifies it as a Class C address. This means you can have up to 256 host addresses on this particular network. Page 1 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03

If you wanted to add sub-netting to this address, then some portion (in this example, eight bits) of the host address could be used for a subnet address. Thus: <-Network address->.<-subnet address->.<-host address-> 192.168. 000. 250 To simplify this explanation, we've divided the subnet into a neat eight bits but an organization could choose some other scheme using only part of the third quad or even part of the fourth quad. A subnet (short for "sub-network") is an identifiably separate part of an organization's network. Typically, a subnet may represent all the machines at one geographic location, in one building, or on the same local area network (LAN). Having an organization's network divided into subnets allows it to be connected to the Internet with a single shared network address. Without subnets, an organization could get multiple connections to the Internet, one for each of its physically separate sub-networks, but this would require an unnecessary use of the limited number of network numbers the Internet has to assign. It would also require that Internet routing tables on gateways outside the organization would need to know about and have to manage routing that could and should be handled within an organization. The Subnet Mask Once a packet has arrived at an organization's gateway or connection point with its unique network number, it can be routed within the organization's internal gateways using the subnet number as well. The router knows which bits to look at (and which not to look at) by looking at a subnet mask. A mask is simply a screen of numbers that tells you which numbers to look at underneath. In a binary mask, a "1" over a number says "Look at the number underneath"; a "0" says "Don't look." Using a mask saves the router having to handle the entire 32-bit address; it can simply look at the bits selected by the mask. Using the Trio default IP address, the combined network number and subnet number occupy 24 bits or three of the quads. The default subnet mask carried along with the packet is: 255.255.255.000 Or a string of all 1's for the first three quads (telling the router to look at these) and 0's for the host number (which the router doesn't need to look at). Subnet masking allows routers to move the packets on more quickly. Connecting to the Trio Ethernet Daughter Board The following steps can be followed to establish an ethernet connection from a PC to the MC controller. 1. One-to-One Connection For a PC to the MC controller direct connection, use a null modem data cable. PC Host TxD RxD swap Trio MC Controller The IP address of the Host PC can be set to the match the default value of the Trio ethernet card. Host PC IP: 192.168.000.251 Subnet: 255.255.255.000 Trio IP: 192.168.000.250 Subnet: 255.255.255.000 Page 2 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03

If leaving the Trio s IP address as default, proceed to step 6 to test communications. 2. Connecting the Trio to Network through an ethernet hub/switch When connecting the Trio MC controller to an existing ethernet network on a hub, no swap in the data cable is required since the hub or router will handle the data inversion. PC Host Existing ETHERNET Trio MC Controller Hub/switch To other PCs The IP address of the Trio ethernet board can be set to the match the network address. The Trio s default subnet (255.255.255.000) is generic and allows any host PC to communicate with the controller regardless of a specific sub-network mask. Below is a typical example. Host PC IP: 192.200.185.001 Subnet: 255.255.255.224 Trio IP: 192.200.185.a Subnet: 255.255.255.000 Where: a = Valid IP address for the Trio ethernet board on the given network 3. Select a valid IP address for the Trio For this network example, the 224 in the subnet indicate the network can have up to (6) subnetworks (224 = 11100000). The (5) remaining bits within the 224 mask will allow up to 30 valid host addresses ranging from 1 to 30. Valid IP Addresses (a) for above example: 002 = 11100010 to 030 = 11111110 New Trio IP: 192.200.185.002 Trio Subnet: 255.255.255.000 4. Checking and Setting The Trio s IP Address The IP address of the ethernet daughter board can be verified using the RS232 command line interface >> of the MC controller. The command line can be accessed via Motion Perfect 2 or a terminal emulator such as Windows HyperTerminal or ProComm. The PORT settings are: 9600 baud, 7 data bits, even parity, 2 stop bits. At the command line, use the ETHERNET command and type: >>ETHERNET(0,0,0) When connected correctly the controller will respond with the line: >>192.168.000.250 Page 3 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03

The sequence (192.168.000.250) is the IP address of the controller. 5. To change the IP address to a different Set a new IP address to match the network: At the command line, use the ETHERNET command and type: >>ETHERNET(1,0,0,192,200,185,2) Verify the new IP address: >>ETHERNET(0,0,0) The new IP address value prints out: >>192.200.185.002 NOTE: Cycle power to the Motion Coordinator for the new IP address to take effect 6. Test the Communications The easiest way to test the ethernet link is to ping the Trio MC controller. This can be done using the ping command at a DOS prompt. From the START button in Windows, select Accessories and then Command Prompt utility. At the DOS prompt type the Trio s appropriate IP address: C:\>ping 192.168.0.250 Successful reply from controller Pinging 192.168.0.250 with 32 bytes of data: Ping statistics for 192.168.0.250: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms If the ping command is unsuccessful you will see C:\>ping 192.168.0.250 Pinging 192.168.0.250 with 32 bytes of data: Ping statistics for 192.168.0.250: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Page 4 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03

Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms 7. Telnet/Command-line Prompt If the controller was successfully pinged, then the telnet application can be used to open a remote command-line prompt connection the controller. This tests the TCP socket connection. Type: telnet 192.168.0.250 using the DOS prompt on the PC. This should open a telnet session, and by typing <return> the characteristic Trio command-line prompt ( >> ) should be seen. It should be noted that it is possible to use other port numbers with the controller, hence if port number 1025 has been configured then a telnet session can still be started by typing: telnet 192.168.0.250 1025 If the serial lead is also connected to the controller then the Ethernet connection will grab and release the port 0 communications as the socket connection (telnet session) is opened and closed. 8. Web Server Functionality The Trio ethernet daughter board has simple web page server capability. A canned web page can be viewed over the Internet using a standard browser such as Internet Explorer. To serve the page, open your Internet browser and enter the controller s IP address http://192.168.0.250. The Trio Motion Technology Applications Home Page should appear. The Ethernet daughter board serves the page. Clicking the VR Variable Values and Table Data links on the home page will move you to these respective pages. The first four VR values should be displayed, which can be edited and then updated by clicking the submit button. Press the browser back button (several times if values have been edited) to return to the home page. Additional page functionality will be added at a later date. It should be noted that the Ethernet daughter board does have a limited amount of RAM, and will encounter problems if web pages are served in quick succession. The problem can be eased to some extent if the socket connection is not open while the web pages are being served. Additional information An on-line calculator can be downloaded to help calculate ethernet IP addresses and subnet masks. http://www.wildpackets.com/products/ipsubnetcalculator. Ethernet TrioBASIC Keyword parameters : The format of the ETHERNET command is ETHERNET( read/write, slot number, function [,data]) Where read=0, write=1; Slot number = comms slot holding the ethernet daughterboard; The function number is as given in the table below; Page 5 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03

The optional data is used when changing a parameter value ( the new value will only be used after power has been cycled to the controller. ) 0 IP Address 1 Static(1) or dynamic(0) addressing. (Only static addressing is supported.) 2 Subnet Mask 3 MAC address 4 Default Port Number (initialised to 23) 5 Token Port Number (initialised to 3240) 6 Ethernet daughterboard firmware version number (read only) Table of function numbers When you use the ethernet command via the serial port, you must connect to the controller using MotionPerfect without the 'project connected' i.e. just a terminal window open. The ethernet comms has been 'tuned' for a telnet session using the controller commandline, and this does upset MotionPerfect when in its connected to project mode. Page 6 of 6 TN30_04 - Ethernet IP Definitions.doc 2/17/03