Professional Documents
Culture Documents
SM-Ethernet
Solutions Module for: Unidrive SP Commander SK Digitax ST Mentor MP Affinity
www.controltechniques.com
General Information The manufacturer accepts no liability for any consequences resulting from inappropriate, negligent or incorrect installation or adjustment of the optional parameters of the equipment or from mismatching the variable speed drive with the motor. The contents of this guide are believed to be correct at the time of printing. In the interests of commitment to a policy of continuous development and improvement, the manufacturer reserves the right to change the specification of the product or its performance, or the content of the guide without notice. All rights reserved. No parts of this guide may be reproduced or transmitted in any form or by any means, electrical or mechanical including, photocopying, recording or by an information storage or retrieval system, without permission in writing from the publisher. Environmental Statement Control Techniques is committed to minimising the environmental impacts of its manufacturing operations and of its products throughout their life cycle. To this end, we operate an Environmental Management System (EMS) which is certified to the International Standard ISO 14001. Further information on the EMS, our Environment Policy and other relevant information is available on request, or can be found at www.greendrives.com. The electronic variable speed drives manufactured by Control Techniques have the potential to save energy and (through increased machine/process efficiency) reduce raw material consumption and scrap throughout their long working lifetime. In typical applications, these positive environmental effects far outweigh the negative impacts of product manufacture and end-of-life disposal. Nevertheless, when the products eventually reach the end of their useful life, they must not be discarded but should instead be recycled by a specialist recycler of electronic equipment. Recyclers will find the products easy to dismantle into their major component parts for efficient recycling. Many parts snap together and can be separated without the use of tools, while other parts are secured with conventional fasteners. Virtually all parts of the product are suitable for recycling. Product packaging is of good quality and can be re-used. Large products are packed in wooden crates, while smaller products come in strong cardboard cartons which themselves have a high-recycled fibre content. If not re-used, these containers can be recycled. Polythene, used on the protective film and bags from wrapping product, can be recycled in the same way. Control Techniques' packaging strategy prefers easily recyclable materials of low environmental impact, and regular reviews identify opportunities for improvement. When preparing to recycle or dispose of any product or packaging, please observe local legislation and best practice. Software Statement This Solutions Module (SM) is supplied with the latest software version. When retro-fitting to an existing system, all software versions should be verified to confirm the same functionality as Solutions Modules of the same type already present. This also applies to products returned from a Control Techniques Service Centre or Repair Centre. If there is any doubt please contact the supplier of the product. The software version of the Solutions Module can be identified by looking at Pr MM.02 and Pr MM.51, where MM is the relevant menu number for the Solutions Module slot being used. See Pr MM.02 and Pr MM.51 description later in this manual for more information. The software version takes the form of xx.yy.zz, where Pr MM.02 displays xx.yy and Pr MM.51 displays zz (e.g. for software version 01.01.00 Pr MM.02 will display 1.01 and Pr MM.51 will display 0). REACH legislation
EC Regulation 1907/2006 on the Registration, Evaluation, Authorisation and restriction of Chemicals (REACH) requires the supplier of an article to inform the recipient if it contains more than a specified proportion of any substance which is considered by the European Chemicals Agency (ECHA) to be a Substance of Very High Concern (SVHC) and is therefore listed by them as a candidate for compulsory authorisation. For current information on how this requirement applies in relation to specific Control Techniques products, please approach your usual contact in the first instance. Control Techniques position statement can be viewed at: http://www.controltechniques.com/REACH Copyright Issue : March 2009 Control Techniques Ltd. :6
Contents
1
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8
2
2.1 2.2 2.3 2.4
Introduction .............................................................................. 8
Features ......................................................................................................... 8 Solutions Module identification ....................................................................... 9 Product conformance ..................................................................................... 9 Conventions used in this guide ..................................................................... 10
3
3.1
4
4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9
5
5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 5.12 5.13 5.14 5.15 5.16 5.17 5.18 5.19
www.controltechniques.com
6
6.1 6.2 6.3 6.4 6.5 6.6 6.7
Protocols ................................................................................. 28
PC/PLC considerations ................................................................................ 28 Modbus TCP/IP ............................................................................................ 28 Web pages (HTTP) ....................................................................................... 29 FTP ............................................................................................................... 29 SMTP (email) ................................................................................................ 29 SNTP (clock synchronisation) ...................................................................... 29 EtherNet/IP ................................................................................................... 30
7
7.1 7.2
8
8.1 8.2 8.3 8.4 8.5 8.6
9
9.1 9.2 9.3 9.4 9.5 9.6
Applications ............................................................................ 77
Minimum software versions required for Ethernet ........................................ 77 CTSoft .......................................................................................................... 77 CTScope ....................................................................................................... 80 SyPTPro ....................................................................................................... 80 SyPTLite ....................................................................................................... 84 OPC server ................................................................................................... 84
10
10.1 10.2 10.3 10.4 10.5 10.6
Security ................................................................................... 85
Introduction ................................................................................................... 85 General site security issues .......................................................................... 85 Default restrictions ........................................................................................ 85 Account management ................................................................................... 86 Adding new accounts ................................................................................... 86 Security levels .............................................................................................. 87
11
11.1 11.2 11.3 11.4 11.5
Diagnostics ............................................................................. 88
LED diagnostics ............................................................................................ 88 Diagnostic flow chart .................................................................................... 89 Module identification parameters .................................................................. 90 Network configuration parameters ................................................................ 91 Diagnostic parameters .................................................................................. 97
12
12.1 12.2 12.3 12.4 12.5 12.6 12.7
13
13.1
14
Index ............................................................................125
www.controltechniques.com
1
1.1
Safety information
Warnings, cautions and notes
A Warning contains information, which is essential for avoiding a safety hazard.
WARNING
Electrical installation
A Caution contains information, which is necessary for avoiding a risk of damage to the product or other equipment.
CAUTION
Getting started
NOTE
A Note contains information, which helps to ensure correct operation of the product.
1.2
1.3
www.controltechniques.com
Careful consideration must be given to the functions of the drive which might result in a hazard, either through their intended behavior or through incorrect operation due to a fault. In any application where a malfunction of the drive or its control system could lead to or allow damage, loss or injury, a risk analysis must be carried out, and where necessary, further measures taken to reduce the risk - for example, an over-speed protection device in case of failure of the speed control, or a fail-safe mechanical brake in case of loss of motor braking.
1.4
Environmental limits
Instructions regarding transport, storage, installation and use of the drive must be complied with, including the specified environmental limits. Drives must not be subjected to excessive physical force. For more information on these limits see the relevant drive user guide.
1.5
1.6
Motor
Ensure the motor is installed in accordance with the manufacturers recommendations. Ensure the motor shaft is not exposed. Standard squirrel cage induction motors are designed for single speed operation. If it is intended to use the capability of the drive to run a motor at speeds above its designed maximum, it is strongly recommended that the manufacturer is consulted first. Low speeds may cause the motor to overheat because the cooling fan becomes less effective. The motor should be installed with a protection thermistor. If necessary, an electric forced vent fan should be used. The values of the motor parameters set in the drive affect the protection of the motor. The default values in the drive should not be relied upon. It is essential that the correct value is entered in the motor rated current parameter, Pr 0.46 for Unidrive SP, Affinity and Digitax ST, Pr 0.06 in Commander SK and Pr 0.28 in Mentor MP. This affects the thermal protection of the motor.
1.7
Adjusting parameters
Some parameters have a profound effect on the operation of the drive. They must not be altered without careful consideration of the impact on the controlled system. Measures must be taken to prevent unwanted changes due to error or tampering especially if a remote user can access the drive over Ethernet.
www.controltechniques.com
1.8
Safety Mechanical Introduction information installation Electrical installation Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
2
2.1
Introduction
Features
The SM-Ethernet is a Solutions Module that can be used on the following products to provide Ethernet slave connectivity: Unidrive SP Commander SK Affinity Digitax ST Mentor MP With the exception of Commander SK, it is possible to use more than one SM-Ethernet module or a combination of SM-Ethernet and other Solutions Modules to add additional functionality such as extended I/O, gateway functionality, or additional PLC features. The following list gives an overview of the functionality available within SM-Ethernet. Single RJ45 connectivity with support for shielded twisted pair. 10/100Mbs Ethernet with auto-negotiation. Full and half duplex operation with auto-negotiation. Auto crossover detection. TCP/IP. Modbus TCP/IP. EtherNet/IP. Embedded web pages for configuration. Event driven E-mail generation. SyPTPro over Ethernet. OPC server over Ethernet. CTSoft over Ethernet. Static IP configuration or DHCP client. SMTP. SNTP. Firmware updates over Ethernet using web pages. User defined web pages. Integrated security. 4kV impulse isolation. Help files integrated into the module. Multiple language support.
SM-Ethernet is powered from the host drives internal power supply and draws 280mA from the supply.
2.1.1
Backup/auxiliary supply
Unidrive SP, Affinity and Digitax ST drives provide a method of powering up the control circuits (and therefore any Solutions Modules installed) if the AC supply is removed, this allows the SM-Ethernet to continue operating when the main AC supply is switched off. For every SM-Ethernet module installed allow for an extra 280mA of supply current to be drawn from the backup supply.
www.controltechniques.com
2.2
The SM-Ethernet can be identified by: 1. The label located on the underside of the Solutions Module. Figure 2-2 SM-Ethernet label
Solutions Module name
SM-Ethernet
Hardware issue number
Issue: 2.00 STDJ41
Ser No : 3000005001
2. The color coding across the front of the Solutions Module. SM-Ethernet being beige.
2.2.1
2.3
Product conformance
SM-Ethernet complies with IEEE 802.3 and meets the isolation requirements of safety standard EN50178.
www.controltechniques.com
2.4
10
www.controltechniques.com
Mechanical installation
Before installing or removing a Solutions Module in any drive, ensure the AC supply has been disconnected for at least 10 minutes and refer to Chapter 1 Safety information on page 5. If using a DC bus supply ensure this is fully discharged before working on any drive or Solutions Module.
WARNING
3.1
General installation
The installation of a Solutions Module is illustrated in Figure 3-1. Figure 3-1 Fitting a Solutions Module
1
Getting started
Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
The Solutions Module connector is located on the underside of the module (1). Push this into the Solutions Module slot located on the drive until it clicks into place (2). Note that some drives require a protective tab to be removed from the Solutions Module slot. For further information, refer to the appropriate drive manual.
www.controltechniques.com
11
4
4.1
Electrical installation
SM-Ethernet module information
SM-Ethernet provides a standard RJ45 UTP/STP (Un-shielded/Shielded Twisted Pair) connection to a 10Mbs or 100Mbs Ethernet system. In addition to the RJ45 connector a grounding tag is supplied for supplementary bonding. SM-Ethernet provides 4 diagnostic LEDs for status and information purposes. Figure 4-1 SM-Ethernet terminals
Figure 4-1 shows an overview of the module connections and indicators. The default mode for the RJ45 is crossover. Figure 4-2 SM-Ethernet Module Layout
Spade connector
12
www.controltechniques.com
4.2
Cabling considerations
To ensure long-term reliability it is recommended that any cables used to connect a system together are tested using a suitable Ethernet cable tester, this is of particular importance when cables are constructed on site.
4.3
Module grounding
SM-Ethernet is supplied with a grounding tag on the module that should be connected to the closest possible grounding point using the minimum length of cable. This will greatly improve the noise immunity of the module.
4.4 4.5
Cable
It is recommended that a minimum specification of CAT5e is installed on new installations, as this gives a good cost/performance ratio. If you are using existing cabling this may limit the maximum data rate depending on the cable ratings. In noisy environments the use of STP or fiber optic cable will offer additional noise immunity.
NOTE
Cabling issues are the single biggest cause of network down-time. Ensure cabling is correctly routed, wiring is correct, connectors are correctly installed and any switches or routers used are rated for industrial use. Office grade Ethernet equipment does not generally offer the same degree of noise immunity as equipment intended for industrial use.
4.6
NOTE
The distances specified are absolute recommended maximums for reliable transmission of data. The distances for the fiber optic sections will be dependent on the equipment used on the network. The use of wireless networking products is not recommended for control systems, as performance may be affected by many external influences.
www.controltechniques.com
13
4.7
4.8
4.8.1
Network topology
Hubs
A hub provides a basic connection between network devices. Each device is connected to one port on the hub. Any data sent by a device is then sent to all ports on the hub. The use of hubs is not recommended for use within control systems due to the increased possibility of collisions. Collisions can cause delays in data transmission and are best avoided, in severe cases a single node can prevent other nodes on the same hub (or collision domain) from accessing the network. If using hubs or repeaters you must ensure that the path variability value and propagation equivalent values are checked. This is, however, beyond the scope of this document.
NOTE
4.8.2
Switches
Switches offer a better solution to hubs, because after initially learning the addresses of connected devices the switch will only send data to the port that has the addressed device connected to it, thus reducing network traffic and possible collisions. The difference in price between the hub and a switch means that in almost all cases the switch is the preferred choice. Some managed switches allow the switching of data to be controlled and monitored, this may be of particular importance on large or high performance systems.
NOTE
Some switches require a certain time to intitialise (typically 30 to 60 seconds) if SMEthernet is reset.
4.8.3
Routers
A router is used to communicate between two physical networks (or subnets) and provides some degree of security by allowing only defined connections between the two networks. A typical use would be connecting the office and manufacturing networks or connecting a network to an ISP (Internet Service Provider). A router is sometimes known as a gateway as it provides a gateway between two networks. It is generally recommended that a firewall is used when connecting networks as this provides additional security features.
4.8.4
Firewalls
A firewall allows separate networks to be connected together in a similar way to a router. The firewall however offers significantly more security features and control. Typical features include address translation, port filtering, protocol filtering, URL filtering, port mapping, service attack prevention, monitoring and virus scanning. This is usually the preferred method of allowing traffic from a manufacturing network to the business network. The setup and installation of the firewall should be done by a suitably qualified engineer and is beyond the scope of this document.
14
www.controltechniques.com
4.8.5
VPN
A VPN (Virtual Private Network) is a method of using a non-secure or public network that allows devices to be connected together as if they were connected on a private network. A typical example would be the connection of two remote offices such as London and New York. Each office would require a high speed Internet connection and a firewall (or VPN device). In order to configure the VPN, encryption keys are exchanged so that both offices can communicate. The data is then sent across the Internet (or shared network) in an encrypted form, giving the illusion of a single connected network (speed limitations may apply). This is generally used as a low-cost alternative to a private leased line. Configuration of VPNs is beyond the scope of the document.
4.9
4.9.1
Getting started Protocols Web page FTP/custom Applications basics pages Security
Diagnostics
NOTE
When purchasing network cables it is recommended that a different color (e.g. pink) is used for crossover cables to allow easy recognition. When connecting as in Figure 4-3, to avoid the need for crossover cables it is possible to change the SM-Ethernet RJ45 port to use a non-crossover cable by setting Pr MM.43 to 1. This will force SM-Ethernet to detect the type of cable used when it initialises allowing either type to be used. If autodetect is disabled (Pr MM.43=0) a cross-over cable is needed or you need to connect via a switch. For more information see SM-Ethernet enable auto-crossover detection on page 95. Some PCs and network switches provide auto-crossover correction and therefore the need for a crossover cable may not be necessary. Refer to the PC or network switch documentation for confirmation.
NOTE
Index
www.controltechniques.com
15
4.9.2
4.9.3
Non-crossover cables
Switch
4.9.4
16
www.controltechniques.com
5
5.1
Getting started
Minimum software versions required for Ethernet
Table 5.1 below, lists the minimum versions of software required for Ethernet communication. Table 5.1 Required software versions for communication over Ethernet
Product Unidrive SP Commander SK Digitax ST Affinity Mentor MP SM-Applications SM-Ethernet OPC Server CTScope SyPTPro CTSoft Software Version Version 01.06.00 or later Version 01.06.00 or later Version 01.00.00 or later Version 01.00.00 or later Version 01.00.00 or later Version 01.04.05 or later Version 01.02.00 or later Version 03.01.00 or later Version 01.00.00 or later Version 02.01.00 or later Version 01.05.00 or later
5.2
Security
NOTE
Diagnostics
5.3
Addressing
The addressing system used on Ethernet uses two essential numbers for making connection, these are the IP address and the subnet mask. The address allows a specific device to be located and the subnet mask defines how many bits represent the subnet part of the address and how many bits represent the node address (see section 5.7.1 The IP address on page 19). Generally devices on different subnets can only communicate by using a gateway (typically a router or firewall).
5.4
www.controltechniques.com
17
5.5
Addressing etiquette
The following list details some points that should be considered when selecting addresses: Reserve address space: Ensure you have enough reserve address space on your chosen addressing scheme to allow for future expansion. Uniqueness: Ensure your addresses are unique, every device on a subnet must have a unique address. Avoid reserved addresses: For example the address 127.0.0.1 is reserved as the loop back address. Broadcast and system addresses: The highest and lowest host address on a subnet are reserve addresses. Use a system: Have a scheme for assigning your addresses, for example typically servers may have a low IP address and routers a high IP address. It is not necessary to allocate consecutive IP addresses so it is possible to reserve ranges for specific uses such as servers, work stations or routers.
5.6
Class types
IP addresses are grouped into ranges called classes, each class has a specific set of addresses and has a typical situation where it is used. When selecting the class of IP address required, consideration must be given to how many subnets you need, how many hosts are required and if you will need a public (worldwide) or a private (local) addressing scheme. Table 5.2 shows an overview of how the class types are defined and Table 5.3 shows how each class separates the subnet and host ID. Table 5.2 Subnets and hosts supported by class type
Address Class A B C First Octet Decimal Range 1-126.x.y.z 128-191.x.y.z 192-223.x.y.z Number of Subnets 126 16,382 2,097,150 Number of Hosts 16,777,214 65,534 254
Using the subnet mask it is possible to modify the IP addressing such that the ratio of subnets and host addresses may be changed. This gives you the facility to adjust standard classes to suit your specific requirements.
18
www.controltechniques.com
5.6.1
Class A addresses
A class A address only uses the first octet to represent the subnet, the remaining octets are used to represent the host id. These addresses are intended for large organisations such as universities and the military. These addresses must be requested from the governing body (InterNIC) when using them publicly (on the Internet) to avoid duplication.
5.6.2
Class B addresses
A class B address uses the first two octets to represent the subnet, the remaining octets are used to represent the host id. These addresses are intended for medium to large size networks. These addresses must be requested from the governing body (InterNIC) when using them publicly (on the Internet) to avoid duplication. Class B addresses are generally used on public or private networks.
5.6.3
Class C addresses
Class C addresses use the first 3 octets as the subnet address and the remaining octet as the host id. A class C address is normally used on a private network only, due to the restriction on the number of hosts on the network. Class C addresses will not be routed onto the Internet.
5.6.4
5.7
5.7.1
The IP address
The IP address is made up from four 8 bit decimal numbers (octets) and is written as follows: w.x.y.z for example192.168.0.1 (class c)
Security
5.7.2
5.7.3
www.controltechniques.com
19
x 168
y 0
z 0 Host Address
5.8
5.8.1
DHCP considerations
Using fixed IP addressing
Using fixed IP addresses (manually configured) on SM-Ethernet means that if a module fails, the IP address can be restored to a replacement module without the need to reconfigure the DHCP server. Using fixed addresses also prevents the DHCP server from changing the address. When using fixed IP addresses, it is vital that the SMEthernet IP address is reserved on the DHCP server to prevent duplicate addressing.
NOTE
If using manual IP address configuration please note that the IP address subnet mask and the default gateway must also be set manually. For more information on manual configuration see section 7.2.6 Network on page 72.
5.8.2
Using DHCP
If DHCP is used it is recommended that the allocated IP address is allocated SMEthernets MAC address, this strategy prevents the IP address changing on the SMEthernet. Any leased addresses should be leased permanently to prevent IP address changes.
NOTE
If SM-Ethernet is configured to use DHCP and the module requires exchanging, the new SM-Ethernet module will have a different MAC address and hence the DHCP server will issue the new module with a different IP address.
5.9
20
www.controltechniques.com
5.10
See Chapter 4
See Chapter 5
See Chapter 4
See Chapter 7
Getting started
See Chapter 4
See Chapter 5
See Chapter 7
END
See Chapter 4
Security Diagnostics
See Chapter 5
Any changes made will require a module reset to be activated Pr MM.32 = ON
See Chapter 5
Glossary of terms
Ensure PC is on the same subnet or the default gateway on the drive & PC are set
See Chapter 5
Index
www.controltechniques.com
21
5.11
SM-Ethernet IP address
Wip
Pr MM.10
Xip
Pr MM.11
Yip
Pr MM.12
Zip
Pr MM.13
NOTE
When DHCP is enabled (see section 5.15 DHCP (Dynamic Host Configuration Protocol) on page 25) the whole IP address is acquired from the DHCP server and written to the parameters in the drive during start-up. This could take several minutes depending on server availability and network status.
This is the most significant octet of SM-Ethernets IP address. When using DHCP this will be updated from the DHCP server.
This is the second most significant octet of SM-Ethernets IP address. When using DHCP this will be updated from the DHCP server.
This is the third most significant octet of SM-Ethernets IP address. When using DHCP this will be updated from the DHCP server.
This is the least significant octet of SM-Ethernets IP address. When using DHCP this will be updated from the DHCP server.
22
www.controltechniques.com
5.12
Wsubnet Pr MM.14
Xsubnet Pr MM.15
Ysubnet Pr MM.16
Zsubnet Pr MM.17
When DHCP is enabled the whole subnet mask address is acquired from the DHCP server and written to the parameters in the drive during start-up. This could take several minutes depending on server availability and network status.
Getting started
This is the most significant octet of SM-Ethernets IP subnet mask. When using DHCP this will be updated from the DHCP server.
This is the second most significant octet of SM-Ethernets IP subnet mask. When using DHCP this will be updated from the DHCP server.
Security
This is the third most significant octet of SM-Ethernets IP subnet mask. When using DHCP this will be updated from the DHCP server.
Quick reference
Glossary of terms
This is the least significant octet of SM-Ethernets IP subnet mask. When using DHCP this will be updated from the DHCP server.
Index
www.controltechniques.com
23
5.13
Wgateway Xgateway
Pr MM.18 Pr MM.19
Ygateway Zgateway
Pr MM.20 Pr MM.21
The default gateway is a routing device that allows a host to reach other devices that are not on the same subnet. The default gateway must be on the same subnet as the host that is trying to use it.
NOTE
When DHCP is enabled the whole default gateway address is acquired from the DHCP server and written to the parameters in the drive during start-up. This could take several minutes depending on server availability. When communication is performed through a gateway, the devices on both sides of the gateway must be configured to see their side of the gateway for communications to be established.
NOTE
This is the most significant octet of SM-Ethernets default gateway address. When using DHCP this will be updated from the DHCP server.
This is the second most significant octet of SM-Ethernets default gateway address. When using DHCP this will be updated from the DHCP server.
This is the third most significant octet of SM-Ethernets default gateway address. When using DHCP this will be updated from the DHCP server.
24
www.controltechniques.com
This is the least significant octet of SM-Ethernets default gateway address. When using DHCP this will be updated from the DHCP server.
5.14
SM-Ethernet can be set to automatically detect the baud rate or be fixed at either 10Mbs or 100Mbs. Pr MM.44 will indicate the data rate that is being used by the SM-Ethernet. Table 5.4 SM-Ethernet baud rate
Pr MM.04 0 1 2 baud rate Auto detect 10Mbs 100Mbs
NOTE
5.15
Security Diagnostics
This parameter determines if the module gets its network configuration (IP address, subnet mask, etc.) from the host drive parameters or from a DHCP server on the network. The DHCP server can be configured to give the module the next free address or an address based on the MAC address of SM-Ethernet. Table 5.5 DHCP options
Pr MM.05 0 1 DHCP enable Use local configuration Use DHCP server
A DHCP server will typically provide SM-Ethernet with an IP address, subnet mask, default gateway and DNS information.
www.controltechniques.com
25
5.16
This parameter gives an approximation of the number of packets per second processed on SM-Ethernet, a value of zero indicates that SM-Ethernet is initialised and ready to communicate. If this parameter is a negative value this indicates that the module is initialising or there is a fault. If this value is still negative after 3 minutes see section 11.5.1 SM-Ethernet diagnostic information on page 97.
5.17
Re-initialising SM-Ethernet
Re-initialising SM-Ethernet Default Pr MM.32 Range Access OFF OFF / ON RW
Changes to the SM-Ethernet configuration will not take effect until the SM-Ethernet has been re-initialised. To re-initialise SM-Ethernet: 1. Set Pr MM.32 to ON. 2. Before the reset takes place Pr MM.32 will be reset to OFF. 3. The SM-Ethernet will re-initialise using the updated configuration.
NOTE
This sequence does NOT store the SM-Ethernet configuration parameters in the host drive or the SM-Ethernet FLASH memory. Pr MM.32 will revert to OFF immediately and may not be visible on the display.
5.18
NOTE
This sequence does NOT store the SM-Ethernet configuration parameters in the drive or the SM-Ethernet FLASH memory. The 1070 reset will not work in the SM-Ethernet module if Pr MM.37 is set to ON, although it will work for any other modules. On Commander SK drives, Pr 00.00 is not available, a different menu number must be used, e.g. Pr 01.00. SM-Ethernet User Guide Issue: 6
NOTE
26
www.controltechniques.com
5.19
The drive will store all parameters (except Menu 20), but the operation of the SMEthernet will not be affected. Changes made to the SM-Ethernet configuration parameters will not take effect until the SM-Ethernet is re-initialised.
NOTE
Menu 20 may be saved in memory (not Commander SK) if an SM-Applications is installed. See the SM-APPLICATIONS/SM-APPLICATIONS LITE User Guide documentation for more information. If the host drive is running on a low voltage supply only or has a UU trip active the value 1001 must be used instead of 1000. On Commander SK drives, Pr 00.00 is not available, a different menu number must be used, e.g. Pr 01.00.
Getting started
NOTE
Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
27
Protocols
SM-Ethernet supports a wide range of protocols for communicating over Ethernet, each protocol has a specific use and it is important to understand how to use each protocol before designing a system.
6.1
PC/PLC considerations
If the subnet of the host PC/PLC is different to the subnet of SM-Ethernet, then both SM-Ethernet and the PC/PLC must be configured with the address of a gateway that allows communication between the two devices.
6.2
Modbus TCP/IP
Modbus TCP/IP is one of the most widely supported industrial Ethernet based protocols offering the functionality and simplicity of the Modbus protocol, with the flexibility of Ethernet. Table 6.1 shows the supported Modbus function codes. The SM-Ethernet implementation of Modbus TCP/IP follows the specification provided by the Modbus organisation. Modbus TCP/IP uses the standard Protocol Data Unit (PDU) but without the CRC bytes and encapsulates it within a Modbus TCP/IP Application Data Unit (ADU) for transmission. This means that the Modbus PDU is the same for both standard and Ethernet based transmission. Table 6.1 Supported Modbus function codes
Code 3 6 16 23 Description Read multiple 16 bit registers. Write single 16 bit register. Write multiple 16 bit registers. Read and write multiple 16 bit registers.
Modbus TCP/IP port The port number used for Modbus TCP/IP may be reconfigured to a different port number using Pr 62.04 as detailed in Table 6.2 SM-Ethernet Modbus TCP/IP configuration . Table 6.2 SM-Ethernet Modbus TCP/IP configuration
SM-Ethernet Modbus TCP/IP configuration Default Pr 62.04 Range Access 502 0 to 65535 RW
A timer is available under the MODBUS IP configuration section of the web pages to allow loss of MODBUS communications to be managed (see Chapter 12 Advanced features on page 101 for more Modbus I/P options).
NOTE
Unidrive SP versions prior to V01.06.00 with SM-Ethernet versions after V01.01.00 are not capable of supporting CMP Port-ID 0. This will prevent communications to the drive, ensure the latest drive and SM-Ethernet firmware are used. The SM-Ethernet module must request control of the EIA-485 (RS-485) buffer to enable reliable communication in this mode. This is done by setting Pr MM.37 to ON.
NOTE
28
www.controltechniques.com
6.3
The standard web pages provide access to the following features: Parameters. Protocol configuration. Network configuration. General configuration. Help pages providing guidance on use. System file updates for SM-Ethernet. Language support.
For details of the web pages please see Chapter 7 Web page basics on page 66.
6.4
FTP
FTP will allow custom web page changes on SM-Ethernet. If an appropriate network infrastructure exists it will be possible to perform these updates remotely. SM-Ethernet has a basic file system that will allow the user to upload files. The following facilities are supported: Web page languages Custom web pages
Security Diagnostics
6.5
SMTP (email)
SM-Ethernet provides a method for sending Emails based on events. Up to 3 Email messages may be configured to transmit on a pre-defined condition. For more information on SMTP see section 12.1 Email configuration on page 101.
Advanced features
6.6
www.controltechniques.com
29
6.7
EtherNet/IP
SM-Ethernet (v01.03.00 and later) supports the EtherNet/IP protocol and conforms to the EtherNet/IP adaptation of the Common Industrial Protocol (CIP) Specification. This is the same upper-layer protocol and object model as used in DeviceNet. The SM-Ethernet module will operate as a slave device and the following functionality is supported. Variable length input assembly object (instance 100). Variable length output assembly object (instance 101). Maximum assembly object size of 160 bytes (40 parameters). Explicit (non-cyclic) access to parameters. A.C. and D.C. Drive Profiles. Management of consistent data transfer between SM-Ethernet and SMApplications modules. Configuration via the web page interface.
6.7.1
Performance
The performance of EtherNet/IP will depend on several factors, including the data rate, EtherNet/IP thread priority and network traffic. If the EtherNet/IP thread is allocated a high priority and the network traffic is dominated by EtherNet/IP then the following performance should be achieved. Turn around time for polled (implicit) data of 2ms. Turn around time for non-cyclic (explicit) data of 5ms.
NOTE
Access to SM-Applications using the inter-option communication channel will extend these times. These network performance timings are not guaranteed and will vary depending on the network configuration. The performance values stated above will also be slower on Commander SK due to the hardware differences of the Commander SK.
NOTE
NOTE
6.7.2
Configuration
The EtherNet/IP configuration can be accessed from the top-level PROTOCOLS menu of the web page interface. From this page, the following general configuration settings can be viewed or changed. Connection status (view only). Advanced EDS file - disabled or enabled. Requested packet interval (RPI) timeout trip - disabled or enabled. Read consistency - disabled or enabled. Write consistency - disabled or enabled.
The cyclic (implicit) data parameter mapping configuration can also be changed from this page. For more information on cyclic data parameter mappings see section 6.7.10Configuring SM-Ethernet cyclic parameters on page 33.
NOTE
The user must be logged in as an Administrator or Super user to change the configuration settings.
30
www.controltechniques.com
6.7.3
Connection Status
This indicates if a cyclic (implicit) connection has been made and whether cyclic data transfer is in progress. If no cyclic connection has been made then the status will indicate Awaiting Connection, if a cyclic connection has been made then the status will indicate Connected.
6.7.4
Getting started
6.7.5
NOTE
The trip will only occur if the drive experiences a loss of network traffic for the specified duration, i.e. if data was being received but was then interrupted. The trip will not occur if no network traffic has been detected.
6.7.6
NOTE
The trigger parameter is a parameter that is used by SM-Ethernet to allow cyclic parameters to be sampled and is configured from the EtherNet/IP sub-menu of the PROTOCOLS menu. This parameter value will be set to zero when either the SM-Ethernet module or the drive is reset.
www.controltechniques.com
31
6.7.7
NOTE
The trigger parameter is a parameter that is used by SM-Ethernet to allow cyclic parameters to be written and is configured from the EtherNet/IP sub-menu of the PROTOCOLS menu. This parameter value will be set to zero when either the SM-Ethernet module or the drive is reset. Example In this example, Pr 20.01 is set as the read trigger parameter and Pr 20.02 set as the write trigger parameter in the SM-Ethernet module, the PLC master is configured to add the values of Pr 20.11, Pr 20.12 and Pr 20.13, and write the result to Pr 20.21, the SM-Applications module is configured to increment the values of Pr 20.11, Pr 20.12 and Pr 20.13 by 1 each time the background task is executed. With read and write consistency enabled, SM-Ethernet will sample the cyclic data parameters when the value of Pr 20.01 is not zero and write the cyclic data when the value of Pr 20.02 is zero. The DPL code in the SM-Application module may be written as follows: Initial{ // Initialise variable newvalue=0 } //Initial Background{ top: if #20.02=1 then newvalue=#20.11 // Store #20.11 value #20.11=newvalue+1 // Increment #20.11 by 1 newvalue=#20.12 // Store #20.12 value #20.12=newvalue+1 // Increment #20.12 by 1 newvalue=#20.13 // Store #20.13 value #20.13=newvalue+1 // Increment #20.13 by 1 #20.01=1 // Enable sampling #20.02=0 // Enable PLC writes endif goto top: // main background loop } //Background
32
www.controltechniques.com
6.7.8
NOTE
An instance value of 0 is not a valid value in this context, therefore an instance value of 200 (0xC8) should be used to access menu 0 parameters. For more information on the Control Techniques object see section 6.7.27 Control Techniques object on page 64.
Getting started
6.7.9
NOTE
Some PLCs provide the option of transmitting a configuration assembly object. The SMEthernet module does not use a configuration object, if one is required by the PLC configuration tool, then instance 1 should be specified with a length of 0 bytes. The web pages are used to configure the parameter information that is transmitted within the assembly objects. For more information on configuring the mapping parameters see section 6.7.10 Configuring SM-Ethernet cyclic parameters on page 33.
NOTE
Security
The SM-Ethernet parameter mapping configuration screen refers to bytes of data, the PLC configuration tool may refer to words of data, a data word consists of 2 bytes or 16 bits of data. A double word (32 bits or 4 bytes) is used for each drive parameter.
Index
www.controltechniques.com
33
Parameter list.
A single parameter may be selected by dragging it from the parameter list on the left side of the page to the parameter mapping table on the right side of the page or, alternatively, double-clicking on it will append it to the end of the list in the table. A range of parameters may be selected by double-clicking on the Parameter mapping table at the position required to be allocated up to, the table will be automatically filled up to this position. If no parameter has been previously allocated, the first parameter in the parameter list will be used. The TIDY button can be used to remove any un-allocated spaces in the parameter mapping table by moving allocated parameters up. To remove all allocated mappings in the table, the CLEAR button can be pressed. To accept the changes made, click on the APPLY button. To cancel the changes and revert back to the previous configuration, click on the CANCEL button.
NOTE
If the web pages are not displayed as shown or do not function correctly then the browser settings may need to be checked to allow the Java script controls to function correctly.
34
www.controltechniques.com
Although the Allen Bradley PLCs are mentioned in this document, this does not represent an endorsement of any particular PLC type or PLC manufacturer. When configuring the PLC for cyclic communication with SM-Ethernet, the length of each parameter data word and the number of parameters must be specified correctly, Figure 6-2, shows the PLC configuration for 40 input parameters and 40 output parameters, as each parameter consists of 32 bits (4 bytes), the length of each data word should be set to 32 bits (DINT - double integer word). The length of each data word (Comm Format in the PLC configuration in Figure 6-2) must normally be configured when the Ethernet module is created within the PLC and can not be changed. If a different length is required then a new Ethernet module must be created. In order to communicate with the SM-Ethernet, the PLC must have the SM-Ethernet IP address set correctly as illustrated in Figure 6-2. Figure 6-2 PLC configuration
SM-Ethernet IP address.
Security Diagnostics
www.controltechniques.com
35
Conformance with the pre-defined assembly objects specification can only be guaranteed if the speed reference configuration of the drive has not been changed from the default settings. For information on setting default values, refer to the appropriate drive user guide. Table 6.4 Pre-defined drive assembly objects
Object 0x14 (2010) 0x15 (2110) 0x16 (2210) 0x17 (2310) 0x46 (7010) 0x47 (7110) 0x48 (7210) 0x49 (7310) Type Output Output Output Output Input Input Input Input Object name Basic speed control output. Extended speed control output. Speed and torque control output. Extended speed and torque control output. Basic speed feedback. Extended speed feedback. Basic speed and torque feedback. Extended speed and torque feedback.
Basic control word The basic control word consists of 2 bytes (16 bits), with only 2 bits of the low byte being used as shown below.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6
b5
b4
b3
b2 FaultRst
b1
b0 RunFwd
36
www.controltechniques.com
NOTE
For the drive to run at the speed specified in Word 1, Pr 6.43 must be ON and bit 0, bit 7 and bit 8 of the drive control word (Pr 6.42) must all be set to 1 and the external hardware enable signal must be present. The individual bit functions for the drive control word are shown in Table 6.6 below. Table 6.6 Drive control word bit functions
Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Function Drive enable. Run forward. Jog forward. Run reverse. Forward/reverse. Run. Not stop. Auto/manual. Analog/preset reference. Jog reverse. Reserved. Reserved. Trip drive. Reserved. Keypad watchdog. Equivalent parameter Pr 6.15 Pr 6.30 Pr 6.31 Pr 6.32 Pr 6.33 Pr 6.34 Pr 6.39 N/A Pr 1.42 Pr 6.37 N/A N/A N/A Pr 10.33 N/A
Safety Mechanical Electrical Introduction information installation installation Getting started Protocols Web page FTP/custom Applications basics pages
Speed reference (SpeedRef) The speed reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
Security
For more information on the setting of the speed reference see section 6.7.26 AC/DC Drive object on page 60.
Diagnostics
www.controltechniques.com
37
Extended control word The extended control word consists of 2 bytes (16 bits), with only the low byte used as shown.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6 NetRef
b5 NetCtrl
b4
b3
b2 FaultRst
b1 RunRev
b0 RunFwd
Control Word b0 b1 b2 b5 b6
Description Set this bit to command the drive to run in the forward direction. Set this bit to command the drive to run in the reverse direction. A 0 to 1 transition will reset the drive if the drive was in a trip state. Used in conjunction with Pr 6.43 to enable the drive control word bits b0-b6 and bit 9 (Pr 6.42). Set this bit to command the drive to use the remote speed reference value specified in Word 1.
For the drive to run at the speed specified in Word 1, Pr 6.43 must be ON and bit 0, bit 7 and bit 8 of the drive control word (Pr 6.42) must all be set to 1 and the external hardware enable signal must be present. For information on the drive control word see Table 6.6 Drive control word bit functions on page 37. Speed reference (SpeedRef) The speed reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
NOTE
For more information on the setting of the speed reference see section 6.7.26 AC/DC Drive object on page 60.
38
www.controltechniques.com
Basic control word The basic control word consists of 2 bytes (16 bits), with only 2 bits of the low byte being used as shown below.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6
b5
b4
b3
b2 FaultRst
b1
b0 RunFwd
Control Word b0 b2
Description Set this bit to command the drive to run in the forward direction. A 0 to 1 transition will reset the drive if the drive was in a trip state.
Getting started
For the drive to run at the speed specified in Word 1, Pr 6.43 must be ON and bit 0, bit 7 and bit 8 of the drive control word (Pr 6.42) must all be set to 1. For information on the drive control word see Table 6.6 Drive control word bit functions on page 37. Speed reference (SpeedRef) The speed reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
Protocols
NOTE
For more information on the setting of the speed reference see section 6.7.26 AC/DC Drive object on page 60. Torque reference (TorqueRef) The torque reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 TorqueRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
Quick reference
For more information on the setting of the torque reference see section 6.7.26 AC/DC Drive object on page 60.
www.controltechniques.com
39
Extended control word The extended control word consists of 2 bytes (16 bits), with only 5 bits of the low byte used as shown below.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6 NetRef
b5 NetCtrl
b4
b3
b2 FaultRst
b1 RunRev
b0 RunFwd
Control Word b0 b1 b2 b5 b6
Description Set this bit to command the drive to run in the forward direction. Set this bit to command the drive to run in the reverse direction. A 0 to 1 transition will reset the drive if the drive was in a trip state. Used in conjunction with Pr 6.43 to enable the drive control word bits b0-b6 and bit 9 (Pr 6.42). Set this bit to command the drive to use the remote speed reference value specified in Word 1.
For the drive to run at the speed specified in Word 1, Pr 6.43 must be ON and bit 0, bit 7 and bit 8 of the drive control word (Pr 6.42) must all be set to 1 and the external hardware enable signal must be present. For information on the drive control word see Table 6.6 Drive control word bit functions on page 37. Speed reference (SpeedRef) The speed reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
NOTE
For more information on the setting of the speed reference see section 6.7.26 AC/DC Drive object on page 60.
40
www.controltechniques.com
Torque reference (TorqueRef) The torque reference word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 TorqueRef (high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the setting of the torque reference see section 6.7.26 AC/DC Drive object on page 60.
Basic status word The basic status word consists of 2 bytes (16 bits), with only 2 bits of the low byte used as shown below.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6
b5
b4
b3
b2 Running1 (Fwd)
b1
b0 Faulted
Security
Diagnostics
Running1 Indicates if the drive is running in the forward direction (Fwd) (0=False, 1=True).
Advanced features
Speed feedback (SpeedActual) The speed feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedActual (high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the speed feedback see section 6.7.26 AC/DC Drive object on page 60.
Index
www.controltechniques.com
41
Extended status word The extended status word consists of 2 bytes (16 bits), with the bits having functions as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 DriveState b7 At Reference b6 RefFrom Net b5 CtrlFrom Net b4 Ready b3 Running2 (Rev) b2 Running1 (Fwd) b1 Warning b0 Faulted
The DriveState byte returns a code to indicate the operating state of the drive as shown in Table 6.12 below. Table 6.12 DriveState codes
Code 1 2 3 4 5 6 7 0 b15 - b8 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00000000 State Startup Not_Ready Ready Enabled Stopping Fault_Stop Faulted Vendor Specific Description This state is skipped over on CT drives. Inhibit. Ready. Run or Stop (Stop is only enabled by default in Servo mode). Deceleration or Injection. AC_UU (this will only occur if Mains Loss is enabled). Tripped. All other DriveType states, e.g. Scan, Orienting, Regen Active, etc.
The individual bits of the low byte of the extended status word are described in Table 6.13 Extended status word (low byte) on page 43.
42
www.controltechniques.com
Ready
b4
Getting started
CtrlFromNet RefFromNet
b5 b6
Protocols
AtReference
b7
Speed feedback (SpeedActual) The speed feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedActuall(high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the speed feedback see section 6.7.26 AC/DC Drive object on page 60.
Security
www.controltechniques.com
43
Basic status word The basic status word consists of 2 bytes (16 bits), with only the low byte used as shown below.
b15 b14 b13 b12 b11 b10 b9 b8
b7
b6
b5
b4
b3
b2 Running1 (Fwd)
b1
b0 Faulted
Running1 Indicates if the drive is running in the forward direction (Fwd) (0=False, 1=True).
Speed feedback (SpeedActual) The speed feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedActual (high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the speed feedback see section 6.7.26 AC/DC Drive object on page 60. Torque feedback (TorqueActual) The torque feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 TorqueActual (high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the torque feedback see section 6.7.26 AC/DC Drive object on page 60.
44
www.controltechniques.com
Extended status word The extended status word consists of 2 bytes (16 bits), with the bits having functions as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 DriveState b7 At Reference b6 RefFrom Net b5 CtrlFrom Net b4 Ready b3 Running2 (Rev) b2 Running1 (Fwd) b1 Warning b0 Faulted
The DriveState byte returns a code to indicate the operating state of the drive as shown in Table 6.16. Table 6.16 DriveState codes
Code 1 2 3 4 5 6 7 0 b15 - b8 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00000000 State Startup Not_Ready Ready Enabled Stopping Fault_Stop Faulted Vendor Specific Description This state is skipped over on CT drives. Inhibit. Ready. Run or Stop (Stop is only enabled by default in Servo mode). Deceleration or Injection. AC_UU (this will only occur if Mains Loss is enabled). Tripped. All other DriveType states, e.g. Scan, Orienting, Regen Active, etc.
The individual bits of the low byte of the extended status word are described in Table 6.17 Extended status word (low byte) on page 46.
www.controltechniques.com
45
Ready
b4
CtrlFromNet RefFromNet
b5 b6
AtReference
b7
Speed feedback (SpeedActual) The speed feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 SpeedActuall(high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the speed feedback see section 6.7.26 AC/DC Drive object on page 60. Torque feedback (TorqueActual) The torque feedback word utilises 2 bytes (16 bits) as shown below.
b15 b14 b13 b12 b11 b10 b9 b8 TorqueActual (high byte) b7 b6 b5 b4 b3 b2 b1 b0
For more information on the torque feedback see section 6.7.26 AC/DC Drive object on page 60
46
www.controltechniques.com
Control Supervisor
0x29 (4110)
1 45 1
Ethernet Link
0xF6 (24610)
Vendor ID
Name: Class Instance Attribute VendorID 0x01 0x01 0x01 Default Data Type Access 0x101 (25710) UINT Get
Quick reference
www.controltechniques.com
47
Device type
Name: Class Instance Attribute DeviceType 0x01 0x01 0x02 Default Data Type Access 0x02 UINT Get
Returns the device type code. The following codes are used:
Device Type code Drive type 0x02 0x13 AC Drive DC Drive
Product code
Name: Class Instance Attribute ProductCode 0x01 0x01 0x03 Default Data Type Access See below UINT Get
Returns a 16 bit value to identify the drive type, major revision number and drive mode and also links a node to the installed EDS files. If a basic EDS file is used then the product code is calculated as shown in Table 6.20 Basic product code below. Table 6.20 Basic product code
b15 b14 b13 b12 b11 b10 Product Major Revision b9 b8 b7 Mode b6 b5 b4 b3 0 b2 b1 b0
Major Revision (b12 to b9) The major revision returned will be calculated from the formula: #11.29 * 3. Where #11.29 is the value of Pr 11.29 before the decimal point. e.g. For a value of 1.09 in Pr 11.29, the major revision returned is 3.
48
www.controltechniques.com
Bits b5 to b0 are not used and will be set to 0. If an advanced EDS file is used then the product code is calculated as shown in Table 6.21 Advanced product code below. Table 6.21 Advanced product code
b15 b14 b13 b12 b11 b10 Product b9 b8 b7 Mode b6 b5 b4 Slot X b3 b2 b1 Slot Y b0 Major Revision + Slot
Product (b15 to b13) (See Table 6.20 Basic product code on page 48). Major Revision + Slot (b12 to b9) The value contains the major revision number of the drive firmware and the slot that the SM-Ethernet module is installed in. The value returned will be calculated from the formula: #11.29 * 3 + (Slot -1) Where #11.29 is the value of Pr 11.29 before the decimal point and Slot is the slot number that the SM-Ethernet module is installed in. e.g. For a value of 1.09 in Pr 11.29 and the SM-Ethernet module installed in slot 3, the value returned will be 5. Mode (b8 to b6) (See Table 6.20 Basic product code on page 48). Slot X (b5 to b3) This indicates the option module family type installed in the lowest numbered slot, excluding the slot where this SM-Ethernet is installed. Slot X = Pr MM.01/100. (Any fractional part of result ignored) Slot Y (b2 to b0) This indicates the option module family type installed in the highest numbered slot, excluding the slot where this SM-Ethernet is installed. Slot Y = Pr MM.01/100. (Any fractional part of result ignored) For the option module ID codes see Table 6.22 Option modules ID codes on page 50).
NOTE
Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
49
Revision
Name: Class Instance Attribute Revision 0x01 0x01 0x04 Default Data Type Access N/A ARRAY of USINT Get
Returns 2 bytes to indicate the minor and sub-version revision numbers. If a basic generic EDS file is used then only the minor revision in the upper byte is returned as shown in Table 6.23 Basic revision on page 51.
50
www.controltechniques.com
The minor revision returned will be calculated from the formula: #11.29 Mod 100 + 1. Where #11.29 Mod 100 refers to the fractional value of Pr 11.29, (the value after the decimal point). e.g. For a value of 1.09 in Pr 11.29, the minor revision returned is 10. Bits b0 to b6 are used to inform the configuration tool that the advanced EDS file is not enabled and each bit will be set to 1. If an advanced EDS file is used then the revision number is calculated as shown below. Table 6.24 Advanced revision
b15 b14 b13 b12 b11 b10 Sub-version b9 b8 b7 0 b6 b5 b4 b3 b2 b1 b0 Minor Revision
Minor revision The minor revision returned will be calculated from the formula: #11.29 Mod 100 + 1. Where #11.29 Mod 100 refers to the fractional value of Pr 11.29, (the value after the decimal point). e.g. For a value of 1.09 in Pr 11.29, the minor revision returned is 10. Sub-version The sub-version returned will be calculated from the formula: #11.34 + 1. e.g. For a value of 1 in Pr 11.34, the sub-version returned is 2.
Security Diagnostics
Serial Number
Name: Class Instance Attribute SerialNumber 0x01 0x01 0x06 Default Data Type Access N/A UDINT Get
Returns the least 3 significant bytes of the SM-Ethernet MAC address. The MAC address is set during production, and cannot be changed. This value is also displayed in Pr MM.35.
NOTE
This can be used to find the complete MAC address of the module by combining the numbers with 00:0D:1E:xx.xx.xx. Where xx.xx.xx. is a value in Pr MM.35 converted to base 16 (HEX). e.g. If Pr MM.35 contains the value of 1193046, this would give the complete MAC address of 00 0D 1E 12 34 56.
Index
www.controltechniques.com
51
Product Name
Name: Class Instance Attribute ProductName 0x01 0x01 0x07 Default Data Type Access SM-Ethernet SHORT_STRING Get
Returns 12 bytes (ASCII) to indicate the product name as a short string. The first byte specifies the number of following bytes that constitute the product name. The SMEthernet returns the string SM-Ethernet.
(* The MotorType attribute has no effect on drive operation, it is only used to provide information to the user as shown in Table 6.26 Supported motor types below).
NOTE
In Open loop mode, only attributes 6 and 7 will be supported. Table 6.26 Supported motor types
Value 2 6 7 9 10 Motor Type AC Reserved Wound rotor induction motor Squirrel cage induction motor (default) Sinusoidal PM BL motor Trapezoidal PM BL motor DC FC DC motor Reserved Reserved Reserved Reserved
52
www.controltechniques.com
RatedFieldCur Get/Set
Getting started
0x11 (1710)
MinFieldCur
Get Set
Pr 5.69 will be written with Pr 5.69 will be written with the appropriate instance the appropriate instance value, depending on which value, depending on which motor map is selected. motor map is selected. Pr 5.73 Pr 21.15 Pr 11.45 Pr 21.23 Pr 21.15 Pr 11.45
Protocols
(* The MotorType attribute has no effect on drive operation, it is only used to provide information to the user as shown in Table 6.26 Supported motor types on page 52).
Motor type
Name: Class Instance Attribute MotorType1 0x28 0x01 0x03 Default Data Type Access 7 USINT Get/Set
Security
Returns or sets the motor type to be used by the drive for instance 1.
Name: Class Instance Attribute MotorType2 0x28 0x02 0x03 Default Data Type Access 7 USINT Get/Set
Returns or sets the motor type to be used by the drive for instance 2.
www.controltechniques.com
53
Rated current
Name: Class Instance Attribute RatedCurrent1 0x28 0x01 0x06 Default Data Type Access Pr 5.07 / 10 USINT Get/Set
Returns or sets the rated motor current in Amps for instance 1. This attribute is linked to Pr 5.07. Set Get
Name: Class Instance Attribute
Returns or sets the rated motor current in Amps for instance 2. This attribute is linked to Pr 21.07. Set Get Pr 21.07 = RatedCurrent2 * 10. RatedCurrent2 = Pr 21.07 / 10.
Rated voltage
Name: Class Instance Attribute RatedVoltage1 0x28 0x01 0x07 Default Data Type Access Pr 5.09 USINT Get/Set
Returns or sets the rated motor voltage in Volts for instance 1. This attribute is linked to Pr 5.09.
Name: Class Instance Attribute RatedVoltage2 0x28 0x02 0x07 Default Data Type Access Pr 21.09 USINT Get/Set
Returns or sets the rated motor voltage in Volts for instance 2. This attribute is linked to Pr 21.09.
54
www.controltechniques.com
Rated frequency
Name: Class Instance Attribute RatedFreq1 0x28 0x01 0x09 Default Data Type Access Pr 5.06 / 10 USINT Get/Set
Returns or sets the rated motor frequency in Hertz for instance 1. This attribute is linked to Pr 5.06. Set Get
Name: Class Instance Attribute
Returns or sets the rated motor frequency in Hertz for instance 2. This attribute is linked to Pr 21.06. Set Get Pr 21.06 =RatedFreq2 * 10. RatedFreq2 = Pr 21.06 / 10.
Base speed
Name: Class Instance Attribute BaseSpeed1 0x28 0x01 0x0F Default Data Type Access Pr 5.08 USINT Get/Set
Returns or sets the base speed of the motor in RPM for instance 1. This attribute is linked to Pr 5.08.
Name: Class Instance Attribute BaseSpeed2 0x28 0x02 0x0F Default Data Type Access Pr 21.08 USINT Get/Set
Security Diagnostics
Returns or sets the base speed of the motor in RPM for instance 2. This attribute is linked to Pr 21.08.
Advanced features
Motor2Select
Name: Class Instance Attribute Motor2Select 0x28 0x01 0x64 Default Data Type Access USINT Get/Set
Selects between Motor Map 1 and Motor Map 2. This attribute is linked to Pr 11.45. When this bit is set to 1, Motor Map 2 will be active.
NOTE
Any change in this attribute will be implemented when the drive is disabled.
Index
www.controltechniques.com
55
RunFwd
Name: Class Instance Attribute RunFwd 0x29 0x01 0x03 Default Data Type Access N/A USINT Get/Set
Set to 1 to run the drive in the forward direction. Get/Set Pr 6.42 (bit 1).
RunRev
Name: Class Instance Attribute RunRev 0x29 0x01 0x04 Default Data Type Access N/A USINT Get/Set
Set to 1 to run the drive in the reverse direction. Get/SetPr 6.42 (bit 3).
56
www.controltechniques.com
NetCtrl
Name: Class Instance Attribute NetCtrl 0x29 0x01 0x05 Default Data Type Access N/A USINT Get/Set
Switches between terminal and fieldbus control. Get/SetPr 6.42 (bit 7) 0 = Terminal control. 1 = Fieldbus control.
State
Name: Class Instance Attribute State 0x29 0x01 0x06 Default Data Type Access N/A USINT Get
Getting started
This returns a code to indicate the current running state of the drive as shown in Table 6.29 below. Table 6.29 Control Supervisor state attribute
Code 1 2 3 4 5 6 7 0 State Startup Not_Ready Ready Enabled Stopping Fault_Stop Faulted Vendor Specific Description This state is skipped over on CT drives Inhibit Ready Run or Stop (Stop is only enabled by default in Servo mode) Decelerating or DC injection braking ACUU (AC Under Voltage) - this will only occur if mains loss is enabled Tripped All other DriveType states, e.g. Scan, Orienting, Regen Active, etc.
RunningFwd
Name: Class Instance Attribute RunningFwd 0x29 0x01 0x07 Default Data Type Access N/A USINT Get
Indicates that the drive is running in the forward direction. This attribute will be set to 1 when Pr 10.14 = 0 and Pr 10.02 = 1.
Quick reference
RunningRev
Name: Class Instance Attribute RunningRev 0x29 0x01 0x08 Default Data Type Access N/A USINT Get
Indicates that the drive is running in the reverse direction. This attribute will be set to 1 when Pr 10.14=1 and Pr 10.02=1. SM-Ethernet User Guide Issue: 6
www.controltechniques.com
57
Ready
Name: Class Instance Attribute Ready 0x29 0x01 0x09 Default Data Type Access N/A USINT Get
The Ready attribute will be set in accordance with the state as shown in Table 6.30 below. Table 6.30 Control Supervisor Ready attribute
Code 3 4 5 State Ready Enabled Stopping All others Ready state True True True False
Faulted
Name: Class Instance Attribute Faulted 0x29 0x01 0x0A Default Data Type Access N/A USINT Get
Indicates that the drive is tripped, i.e. not OK (inverse of Pr 10.01). Get 1 = Pr 10.01 = 0. Get 0 = Pr 10.01 = 1.
Warning
Name: Class Instance Attribute Warning 0x29 0x01 0x0B Default Data Type Access N/A USINT Get
FaultRst
Name: Class Instance Attribute FaultRst 0x29 0x01 0x0C Default Data Type Access N/A USINT Get/Set
Resets the drive from a tripped condition. Sets Pr 10.38 to 100 on a 0 to 1 transition.
58
www.controltechniques.com
FaultCode
Name: Class Instance Attribute FaultCode 0x29 0x01 0x0D Default Data Type Access N/A USINT Get
The fault code attribute will return the ODVA fault code as follows: If the drive is not OK, the drive fault code is obtained from Pr 10.20, if the drive fault code is listed in Table 6.31, then SM-Ethernet will return the ODVA fault code as shown in Table 6.31 below. If the drive fault code is not listed in Table 6.31 then SM-Ethernet will return the ODVA code as follows: ODVA Fault Code = 0x1000 + drive fault code. Table 6.31 Control Supervisor fault code attribute
Drive Fault Code 1 2 3 4 6 ODVA Fault Code 0x3220 0x3210 0x2300 0x7112 0x9000 Drive Fault Code 20 21 26 32 ODVA Fault Code 0x2310 0x4300 0x5112 0x3130
CtrlFromNet
Name: Class Instance Attribute CtrlFromNet 0x29 0x01 0x0F Default Data Type Access N/A USINT Get
Security
Indicates whether the drive is operating under fieldbus or terminal control. This attribute will be set to 1 if Pr 6.42 (bit 7) = 1 and Pr 6.43 = 1 (fieldbus).
Diagnostics
DriveEnable
Name: Class Instance Attribute DriveEnable 0x29 0x01 0x66 Default Data Type Access N/A USINT Get/Set
Advanced features
Enables the drive. This puts the drive into the Ready state, allowing the RunFwd and RunRev attributes to control the drive. RunFwd and RunRev will have no effect if DriveEnable is not set to 1. Get/Set
NOTE
Quick reference
Pr 6.42 bit 0.
Glossary of terms
The external hardware enable signal must also be present before the drive will enter the Ready state.
Index
www.controltechniques.com
59
Parameter dependence Pr 10.06 Pr 6.42 (bit 8) (See Table 6.33 on page 61) Closed Loop Open Loop Closed Loop Open Loop Open Loop Pr 3.02 Pr 5.04 Pr 1.21 (scaled to 0 decimal places) Pr 1.21 * 60 / NofPP (scaled to 0 decimal places) Pr 1.21 = SpeedRef * NofPP / 60 (scaled to 0 decimal places) Pr 4.20 (scaled to 1 decimal place) Pr 4.08 (scaled to 1 decimal place) 1 0 Pr 1.49=3 AND Pr 1.50=1 Pr 1.49<>3 OR Pr 1.50<>1
NofPP = Number of Pole Pairs. NetRef can only be changed between local and remote when the drive is in speed control mode. If a change is requested when in torque mode then an error code will be returned.
AtReference
Name: Class Instance Attribute AtReference 0x2A 0x01 0x03 Default Data Type Access N/A USINT Get
Indicates that the drive is running at the requested speed. Get Pr 10.06 0 = Drive not running at requested speed. 1 = Drive running at requested speed.
NetRef
Name: Class Instance Attribute NetRef 0x2A 0x01 0x04 Default Data Type Access N/A USINT Get/Set
Selects the source of the speed reference. Get/SetPr 6.42 bit 8 0 = analog speed reference. 1 = digital speed reference.
60
www.controltechniques.com
NOTE
The NetRef can only be changed between local and remote when the drive is configured in speed control mode. If a change is requested when in torque mode then a Device State Conflict error code 0x10 will be returned.
DriveMode
Name: Class Instance Attribute DriveMode 0x2A 0x01 0x06 Default Data Type Access N/A USINT Get/Set
DriveMode does not allow the operating mode of the drive to be changed. Pr 4.11 will be written to as shown in Table 6.33 below, provided that the drive is already in the correct operating mode. Table 6.33 AC/DC Drive object DriveMode attribute
Access Value 1 2 2 2 3 Get 3 3 3 0 0 0 1 1 Mode (Pr 4.11) Open Loop Speed (0) Closed Loop Speed (0) Closed Loop Speed (0) Closed Loop Speed (0) Torque Control (1) Torque Control (1) Torque Control (1) Torque Control (1) Dont care User defined Torque control with speed override (2) OR Coiler/uncoiler mode (3) OR Speed control with torque feed-forward (4) Invalid Attribute Value (0x09) Open Loop Speed (0) Device State Conflict (0x10) Current drive mode (Pr 11.31) Open loop (1) Closed loop vector (2) Servo (3) Mentor MP Open loop (1) Closed loop vector (2) Servo (3) Mentor MP Regen (4) Dont care Dont care Open loop (1) Closed loop vector (2) OR Servo (3) OR Regen (4) OR Mentor MP Closed loop vector (2) OR Servo (3) OR Mentor MP Open loop (1) OR Regen (4) Open loop (1) OR Closed loop vector (2) OR Servo (3) OR Mentor MP Regen (4)
Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics
Set
2 2
Advanced features
3 3
NOTE
Pr 11.31 will never be changed by setting the DriveMode attribute. An error (0x10) will be generated if the requested DriveMode value does not correspond to the current DriveType operating mode.
Index
www.controltechniques.com
61
SpeedActual
Name: Class Instance Attribute SpeedActual 0x2A 0x01 0x07 Default Data Type Access N/A USINT Get
Returns the actual speed of the motor in RPM. The source of the motor speed depends on the operating mode of the drive. Get Get Pr 5.04 (Open Loop). Pr 3.02 (Closed Loop or Servo).
SpeedRef
Name: Class Instance Attribute SpeedRef 0x2A 0x01 0x08 Default Data Type Access N/A USINT Get/Set
Sets or returns the speed reference in RPM. Closed loop, Servo Get/Set SpeedRef = Pr 1.21 (Scaled to 0 decimal places). Open loop Get SpeedRef = (Pr 1.21 * 60) / Pole Pairs (Scaled to 0 decimal places). Set Pr 1.21 = (SpeedRef * Pole Pairs) / 60 (Scaled to 0 decimal places).
TorqueActual
Name: Class Instance Attribute TorqueActual 0x2A 0x01 0x0B Default Data Type Access N/A USINT Get
Returns the actual load on the motor as a percentage of the rated motor load. This attribute has 1 decimal place precision, a value of 1000 represents 100.0% load. Get Pr 4.20.
TorqueRef
Name: Class Instance Attribute 0x2A 0x01 0x0C Default Data Type Access N/A USINT Get/Set
Sets the load (torque) reference as % of rated motor load (torque). This attribute has 1 decimal place precision, so a value of 1000 represents 100.0% load. Set Pr 4.08 = TorqueRef / 10. Get TorqueRef = Pr 4.08 * 10.
62
www.controltechniques.com
RefFromNet
Name: Class Instance Attribute RefFromNet 0x2A 0x01 0x1D Default Data Type Access USINT Get
Indicates the source of the speed reference. TRUE if Pr 1.49 = 3 and Pr 1.50 = 1. FALSE otherwise.
Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
63
100 - 127 Menus of option module (if installed) in slot 1. 130 - 157 Menus of option module (if installed) in slot 2. 160 - 187 Menus of option module (if installed) in slot 3. 0 Menu 0.
64
www.controltechniques.com
www.controltechniques.com
65
7
7.1
NOTE
If you are not using DHCP you will need to manually configure the address, subnet mask and default gateway (if you are connecting from a different subnet) see section 5.11 Setting the IP address on page 22.
7.1.1
Making a connection
To connect to SM-Ethernet, enter the address of the SM-Ethernet module (see section 5.11 Setting the IP address on page 22) into the browser window as follows: http://192.168.1.100 (this is the default address) Replacing the address (192.168.1.100) with the address of the SM-Ethernet module you wish to communicate with.
NOTE
The default IP address when not using DHCP is 192.168.1.100. In order to communicate with this address your PC will need to be on the same subnet or have a gateway capable of reaching this address, additionally SM-Ethernet will also require a gateway configured to communicate with the PC in this case.
66
www.controltechniques.com
7.2
Getting started
Protocols
Security
Diagnostics
Advanced features
Quick reference
Glossary of terms
Index
HOME
PARAMETERS
Home Page
Module Info
Profile
Custom Pages
The menu structure on SM-Ethernet is logically grouped by function to allow for ease of navigation.
www.controltechniques.com
Summary
Drive Menus
Editor
Advanced Editor
67
7.2.1
The home page contains the following main areas: Top-level menu - this is the menu that is used to navigate to the menus on SM-Ethernet. Click on the items to make a selection. Sub-menu - the sub-menu sub divides the top-level menu in to more subsections. Click on the items to make a selection. Drive details - contains more details about the SM-Ethernet usage and settings. The section also details any Solutions Modules installed to the drive and their firmware versions. User menu parameter summary - details the parameters that the user has previously defined to appear in this menu. Drive name - this is the name allocated to SM-Ethernet during set-up. Language packs installed - this area of the screen will indicate whether any languages (other than English) are installed in the module. Click on the image to select that language display or alternatively the language can be changed from within the user profile menu.
68
www.controltechniques.com
7.2.2
Logging in
Before you can view any additional screens you must login to SM-Ethernet. The default username is root and the default password is ut72. The root username cannot be changed, but the password should be changed to prevent unauthorized access to SMEthernet. This account is not appropriate for day to day use, and an Administrator account should be created as soon as is practically possible. The password for the root account should be noted in a secure place as this password is not reset when the module is defaulted. Figure 7-3 shows the login screen, after entering the details click the LOG-IN button to login. If you lose your passwords you will need to contact your supplier or local drive centre for instructions on how to change the password. The inactivity logout is configurable per account, although it cannot be set to Disabled for Super User and Administrator accounts.
NOTE
Passwords are case sensitive and must be at least 6 characters in length and limited to a maximum of 15 characters. For security reasons passwords should be recorded in a secure location known only to the account user. The root account password cannot be reset back to the default (ut72) as this would be less than the minimum length allowed for a password. Figure 7-3 Log-in
NOTE
When you have finished working with the module you should log-out using the log out option in the top-level menu. This prevents unauthorized access to SM-Ethernet. Depending on which page is active, after a period of inactivity you may be automatically logged out. This can be configured from the Profile sub-menu of the HOME page to one of the following options: Default (10 minutes) 5 minutes 15 minutes 30 minutes 60 minutes Disabled (Read Only and General User accounts only)
www.controltechniques.com
69
7.2.3
Home
Homepage - Displays information about the drive and user configured parameters. Module Info - Shows technical information about SM-Ethernet. This information includes the MAC address, SM-Ethernet firmware version, the power-up time, file system availability and other parameters. Profile - Allows users to change passwords, languages and session timeout lengths. Custom pages - Only present if custom pages have been defined.
7.2.4
Parameters
Drive Menus - Displays a list of the menus within the host drive. Editor - Shows the parameter editor interface. The operators and source options supported by the Advanced Editor can also be used in the Update Value box to modify the selected parameter. Advanced Editor - Allows direct parameter access by means of a command line instruction, in a similar way to the immediate window in SyPTPro. The syntax of the command instruction is as follows: {#[int]mm.pp} {[operator][-][source]}
NOTE
For clarity, spaces may be inserted between command arguments as required. The terminology is described in Table 7.1 Advanced editor command line syntax . Table 7.1 Advanced editor command line syntax
Command Description Represents the destination menu and parameter. Forces parameter data type to be treated as an integer. Example Result Returns the value of Pr 20.21. Pr 1.21 displays the value 5.0. Writes the value 123 to Pr 20.21. Increments the value of Pr 20.21 value by 1. Decrements the value of Pr 20.21 value by 1. Increments the value of Pr 1.21 by the value of Pr 20.21. Decrements the value of Pr 1.21 by the value of Pr 20.21. Destination parameter (required) #mm.pp #20.21
Operator (required) = Use source value directly (optional). #20.21 = 123 Increment destination value by 1. ++ Note: Cannot be used with the - function. Decrement destination value by 1. -Note: Cannot be used with the - function. Increment destination value by source value. #20.21 -#20.21 ++
+=
#1.21 += #20.21
-=
#1.21 -= #20.21
70
www.controltechniques.com
^=
&=
|=
#20.20 |= #20.21
Getting started
Negate function (optional) Negates the source value Writes Pr 20.20 with a value equal, #20.20 = - #20.21 but of opposite polarity, to the Note: Cannot be used with the ++ value of Pr 20.21. or -- operators. Note: Cannot be used without the source parameter specified. Source parameter (required unless ++ or -- operators used) #mm.pp n or 0xn Represents the source menu and parameter. #20.20 = #20.21 Writes the value of Pr 20.21 into Pr 20.20
Represents a number to be used for #20.20 = 1500 Writes the value the source value. 1500 into or Pr 20.20 Note: Can be specified in decimal or #20.20 = 0x05DC hexadecimal.
Security
Parameter File - Allows a CTSoft parameter file to be downloaded from the host drive for setting up parameters.
Diagnostics
7.2.5
Protocols
Summary - Displays and allows editing of the protocol thread priority levels. Modbus TCP/IP - Displays and allows editing of the TCP/IP settings for Modbus TCP/IP. Email - Allows setting up of event triggered e-mails and configuration of the mail server settings. Scheduled Events - Configure events to trigger at certain times or on certain event conditions, also configures the time source server. EtherNet/IP - Displays and allows editing of the EtherNet/IP settings and parameter mappings.
www.controltechniques.com
71
7.2.6
Network
Summary - Allows SM-Ethernet to scan the local subnet for other SM-Ethernet modules. Modules - The network scan option scans for any module that is within broadcast range. This is not limited by subnets, but by gateways and proxy servers. It can be on the same subnet, or a different subnet, as long as it is not behind a gateway that does not forward broadcast messages. The web pages will only show the first 250 modules found. The modules web page can also be used to configure the IP address settings of other modules on the network, other modules do not have to have valid IP settings to be found. This means that when manually configuring IP addresses, only one module needs to be configured through parameters, the others can all be left with the default settings and configured through the web page of the module that has a valid IP address.
NOTE
The Ethernet discovery protocol is not compatible across versions. Modules running firmware version V01.00.00 may not locate modules running version V01.01.00 and above and visa-versa.
7.2.7
Configuration
Communications - Displays and allows changes to the Ethernet and TCP/IP settings. The Ethernet settings which can be changed here are baud rate, duplex mode and crossover compensation. (The only possible change in the TCP/IP section is the option to enable or disable the DHCP server). Application - Allows the displayed information on the Homepage to be viewed or changed. This includes the drive name, network name, drive function and contact details. User Menu - Allows configuration of the user menu (as shown on the home page under Parameter Summary) to be changed. Update - Allows system files, language files and backup files to be uploaded to the SM-Ethernet module. Backup - Allows data from the module to be downloaded for backup and security reasons. This file can include the application configuration, module parameter values and module security settings. This file can be uploaded to any SM-Ethernet module (Decrypt module security settings not selected) or only to the SM-Ethernet module that was used to create the backup file (Decrypt module security settings selected) using the Update menu option. Security - Provides user accounts and password management facilities along with a facility to configure the connection filters. Reset - Allows the module to be reset.
7.2.8 7.2.9
Help
These pages provide a basic level of help on the features of the SM-Ethernet module.
Log-Out
This option logs the current user out of the web pages.
72
www.controltechniques.com
8
8.1
NOTE
To avoid potential problems Control Techniques recommend that custom web page design is performed only by suitably experienced personnel. Support on this subject will be limited to interfacing to the drive only. General web design techniques will not be supported.
Security
8.2
Managing files
In order to upload to SM-Ethernet and download from SM-Ethernet custom web pages on the drive you must connect to the drive using an FTP program. Most popular FTP programs should be suitable for this purpose.
8.3
www.controltechniques.com
73
8.4
Custom files
After connecting to SM-Ethernet you should see a listing of the file structure. Figure 8-2 Directory structure
Figure 8-2 shows an example of the directory structure on SM-Ethernet, the files required to generate custom pages are contained within the custom directory. Figure 8-3 Custom files
Figure 8-3 shows the files for the custom pages that are installed by default on SMEthernet, however index.htm is the only required file, and if this exists the custom pages will appear in the sub-menu when logged in. The files are defined as follows. smethernet.htm - contains the Javascript for connecting to the drive parameters and should not be changed. index.htm - contains examples of how to use the Javascript to display pages on a web page for monitoring of values. config.htm - contains examples of how to use Javascript to write to parameters in the drive. style.css - contains the cascading style sheet definitions for the web pages.
NOTE
images - contains the images for the custom pages, these may be added to if required.
If these files are not present then please contact your supplier or local drive centre as the custom pages will need to be uploaded into the SM-Ethernet module using the FTP connection.
74
www.controltechniques.com
8.5
NOTE
To test the web pages on the module you will need to log-in to the web pages then select custom pages from the home page option. You can access the pages directly as http:// WWW.XXX.YYY.ZZZ/FS/system/custom/index.htm (where WWW.XXX.YYY.ZZZ is the target SM-Ethernet modules IP address). You must still be logged in to view these pages (some user accounts can be configured to be permanently logged in see section 10.6 Security levels on page 87).
Getting started
8.6
Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
75
http://129.111.0.136/US/1.21/dynamic/readparval.xml This is decoded as a single read of Pr 1.21 from the SM-Ethernet module with the address 129.111.0.136. For multiple parameters each parameter is separated by the underscore character as follows: http://129.111.0.136/US/1.21_1.24/dynamic/readparval.xml The response to the URL request above would be: <parameters> <parameter name="1.21" value="55" dp="1" text="5.5Hz" /> <parameter name="1.24" value="0" dp="1" text="0.0Hz" /> </parameters> showing the values read from each parameter along with the number of decimal places for the parameter.
NOTE
To read or write the parameters you must be logged in with appropriate security access.
76
www.controltechniques.com
Applications
SM-Ethernet provides an alternative to the EIA-485 (RS-485) connections provided on the front of the drive. By using SM-Ethernet it is possible to communicate to the drive using the following range of Control Techniques products. CTSoft. CTScope SyPTPro. SyPTLite. OPC server.
This means that any applications that are familiar to the engineer can now be used over Ethernet as if the user were connected locally. Some parameters have a profound effect on the operation of the drive. They must not be altered without careful consideration of the impact on the controlled system. Measures must be taken to prevent unwanted changes due to error or tampering especially if a remote user can access the drive over Ethernet.
CAUTION
9.1
Web page FTP/custom Applications basics pages Security Diagnostics Advanced features
9.2
9.2.1
CTSoft
Installing CTSoft
To install CTSoft follow the instructions provided with the software. To use CTSoft with Ethernet will require a version of CTSoft that has support for Ethernet and the associated API or communication server. Please contact the supplier of the drive for more information.
www.controltechniques.com
77
9.2.2
Select the Work with a drive option and select the correct drive type followed by clicking on the OK button. From the navigation panel (Explorer) double click on the drive properties from the list as shown in Figure 9-2 Drive properties on page 78. Figure 9-2 Drive properties
78
www.controltechniques.com
Advanced Settings
From the drive properties menu shown in Figure 9-3 click on the Comms Settings button and select CT-TCP/IP from the protocol drop down box, then click on advanced and change the TCP/IP Extra Timeout to 2000. Click OK and OK again to return to the screen shown in Figure 9-3. Figure 9-3 shows the settings required to specify the IP address of the SM-Ethernet module that the software will directly connect to. The IP address is always required. To connect to a single drive via Ethernet all that is required is the IP address. The Slot and Sub node fields should be left blank. To communicate through the host drive via the SM-Ethernet module to a second drive on a CTNet network, the Slot and Sub node values must be entered. The Slot is the slot number of the host drive which contains the SM-Applications module used to route the CTNet messages onto the CTNet network. The Sub node is the CTNet node address of the drive to be communicated with. For example, if the host drive has a SM-Ethernet installed in Slot 3 and a SMApplications installed in Slot 2, to communicate to a drive with a CTNet node address of 5, a slot number of 2 and a Sub node of 5 should be entered.
9.2.3
Advanced settings
These are accessed using the button (as shown in Figure 9-3). The Port number will affect all communications and should not usually be changed, any changes to this Port must be matched on the SM-Ethernet module. The Unit ID should normally be blank, if not this informs the software that a third party gateway is in use and communications via SM-Ethernet will not be possible (for a gateway example see Knowledge Base Article COMMS024).
www.controltechniques.com
79
Finally click OK to finish the configuration process. Follow the instructions provided with CTSoft to use the product. The only configuration possible using CTSoft over SM-Ethernet is a single SM-Ethernet module on a solitary network drive at the same time.
NOTE
Support for the SM-Ethernet was included in CTSoft Version 01.05.00 and above. Support for using SM-Ethernet as a gateway to CTNet was included in CTSoft Version 01.06.01 and above. For communication to be established, the serial priority parameter Pr MM.37 must be set to ON in SM-Ethernet.
NOTE
9.3
9.3.1 9.3.2
CTScope
Installing CTScope
To install CTScope, follow the instructions provided with the software.
CTScope configuration
All the appropriate configuration settings are displayed on the main screen for communication over TCP/IP with CTScope.
NOTE
For communication to be established, the serial priority parameter Pr MM.37 must be set to ON in SM-Ethernet.
9.4
9.4.1
SyPTPro
Installing SyPTPro
To install SyPTPro follow the instructions provided with the software. To use SyPTPro with Ethernet will require a version of SyPTPro that has support for Ethernet. Table 9.1 below lists the minimum software version required for communication over Ethernet for the Control Techniques products used in this section.
80
www.controltechniques.com
9.4.2
SyPTPro configuration
There are a number of possible configurations for using SyPTPro over Ethernet. 1. A single SM-Ethernet module on a solitary network drive. 2. A first drive hosting a single SM-Ethernet module with a single SM-Applications networked to a second CTNet enabled drive or Beckhoff bus coupler. 3. A first drive hosting two SM-Ethernet modules networked to a second CTNet drive hosting a single SM-Ethernet module. Figure 9-5 illustrates these three configurations. Figure 9-5 SyPTPro over Ethernet routing options
Option 1
Option 2
Ethernet
Option 3
For each configuration the following steps must be taken: 1. After installing SyPTPro double click on the program icon. The window shown in Figure 9-6, below, will be displayed. If the current protocol is not set to CT-TCP/IP
Index
www.controltechniques.com
81
(Ethernet), then click the Change button and a window similar to Figure 9-7, below, will be displayed, select the CT-TCP/IP protocol and click OK. 2. Select the Go online and detect drives option and click OK, the communication settings window will be displayed as shown in Figure 9-8 on page 83. 3. From the communication settings window, select the Automatically scan local network option. (SyPTPro can be instructed to search for all nodes on the local network, specific nodes grouped together on a particular network or additional networks (Ethernet or CTNet) via specified IP address(es), these addresses are added by selecting the Connect to/through specific nodes option and clicking on the Add button. Each IP address and port number (if necessary) may now be added, click on OK to accept the changes and return to the PC communication settings window). 4. When all network options are configured as required, click on OK and SyPTPro will browse the network to find all drives resident on it (depending on the configured network settings). Figure 9-6 SyPTPro startup
NOTE
For communication to be established, the serial priority parameter Pr MM.37 must be set to ON in SM-Ethernet. SM-Ethernet User Guide Issue: 6
82
www.controltechniques.com
Safety Mechanical Electrical Introduction information installation installation Getting started Protocols Web page FTP/custom Applications basics pages
5. A graphical representation of the network is displayed. Figure 9-9, below, shows the third configuration type. A first drive hosting two SM-Ethernet modules networked to a second CTNet drive hosting a single SM-Ethernet module. Figure 9-9 Hardware architecture
NOTE
For a system with multiple networks Pr MM.38 can be used to define the group in which the module is found, this is reflected in SyPTPro by the network number, for example if a module is set to group 2 it will appear on network Ethernet2 in SyPTPro. Pr MM.38 must match the network number that the module is connected to in SyPTPro otherwise the node may not be detected.
www.controltechniques.com
83
9.5 9.6
SyPTLite
SYPTLite is currently only supported if launched from SyPTPro.
OPC server
The Control Techniques OPC server can be used to provide communication between an OPC client (which supports the OPC data access specification) and any suitable Control Techniques drive. The OPC client configures the OPC server on which drive parameters to read and the cyclic rate at which they will be read. The OPC server will notify the client if any of the configured parameter values change, the OPC client then requests the updated value from the OPC server. The Control Techniques OPC server version 03.01.00 and above support the TCP/IP protocol used over Ethernet.
NOTE
84
www.controltechniques.com
10
10.1
Security
Introduction
On open networked systems it is important that security is considered. Security covers aspects such as access to devices using passwords, network infrastructure, company procedures and backup procedures. The physical system security should be enforced with acceptable user policies and appropriate employee guidelines.
10.2
Control Techniques recommend the use of a quality anti-virus solution on any networked system. The overall network security policy resides with the network administrators and any connections to a network should be approved by the network administrators.
Security Diagnostics
Some managed switches provide control methods for network traffic, however a firewall offers significantly more features. Configuration of a switch or firewall is beyond the scope of this document.
Advanced features
10.3
Default restrictions
By default, access to the drive over Ethernet is set to read/write access. By default, all services are available. This can be changed using Pr MM.36 (please see section 12.4.7 SM-Ethernet disable full access on page 106 for more information).
Quick reference
www.controltechniques.com
85
10.4
Account management
A user account system is provided to allow an administrator to give access rights to different classes of user. The system provides accounts for administrator and user account types. The default username root and password ut72 should be used to gain initial access to the module. Once logged on, additional accounts should be added as required, with key members of the engineering staff having supervisor access. It is recommended that a policy is put into place to ensure that passwords are recorded elsewhere. There is a limit on the number of active user accounts allowed, this limit is fixed at 10 and includes logged-in users and any communication accounts in use (e.g. FTP, EtherNet/IP, etc.). The maximum number of active logged-in user accounts is 5. A good company policy on passwords can help prevent problems occurring due to lost passwords.
NOTE
10.5
NOTE
Following changes to the root account password SM-Ethernet should be reset using the reset function on the web pages.
86
www.controltechniques.com
10.6
Security levels
Security levels are provided to allow different types of users to be given different access rights to the drive and module parameters. Table 10.1 shows the access rights for specific user types. Table 10.1 Security levels
Disable session timeout View Security Setttings View Config Overviews Edit Security Settings
Edit Configuration
Upload Firmware
View Parameters
Enable Features
Edit Parameters
Getting started
No No No Yes Yes
No No No Yes Yes
No No No No Yes
No No No No Yes
No No No No Yes
Protocols
Security Diagnostics
Be careful when enabling connection filtering as it is possible to lose the ability to communicate with SM-Ethernet. If this situation occurs it is possible to disable connection filtering by setting Pr MM.39 to 0.
www.controltechniques.com
87
11
Diagnostics
This section of the manual provides basic diagnostic information intended to enable resolution of the most common problems encountered when setting up an SM-Ethernet module on an Ethernet network. A high percentage of problems reported are basic setup problems that can be avoided by using the following pages. Start by using the Diagnostic flow chart on page 89 to determine the possible cause of a problem. If after following the flow chart you are still experiencing problems please contact your supplier or local drive supplier for support.
NOTE
Please note that support will be limited to the setting up and networking of the drive and not network infrastructure design.
11.1
LED diagnostics
The SM-Ethernet module is equipped with 4 LEDs on the front panel to aid in the diagnostics procedure. The functions of these LEDs are described in Table 11.1 LED functionality below. Table 11.1 LED functionality
LED Name Link / Activity LED State Off Steady green Flashing green Speed Off On Flashing green (slow) Flashing green (fast) Module status Steady green Flashing green and red Steady red Flash access Steady green Steady red Description Ethernet connection not detected. Ethernet connection detected. Ethernet communication detected. 10Mb/s data rate. 100Mb/s data rate. Running RAM bootloader image. Initialising main image. Running. Warning (slot or configuration error). Major fault. Reading from flash memory. Writing to flash memory.
88
www.controltechniques.com
Getting started
Advanced features
Quick reference
Glossary of terms
Index
11.2
www.controltechniques.com
89
11.3
The module ID code indicates the type of module installed into the slot corresponding to menu MM. This is useful for checking the module installed is of the correct type, especially when used with DPL code. The ID code for SM-Ethernet is 410.
Unidrive SP (Sizes 1 to 6) / Unidrive SPM / Mentor MP The software version of the Solutions Modules can be identified by looking at Pr 15.02 or Pr 16.02 or Pr 17.02 and Pr 15.51 or Pr 16.51 or Pr 17.51. Menu 15,16 or 17 is Solutions Module slot dependent with menu 17 being the lowest position nearest the control terminal connections. The software version takes the form of xx.yy.zz, where Pr 15.02 or Pr 16.02 or Pr 17.02 displays xx.yy and Pr 15.51 or Pr 16.51 or Pr 17.51 displays zz (e.g. for software version 01.01.00 on a module in the middle Solutions Module slot, Pr 16.02 will display 1.01 and Pr 16.51 will display 0). Unidrive SP (Size 0) / Digitax ST / Unidrive ES / Affinity The software version of the Solutions Modules can be identified by looking at Pr 15.02 or Pr 16.02 and Pr 15.51 or Pr 16.51. Menu 15 or 16 is Solutions Module slot dependent with menu 15 (Unidrive SP size 0 and Digitax ST) or menu 16 (Unidrive ES and Affinity) being the position nearest the control terminal connections. The software version takes the form of xx.yy.zz, where Pr 15.02 or Pr 16.02 displays xx.yy and Pr 15.51 or Pr 16.51 displays zz (e.g. for software version 01.01.00 on a module in the middle Solutions Module slot (Unidrive ES and Affinity) or for Unidrive SP size 0 and Digitax ST, the Solutions Module slot nearest the incoming supply terminals), Pr 16.02 will display 1.01 and Pr 16.51 will display 0). Commander SK (Sizes B to D and 2 to 6) The software version of the Solutions Module can be identified by looking at Pr 15.02 and Pr 15.51. The software version takes the form of xx.yy.zz, where Pr 15.02 displays xx.yy and Pr 15.51 displays zz (e.g. for software version 01.01.00 Pr 15.02 will display 1.01 and Pr 15.51 will display 0).
90
www.controltechniques.com
This is used as a way to identify the node on the network independently of the IP address. This is not the IP address. This allows SM-Ethernet to be identified without knowing the IP address and is used in conjunction with Pr MM.38 (see section 12.4.9 SM-Ethernet user allocated group on page 107).
11.4
The SM-Ethernet will automatically detect the network data rate when set to 0. When using auto-detect, information about the negotiated setting will be stored in Pr MM.44. Table 11.2 SM-Ethernet baud rates
Pr MM.04 0 1 2 bit/s Auto-detect 10Mbs 100Mbs
Security
If set to a 0 the module will use static IP addressing and get its address, subnet mask and default gateway from parameters Pr MM.10 to Pr MM.13, Pr MM.14 to Pr MM.17 and Pr MM.18 to Pr MM.21 respectively. When set to 1 the module will obtain this information from a DHCP server on the network.
NOTE
Diagnostics
Advanced features
It is recommended that the MAC address of the SM-Ethernet module is used to allocate the IP address when DHCP is enabled.
Quick reference
This is the most significant octet of the modules IP address. When using DHCP this will be updated from the DHCP server. The IP address is in the format W.X.Y.Z.
www.controltechniques.com
91
If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the second most significant octet of the modules IP address. When using DHCP this will be updated from the DHCP server. The IP address is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the third most significant octet of the modules IP address. When using DHCP this will be updated from the DHCP server. The IP address is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the least significant octet of the modules IP address. When using DHCP this will be updated from the DHCP server. The IP address is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the most significant octet of the modules IP subnet mask. When using DHCP this will be updated from the DHCP server. The IP subnet mask is in the format W.X.Y.Z.
92
www.controltechniques.com
If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the second most significant octet of the modules IP subnet mask. When using DHCP this will be updated from the DHCP server. The IP subnet mask is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
Getting started
This is the third most significant octet of the modules IP subnet mask. When using DHCP this will be updated from the DHCP server. The IP subnet mask is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
Security
Diagnostics
This is the least significant octet of the modules IP subnet mask. When using DHCP this will be updated from the DHCP server. The IP subnet mask is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
Advanced features
This is the most significant octet of the modules IP default gateway address. When using DHCP this will be updated from the DHCP server. The default gateway address is in the format W.X.Y.Z.
www.controltechniques.com
93
If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the second most significant octet of the modules IP default gateway address. When using DHCP this will be updated from the DHCP server. The default gateway address is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the third most significant octet of the modules IP default gateway address. When using DHCP this will be updated from the DHCP server. The IP subnet mask is in the format W.X.Y.Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This is the least significant octet of the modules IP default gateway address. When using DHCP this will be updated from the DHCP server. The default gateway address is in the format W,X,Y,Z. If DHCP is disabled, (MM.05=0), then this parameter should be saved (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) and activated by resetting the SMEthernet module (MM.32=ON).
This parameter determines how the duplex mode is set on SM-Ethernet. When set to 0 the module will auto-negotiate the duplex mode.
94
www.controltechniques.com
If this parameter value is changed, then a module save should be performed (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) followed by resetting the SM-Ethernet module (MM.32=ON) to activate the change.
This parameter is used to determine if the module should use auto-crossover detection or use a standard (patch) cable. If it is set to 0 you either need a cross-over cable or you need to connect via a switch. Table 11.4 Crossover detection
Pr MM.43 0 1 Crossover detection Disabled. Enabled.
If this parameter value is changed, then a module save should be performed (xx.00=1000 or xx.00=1001 if using a DC supply to power the drive) followed by resetting the SM-Ethernet module (MM.32=ON) to activate the change.
Security
Displays the baud rate at which SM-Ethernet is operating. Table 11.5 Actual baud rate
Pr MM.44 0 1 2 Actual baud rate Baud rate not set. 10Mbs. 100Mbs.
Diagnostics
Advanced features
Index
www.controltechniques.com
95
The most significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. This part of the MAC address will always be set to 00 as the first 3 bytes of the MAC address defines the manufacturer (Control Techniques).
The second most significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. This part of the MAC address will always be set to 0D as the first 3 bytes of the MAC address defines the manufacturer (Control Techniques).
The third most significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. This part of the MAC address will always be set to 1E as the first 3 bytes of the MAC address defines the manufacturer (Control Techniques).
96
www.controltechniques.com
The fourth most significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. The last 3 bytes form a unique serial number for a specific SM-Ethernet.
The fifth most significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. The last 3 bytes form a unique serial number for a specific SM-Ethernet.
The least significant byte of the MAC address. The MAC address is a unique value specific to only a single SM-Ethernet module and takes the form U:V:W:X:Y:Z. The MAC address may be found on the product label on the outside of SM-Ethernet. The last 3 bytes form a unique serial number for a specific SM-Ethernet.
Security
11.5
Diagnostic parameters
SM-Ethernet - diagnostic information Default Pr MM.06 Range Access N/A -99 to 9999 RO
Diagnostics
Advanced features
The diagnostic information for the SM-Ethernet can be viewed in the diagnostic information parameter (Pr MM.06). When the SM-Ethernet is communicating successfully over Ethernet, Pr MM.06 will give an indication of the number of frames that are being processed per second. For a list of operating status codes see Table 11.7 SM-Ethernet operating status codes on page 98.
www.controltechniques.com
97
-93
The modules parameters have been incorrectly configured which Invalid Configurais preventing the module from continuing with its initialisation. tion Check the modules configuration. Major software fault The Solutions Module has encountered an unexpected error. Remove and then re-apply power to the drive. If the problem persists the module should be replaced. The Solutions Module has encountered an unexpected error. Remove and then re-apply power to the drive. If the problem persists the module should be replaced.
-94
-95
Initialisation Failed
98
www.controltechniques.com
If the SM-Ethernet module does not initialise correctly when the drive is powered up, remove the power from the module, wait for the drive under-voltage (UU) trip to disappear and re-apply the power, if the problem persists then the SM-Ethernet module should be changed.
This parameter provides an indication for the user that a non-critical warning condition has been encountered. Bit 0 is set if any Solutions Module warning is active. Bits 1 through 7 can be mapped to specific warnings within the module, (this is not currently possible as there are insufficient warning types to make it necessary).
Getting started
If an error occurs the reason for the error is written to this parameter and the drive may produce a slot error. A value of 0 indicates that the module has not detected an error. For a list of SM-Ethernet error codes see Table 11.8 SM-Ethernet error codes on page 100.
NOTE
Security
Diagnostics
www.controltechniques.com
99
100
www.controltechniques.com
12
12.1
Advanced features
Email configuration
SM-Ethernet provides the facilities for sending email alerts. These emails are configured based on a trigger condition contained within a parameter.
12.1.1 Requirements
In order to send emails you will need the following:
NOTE
A mail server that accepts SMTP connections without a password. An email address for SM-Ethernet. The IP address of the mail server.
It is recommended that the address used is part of the standard corporate address structure (i.e. SMEthernet1@mycompany.com), contact your system administrator for advice on obtaining an email address. SM-Ethernet will not receive email, and facilities should be put in place to prevent mail going to this account residing on the server.
12.1.2 Setup
To setup email on SM-Ethernet you must first be logged in with appropriate permissions. From the PROTOCOLS menu select Email then select the Modify Configuration option on the menu. Enter the IP address of the mail server and the port number required (normally 25) click on APPLY to save the settings. You can now add up to 3 configurable email messages.
Some email servers and clients may convert the '.par' file to '.dat' if this occurs you should contact your systems administrator for assistance. If the 'From' field of an email is left blank the email will automatically be sent from the modules drive name. The drive name can be specified in the application details of the module, which is accessed from the Application menu.
NOTE
Index
www.controltechniques.com
101
12.2
Scheduled events
It is possible to configure the SM-Ethernet module to trigger certain events at certain times. The following examples show what can be achieved: The SM-Ethernet module could be configured to send an email once every month. Note that an event cannot send an email directly but it can change the value of a parameter. The email handler can then be configured to monitor the same parameter and to transmit when the value changes. Once every 200ms the SM-Ethernet module could trigger an Event task in an SMApplications module, causing it to sample data. A number of SM-Ethernet modules could write the current date and time to drive parameters once every second, within 50ms of each other. Thus providing each drive with a timestamp for scheduling coordinated (not synchronised) motion.
NOTE
Care must be taken to prevent a large amount of emails from being transmitted too quickly, otherwise the Ethernet network or server may be compromised. As the module has no back-up for the real-time clock it will need synchronising with an external clock every time the module is reset (except if the module has requested control of the serial communications buffer, where the reset is inhibited). In order for the clock to maintain accuracy it is important that re-synchronisation is carried out regularly. This synchronisation signal can come from a few different sources, but the module can only be configured to use a single method at any one time.
NOTE
12.2.1 Requirements
In order to schedule events based upon the time you will need a SNTP server IP address that does not require a login or a SNTP server that is broadcasting the time on the same network as the SM-Ethernet module.
102
www.controltechniques.com
12.2.3 Events
A total of 10 events can be configured on each SM-Ethernet module. Each event has the following: Summary - Each event can be given a descriptive name and independently enabled and disabled. To delete an event, tick the "Remove" option and then "APPLY". The "Missed Event Trip" option can be used to cause a trip if more than one event is missed. Time of first event - This section is used to specify when the event will first occur. When entering Hour, Minute, Second and Millisecond data, no information of a higher resolution can be omitted. e.g. If you wish the first event to occur at 30 minutes past the next hour, then the values "--:30:00:00" must be entered (the Second and Millisecond information must be included). Event condition - This section has two options, the first option will trigger the event if the set conditions are met, the second option will trigger the event if the specified parameter contains a non-zero value. Event action - This section is used to specify what action is to be taken on the event being triggered. Recurrence rule - This section is used to specify when the event will re-occur following the start condition being met. The minimum recurrence interval is 100ms.
Getting started
Protocols
12.3
NOTE
Do not reset or power down the drive when uploading firmware as this may result in data loss or corruption of the system file.
Security Diagnostics
Do not reset or power down the drive when uploading the language file as this may result in data loss or corruption of the system file.
www.controltechniques.com
103
12.3.3 Backup
To backup parameters in the drive using the internal web pages use the CONFIGURATION menu and select the Backup submenu. Select the options you require from the following: Application configuration data - contains information such as drive name and the information from the Current Application Configuration pages. Saved module parameter values - All the internal menus, Pr 60.xx, Pr 61.xx, Pr 62.xx and Pr MM.xx. Module specific security settings - All the usernames, passwords and security related functions. If you do not select the decrypt option below these values may only be used on the module they came from. Decrypted module security settings - Ticking this box allows the security settings above to be restored to any module. This option is only available to Adminstrative users.
Click on the SUBMIT button and choose a filename and location to save the file.
NOTE
It is recommended that before and after any changes are made a sequentially named backup is made. This means that at any point it is possible to restore the module to a previous state. In the event of data corruption or module failure the data can then be restored.
12.4
Advanced parameters
The parameters listed in this section are for advanced use only. You should only adjust the following parameters if you have a thorough understanding of SM-Ethernet and the application.
Setting this parameter to 1500 and re-initialising the module activates the protocol fail safe mode. All user protocols (modbus, FTP etc.) are disabled except for the web interface, which will start with default thread priority.
NOTE
When set to ON and the SM-Ethernet module is reset (Pr MM.32 set to ON), the module will change its parameter values stored in the modules local memory to default values. Any user changes or user web pages in the module will be lost. During this operation communications will be stopped. This parameter will automatically revert to OFF following the operation. Pr MM.32 must be set to ON to activate the change (see section 5.17 Re-initialising SM-Ethernet on page 26).
104
www.controltechniques.com
NOTE
The use of this parameter will lose any configuration in the module. Unless you have made a backup copy of the modules configuration you will lose all settings. All passwords and users are deleted, the root password remains unchanged.
This will save the modules current configuration in its local memory. During this operation communications will be stopped. This will save menu 60 (Pr MM.xx), menu 61, web page customisations, email settings, etc. This parameter should only be used to transfer a SM-Ethernet module to a different drive or when you wish to save any internal parameters directly (i.e. Pr 61.10). In order to save these parameters in the drives memory a drive save must be performed. This is required as SM-Ethernet will take its operating parameters directly from the slot memory on the host drive at startup.
NOTE
To save the parameters in the drive, a value of 1000 should be entered in Pr xx.00 followed by a drive reset (press the reset button, or toggle the reset input, or write the value 100 to Pr 10.38). * If the drive is in the under-voltage trip state or is fed from a low voltage backup supply, the value 1001 should be used and not 1000.
This will force the module to re-initialise and start up with the values contained in the slot menu of the host drive (MM.xx). This parameter will automatically reset to OFF after completion. During this operation communications will be stopped.
NOTE
Security
The transition of MM.32 from OFF to ON may not be visible on the drive display due to the update rate of the display. Writing 1070 to menu Pr MM.00 (to re-initialise all option modules) may not re-initialise the SM-Ethernet module. The handling of 1070 within SM-Ethernet is dependent on the state of Pr MM.37. See section 12.4.8 SM-Ethernet reduce serial interface priority on page 107 for further information.
NOTE
www.controltechniques.com
105
This will change the operating parameters for the module by copying the configuration from the backup copy in the SM-Ethernet module. During this operation communications will be stopped. The restored parameters will include menu 60 (Pr MM.xx), menu 61, web page customisations, email settings, etc. This will not save the current operating menu of the drive (Pr MM.xx), a drive save must be performed to achieve this.
The serial number is programmed into the module at the time of manufacture and consists of the least significant 3 bytes of the MAC address in decimal format.
NOTE
This can be used to find the complete MAC address of the module by combining the numbers with 00:0D:1E:xx.xx.xx. Where xx.xx.xx. is a value in Pr MM.35 converted to base 16 (HEX). e.g. If Pr MM.35 contains the value of 1193046, this would give the complete MAC address of 00 0D 1E 12 34 56.
This parameter will restrict a remote users access to the drive. Pr MM.36 = ON ensures that write access to the drive is disabled. Pr MM.36 = OFF allows full access to the drive parameters. With this parameter enabled access to the following is not allowed. Modbus TCP/IP write. EtherNet/IP write. FTP upload. Web page write access to SM-Ethernet.
106
www.controltechniques.com
OFF OFF/ON RW
It is not possible for the drive and SM-Ethernet module to support all of the available serial communication protocols simultaneously. This parameter, when set, allows SMEthernet to request the highest priority (not relevant for Commander SK). When on: The SM-Ethernet module will request highest priority (its actual state is shown in Pr 6.50) and the following restrictions will be applied: The drives serial interface will only be able to handle messages of 32 bytes or less. This will restrict the use of the software tools CTSoft, CTScope, OPC server, SyPTPro and SyPTLite when communicating via the RJ45 serial interface connector. An LCD keypad mounted directly to the drive will not work. A remote LCD keypad will work when connected to the RJ45 serial communications port. A Solutions Module reset using Pr MM.00 = 1070 may not work.
When off: Access to drive parameters and SM-Application parameters will still be allowed. This will restrict the use of the software tools CTSoft, CTScope, OPC server, SyPTPro and SyPTLite over Ethernet as SM-Ethernet will not be able to route messages using inter-option communications.
NOTE
When routing through SM-Ethernet to CTNet, this parameter must be set to ON. Failure to set this parameter ON will result in communication loss or unstable communications. For a system with multiple modules installed, the priority should be set for the module that is receiving the incoming request. Only one option module can have priority of the serial communications buffer at any time, priority access will be given to the first module requesting it.
Security
NOTE
Diagnostics
NOTE
This parameter can be used to provide logical groups for Control Techniques drives. This will allow grouping independently of the IP settings. This is used in conjunction with parameter Pr MM.03 (see section 12.4.10 SM-Ethernet user allocated address on page 108).
www.controltechniques.com
107
This is used as a way to identify the node on the network independently of the IP address.
When set to a 1 the connection filter list will be enabled. If you make a mistake configuring the connection filtering and cannot connect to the module, setting this parameter to 0 will allow communication to be restored.
12.5
NOTE
The default port for Modbus TCP/IP communication is 502, but this may be reconfigured using Pr 63.01 on SM-Ethernet.
MBAP
NOTE
It is important that when you implement the Modbus TCP ADU as shown in Figure 12-1, you include the MBAP as well as the PDU. The rest of this section does not repeat the MBAP header for each function code for reasons of clarity.
NOTE
108
www.controltechniques.com
Function Code
Response Data
Getting started
Security
PDU
If accessing one of the SM-Applications parameters (menus 7x, 8x or 9x) on a drive with more than one SM-Applications module installed, the message will be routed to the SM-Applications module installed in the lowest slot number, if this is undesireable then the direct access parameters (menus 10x, 11x, 12x, etc) should be used.
www.controltechniques.com
109
12.6
NOTE
Control Techniques register numbers are referenced from 0 to 65535 rather than the traditional 1 to 65536. This is because the Control Techniques implementation of Modbus in the receiving node adds 1 to the register number effectively preventing access to parameter Pr 00.00 within the drive.
Type select
Parameter address
The extended data types are defined such that the type 00 allows for backwards compatibility. Table 12.4 Data type field
Type field bits 15-14 00 01 10 11 Selected data type INT16 INT32 Float 32** Reserved Comments Backward compatible. None. IEEE794 standard not supported on all servers. None.
Control Techniques drive parameters currently do not support Float32. To overcome this INT32 should be used to represent 32 bit values. If a 32 bit data type is selected then the server uses two consecutive 16 bit Modbus registers in 'big endian' format (MSB transmitted first). For details of the data types within each product please consult the documentation for that product or contact your supplier.
110
www.controltechniques.com
Getting started
NOTE NOTE
For each byte in the PDU message, the MSB is transmitted first, followed by the LSB. If only one 16 bit register of a 32 bit register address is read the server returns the least significant word. For multiple registers, the register data will be returned in ascending order, beginning with the start register address. The Modbus CRC bytes are not required when using TCP/IP due to the ethernet frame providing the error checking. Writes a value to a single 16 bit register. The normal response is an echo of the request after the register contents have been successfully written. The register address can correspond to a 32 bit parameter but only the least significant 16 bits of data will be returned. Table 12.7 Client request message
Byte 0 1 2 3 4 5 Description Server destination node address, 0 is broadcast. Function code 0x06. Register address MSB. Register address LSB. Register data MSB. Register data LSB.
NOTE
NOTE
Security
NOTE
To write 32 bits of data to a 32 bit register address, the extended data type must be used (see section 12.6.1 Extended data types on page 110). For each byte in the PDU message, the MSB is transmitted first, followed by the LSB. The Modbus CRC bytes are not required when using TCP/IP due to the ethernet frame providing the error checking.
Glossary of terms
NOTE NOTE
Index
www.controltechniques.com
111
Description Server destination node address, 0 is broadcast. Function code 0x10. Start register address MSB. Start register address LSB. Number of 16 bit registers MSB. Number of 16 bit registers LSB. Length of register data to write (bytes). Register data 0 MSB. Register data 0 LSB. Register data 1 MSB. Register data 1 LSB.
For each byte in the PDU message, the MSB is transmitted first, followed by the LSB. For multiple registers, the register data is transmitted in ascending order, beginning with the start register address. The Modbus CRC bytes are not required when using TCP/IP due to the ethernet frame providing the error checking.
NOTE
112
www.controltechniques.com
Description Server destination node address, 0 is broadcast. Function code 0x17. Start register address to read MSB. Start register address to read LSB. Number of 16 bit registers to read MSB. Number of 16 bit registers to read LSB. Start register address to write MSB. Start register address to write LSB. Number of 16 bit registers to write MSB. Number of 16 bit registers to write LSB. Length of register data to write (bytes). Register data 0 MSB. Register data 0 LSB. Register data 1 MSB. Register data 1 LSB.
For each byte in the PDU message, the MSB is transmitted first, followed by the LSB. For both the request and response message, the register data is transmitted in ascending order, beginning with the start register address. The Modbus CRC bytes are not required when using TCP/IP due to the ethernet frame providing the error checking.
Security Diagnostics
NOTE
www.controltechniques.com
113
12.7
0x06 0x0B
114
www.controltechniques.com
13
13.1
Quick reference
Complete parameter reference
The table below lists all the SM-Ethernet set-up parameters that are required to configure the module. Table 13.1 SM-Ethernet parameter reference
Parameter Pr MM.01 Pr MM.02 Pr MM.03 Pr MM.04 Pr MM.05 Pr MM.06 Pr MM.10 Pr MM.11 Pr MM.12 Pr MM.13 Pr MM.14 Pr MM.15 Pr MM.16 Pr MM.17 Pr MM.18 Pr MM.19 Pr MM.20 Pr MM.21 Pr MM.29 Pr MM.30 Pr MM.31 Pr MM.32 Pr MM.33 Pr MM.35 Pr MM.36 Pr MM.37 Default 410 0 0 0 0 192 168 1 100 255 255 255 0 192 168 1 254 0 OFF OFF OFF OFF 0 OFF OFF Section 5.11 on page 22 Cross reference Description Section 11.3.1 on Module ID code. page 90 Section 11.3.2 on Option software version. page 90 Section 11.3.3 on User allocated address. page 91 Section 11.4.1 on Ethernet data rate. page 91 Section 11.4.2 on DHCP enable. page 91 Section 11.5.1 on Ethernet module diagnostic information. page 97 IP address Wip. IP address Xip. IP address Yip. IP address Zip. Subnet mask Wsubnet. Section 5.12 on Subnet mask Xsubnet. page 23 Subnet mask Ysubnet. Subnet mask Zsubnet Default gateway Wgateway. Section 5.13 on Default gateway Xgateway. page 24 Default gateway Ygateway. Default gateway Zgateway. Section 12.4.1 on Module management. page 104 Section 12.4.2 on Load option defaults. page 104 Section 12.4.3 on Save option parameters. page 105 Section 12.4.4 on Request to re-initialise. page 105 Section 12.4.5 on Restore parameters. page 106 Section 12.4.6 on Serial number (partial MAC address). page 106 Section 12.4.7 on Disable full access. page 106 Section 12.4.8 on Reduce SP serial interface priority. page 107
Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
115
Section 11.5.2 on Non-critical warning condition. page 99 Section 11.5.3 on Solutions Module error status. page 99 Section 11.3.2 on Solutions Module software sub-version. page 90
116
www.controltechniques.com
Safety Mechanical Electrical Introduction information installation installation Getting started Protocols Web page FTP/custom Applications basics pages
3 (Medium) FTP thread priority. 3 (Medium) SMTP thread priority. 3 (Medium) HTTP thread priority. 4 (High) 4 (High) 5000 2000 2000 30000 30000 250 500 0 0 0 0 0 0 0 0 Event thread priority. EtherNet/IP thread priority. Modbus thread tick time (s). EtherNet/IP thread tick time (s). Discovery and identification process silent period (ms). Discovery and identification process maximum search time (ms). Discovery and identification process search retention time (ms). IP communications timeout (ms). IP routing timeout (ms). Bootloader software version. Bootloader software sub-version. Menu 62 Parameter zero. Primary DNS server WDNS1. Primary DNS server XDNS1. Primary DNS server YDNS1. Primary DNS server ZDNS1. Secondary DNS server WDNS2. Secondary DNS server XDNS2. Secondary DNS server YDNS2.
www.controltechniques.com
117
118
www.controltechniques.com
Safety Mechanical Electrical Introduction information installation installation Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
119
NOTE
The parameters in Table 13.2 are configured internally by the web pages and should not be altered via parameter access directly.
120
www.controltechniques.com
14
Glossary of terms
Address: This is the unique network identification given to a networked device to allow communication on a network. When a device sends or receives data the address is used to determine the source and the destination of the message. Assembly object: A software component within the SM-Ethernet which allows access to the parameters within the drive or which allows control and monitoring of the drive by using the EtherNet/IP protocol. Attribute: A sub-division of a Class which uniquely identifies a specific command. e.g. The VendorID is an attribute of the Identity object class. Used in conjunction with the Class and Instance properties. Auto-crossover detection: A method used to automatically detect if a crossover or non-crossover network cable is connected. ADU: Application Data Unit. The complete Modbus message frame (ADU) consists of the Modbus Application Protocol (MBAP) and Protocol Data Unit (PDU). Bit: A binary digit, this may have the value of 1 or 0. Byte: A collection of 8 binary digits that collectively store a value. This may be signed or unsigned. Class: A collection of properties which allow the control or monitoring of a device. Used in conjunction with the Instance and Attribute properties. Consistency: A method of ensuring that the data transferred over the network is transmitted as a single entity, thus preventing data skew when multiple bytes are transmitted. Control word: A collection of binary digits that are used to control the drive. Features typically include directional controls, run controls and other similar functions. Crossover lead: A network cable where the terminal connections at one end of the cable are connected straight through to the other end with the exception of the data pair which are transposed. Normally used to connect two network devices together as a separate network. Cyclic (implicit or polled) data: Data that is transmitted at regular intervals over the network. Sometimes referred to as Implicit data or Polled data. Data rate: Determines the communication speed of the network, the higher the value the more data can be sent across the network in the same time period. Device: A piece of equipment connected to a network, this may be any type of equipment including repeaters, hubs, masters or slaves.
Getting started Protocols Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
121
DNS: Domain Name Server. This is a server that is used to convert a URL such as www.controltechniques.com to an IP address such as 129.254.254.106. Double word: A 32 bit word, this may be signed or unsigned. DHCP: Dynamic Host Configuration Protocol. This is a method of allocating IP settings of a node from a central server. Grounding: Describes the electrical safety or shielding connections for the module. EDS File: Electronic Data Sheet file. A file which specifies the EtherNet/IP device functionality. Ethernet address: See MAC address. EtherNet/IP: An industrial application layer protocol for communicating to devices over Ethernet. The EtherNet/IP protocol communicates to the drive using assembly objects. Exception codes: An error response from Modbus. Explicit data: See Non-cyclic data. Firewall: A computer or piece of software that restricts connections between different ports. This can be useful when restricting data flow between two network segments. FTP: File Transfer Protocol. Used for transferring files. Gateway: A device that allows devices on different subnets or networks to communicate with each other. Hub: A method of connecting computers together on Ethernet. An un-switched hub will repeat any data received on one port to all ports. HTTP: Hypertext transfer protocol. This is a document specification protocol. Commonly used in web pages. Implicit data: See Cyclic data. Instance: A collection of properties (Attributes) that are contained within a Class. Used in conjunction with the Class and Attribute properties. IP: Internet Protocol, this is the protocol used to transmit bytes across an IP network. IP address: An address that identifies a node uniquely on a subnet or network. IP subnet: A part of an IP network that consists of a range of addresses that may be accessed by all devices on the same network directly. LED: Light Emmiting Diode. Long word: A 32 bit data word that may be signed or unsigned.
122
www.controltechniques.com
LSB: Least Significant Bit/Byte. MAC address: This is a unique address that is assigned to SM-Ethernet at the time of manufacture. No other device will have this address. The address is used to make connections to the module before the IP address is assigned. MBAP: Modbus application protocol. This is a 7 byte header added to the main Modbus telegram (PDU) which contains IP specific identifiers. Modbus IP: A protocol that allows Modbus to be sent over TCP/IP. The modbus protocol allows manipulation of the parameters within the host drive and SM-Ethernet. MSB: Most Significant Bit/Byte. Node: A device on the network. This may be either a device such as a drive or part of the network such as a repeater. Non-crossover lead: See Patch lead.
Safety Mechanical Electrical Introduction information installation installation Getting started Protocols
Non-cyclic (explicit) data: Data that is requested or sent as required and not on a regular basis. Sometimes referred to as Explicit data. Octet: A collection of 8 binary digits which form a byte. Patch lead: A network cable where the terminal connections at one end of the cable are connected straight through to the other end on a pin to pin basis. Normally used to connect a network device to a network switch. PC: Personal Computer. PDU: Protocol Data Unit. This is the main Modbus message telegram, to which is added the MBAP header to form the complete Modbus telegram. PLC: Programming Logic Controller. Poll rate: The rate at which cyclic data is sent and received on the network. Polled data: See Cyclic data. RPI: Requested Packet Interval. Specifies the expected time for the device to respond to a request. Router: A device that is used to connect different networks or subnets, in a similar way to a firewall, however a router generally allows significantly less control of the data. Scan rate: See Poll rate. Shielding: A connection to provide additional immunity to noise used on a network cable. SMTP: Simple Mail Transfer Protocol. A protocol used for sending email.
Web page FTP/custom Applications basics pages Security Diagnostics Advanced features Quick reference Glossary of terms Index
www.controltechniques.com
123
SNTP: Simple Network Time Protocol. A protocol used for synchronising time over a network. Status word: A value that denotes the status of the drive. Each bit within the word will have a specific meaning. Subnet: A part of a network that has IP addresses in the same range. Devices on the same subnet may communicate directly with other devices on the same subnet without the use of a gateway. Subnet mask: Defines which part of the IP address constitutes the subnet address and which part constitutes the host device address. Switch: A device that allows Ethernet devices to be interconnected. TCP: Transmission Control Protocol, this protocol is responsible for ensuring that the data on the network reaches its destination. URL: Uniform Resource Locator. A method used to give a web site a friendly name such as www.controltechniques.com as an alternative to an IP address. VPN: Virtual Private Network. A method of using a non-secure or public network that allows devices to be connected together as if they were a part of a private network. Word: A collection of 16 binary digits. XML: Extensible Markup Language. A document definition that is intended to transfer data.
124
www.controltechniques.com
Index
A
AC/DC Drive object ....................................................................................60 Account management ................................................................................86 Actual baud rate .........................................................................................95 Actual duplex mode ....................................................................................95 Adding new accounts .................................................................................86 Addressing .................................................................................................17 Addressing etiquette ...................................................................................18 Administration accounts .............................................................................86 Advanced EDS File ....................................................................................31 Advanced parameter editor ........................................................................70 Alternative notation .....................................................................................19 Applications ................................................................................................77 Assembly object .................................................................................35, 121 Attribute ....................................................................................................121
B
Backup .....................................................................................................105 Basic speed and torque control ..................................................................38 Basic speed and torque feedback ..............................................................43 Basic speed control ....................................................................................36 Basic speed feedback ................................................................................41 Baud rate ....................................................................................................25
C
Cable shield connections ...........................................................................13 Cabling .......................................................................................................13 Cabling considerations ...............................................................................13 Cautions .......................................................................................................5 Class A addresses .....................................................................................19 Class B addresses .....................................................................................19 Class C addresses .....................................................................................19 Class D & E addresses ..............................................................................19 Class Types ................................................................................................18 Client request ...........................................................................111, 112, 113 Complete parameter reference ................................................................115 Completing the address .............................................................................20 Compliance ..................................................................................................6 Configuration ..............................................................................................72 Configuring SM-Ethernet cyclic parameters ...............................................33 Configuring the PLC ...................................................................................35 Conformance ................................................................................................9 Connecting .................................................................................................66 Connecting a PC ........................................................................................15 Connection and indications ........................................................................12 Connection filtering .............................................................................87, 108 Connection of network subnets ..................................................................16 Connections using FTP ..............................................................................73 Control Supervisor object ...........................................................................56 SM-Ethernet User Guide Issue: 6
www.controltechniques.com
125
Control Techniques assembly objects ........................................................35 Control Techniques object ..........................................................................64 Crossover correction ..................................................................................95 CTNet .........................................................................................................79 CTSoft ........................................................................................................77 Custom files ................................................................................................74 Custom web pages .....................................................................................29 Cyclic (implicit or polled) data ...................................................................121 Cyclic (implicit or polled) data transfer .......................................................33
D
Data format .................................................................................................91 Data rate ...............................................................................................25, 91 Default gateway ....................................................................................24, 93 Default password ........................................................................................69 Default restrictions ......................................................................................85 Default username .......................................................................................69 DHCP considerations .................................................................................20 DHCP enable .......................................................................................25, 91 DHCP options .............................................................................................25 DHCP server configuration .........................................................................26 Diagnostic flow chart ..................................................................................89 Diagnostic parameters ...............................................................................97 Diagnostics .................................................................................................88 Disable full access ....................................................................................106 Downloading .............................................................................................103 Drive save ..................................................................................................27 Duplex mode ..............................................................................................94
E
EDS File ...................................................................................................122 Electrical installation ...................................................................................12 Electrical safety ............................................................................................5 Email ..........................................................................................................29 Email configuration ...................................................................................101 Email triggers ...........................................................................................101 EN954-1 .......................................................................................................5 Environmental limits .....................................................................................6 Error codes ...............................................................................................100 Error status .................................................................................................99 Ethernet Link object ....................................................................................65 EtherNet/IP .........................................................................................30, 122 Extended data types .................................................................................110 Extended speed and torque control ...........................................................40 Extended speed and torque feedback ........................................................44 Extended speed control ..............................................................................37 Extended speed feedback ..........................................................................42
F
File system .................................................................................................29 Firewall issues ............................................................................................85 Firewalls .....................................................................................................14 Firmware updates .......................................................................................30
126
www.controltechniques.com
Firmware version ........................................................................................90 Fixed IP addressing ....................................................................................20 FTP .............................................................................................................29 FTP/custom pages .....................................................................................73
G
General safety considerations for remote operation ....................................7 Generating your own pages .......................................................................75 Getting started ............................................................................................17 Glossary of terms .....................................................................................121 Grounding ...................................................................................................13
H
Help ............................................................................................................72 Home page ...........................................................................................68, 70 HTTP ..........................................................................................................29 Hubs ...........................................................................................................14
Getting started
I
ID code .......................................................................................................90 Installing CTSoft .........................................................................................77 Installing SyPTPro ......................................................................................80 Instance ....................................................................................................122 Introduction ...................................................................................................8 IP address ......................................................................................19, 22, 91
J
JAVA scripts ...............................................................................................75
L
Language packs .........................................................................................68 Languages ............................................................................................29, 30 Layout .........................................................................................................12 LED Diagnostics .........................................................................................88 Length of cable ...........................................................................................13 Load defaults ............................................................................................104 Logging in ...................................................................................................69 Low voltage supply .....................................................................................27
Security Diagnostics
M
MAC address ..............................................................................................96 Managing files ............................................................................................73 Menu 20 .....................................................................................................27 Minimum software versions required for Ethernet ................................17, 77 Modbus exception codes ..........................................................................114 Modbus function codes ......................................................................28, 110 Modbus TCP/IP ..........................................................................................28 Modbus TCP/IP configuration ....................................................................28 Module identification ...................................................................................90 Module information .....................................................................................12 Module management ................................................................................104 Motor ............................................................................................................6
N
Network ......................................................................................................72 SM-Ethernet User Guide Issue: 6
www.controltechniques.com
127
Network configuration parameters .............................................................91 Network connections ..................................................................................15 Network design ...........................................................................................17 Network length ...........................................................................................13 Network topology ........................................................................................14 Node to node cable length .........................................................................14 Non-cyclic (explicit) data ..........................................................................123 Non-cyclic (explicit) data transfer ...............................................................33
O
Object Class .............................................................................................121 Object Model ..............................................................................................47 OPC server .........................................................................................84, 107 Operating status ...................................................................................26, 97 Operating status codes ..............................................................................98 Option modules ID codes ...........................................................................50
P
Parameter editor .........................................................................................70 Parameter File ............................................................................................71 Parameter reference ................................................................................115 Parameters .................................................................................................70 Parameters - adjusting .................................................................................6 Passwords ............................................................................................69, 82 PC/PLC considerations ..............................................................................28 Problems ....................................................................................................88 Protocols ..............................................................................................28, 71
Q
Quick reference ........................................................................................115
R
Read consistency .......................................................................................31 Re-arm .....................................................................................................101 Reduce SP serial interface priority ...........................................................107 Registers ....................................................................................................28 Re-initialising SM-Ethernet .................................................................26, 105 Requested Packet Interval (RPI) Timeout Trip ...........................................31 Reset memory ..........................................................................................104 Restore parameters ..................................................................................106 RJ45 Terminals ..........................................................................................12 Routers .......................................................................................................14 Routing .......................................................................................................20
S
Safety information ........................................................................................5 Safety of personnel ......................................................................................5 Save option parameters ...........................................................................105 Saving parameters .....................................................................................27 Scheduled events .....................................................................................102 SECURE DISABLE ......................................................................................5 Security ......................................................................................................85 Security levels ............................................................................................87 Serial number ...........................................................................................106
128
www.controltechniques.com
Server response .......................................................................111, 112, 113 Set-Up Flow Chart ......................................................................................21 Shield .........................................................................................................13 Site security ................................................................................................85 SM-Applications .........................................................................................27 SM-LON module - front view ......................................................................11 SMTP .........................................................................................................29 SNTP ............................................................................................29, 30, 102 Sub menu ...................................................................................................68 Subnet mask ........................................................................................19, 23 Supported drive assembly objects .............................................................36 Switch - using a single switch .....................................................................16 Switch - using multiple switches .................................................................16 Switches .....................................................................................................14 SyPTLite ...............................................................................................82, 83
T
TCP/IP Interface object ..............................................................................65 Top level menu ...........................................................................................68
Protocols
U
Understanding custom pages .....................................................................75 Unlock code ................................................................................................69 Un-switched hubs .......................................................................................14 Updating SM-Ethernet firmware ...............................................................103 Updating SM-Ethernet language files .......................................................103 Uploading .................................................................................................103 User accounts ............................................................................................86 User allocated address .......................................................................91, 108 User allocated group ................................................................................107 UU trip ........................................................................................................27
V
Virtual parameter reference ......................................................................116 Virtual Private Network (VPN) ....................................................................15 Virus considerations ...................................................................................85
Security Diagnostics
W
Warnings ......................................................................................................5 Web page ...................................................................................................29 Web page basics ........................................................................................66 Web page menu structure ..........................................................................67 Where do IP addresses come from? ..........................................................17 Write consistency .......................................................................................32
X
XML ............................................................................................................75
www.controltechniques.com
129
0471-0047-06