8000 Db 0708

24
Data Bulletin 8000DB0708 10/2009 Raleigh, NC, USA TwidoPort, Ethernet Connectivity for Non-Ethernet Based Twido ® PLCs Retain for future use. © 2009 Schneider Electric All Rights Reserved Overview This bulletin provides instruction for establishing Ethernet connectivity on a non-Ethernet based Twido ® PLC. Ethernet connectivity is established between a PC and a Twido PLC using a TwidoPort module and TwidoPort PC software. Figure 1: Component Configuration Presumption This bulletin is written for individuals familiar with TwidoPort software and network operations. If you are not familiar with the software or network operation, please consult your system administrator before attempting configuration. Phaseo ® Power Supply PC running TwidoSoft Software ConneXium Switch TwidoPort Twido PLC TwidoPort to Twido PLC Cable Ethernet Cable Ethernet Cable -24 Vdc +24 Vdc Module

Transcript of 8000 Db 0708

Data Bulletin

8000DB070810/2009

Raleigh, NC, USA

TwidoPort,Ethernet Connectivity for Non-Ethernet Based Twido® PLCs

Retain for future use.

© 2009 Schneider Electric All Rights Reserved

Overview This bulletin provides instruction for establishing Ethernet connectivity on a non-Ethernet based Twido® PLC. Ethernet connectivity is established between a PC and a Twido PLC using a TwidoPort module and TwidoPort PC software.

Figure 1: Component Configuration

Presumption This bulletin is written for individuals familiar with TwidoPort software and network operations. If you are not familiar with the software or network operation, please consult your system administrator before attempting configuration.

Phaseo® Power Supply

PC running TwidoSoft Software ConneXium Switch

TwidoPort

Twido PLC

TwidoPort toTwido PLC Cable

Ethernet Cable

Ethernet Cable

-24 Vdc +24 Vdc

Module

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Overview 10/2009

© 2009 Schneider Electric All Rights Reserved2

Requirements The following hardware and software is required:

Hardware

• PC capable of running TwidoSoft, version 3.0 or higher. (499TWDxxxx)

• PC-to-Twido programming cable (TSXPCX1031). See Figure 7 on page 13.

• ConneXium Switch (499NES08100) with a Phaseo® Power Supply (ABL*) or a comparable 100Base-T hub/switch.

• TwidoPort (499TWDO1100) includes TwidoPort-to-Twido connection cable.

• Twido PLC (TWDLCAA16DRF) or any Twido PLC CPU.

• Two CAT5 Ethernet cables.

See Figure 1 on page 1 for the component configuration.

Software

• TwidoSoft, version 3.0 or higher.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Overview

© 2009 Schneider Electric All Rights Reserved 3

Table of ContentsOverview ..................................................................................................... 1

Presumption ................................................................................................ 1Requirements .............................................................................................. 2

Safety Information ..................................................................................... 4

Notice .......................................................................................................... 4Qualified Personnel ..................................................................................... 4Before You Begin ........................................................................................ 5Start-up and Test ........................................................................................ 6Operation and Adjustments ........................................................................ 6Product Related Information ....................................................................... 7User Comments .......................................................................................... 7

Configuration ............................................................................................. 8

Configuring Port 1 for Modbus® ................................................................ 10Adding the TwidoPort Module to the Configuration.. ................................ 11Assigning the IP Address .......................................................................... 12Downloading the Application ..................................................................... 13Creating a New Connection ...................................................................... 14Connecting to Twido ................................................................................. 16

Appendix A: Changing a PC’s IP Address ............................................ 17

Setting a Specific IP Address .................................................................... 19

Appendix B: Using the PING Command in Windows XP ..................... 20

PING without IP address ........................................................................... 21PING including IP address ........................................................................ 22

Appendix C: IP Addressing and Subnet Mask ...................................... 23

Ethernet Networks .................................................................................... 23IP Address and Subnet Mask .................................................................... 23

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Safety Information 10/2009

© 2009 Schneider Electric All Rights Reserved4

Safety Information

Notice Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards, or to call attention to information that clarifies or simplifies a procedure.

A lightning bolt or ANSI man symbol in a “Danger” or “Warning” safety label on the equipment indicates an electrical hazard which, as indicated below, can or will result in personal injury if the instructions are not followed.

The exclamation point symbol in a safety message in a bulletin indicates potential personal injury hazards. Obey all safety messages introduced by this symbol to avoid possible injury or death.

Qualified Personnel For the protection of personnel and equipment, a qualified person must perform the procedures detailed in this bulletin.

A qualified person is one who has skills and knowledge related to the construction and operation of this electrical equipment and the installation, and has received safety training to recognize and avoid the hazards involved. Refer to the most current release of NFPA 70E®, “Standard for Electrical Safety in the Workplace®,” for safety training requirements.

Symbol Name

Lightning Bolt

ANSI Man

Exclamation Point

DANGERDANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.

WARNINGWARNING indicates a potentially hazardous situation which, if not avoided, can result in death or serious injury.

CAUTIONCAUTION indicates a potentially hazardous situation which, if not avoided, can result in minor or moderate injury.

CAUTIONCAUTION, used without the safety alert symbol, indicates a potentially hazardous situation which, if not avoided, can result in property damage.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Safety Information

© 2009 Schneider Electric All Rights Reserved 5

In addition, the person must be:

• Able to read, interpret, and follow the instructions and precautions in this data bulletin and the other documentation referenced.

• Able to use the required tools listed in this data bulletin in a safe and correct manner.

Before You Begin Do not use this product on machinery lacking effective point-of-operation guarding. Lack of effective point-of-operation guards on a machine can result in serious injury to the operator of that machine..

This automation equipment and related software is used to control a variety of industrial processes. The type or model of automation equipment suitable for each application will vary depending on factors such as the control function required, degree of protection required, production methods, unusual conditions, and government regulations. In some applications, more than one processor may be required, as when backup redundancy is needed.

Only the user can be aware of all the conditions and factors present during setup, operation, and maintenance of the machine; therefore, only the user can determine the automation equipment and the related safeties and interlocks which can be properly used. When selecting automation and control equipment and related software for a particular application, the user should refer to the applicable local and national standards and regulations. The National Safety Council’s Accident Prevention Manual (nationally recognized in the United States of America) also provides much useful information.

In some applications, such as packaging machinery, additional operator protection such as point-of-operation guarding must be provided. This is necessary if the operator’s hands and other parts of the body are free to enter the pinch points or other hazardous areas and serious injury can occur. Software products alone cannot protect an operator from injury. For this reason, the software cannot be substituted for or take the place of point-of-operation protection.

Ensure that the appropriate safeties and mechanical/electrical interlocks related to point-of-operation protection have been installed and are operational before placing the equipment into service. All interlocks and safeties related to point-of-operation protection must be coordinated with the related automation equipment and software programming.

NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation protection is outside the scope of the Function Block Library, System User Guide, or other implementation referenced in this documentation.

WARNINGUNGUARDED MACHINERY CAN CAUSE SERIOUS INJURY

• Do not use this software and related automation equipment on equipment which does not have point-of-operation protection.

• Do not reach into machinery during operation.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Safety Information 10/2009

© 2009 Schneider Electric All Rights Reserved6

Start-up and Test Before using electrical control and automation equipment for regular operation after installation, the system should be given a start-up test by qualified personnel to verify correct operation of the equipment. It is important that arrangements for such a check be made and that enough time is allowed to perform complete and satisfactory testing.

Follow all start-up tests recommended in the equipment documentation. Store all equipment documentation for future references.

Software testing must be done in both simulated and real environments.

Verify that the completed system is free from all short circuits and grounds, except those grounds installed according to local regulations (according to the National Electrical Code® in the USA, for instance). If high-potential voltage testing is necessary, follow recommendations in the equipment documentation to prevent accidental equipment damage.

Before energizing equipment:

