TwidoPort - Schneider Electric

TwidoPort - Schneider Electric
8000DB0708
10/2009
Raleigh, NC, USA
Data Bulletin
TwidoPort,
Ethernet Connectivity for Non-Ethernet Based Twido® PLCs
Retain for future use.
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
TwidoPort to
Twido PLC Cable
Phaseo® Power Supply
-24 Vdc
+24 Vdc
TwidoPort
Module
Ethernet Cable
Ethernet Cable
PC running TwidoSoft Software
Presumption
© 2009 Schneider Electric All Rights Reserved
Twido PLC
ConneXium Switch
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.
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Overview
Requirements
8000DB0708
10/2009
The following hardware and software is required:
Hardware
•
•
PC capable of running TwidoSoft, version 3.0 or higher. (499TWDxxxx)
•
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.
PC-to-Twido programming cable (TSXPCX1031). See Figure 7 on
page 13.
Two CAT5 Ethernet cables.
See Figure 1 on page 1 for the component configuration.
Software
•
2
TwidoSoft, version 3.0 or higher.
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Overview
Table of Contents
Overview ..................................................................................................... 1
Presumption ................................................................................................ 1
Requirements .............................................................................................. 2
Safety Information ..................................................................................... 4
Notice .......................................................................................................... 4
Qualified Personnel ..................................................................................... 4
Before You Begin ........................................................................................ 5
Start-up and Test ........................................................................................ 6
Operation and Adjustments ........................................................................ 6
Product Related Information ....................................................................... 7
User Comments .......................................................................................... 7
Configuration ............................................................................................. 8
Configuring Port 1 for Modbus® ................................................................ 10
Adding the TwidoPort Module to the Configuration.. ................................ 11
Assigning the IP Address .......................................................................... 12
Downloading the Application ..................................................................... 13
Creating a New Connection ...................................................................... 14
Connecting 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 ........................................................................... 21
PING including IP address ........................................................................ 22
Appendix C: IP Addressing and Subnet Mask ...................................... 23
Ethernet Networks .................................................................................... 23
IP Address and Subnet Mask .................................................................... 23
© 2009 Schneider Electric All Rights Reserved
3
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Safety Information
8000DB0708
10/2009
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.
Symbol
Name
Lightning Bolt
ANSI Man
Exclamation Point
DANGER
DANGER indicates an imminently hazardous situation which, if not
avoided, will result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not
avoided, can result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not
avoided, can result in minor or moderate injury.
CAUTION
CAUTION, used without the safety alert symbol, indicates a potentially
hazardous situation which, if not avoided, can result in property damage.
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.
4
© 2009 Schneider Electric All Rights Reserved
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Safety Information
8000DB0708
10/2009
In addition, the person must be:
Before You Begin
•
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.
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.
.
WARNING
UNGUARDED 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.
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.
© 2009 Schneider Electric All Rights Reserved
5
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Safety Information
Start-up and Test
8000DB0708
10/2009
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.
CAUTION
EQUIPMENT 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.
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:
•
•
•
•
Operation and Adjustments
6
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.
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.”
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Safety Information
Product Related Information
DANGER
HAZARD 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.
WARNING
LOSS 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.
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
© 2009 Schneider Electric All Rights Reserved
We welcome your comments about this bulletin. You can reach us by e-mail
at oem.solutions@us.schneider-electric.com.
7
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
Configuration
8000DB0708
10/2009
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.
8
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
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.
© 2009 Schneider Electric All Rights Reserved
9
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
Configuring Port 1 for Modbus®
8000DB0708
10/2009
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.
10
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
Adding the TwidoPort Module to
the Configuration.
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
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:
© 2009 Schneider Electric All Rights Reserved
Add Option Window
11
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
Assigning the IP Address
8000DB0708
10/2009
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
TwidoPort
Icon
3. Save the configuration.
12
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
Downloading the Application
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
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
Programming Cable
PC Running TwidoSoft Software
Twido PLC
2. From the menu bar, click on the PLC dropdown menu, then click
Connect.
3. The Connect dialog box appears, click on PCController. 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.
© 2009 Schneider Electric All Rights Reserved
13
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
Creating a New Connection
8000DB0708
10/2009
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:
14
Connections Management Dialog Box
© 2009 Schneider Electric All Rights Reserved
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
8000DB0708
10/2009
5. Enter the information into the fields of the dialog box. See Table 1.
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.
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:
© 2009 Schneider Electric All Rights Reserved
Connection Selection
15
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Configuration
Connecting to Twido
8000DB0708
10/2009
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
A
B
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.
16
© 2009 Schneider Electric All Rights Reserved
8000DB0708
10/2009
Appendix A: Changing a
PC’s IP Address
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
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:
© 2009 Schneider Electric All Rights Reserved
Network Connections Window
17
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix A: Changing a PC’s IP Address
8000DB0708
10/2009
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
A
B
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:
18
Internet Protocol (TCP/IP) Properties Dialog Box
© 2009 Schneider Electric All Rights Reserved
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix A: Changing a PC’s IP Address
8000DB0708
10/2009
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
B
A
C
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.
© 2009 Schneider Electric All Rights Reserved
19
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix B: Using the PING Command in Windows XP
Appendix B: Using the PING
Command in Windows XP
8000DB0708
10/2009
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
3
4
2
1
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.
20
© 2009 Schneider Electric All Rights Reserved
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix B: Using the PING Command in Windows XP
8000DB0708
10/2009
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
Command Line
Prompt
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:
© 2009 Schneider Electric All Rights Reserved
PING Command Parameters
21
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix B: Using the PING Command in Windows XP
PING including IP address
8000DB0708
10/2009
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.
22
© 2009 Schneider Electric All Rights Reserved
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix C: IP Addressing and Subnet Mask
8000DB0708
10/2009
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.
Table 2:
Class
Class-Based Subnet Masks
Subnet Mask Subnet Mask
Usage
(Slash Prefix) (Dotted Decimal)
/8
255.0.0.0
B
/16
255.255.0.0
Very large networks, always subnetted
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
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:
IP Addr
Subnet
84. 192. 100. 1
IP Addr
255. 255. 255. 0
Subnet
© 2009 Schneider Electric All Rights Reserved
First Three Bytes Configured the Same
84. 192. 100. 55
255. 255. 255. 0
IP Addr
84. 192. 101. 1
IP Addr
Subnet
255. 255. 255. 0
Subnet
84. 192. 100. 55
255. 255. 255. 0
23
TwidoPort, Ethernet Connectivity for NonEthernet Based Twido® PLCs
Appendix C: IP Addressing and Subnet Mask
8000DB0708
10/2009
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:
84. 192. 100. 1
IP Addr
255. 255. 0. 0
Subnet
IP Addr
Subnet
First Two Bytes Configured the Same
IP Addr
84. 192. 100. 55
Subnet
255. 255. 0. 0
84. 192. 101. 1
255. 255.
0. 0
IP Addr
Subnet
84. 192. 100. 55
255. 255. 0. 0
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 Addr
Subnet
IP Addr
Subnet
IP Address and Subnet Mask Compatibilities
.
84. 192 0 to 255. 0 to 255
255. 255. 0. 0
IP Addr
84. 192. 100. 0 to 255
Subnet
255. 255. 255. 0
84. 192. 100. 1
IP Addr
255. 255. 0. 0
Subnet
IP Addr
IP Addr
84. 192. 100. 1
IP Addr
Subnet
255. 255. 255. 0
Subnet
Schneider Electric
8001 Knightdale Blvd
Knightdale, NC 27545 USA
(oem.solutions@us.schneider-electric.com)
www.schneider-electric.us
24
84. 192. 100. 55
Subnet
84. 192. 234. 136
255. 255. 0. 0
84. 192. 101. 0 to 255
255. 255. 255. 0
IP Addr
Subnet
84. 192. 101. 1
255. 255.
0. 0
255. 255. 255. 0
IP Addr
84. 192. 101. 1
Subnet
255. 255. 255. 0
Phaseo® and Twido® are registered trademarks of Schneider Electric. Other trademarks used
herein are the property of their respective owners.
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.
© 2009 Schneider Electric All Rights Reserved
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising