
Transcription
Radioline EMproModbus communicationWireless data transmission betweenEMpro and RadiolineQuick Reference GuideQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT 901541RAD-2400-IFS2400 MHz radio module with RS-232,RS-485 2-wire interface0212903447RAD-CABLE-USBConfiguration cable for RAD-2400-IFS0322901363EEM-MA250Energy meter for measuring electrical parameterswith RS-485 Modbus/RTU interface0422901364EEM-MA400Energy meter for measuring electrical parameters,extendable with communication module0522901365EEM-RS485-MA400Communication module, RS-485 Modbus, forEEM-MA4000612901366EEM-MA600Energy meter for measuring electrical parameters,extendable with communication module0712901374EEM-ETH-RS485-MA600Communication module,gateway RS-485 / Ethernet, for EEM-MA600This document is only valid in association with the associated user manuals or package slips.Make sure that you always use the latest documentation.It can be downloaded at www.phoenixcontact.net/catalog.
Radioline EMpro Modbus communicationContents1 Configuration and connection of EMpro .41.1 Preparing EMpro EEM-MA250 . 41.2 Connecting the devices . 51.3 Preparing EMpro EEM-MA400 . 61.4 Connecting the devices . 71.5 Preparing EMpro EEM-MA400 . 81.6 Modbus/RTU configuration . 81.7 Modbus/TCP configuration . 91.8 Connecting the devices . 102 Configuration of Radioline.112.1 System setup . 112.2 Installation of the software . 122.3 Configuration of a point-to-point/star connection . 123 Read out the measured values via Modbus Poll software.204 Reading the measured values (example: EMpro web server).255 Troubleshooting / FAQ .26QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT2
Radioline EMpro Modbus communicationThe structure could look like A600This document describes the basic operation of a Modbus network comprising EMpro energy meters and Radiolinedevices. The EEM-MA600 with communication module EEM-ETH-RS485-MA600 operates as a gateway betweenModbus/RTU and Modbus/TCP.The following chapters describe step-by-step the startup of EEM-MA250, EEM-MA400, EEM-MA600 and Radiolinedevices RAD-2400-IFS (Art. Nr. 2901541) with the Modbus Poll software on a Windows PC. The registers of each EMproenergy meter can be read out via Modbus Poll.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT3
Radioline EMpro Modbus communication1 Configuration and connection of EMproThe EMpro measuring devices can be configured via the pushbuttons on the front side. The configuration is described inthe following sections.1.1 Preparing EMpro EEM-MA250You will find the pin assignment of the power cable at www.phoenixcontact.com. Please enter the article number ofEEM-MA250 (2901363).The device can be configured via the pushbuttons on the front side. For changing the serial parameters of theEEM-MA250, push the PROG button for 3 seconds. Enter the code ”100“ to access the device configuration. Use thearrow keys to scroll through the menu and change the serial parameters.Note:- All Modbus devices must be set to the same serial parameters (data rate, etc.).- All Modbus devices must have different Modbus addresses.Configuration menu with adjustable serial parametersQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT4
Radioline EMpro Modbus communication1.2 Connecting the devicesThe RS-485 interface must be connected as follows:EEM-MA250 RAD-2400-IFSContact 15 4.2 D(B)Contact 17 4.1 D(A).The cable shield can be connected to an external cable shield ground clamp.Note:- EEM-MA250: The RS-485 cable must be terminated at both ends of the bus with a resistor. The resistor is suppliedwith the device.- RAD-2400-IFS: The resistor can be activated via DIP switches.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT5
Radioline EMpro Modbus communication1.3 Preparing EMpro EEM-MA400You will find the pin assignment of the power cable at www.phoenixcontact.com. Please enter the article number of theEEM-MA400 (2901364).The device can be configured via the pushbuttons on the front side. For changing the serial parameters of theEEM-MA400, push the PROG button for 3 seconds. Enter the Code ”100“ to access the device configuration. Use thearrow keys to scroll through the menu and change the serial parameters.Note:- All Modbus devices must be set to the same serial parameters (data rate, etc.).- All Modbus devices must have different Modbus addresses.Configuration menu with adjustable serial parameters, if communication module EEM-RS485-MA400 is connected.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT6
Radioline EMpro Modbus communication1.4 Connecting the devicesThe RS-485 interface must be connected as follows:EEM-MA400 RAD-2400-IFSContact 4.2 D(B)Contact 4.1 D(A).The cable shield can be connected to an external cable shield ground clamp.RAD-2400-IFSEEM-RS485-MA4004.24.1 -Note:The RS-485 cable must be terminated at both ends of the bus with a resistor. The resistor can be activated viaDIP switches.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT7
Radioline EMpro Modbus communication1.5 Preparing EMpro EEM-MA400You will find the pin assignment of the power cable at www.phoenixcontact.com. Please enter the article number of theEEM-MA400 (2901364).The device can be configured via the pushbuttons on the front side. For changing the serial parameters of theEEM-MA400, push the PROG button for 3 seconds. Enter the code ”100“ to access the device configuration. Use thearrow keys to scroll through the menu and change the serial parameters and Ethernet parameters.1.6 Modbus/RTU configurationNote:- All Modbus devices must be set to the same serial parameters (data rate, etc.).- All Modbus devices must have different Modbus addresses.Configuration menu with adjustable serial parameters, if communication module EEM-ETH-RS485-MA600 is connectedQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT8
Radioline EMpro Modbus communication1.7 Modbus/TCP configurationDefault settings:IP address: 192.168.1.1Subnet mask: 255.255.255.0Gateway: 0.0.0.0DHCP activation: NoQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT9
Radioline EMpro Modbus communication1.8 Connecting the devicesThe RS-485 interface must be connected as follows:EEM-MA600 RAD-2400-IFSContact 4.2 D(B)Contact 4.1 D(A).The cable shield can be connected to an external cable shield ground clamp.RAD-2400-IFSEEM-ETH-RS485-MA6004.24.1 -Note:- The RS-485 cable must be terminated at both ends of the bus with a resistor. The resistor can be activated viaDIP switches.- The EEM-ETH-MA600 allows for an Ethernet connection to 10BaseT or 100BaseT networks. Connect a twistedpair cable to the RJ45 connector of the communication module EEM-ETH-RS485-MA600 and connect it to yourEthernet network.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT10
Radioline EMpro Modbus communication2 Configuration of Radioline2.1 System setupPoint-to-PointM MasterStarS SlaveLine/MeshR RepeaterPoint-to-Point/StarA point-to-point/star network may consist of only one master and up to 249 slaves. In this network structure, each slave isdirectly connected to the master. The data exchange in this structure can be very fast. The more slaves are in the network,the higher is the delay time of the radio network.Line/MeshA mesh network may consist of only one master and up to 249 slaves. A mesh network supports repeater functionality, it isable to heal itself. If a connection is lost, the device can establish an alternative communication path. This construction ofan alternative communication path is done automatically within a very short time. This time depends on the data rate of theradio interface. The network type “line/mesh” results in a longer delay, because in this setting each wireless module worksas a repeater/slave. The delay time depends on the number of repeaters/slaves in the network and of the selected datarate of the radio interface (16/125/250 kbaud).The Radioline devices support the following functions:Master: The master wireless module is the central point in the network. Initializations and network-specific functions arecoordinated by the master. Without a master, there is no wireless connection in the network. The master of a wirelessnetwork is usually located at a central point, for example in the control room. The master PLC, which is connected to themaster wireless module, manages the serial data transmission. There can only be one master in the network. The masteralways has the RAD-ID 01.Slave: Slaves always build the endpoint of the network and cannot forward data to other slaves. Slaves of a PLC can beconnected to a slave wireless module. Slave wireless modules only have subordinate rights.Repeater/Slave: A repeater/slave can communicate data to other wireless modules in the network. It is possible to buildline/mesh structures. A repeater/slave supports two functions: The wireless module works as a repeater by receiving andforwarding data and as a slave by sending the data to its serial interface. A slave PLC can be connected to eachrepeater/slave wireless module.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT11
Radioline EMpro Modbus communication2.2 Installation of the softwarePlease download the current PSI-CONF software at www.phoenixcontact.com. Install it on your computer and follow theinstructions.2.3 Configuration of a point-to-point/star connection1. Start the PSI-CONF software on the PC. Connect the wireless module to the PC using the configuration cable.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT12
Radioline EMpro Modbus communication2. Select the device in the folder ”Wireless“.3. Select ”New“ by clicking on the button ”Create new network project“.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT13
Radioline EMpro Modbus communication4. Step 1: Select the network type ”Point to Point / Star“ and confirm with ”Next“.Note:Selecting the network type ”Line/Mesh“ results in a longer delay, as in this setting each wireless module works as arepeater/slave. The delay time depends on the number of repeaters/slaves in the network, the data package size and theselected data rate (16 / 125 / 250 kbaud).5. Step 2: Follow the Wizard and select the number of network devices. Confirm with “OK” and “Next”.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT14
Radioline EMpro Modbus communication6. Step 3: Choose ”Serial data“. Under “Network settings”, you can choose the RF channel, the network ID and theblacklisting of WLAN channels. Under ”Network speed/distance relation“, you can choose the necessary datarate. The data rate depends on the distance. Confirm with ”Next“.The Trusted Wireless 2.0 technology supports the following receiver sensitivity:Datatransmissionspeed [kbps]Typical receiver sensitivity [dBm]Typical link budget[dBm]125- 93-96-11225016-106* LOS line of sight and adherence to the Fresnel zone-115-125Potential distance that can becovered with LOS* and a systemreserve of 12 dB1000m1500m5000mYou can achieve transmission within the kilometer range using the wireless module if the following conditions are fulfilled:- Suitable gain antennae are used- Line of sight- Adherence to the Fresnel zoneQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT15
Radioline EMpro Modbus communication7. Step 4: Choose the connection profile PROFIBUS and select the required data rate. Confirm with “Next”.Note:- The serial data rate must be reduced depending on the distance to be covered (data rate of the radio interface16/125/250 kbaud).- Set the same serial interface parameters as for the EMpro devices.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT16
Radioline EMpro Modbus communication8. Step 5: The configuration is finished. Confirm with “Next”.9. Step 6: Save the project.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT17
Radioline EMpro Modbus communicationOptimization for faster data transfer:1. After saving, open ”Individual settings“ and change the value “Transmissions“ to “1”. Save the settings again andtransfer the settings to the wireless devices.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT18
Radioline EMpro Modbus communicationSetting the transmit power2. Open ”Individual Settings, Device Settings”. Here you can set the transmit power and activate or deactivate thelow noise amplifier.The Transmit Power can be set between 0 dBm (1 mW) and 20 dBm (100 mW). Depending on the place of installationand the antenna used, you may have to reduce the transmit power. Therefore, please note the restrictions of useaccording to your country and reduce the maximum power output of the device, if required.The Low Noise Amplifier can be enabled and disabled. It will change the sensitivity of the wireless module. For largerdistances, the low noise amplifier must be activated. When wireless modules are operated in close proximity to each other(less than 1 meter), it is recommended to disable the low noise amplifier, so that the module is not overloaded.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT19
Radioline EMpro Modbus communication3 Read out the measured values via Modbus Poll softwareModbus Poll is available as a free 30 day trial version on the following website: www.modbustools.comThe software can read Modbus registers via different interfaces.1. Install and run the softwareQRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT20
Radioline EMpro Modbus communication2. Choose ”Connection“ ”Connect“ to open the connection settings3. Choose Modbus TCP/IP and enter the IP-Adresse of the EEM-MA600 / EEM-ETH-RS485-MA600 device. Thestandard Modbus port is preconfigured to 502.4. Confirm with ”OK“. The connection between EEM-MA600/EEM-ETH-RS485-MA600 and PC is established. Themeasured values of EEM-MA250 are displayed.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT21
Radioline EMpro Modbus communication5. Open ”Setup“ ”Read/Write Definition”6. Choose the Slave ID 1 (serial Modbus/RTU address of EEM-MA250) and register address 50512.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT22
Radioline EMpro Modbus communicationThe following spreadsheet (Manual EEM-MA250) shows the register addresses of the main measured values.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT23
Radioline EMpro Modbus communication.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT24
Radioline EMpro Modbus communication4 Reading the measured values (example: EMpro web server)Up to 10 slaves can be connected and evaluated via the web server interface.The integrated web server of the communication module connected to EEM-MA600 serves to configure, visualize anddiagnose the devices in the network.The following functions are available via web server:– Displaying the most important basic parameters of the EEM-MA600– Displaying the most important current and average measured values and counters– Configuration, visualization and diagnostics of devices connected to the networkTo access the web server, you need to enter the IP address of the EEM-MA600 in the internet browser.Example:IP address of the energy meter EEM-MA600: 192.168.1.1You will find further information on the EMpro web server at www.phoenixcontact.com.QRG 605 EN 00 RAD-2400-IFS EMpro-Modbus.docx PHOENIX CONTACT25
Radioline EMpro Modbus communication5 Troubleshooting / FAQError:No network connection to EEM-MA600.(”Modbus Connection Failed. Connect Timeout“ im Modbus Poll)Reason:- EEM-MA600 cannot be reached.Correction:- Access the configuration menu and check the settings of the EEM-MA600.- Check the IP address and subnet address of your PCError:”Gateway target device failed to respond“ im Modbus Poll (Tx and Err error counter count up)Reason:- Serial parameters of the RS-485 connection are wrong.- RS-485 interface not selected- Wiring inverted- Slave ID in Modbus Poll not correctCorrection:- Check the serial settings and wiring on RAD-2400-IFS and EEM-MA250- Check the slave ID in Modbus PollError:”Illegal Data Value“ in Modbus Poll (Tx and Err error counter count up)Reason:Wrong main measurement value address in Modbus PollCorrection:Set the right register address via ”Read/Write Definition“ (see Modbus register tables of the EMpro device on page 23).PHOENIX CONTACT GmbH & Co. KG 32825 Blomberg Germanywww.phoenixcontact.com26
Modbus/RTU and Modbus/TCP. The following chapters describe step-by-step the startup of EEM-MA250, EEM-MA400, EEM-MA600 and Radioline devices RAD-2400-IFS (Art. Nr. 2901541) with t