• Remove tools, meters, and debris from equipment.

• Close the equipment enclosure door.

• Remove ground from incoming power lines.

• Perform all start-up tests recommended by the manufacturer.

Operation and Adjustments The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English version prevails):

• “Regardless of the care exercised in the design and manufacture of equipment or in the selection and rating of components, there are hazards that can be encountered if such equipment is improperly operated.”

• “It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe operation. Always use the manufacturer’s instructions as a guide for functional adjustments. Personnel who have access to these adjustments should be familiar with the equipment manufacturer’s instructions and the machinery used with the electrical equipment.”

• “Only those operational adjustments actually required by the operator should be accessible to the operator. Access to other controls should be restricted to prevent unauthorized changes in operating characteristics.”

CAUTIONEQUIPMENT OPERATION HAZARD

• Verify that all installation and set up procedures have been completed.

• Before operational tests are performed, remove all blocks or other temporary holding means used for shipment from all component devices.

• Remove tools, meters, and debris from equipment.

Failure to follow these instructions can result in injury, or equipment damage.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Safety Information

© 2009 Schneider Electric All Rights Reserved 7

Product Related Information

1. For additional information refer to NEMA ICS 1.1 (latest edition), “Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control” and to NEMA ICS 7.1 (latest edition), “Safety Standards for Construction and Guide for Selection, Installation and Operation of Adjustable-Speed Drive Systems.”

User Comments We welcome your comments about this bulletin. You can reach us by e-mail at [email protected].

DANGERHAZARD OF ELECTRIC SHOCK, EXPLOSION, OR ARC FLASH

• Apply appropriate personal protective equipment (PPE) and follow safe electrical work practices. See NFPA 70E.

• This equipment must be installed and serviced only by qualified electrical personnel.

• Turn off all power supplying this equipment before working on or inside equipment. Disconnect the power at the processor and at the power source.

• Always use a properly rated voltage sensing device to confirm power is off.

• Replace all devices, doors and covers before turning on power to this equipment.

• Confirm that a proper ground connection exists before applying power to the unit.

• Use only the specified voltage when operating this equipment and any associated products.

Failure to follow these instructions will result in death or serious injury.

WARNINGLOSS OF CONTROL

• The designer of any control scheme must consider the potential failure modes of control paths and, for certain critical control functions, provide a means to achieve a safe state during and after a path failure.Examples of critical control functions are emergency stop and overtravel stop.

• Separate or redundant control paths must be provided for critical control functions.

• System control paths may include communication links. Consideration must be given to the implications of unanticipated transmission delays or failures of the link. 1

• Each implementation of an Altivar 31C drive must be individually and thoroughly tested for proper operation before being placed into service.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Configuration 10/2009

© 2009 Schneider Electric All Rights Reserved8

Configuration When creating a new TwidoSoft application, there are three ways to assign an IP address to the Twido port:

Calculating the IP address from MAC address parameters of the Twido port (see “Appendix A: Changing a PC’s IP Address” on page 17),

BootP (Bootstrap Protocol) server. When power is applied, the workstation sends a BootP request to the network, the BootP server responds with the client’s address and the appropriate boot file. The BootP request is generally used to learn the TwidoPort IP address, the IP address and host name of the server, and the name of the boot file that will be loaded into memory and executed at boot-up.

The IP address of the Ethernet Twido port is set by selecting the required option within the TwidoPort configuration.

The Twido CPU assigning the IP address to the Twido port. See “Assigning the IP Address”

This section covers how to create a new application using the configuration tool within TwidoSoft, and will assign the IP address using the Twido CPU.

To configure the Twido port:

1. Open a new TwidoSoft application. From the menu bar, click on the File dropdown menu, then click New.

2. The application browser and the Ladder Viewer display, and the Functional Level Management dialog box appears. Click OK. See Figure 2.

Figure 2: Functional Level Management Dialog Box

3. Select the correct Twido PLC base. From the menu bar, click on the Hardware dropdown menu, then click Change PLC base.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Configuration

