4579 en - 2011.
NOTE LEROY-SOMER reserves the right to modify the characteristics of its products at any time in order to incorporate the latest technological developments. The information contained in this document may therefore be changed without notice. WARNING The MDX-ETHERNET is an optional module which is intended to be fitted in a variable speed drive. For the user's own safety, this variable speed drive must be connected to an approved earth ( terminal).
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 3 3.1 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 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 6 6.1 6.2 6.3 6.4 Safety and operating instructions for variable speed drives .......5 Warning .........................................................................................................................5 General .....................................................................................................
7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 8 8.1 8.2 8.3 9 4 Cyclic data .......................................................................................26 What is cyclic data?.....................................................................................................26 Data formats ................................................................................................................26 Mapping conflicts.........................................................................................
1 Safety and operating instructions for variable speed drives (In accordance with the low voltage directive 73/23/EEC modified by 93/68/EEC). 1.1 WARNING 1.2 Warning Throughout the manual, this symbol warns of consequences which may arise from inappropriate use of the drive, since electrical risks may lead to material or physical damage as well as constituting a fire hazard.
1.4 Transportation storage All instructions concerning transportation, storage and correct handling must be observed. The climatic conditions specified in the technical manual must be observed. 1.5 Installation The installation and cooling of equipment must comply with the specifications in the documentation supplied with the product. The variable speed drives must be protected against any excessive stress.
2 Introduction 2.1 What is MDX-ETHERNET ? The MDX-ETHERNET is a fieldbus option module that can be fitted to the expansion slot in the drives to provide slave MODBUS on Ethernet connectivity. Figure 2-1 MDX-ETHERNET 2.2 Features The MDX-ETHERNET is an option module that can be used on the following products to provide Ethernet slave connectivity: • POWERDRIVE FX and POWERDRIVE MD. The following list gives an overview of the functionality available within MDXETHERNET.
3 WARNING 3.1 Mechanical installation Before installing or removing an option module in any drive, ensure the AC supply has been disconnected for at least 10 minutes and refer to Chapter 1 Safety and operating instructions. If using a DC bus supply ensure this is fully discharged before working on any drive or options modules. General Installation The installation of an option module is illustrated in Figure 3-1.
4 Electrical installation 4.1 Terminal descriptions MDX-ETHERNET provides a standard RJ45 UTP/STP (Un-shielded/Shielded Twisted Pair) connection to a 10Mbs or 100Mbs Ethernet system. MDX-ETHERNET provides 4 diagnostic LEDs for status and information purposes. Figure 4-1 shows an overview of the module connections and indicators.
4.3 MDX-ETHERNET cable shield connections Standard Ethernet UTP or STP cables do not require supplementary grounding. 4.4 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 4.
4.7 4.7.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.
4.7.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.
4.8.2 Single PC to multiple MDX-ETHERNET using a single switch Connecting multiple MDX-ETHERNET modules should be done using an industrial grade switch. Each MDX-ETHERNET or PC is connected to the switch using a standard RJ45 lead (patch lead). Figure 4-4 Single PC to multiple MDX-ETHERNET modules using a switch Non-crossover cable Switch Non-crossover cable 4.8.
5 Getting started This section is intended to provide a generic guide for setting up MDX-ETHERNET and a master controller. Figure 5-1 is intended as a guide only and is provided to detail the stages that are required to achieve a functioning network. It is recommended that all of this chapter is read, before attempting to configure a system. NOTE Due to the large number of PLCs/masters that support Modbus TCP only generic details can be provided. Support is available through your supplier or LEROY-SOMER.
5.4 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.
5.5.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.5.
5.7 5.7.1 DHCP considerations Using fixed IP addressing Using fixed IP addresses (manually configured) on MDX-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 MDXETHERNET IP address is reserved on the DHCP server to prevent duplicate addressing. NOTE 5.7.
5.
5.10 Setting the IP address The MDX-ETHERNET IP address is formed by taking the component parts of the address from parameters Pr 15.60 to Pr 15.63 and combining them as in Figure 5-2. The address is then used in conjunction with the subnet mask. Adress modification is activated by resetting the MDX-ETHERNET (Pr 15.32 = ENABLED). Figure 5-2 The IP address NOTE Wip Xip Yip Zip Pr 15.60 Pr 15.61 Pr 15.62 Pr 15.63 When DHCP is enabled (see section 5.
5.11 Setting the subnet mask The MDX-ETHERNET subnet mask is formed by taking the component parts of the subnet mask from parameters Pr 15.64 to Pr 15.67 and combining them as in Figure 53. The subnet mask is then used in conjunction with the IP address. Subnet mask modification is activated by resetting the MDX-ETHERNET (Pr 15.32 = ENABLED). Figure 5-3 The subnet mask NOTE Wsubnet Xsubnet Ysubnet Zsubnet Pr 15.64 Pr 15.65 Pr 15.66 Pr 15.
5.12 Setting the default gateway The MDX-ETHERNET default gateway is formed by taking the component parts of the default gateway from parameters Pr 15.68 to Pr 15.71 and combining them as in Figure 5-4. The default gateway is then used in conjunction with the IP address and subnet mask to locate hosts on different subnets. Gateway address modification is activated by resetting the MDX-ETHERNET (Pr 15.32 = ENABLED). Figure 5-4 The default gateway Wgateway Xgateway Ygateway Zgateway Pr 15.68 Pr 15.
5.12.4 MDX-ETHERNET IP default gateway Zgateway IP default gateway Zgateway Pr 15.71 Default 254 Range 0 to 255 Access RW This is the least significant octet of MDX-ETHERNET IP default gateway address. When using DHCP this will be updated from the DHCP server. 5.13 MDX-ETHERNET baud rate MDX-ETHERNET baud rate Pr 15.04 Default 0 (automatic) Range 0 to 4 Access RW MDX-ETHERNET can be set to automatically detect the baud rate or be fixed at either 10Mbs or 100Mbs. Table 5.
5.14.2 DHCP server configuration When using DHCP it is possible that every MDX-ETHERNET re-initialises it will receive a new IP address. This will make it difficult to keep track of what IP address is allocated to a particular module and when using a Modbus IP master this would also require reconfiguration. LEROY-SOMER recommend that the leased IP address for MDX-ETHERNET is allocated to MDX-ETHERNET MAC address.
6 PROTOCOL MDX-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 MDX-ETHERNET, then both MDX-ETHERNET and the PC/PLC must be configured with the address of a gateway that allows communication between the two devices. 6.
6.3 Web pages (HTTP) Web page access is provided to allow configuration of the drive and option(s) module(s). The web pages also allow parameters to be monitored and configuration settings to be uploaded or downloaded. To view web pages on MDX-ETHERNET one of the following web browsers should be used : • Microsoft Internet Explorer (version 5.0 or later). • Netscape (version 6.0 or later). • Mozilla (version 1 or later). • Opera (version 8 or later).
7 Cyclic data Modbus does not feature a dedicated cyclic data channel in the same sense as many other networks. In the MDX-ETHERNET implementation, cyclic data can however still be accessed from the network via dedicated entries in the Modbus register map. Just as with regular Parameter's, the cyclic data is converted to a format suitable for Modbus. Cyclic data is more easy and fast acess than acyclic, when various parameters is needed (no contiguous). it is strongly recommended to use cyclic. WARNING 7.
Table 7.1 IN/OUT cyclical data formats Pr 15.40 Output cyclical data parameters Default 2 And Range 0 to 10 Pr 15.39 Input cyclical data parameters Access RW The method used to map data to and from the MDX-ETHERNET module is similar to the method used in the drive for mapping analog and digital I/O.
Table 7.3 Mapping for four cyclic data words 7.2.2 Cyclic word Cyclic Data word length on master Out channel 0 2 OUT (Word 0,1) + Pr 15.20 = 642 Pr 6.42, Control word Mapping Out channel 1 2 OUT (Word 2,3) + Pr 15.21 = 121 Pr 1.21, Digital speed reference 1 In channel 0 2 IN (Word 0,1) + In channel 1 2 IN (Word 2,3) Pr 15.10 = 1040 Pr 10.40, Status word Pr 15.11 = 201 Pr 2.
7.3 Mapping conflicts The Drive indicates if there is a mapping conflict like other MDX-ETHERNET cyclic OUT channels, analog inputs or other. 7.4 Cyclic data mapping errors The MDX-ETHERNET module will scan and check the Modbus mapping parameter configuration for errors during initialisation (ex. Pr 15.32 = ENABLED). If an error is detected, then the MDX-ETHERNET configuration error detected will be indicated in mapping status parameter, Pr 15.49. See section 12.
7.7 How to read and write cyclic Modbus MDX-ETHERNET supported various Modbus function codes to write and read cyclic. The modbus address for IN and OUT cyclic is dependent of the function use see table 7.7 for more information. Table 7.7 Cyclic Modbus address for IN and OUT Drive mode is in default First address for cyclic First address for cyclic parameter OUT data IN data Pr 15.09 = 2 registers (Pr 15.10 to Pr 15.19) (Pr 15.20 to Pr 15.29) or Master PLC drive Master PLC drive Pr 15.
8 Non-cyclic data (acyclic) 8.1 What is non-cyclic data? Non-cyclic data allows access to any parameter without the need to use cyclic data transfers. This is particularly useful when accessing many different parameters for setup or archiving of drive settings. 8.2 Modbus register number by acyclic parameter Modbus register number by acyclic parameter Pr 15.
9 Control and status words 9.1 What are control and status words? The control and status words allow the digital control and monitoring of the drive to be implemented using a single data word for each function. Each bit in the control word has a particular function and provides a method of controlling the output functions of the drive, such as run and direction.
The actual digital speed reference selected when ANALOG REF/PRESET REF is set to 1 will be Pr 1.21, which is also the default mapping for the fieldbus speed reference. However Pr 1.15 can be used to change which of the digital references is selected. For further details on the drive digital speed reference, please refer to the appropriate drive user guide. Table 9.2 lists in detail the function of each control word bit.
9.3 Status word The MDX-ETHERNET status word consists of sixteen control bits some of which are reserved. See Table 9.3 for the individual bit function descriptions. Table 9.3 Status word Status word bits Pr 10.40 Decimal conversion Functions Equivalent parameter 0 1 Drive healthy Pr 10.01 1 2 Drive active Pr 10.02 2 4 Zero speed Pr 10.03 3 8 Running at minimum speed Pr 10.04 4 16 Below set speed Pr 10.05 5 32 At speed Pr 10.06 6 64 Above set speed Pr 10.
Table 9.4 Drive status word bit functions Bit Parameter Description bit 0 = 0 : Drive in stop mode. 0 Pr 10.01 bit 0 = 1 : Drive in ready state. Drive active 1 Pr 10.02 When bit 1 = 1, the drive is in run mode. Pr 10.03 Zero speed Zero speed indicates that the absolute value of the speed reference is at or below the zero speed threshold defined by Pr 3.05. 3 Pr 10.04 Running at or below minimum speed In bipolar mode (Pr 1.10 = 1) Pr 10.04 is the same as zero speed, Pr 10.03. (See above).
10 Web page basics 10.1 Connecting to MDX-ETHERNET If you are using DHCP, all settings on the MDX-ETHERNET module will be configured by the network DHCP server, you can confirm this is working by checking the IP address has been correctly configured in parameters Pr 15.60 to Pr 15.63. In order to communicate, the PC must be on the same subnet as the drive or you must have a gateway specified for the host PC and the MDX-ETHERNET module.
10.2.1 The home page Figure 10-2 shows the initial home page when connected to MDX-ETHERNET. Figure 10-2 Initial home page Language Top level menu Storing details Drive details Drive name and version The home page contains the following main areas: • Language: click on the image to select the language display. • Top-level menu: this is the menu that is used to navigate to the menus on MDX-ETHERNET. Click on the items to make a selection.
10.2.2 Logging in Before you can view any additional screens you must login to MDX-ETHERNET. The default username is admin and the default password is pass. The admin cannot be deleted, but a new password should be created. 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 admin account should be noted in a secure place as this password is not reset when the module is defaulted.
10.2.3 Advanced parameters Displays a list of the menus within the host drive. Figure 10-4 Advanced parameters Drive menu Read only parameter Read/Write parameter Switch parameter 10.2.4 Backup Allows data from the module to be uploaded for backup in module memory. This backup has all module parameter values. This backup can be downloaded to any MDXETHERNET module in the same network with its is Ethernet drive address.
11 Security 11.1 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. 11.2 General site security issues 11.2.
11.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 admin and password pass 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.
12 Diagnostics This section of the manual provides basic diagnostic information intended to enable resolution of the most common problems encountered when setting up a MDXETHERNET module on an Ethernet network. A high percentage of problems reported are basic setup problems that can be avoided by using the following pages. If after you are still experiencing problems please contact your supplier or local drive supplier for support. NOTE 12.
12.2 Module ID code Module ID code Pr 15.01 Default Range Access 147 0 to 499 RO The module ID code indicates the type of module fitted in to the drive corresponding to menu 15. The module ID code for MDX-ETHERNET is 147. 12.3 Module firmware version Firmware - major version (xx.yy) Pr 15.02 Default Range Access N/A 00.00 to 99.99 RO Firmware - minor version (zz) Pr 15.51 Default Range Access N/A 0 to 99 RO The software version of the option module can be identified by looking at Pr 15.
12.6 Data format The default data format is 2 cyclic channel OUT and IN, each cyclic data channel is mapped to a drive parameter. See section 7 cyclic data and 8 non cyclic data for more information. NOTE 12.7 The maximum number of parameter data that is possible is 10 with only cyclic data. Fieldbus option state Fieldbus option state Pr 15.06 Default Range Access N/A 0 to 14 RO The operating status of the MDX-ETHERNET can be viewed in the fieldbus option state parameter (Pr 15.06).
12.8 Cyclic mapping status Mapping status Default Range Access Pr 15.49 N/A 0 to 2 RO The MDX-ETHERNET mapping status parameter Pr 15.49 indicates a mapping configuration error. When a mapping error has been corrected, re-initialise the MDXETHERNET by setting Pr 15.32 to ON (1). The mapping error codes are described in Table 12.7. Table 12.6 Mapping error codes 12.9 Pr 15.49 LCD display Description 0 I/O good Mapping channels are good 1 Input bad IN Mapping channel is faulty (Pr 15.
13 Advanced features 13.1 Data bytes order Data bytes order Pr 15.08 Default 0 (LSB first) Range 0 to 1 Access RW When data is sent over the Modbus TCP network it is transmitted as 8-bit bytes. Therefore when a 32-bit word or 16-bit word is transmitted it is split into four or two 8-bit bytes.
Table 13.2 Actual data sizes Parameter size (bits) Actual data size (bits) compression enable (Pr 15.34) Actual data size (bits) compression disabled (Pr 15.34) 1 16 32 8 16 32 16 16 32 32 32 32 The following examples demonstrate setting up a network using five cyclic channels for both IN and OUT data with the cyclic data compression first disabled and then enabled. Table 13.3 shows the mapping parameters where five OUT and five IN cyclic data channels are required.
13.3 Restore defaults Restore defaults Pr 15.30 Default 0 (disabled) Range 0 to 1 Access RW If the host drive is defaulted (see the drive user guide for details) it will also clear the current configuration of the fitted MDX-ETHERNET. Setting Pr 15.30 to 1 additionally clears the backup copy of the stored MDX-ETHERNET configuration. This can be performed as follows: • Set Pr 15.30 to 1 (ENABLED). • Modbus TCP communications will be stopped.
13.5.3 E-mail triggers The trigger requires a transition from 0 to 1 on Pr 15.54, after this transition e-mail is sent. Pr 15.54 can be affected to a drive digital input. Send e-mail on transition 0 -> 1 Pr 15.54 Default 0 (OFF) Range 0 (OFF) to 1 (ON) Access RW To complete the process you need to enter an appropriate e-mail source name, a destination e-mail address, the title of the e-mail, any text you wish to send. 13.
13.6.2 Data access Data access using Modbus TCP/IP takes the form of a request for data by the master, followed by a response from the slave indicating either success (response), or failure (exception response) as shown in Figure 13-2. If no response is received this indicates that the message has not been received or the node is unable to reply.
13.7 Supported Modbus function codes Table 13.7 below, details the supported Modbus function codes on MDX-ETHERNET. Table 13.7 Supported function codes Code 13.
14 Quick reference 14.1 Complete parameter reference Table 14.1 lists all the MDX-ETHERNET set-up parameters that are required to configure the module. Table 14.1 MDX-ETHERNET parameter reference 52 Parameter Default Cross reference 15.01 147 Page 43 Description plugged option ID code 15.02 ---- Page 43 Module software version (XX,YY) 15.04 0 (automatic) Page 22 MDX-ETHERNET baud rate 15.06 --- Page 44 Fieldbus option state 15.
Default Cross reference 15.51 --- Page 43 15.54 0 (disabled) Page 49 Send mail on transition 0 -> 1 15.55 0 (no) Page 22 DHCP enable 15.60 192 Page 19 IP address Wip 15.61 168 Page 19 IP address Xip 15.62 1 Page 19 IP address Yip 15.63 100 Page 19 IP address Zip 15.64 255 Page 20 IP subnet mask Wsubnet 15.65 255 Page 20 IP subnet mask Xsubnet 15.66 255 Page 20 IP subnet mask Ysubnet 15.67 0 Page 20 IP subnet mask Zsubnet 15.
15 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. Auto-crossover detection : A method used to automatically detect if a crossover or non-crossover network cable is connected. ADU : Application Data Unit.
Gateway : A device that allows devices on different subnets or networks to communicate with each other. Grounding : Describes the electrical safety or shielding connections for the module. 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.
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. Polled data : See Cyclic data.
Note MDX-ETHERNET User Guide Issue : a www.leroy-somer.
Note 58 www.leroy-somer.
IMP210NO111 MOTEURS LEROY-SOMER 16015 ANGOULÊME CEDEX - FRANCE 338 567 258 RCS ANGOULÊME Simplified Joint Stock Company with capital of 62,779,000 € www.leroy-somer.