© 2009 Schneider Electric All Rights Reserved 9

4. The Change Base Controller dialog box appears. Select the Twido PLC by part number, then click Change. See Figure 3.

Figure 3: Change Base Controller Dialog Box

5. A dialog box may overlay the screen which states, “The Controller you have selected does not support all the current hardware configuration settings. Do you want to change the Controller anyway?”, click Yes.

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Configuration 10/2009

© 2009 Schneider Electric All Rights Reserved10

Configuring Port 1 for Modbus® Before a TwidoPort can be added to the network, port 1 must be configured for Modbus.

To configure port 1:

1. From the menu bar, click on the Hardware dropdown menu, then click Configure PLC communications.

2. The Controller Communications Setup dialog box appears. Under the protocol parameter labeled Type, select Modbus, then click OK to accept the protocol type and the remaining default values. See Figure 4.

Figure 4: Controller Communications Setup Dialog Box

NOTE:

— The default address of the Modbus port is “1” and the Modbus parameters defaults are 19.2k baud, 8 bit RTU data bits, No parity, and 1 stop bit.

— The default values for the Response Timeout and Inter-frame delay are acceptable and should be adjusted only if there are communications timeout problems after application is developed.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Configuration

© 2009 Schneider Electric All Rights Reserved 11

Adding the TwidoPort Module to the Configuration.

To add the TwidoPort module to the configuration:

1. From the menu bar, click on the Hardware dropdown menu, then click Add Option.

2. The Add Option dialog box appears, select the icon that represents the Ethernet interface hardware option. Click Add, then click Done. See Figure 5. The TwidoPort icon should appear in the Application Browser under Hardware. See Figure 6 on page 12.

Figure 5: Add Option Window

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Configuration 10/2009

© 2009 Schneider Electric All Rights Reserved12

Assigning the IP Address 1. From the menu bar, click on the Hardware dropdown menu, then click TwidoPort.

NOTE: If you are not familiar with assigning IP addresses, please see “Appendix C: IP Addressing and Subnet Mask” on page 23.

2. The TwidoPort Configuration dialog box appears, enter the IP Addresses, Subnet Mask, and Gateway Address in decimal format, then click OK. Double click the TwidoPort icon in the application browser. See Figure 6.

NOTE: This will be the IP address of the Twido port on the Ethernet network.

Figure 6: TwidoPort Configuration

3. Save the configuration.

TwidoPortIcon

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Configuration

© 2009 Schneider Electric All Rights Reserved 13

Downloading the Application To download the configuration to the Twido PLC:

1. Connect the programming cable from the serial port of the PC to the Twido PLC. See Figure 7.

Figure 7: PC-to-Twido PLC Connection

2. From the menu bar, click on the PLC dropdown menu, then click Connect.

3. The Connect dialog box appears, click on PCController. This will download the application configuration to the Twido PLC.

NOTE: If the Twido PLC is in RUN mode, a dialog box will appear requesting to stop the controller, click OK. A second dialog box will appear to confirm your selection, click OK.

4. From the menu bar, click on the PLC dropdown menu, then click Run (RUN). This will start the Twido PLC.

5. With the PLC in RUN mode, log off to off-line mode. From the menu bar, click on the PLC dropdown menu, then click Disconnect.

6. Remove the programming cable from the PC and from the Twido PLC.

7. Connect the TwidoPort to Twido cable from the TwidoPort to the Twido PLC. Connect the Ethernet cables from the PC to the ConneXium switch and from the switch to the TwidoPort. See Figure 1 on page 1.

PC Running TwidoSoft Software Twido PLC

Programming Cable

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Configuration 10/2009

© 2009 Schneider Electric All Rights Reserved14

Creating a New Connection To create a new Ethernet connection between a PC and a Twido PLC:

1. Open the TwidoSoft software.

2. From the menu bar, click on the File dropdown menu, then click Preferences.

NOTE: Make sure that the ConneXium switch is turned on.

3. The Preferences dialog box appears, click Connections management.

Figure 8: Preferences Dialog Box

4. The Connections management dialog box appears, click Add.

Figure 9: Connections Management Dialog Box

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Configuration

© 2009 Schneider Electric All Rights Reserved 15

5. Enter the information into the fields of the dialog box. See Table 1.

6. Click OK.

7. The Preferences dialog box appears. From the Connection dropdown menu, select the name that was assigned in Step 5, then click OK.

Figure 10: Connection Selection

Table 1: Connections Management Dialog Box Fields

Field Description

Name Enter the name to be associated with the TwidoPort.

Connection Type Select TCP/IP from the dropdown menu.

IP/Phone Enter the IP address of the TwidoPort. This should be the same IP address from Step 2 on page 12.

P-Unit/Address Select @ from the dropdown menu. 1

1 The @ parameter permits the selection of the specific modbus address of the Twido’s native modbus port, configured in Step 2 on page 10.

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Configuration 10/2009

© 2009 Schneider Electric All Rights Reserved16

Connecting to Twido Once the connection is created, it is possible to connect to Twido from a PC over Ethernet.

The Select a connection default is set to the name assigned in Step 5 on page 15. The default was set in Step 7 on page 15.

To connect to the Twido:

1. From the menu bar, click on the PLC dropdown menu, then click Connect. See Figure 11, callout A.

2. If @ was used for the P-Unit/Address in Step 5 on page 15, the Controller address dialog box appears. Enter 1, then click OK.See Figure 11, callout B.

Figure 11: Controller Address Dialog Box

NOTE:

— If connection is not made, there may be issues with the IP address setting on your PC.

— To set the IP address on your PC, see “Appendix A: Changing a PC’s IP Address” on page 17.

— For information regarding troubleshooting using the PING command, see “Appendix B: Using the PING Command in Windows XP” on page 20.

A

B

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Appendix A: Changing a PC’s IP Address

© 2009 Schneider Electric All Rights Reserved 17

Appendix A: Changing a PC’s IP Address

This section contains step-by-step instructions describing how to change a PC’s IP address.

Typically, IP addresses are assigned to PCs by a DHCP (Dynamic Host Configuration Protocol) server on the Ethernet network. However, the IP address can also be manually configured.

If the PC is set up to receive an IP address from a DHCP server, it is not recommended that the IP address be changed while connected to this network. However, if you are setting up a private Ethernet network between a PC and automation equipment, then you are assuming the responsibilities of a network administrator and can assign IP addresses and subnet mask to nodes on this network.

To change a PC’s IP address

1. On the task bar, right click the network icon that resembles two computers. See Figure 12.

Figure 12: Network Icon

2. From the drop down menu, select Open Network Connections. The Network Connections window appears. See Figure 13.

Figure 13: Network Connections Window

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Appendix A: Changing a PC’s IP Address 10/2009

© 2009 Schneider Electric All Rights Reserved18

3. In the Network Connections window, right click Local Area Connection and select Properties (see Figure 13 on page 17). The Local Area Connection Properties dialog box appears. See Figure 14.

Figure 14: Local Area Connection Properties Dialog Box

4. On the General tab of the Local Area Connection Properties dialog box:

a. If there are multiple Ethernet connectivity options, ensure that the appropriate Ethernet card is selected in the Connect using field. See Figure 14, callout A.

b. In the This connection uses the following items field, select Internet Protocol (TCP/IP). See Figure 14, callout B. The Internet Protocol (TCP/IP) Properties dialog box appears with Obtain an IP address automatically set as the default. See Figure 15.

Figure 15: Internet Protocol (TCP/IP) Properties Dialog Box

A

B

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Appendix A: Changing a PC’s IP Address

© 2009 Schneider Electric All Rights Reserved 19

Setting a Specific IP Address 5. To set a specific IP Address, select Use the following IP address radial button (see Figure 16, callout A) on the General tab of the Internet Protocol (TCP/IP) Properties dialog box. See Figure 15 on page 18.

NOTE: To avoid the possibility of assigning a duplicate IP address on the network, contact your IT Administrator. If you are setting up a private network, ensure that you select a unique IP address for your PC.

Figure 16: IP Address and Subnet Mask

6. Enter the digits representing the IP address in the IP address field. See Figure 16, Callout B.

7. Enter the digits representing the subnet mask in the Subnet mask field. See Figure 16, Callout C.

For information regarding IP addressing and subnet masks, see “Appendix C: IP Addressing and Subnet Mask” on page 23.

NOTE: Typically, in a private network, the default gateway is not needed. However, the default gateway address could be entered, if necessary.

8. Select OK. The Local Area Connection Properties dialog box appears.

9. Select Close.

10. To verify the IP Address that was assigned in Step 6, use the PING command. For information regarding the PING command, see “Appendix B: Using the PING Command in Windows XP” on page 20.

B

CA

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Appendix B: Using the PING Command in Windows XP 10/2009

© 2009 Schneider Electric All Rights Reserved20

Appendix B: Using the PING Command in Windows XP

The PING command is a very useful troubleshooting tool that can be used to determine if nodes on an Ethernet network can see each other. If the PING command does not receive an echo or reply, then either the node is offline, there may be an issue associated with the IP address and/or subnet mask, or there may be an issue with the hardware.

The PING command can be invoked through the Command Prompt also known as the DOS prompt. See Figure 17.

Figure 17: Locating the Command Prompt

Refer to Figure 17, callouts 1 through 4 as necessary while following the steps to invoke the PING command through the Command Prompt.

1. Click start.

2. Select All Programs.

3. Select the Accessories folder.

4. Double click on the Command Prompt icon.

The Command Prompt dialog box appears. See Figure 18 on page 21.

1

2

3

4

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Appendix B: Using the PING Command in Windows XP

© 2009 Schneider Electric All Rights Reserved 21

In Windows XP, the PING command is located in the windows system32 subdirectory. Use the Change Directory (cd) DOS command to set the path.

5. In the command line of the Command Prompt dialog box, type: cd windows\systems32, then press Enter.See Figure 18.

The path is now set and the command line prompt should appear as follows: C:\WINDOWS\System32>.

Figure 18: Command Prompt Dialog Box

PING without IP address 6. After the command line prompt, type ping, then press Enter. The PING command parameters display.

Figure 19 lists the available PING command parameters. It is not necessary to use these parameters when verifying an existing or connected IP address; entering the PING command followed by the IP address is sufficient.

Figure 19: PING Command Parameters

Command LinePrompt

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Appendix B: Using the PING Command in Windows XP 10/2009

© 2009 Schneider Electric All Rights Reserved22

PING including IP address Use the PING command including the IP address of the PC to confirm the existence/connectivity of the IP address. See “Appendix A: Changing a PC’s IP Address” on page 17.

1. In the command line prompt, type ping and the IP address, then press Enter.

Figure 20 shows the typical response to the PING command when the IP address is connected to the network. For the purpose of this example, IP address 84.16.55.2 is used.

Figure 20: PING Used for Confirmation

In this example, PINGing the IP address 84.16.55.2 results in the PING statistics being displayed. These statistics show that 4 packets were sent, 4 packets received with 0 packets lost. This an indication that this IP address is connected and communicating properly.

If the IP address is not connected or is non-existent on the network, the PING statistics would show that 4 packets were sent, 0 packets received with 4 packets lost. If the IP Address/node is NOT connected or NOT communicating properly.

Check and confirm the IP Address and Subnet mask of device.

Check all cables and LEDs for connectivity and activity.

8000DB0708 TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs10/2009 Appendix C: IP Addressing and Subnet Mask

© 2009 Schneider Electric All Rights Reserved 23

Appendix C: IP Addressing and Subnet Mask

Ethernet Networks For the purpose of this instruction bulletin, it is assumed that the PC and TwidoPort/Twido will be on a private Ethernet network in which the programmer is also functioning as the network administer. In this situation, the network administrator has the responsibility of assigning unique IP addresses to the PC, TwidoPort, Twido PLC, and any other Ethernet devices.

If the equipment is going to be added to an existing Ethernet network, and you are not the network administrator, then the IP address and subnet mask for the TwidoPort and Twido should be obtained from the network administrator.

IP Address and Subnet Mask The IP address and subnet mask both contain four sets of numbers separated by dots referred to as a doted-decimal notation. The IP address and the subnet mask are used together to determine the size and number of possible nodes/stations (IP addresses) that can be on a specific Ethernet network. See Table 2 for the class-based subnet mask descriptions. For example, class C has 256 possible nodes and class B has 65536 nodes.

The subnet mask determines the number of nodes or hosts that can exist on a network. The number 255 in the doted-decimal notation is the decimal equivalent to a binary value of 11111111; all the bits are masked in the corresponding IP address.

In a very simplified system, when the first three bytes of the subnet mask are 255, the first three bytes within the IP address of the nodes must match. The fourth byte of the IP address must be unique to each node of the network.

In Figure 21, the PCs on the left can communicate because the first three bytes in the IP address match. Whereas, the PCs on the right can not communicate with each other because the third byte does not match which designates that the IP addresses are configured for different networks.

The PING command can be used to test whether a particular PC is reachable across the IP network. See “PING including IP address” on page 22. In the case of the incorrectly configured PC in Figure 21, change the third byte in the IP address to match.

Figure 21: First Three Bytes Configured the Same

Table 2: Class-Based Subnet Masks

ClassSubnet Mask(Slash Prefix)

Subnet Mask(Dotted Decimal)

Usage

/8 255.0.0.0 Very large networks, always subnetted

B /16 255.255.0.0 Large networks, typically subnetted

C /24 255.255.255.0 Small networks, the most common class

D /32 255.255.255.255 Multicasting group addresses (no hosts)

E Undefined Undefined Reserved for experimental Purposes

IP Addr 84. 192. 100. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 255. 0IP Addr 84. 192. 100. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 255. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 255. 0

TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs 8000DB0708Appendix C: IP Addressing and Subnet Mask 10/2009

Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material.

Schneider Electric8001 Knightdale BlvdKnightdale, NC 27545 USA([email protected])www.schneider-electric.us

© 2009 Schneider Electric All Rights Reserved24

Phaseo® and Twido® are registered trademarks of Schneider Electric. Other trademarks used herein are the property of their respective owners.

In Figure 22, the subnet mask is set up so that only the first two bytes are 255 which indicates that only the first two bytes of the IP address need to match. The third byte of the IP address must be unique to each node of the network. In this case both examples have a valid IP address.

Figure 22: First Two Bytes Configured the Same

Another way to think of this is to imagine that the IP address and subnet mask are street addresses and zip codes. The IP address is the street address and the subnet mask is the zip code. The rules are:

• Everyone needs to have a unique IP address (street address).

• Mail can be sent only to zip codes that match. (subnet mask).

• The IP address must also match where the zip code portion is equal to 255.

Based on the previous rules, in Figure 23 the IP/Subnet computers in the blue circle can only send mail to computers in the blue area. Computers in the green area can send mail to all computers in all the circles, but the computers in the blue or orange circles can NOT send mail to the computers in the green area.

Figure 23: IP Address and Subnet Mask Compatibilities

IP Addr 84. 192. 100. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 0. 0IP Addr 84. 192. 100. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 0. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 0. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 0. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 101. 0 to 255

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 234. 136

Subnet 255. 255. 0. 0

IP Addr 84. 192. 101. 1

Subnet 255. 255. 0. 0

IP Addr 84. 192. 0 to 255. 0 to 255

Subnet 255. 255. 0. 0

IP Addr 84. 192. 100. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 255. 0IP Addr 84. 192. 100. 1

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 55

Subnet 255. 255. 255. 0

IP Addr 84. 192. 100. 0 to 255

Subnet 255. 255. 255. 0