DVPEN01-SL Ethernet Communication Module Operation Manual DVP-0204320-02
Ethernet Communication Module DVPEN01-SL Warning 3 Please read this instruction carefully before use and follow this instruction to operate the device in order to prevent damages on the device or injuries to staff. 3 Switch off the power before wiring. 3 RTU-DNET is an OPEN TYPE device and therefore should be installed in an enclosure free of airborne dust, humidity, electric shock and vibration. The enclosure should prevent non-maintenance staff from operating the device (e.g.
Ethernet Communication Module DVPEN01-SL 5.10 Returning to Default Setting ..................................................................................................... 29 6 APPLICATION EXAMPLES............................................................................................................... 30 6.1 Setting up IP and Communicating through WPLSoft................................................................ 30 6.2 Connecting the PC with DVPEN01-SL through LAN ......................
Ethernet Communication Module DVPEN01-SL 1 Introduction Thank you for choosing DVPEN01-SL module. To correctly install and operate DVPEN01-SL, please read the manual carefully before using the module. DVPEN01-SL is an Ethernet communication module for remote setting and communication through WPLSoft. DVPEN01-SL is able to send E-mails, automatically correct the RTC in DVP28SV11R/T and exchange data.
Ethernet Communication Module DVPEN01-SL Item Specification Storage: -25°C ~ 70°C (temperature), 5 ~ 95% (humidity) Vibration/ Shock Resistance Standard: IEC61131-2, IEC 68-2-6 (TEST Fc)/IEC61131-2 & IEC 68-2-27 (TEST Ea) Electrical specifications Item 2 Specification Power supply voltage 24VDC (-15% ~ 20%) (Power is supplied by the internal bus of MPU.) Power consumption 1.5W Insulation voltage 500V Weight (g) 92 (g) Product Profile & Outline 2.1 Dimension 3 [0.
Ethernet Communication Module DVPEN01-SL 2.3 2.4 LED Indicators Indicator Color Indication POWER Green Power indication RS-232 Red Communication status of the series port 100M Orange Network connection status LINK Green Network communication speed RJ-45 PIN Definition RJ-45 sketch 3 Terminal No.
Ethernet Communication Module DVPEN01-SL Connect DVPEN01-SL to the Network: Connect DVPEN01-SL to the Ethernet Hub by twisted pair cable CAT-5e. DVPEN01-SL has Auto MDI/MDIX function; therefore, DVPEN01-SL does not need to use a crossing cable between the PC and DVPEN01-SL. Network connections between the PC and DVPEN01-SL: PC Master Ethernet DVPEN01 DVPEN01 DVP28SV DVPEN01 DVP28SV RS-232 RS-232 100M 100M LINK LINK DVP28SV RS-232 RS-232 LAN LAN Control Register (CR) 4.
Ethernet Communication Module DVPEN01-SL CR# HW LW Content Explanation #7 R Status of E-Mail 1, 2 b0 ~ b7: Current status of E-Mail 2 b8 ~ b15: Current status of E-Mail 1 #8 R Status of E-Mail 3, 4 b0 ~ b7: Current status of E-Mail 4 b8 ~ b15: Current status of E-Mail 3 #9 R/W E-Mail 1 additional message Filled in by the user, and it will be send by E-mail. #10 R/W E-Mail 2 additional message Filled in by the user, and it will be send by E-mail.
Ethernet Communication Module DVPEN01-SL CR# HW Attribute LW Content Explanation #115 R/W Modbus TCP trigger Setting up whether to send out data in Modbus TCP mode #116 R/W Modbus TCP status Displaying current status of Modbus TCP mode #118 #117 R/W Modbus TCP destination IP Setting up destination IP address for Modbus TCP transaction #119 R/W Modbus TCP data length Setting up the data length for Modbus TCP transaction #219 ~ #120 R/W Modbus TCP data buffer Data buffer of Modbus TCP fo
Ethernet Communication Module DVPEN01-SL C R # 7 ~ 8: Status of E-Mail 1 ~ 4 Explanations: 1. CR#7_b0 ~ b7: current status of E-Mail 2; CR#7_b8 ~ b15: current status of E-Mail 1. 2. CR#8_b0 ~ b7: current status of E-Mail 4; CR#8_b8 ~ b15: current status of E-Mail 3. 3.
Ethernet Communication Module DVPEN01-SL CR value Status 0 Data have not yet been received. 1 Data exchange is in progress. 2 Data exchange is successful. 3 Data exchange fails. CR#25, 26: Destination IP Explanations: To set up the Slave IP address for data exchange manually, write “0” into CR#28 first before setting up the destination IP. For example, if the user wants to set the destination IP address to 192.168.0.2, write H’0002 to CR#25 and H’C0A8 to CR#26.
Ethernet Communication Module DVPEN01-SL CR#83: Read Length for Data Exchange Explanations: Setting up the Modbus address of the register for Master data exchange. CR#84: Written-in Address for Data Exchange Explanations: Setting up manually the Modbus address of the register for Slave data exchange. CR#85: Written-in Address for Data Exchange Explanations: The number of transmission registers (K1 ~ K100) in data exchange. CR#86: Transmission Address for Data Exchange Explanations: 1.
Ethernet Communication Module DVPEN01-SL CR#114: Modbus TCP Time-Out Explanations: Setting up the communication time-out (in ms) for Modbus TCP mode. CR#115: Modbus TCP Trigger Explanations: When the CR value is set as “1”, Modbus TCP will be triggered. After the data transmission is completed in Modbus TCP mode, the CR value will automatically be reset to “0”. Please trigger by differential instructions.
Ethernet Communication Module DVPEN01-SL CR#251: Error Code Explanations: Table of error code: Bit No. b0 The network is not yet connected. b1 Incorrect IP setting b2 b3 Error CR#13 is set as “transmitting data”, but the data exchange is forbidden. CR#13 is set as “transmitting data”, but the data exchange mode has not yet been enabled. b4 NTP-Server connection fails. b7 SMTP-Server connection fails. b8 DHCP has not obtained the correct network parameter.
Ethernet Communication Module DVPEN01-SL 5 Setting up Software This section gives instructions on how to set up DVPEN01-SL by DCISoft and explanations on each setup page. Before you start a setup page, you have to select “Ethernet” in the communication setting. Next, you can search by IP address or use Auto-Search. You also can open the setup page for DVPEN01-SL by RS-232. DVPEN01-SL is set up by UDP port 20006; therefore, you have to be aware of the relevant settings of the firewall. 5.
Ethernet Communication Module DVPEN01-SL Broadcast search 1. Click broadcast icon in DCISoft to search for all Delta Ethernet products on the network. The window on the left hand side shows the models found, and the window on the right hand side displays the device list of all models. 2. Click a model on the left hand side, and you will see the device list of the model selected on the right hand side. Click the device to be set up to enter the setup page.
Ethernet Communication Module DVPEN01-SL 3. You will see the basic setup page as follow. Designating model to search 1. Right click “Ethernet” on the left hand side window and select “Configure” to designate a model to search for.
Ethernet Communication Module DVPEN01-SL 2. After configure a model, select “DVPEN01-SL” and click “OK” to auto-search for DVPEN01-SL modules on the network. 3.
Ethernet Communication Module DVPEN01-SL Searching by IP address 1. Set the communication type to “Ethernet” and enter the IP address. Click “OK”. 2. Click “IP Search” icon to start searching for the designated IP. 3. The DVPEN01-SL module found will be displayed in the right hand side window. Double click it to enter the setup page.
Ethernet Communication Module DVPEN01-SL Opening DVPEN01-SL setup page by RS-232 1. Select “RS232" as the transmission type in communication setting. You will have to designate a communication port. When DVPEN01-SL is searched by RS-232, you do not need to set up the parameters (i.e. data length, parity, stop bits and baud rate). 2. After setting up the communication port, press “broadcast search” icon. If the searching is successful, the setup page for DVPEN01-SL will open automatically.
Ethernet Communication Module DVPEN01-SL 5.2 Basic Settings The basic settings include parameters as module name, language, enabling Modbus TCP and time correction. Setting up DVPEN01-SL basics 1. Module Name: There can be many DVPEN01-SL modules in the network. Thus, you can set up a module name for each module to identify the module when you need to use them. 2. Module Language: You can select a language for each module name, and the windows will be displayed in the selected language. 3.
Ethernet Communication Module DVPEN01-SL 7. Time Zone: A time zone is a region of the Earth that has adopted the same standard time, usually referred to as the local time. Most adjacent time zones are exactly one hour apart, and by convention compute their local time as an offset from Greenwich Mean Time (see also UTC). Standard time zones can be defined by geometrically subdividing the Earth's spheroid into 24 lunes (wedge-shaped sections), bordered by meridians each 15° of longitude apart.
Ethernet Communication Module DVPEN01-SL 3. Click on “Internet Protocol (TCP/IP). 4. Enter 192.168.0.1 into IP address. Click on “OK” to complete the IP address setting of the PC.
Ethernet Communication Module DVPEN01-SL Setting up DVPEN01-SL Network 1. IP configuration: There are two types of IP, static IP and DHCP. Static IP: Preset or manually modified by the user. DHCP: Automatically updated by the server. There has to be a server in the LAN. IP Explanation Static The user enters the IP address, subnet mask and gateway. DHCP DHCP server offers the IP address, subnet mask and gateway. 2. IP address: IP address is the location of the equipment in the network.
Ethernet Communication Module DVPEN01-SL 5.4 Setting up E-Mails E-mail is the abbreviation of electronic mail, which transmits mails through the network. DVPEN01-SL has E-Mail functions for the user to pre-save a segment of text messages, which can be a descriptive message or error message, into the subject of the E-Mail. When the E-Mail is triggered, DVPEN01-SL will send the messages to the user by E-Mail.
Ethernet Communication Module DVPEN01-SL E-Mail will be sent to the designated recipients when the E-Mail is triggered. To trigger E-Mail, set the value is CR#3 ~ CR#6 as “1”. 6. See “Application Examples Section 6.8” for more details. Notes: To correctly send out E-Mails, there has to be a SMTP server in the network. When we send out an E-Mail, the mail will be sent to SMTP server first, and the server will further send the mail to the designated address. 5.
Ethernet Communication Module DVPEN01-SL receiving register In data exchange, DVPEN01-SL will execute Write (Æ) first before Read (Å). Quantity: A slave is able to send and receive at the same time maximum 100 consecutive data. f For data exchange, D register is parted into 2 sections, D0000 ~ D4095 and D4096 ~ D9999. Please DO NOT use different sections for the consecutive sent and received data (start address + number of data). 5. See “Application Examples Section 6.11” for more details. 5.
Ethernet Communication Module DVPEN01-SL of every slave: Digital I/O points (RX+RY): 256 Analog (Read) register: 64 Analog (Write) register: 64 5.7 IP Filter IP filter is used for restricting the connection of the network in case some uncertain IP will cause errors. Only the IP set within a certain range can establish a connection. Other IPs will be rejected. Setting up IP filter 1. Enable IP Filter Function: Check the box to enable IP filter. 2.
Ethernet Communication Module DVPEN01-SL Therefore, if you do not know the MAC address, you will have to spend some time looking up the MAC address. If you want to enhance the transmission efficiency, use static ARP table to save time. For example, assume IP: 192.168.0.1 and MAC: 00:14:22:56:0F:7F. As long as there are data sent to 192.168.0.1, you will get the MAC address from the table. Setting up static ARP table 1. IP: Destination IP address in data transmission. 2.
Ethernet Communication Module DVPEN01-SL 1. Modify: Check the box to modify the password. 2. New Password: Maximum 4 characters are allowed. Leave the column “blank” to disable the password protection function. 3. Confirm Password: Enter the new password again. 4. See “Application Examples Section 6.4” for more details. Note: After the password is locked, all the pages cannot be set up unless you unlock the password.
Ethernet Communication Module DVPEN01-SL Check “Default Setting” box and click on “Yes”. Note: If you set up DVPEN01-SL by RS-232, you can return the setting to default setting whether the password is locked or not. It takes approximately 10 seconds to return to default setting, so DO NOT switch off the power within the 10 seconds. 6 Application Examples 6.1 Setting up IP and Communicating through WPLSoft Application Setting up network parameters of DVPEN01-SL directly on the PC.
Ethernet Communication Module DVPEN01-SL 3. Select “Ethernet” and press "OK”. 4. Click on “Auto-Search” icon to search for all DVPEN01-SL modules in the network. 5. Designate a DVPEN01-SL and double click it to open the setup page.
Ethernet Communication Module DVPEN01-SL 6. Open “Basic” setup page. 7.
Ethernet Communication Module DVPEN01-SL 8. Enter IP address: 192.168.0.4; Netmask: 255.255.255.0; Gateway: 192.168.0.1. Press “OK” to complete the setup, and WPLSoft will automatically search for DVPEN01-SL. 9. The IP of DVPEN01-SL has been modified into the new setting (DELTA DVPEN01-SL: 192.168.0.4). 10. Click on DELTA DVPEN01-SL, and WPLSoft will be able to communicate with the MPU. 6.
Ethernet Communication Module DVPEN01-SL DHCP Server PC DVPEN01 DVP-PLC PC Hub 2. Open “Communication Setting” in WPLSoft. 3. Select “Ethernet” and press “OK”.
Ethernet Communication Module DVPEN01-SL 4. Click on “Auto-Search” icon to search for all DVPEN01-SL modules in the network. Follow “View Æ Workspace Æ Communication” or “View Æ Workspace Æ Project” to find the detected DVPEN01-SL module (default module name: DELTA DVPEN01-SL, IP: 192.168.1.5) in the window. 5. Designate a DVPEN01-SL and double click it to open the setup page.
Ethernet Communication Module DVPEN01-SL 6. Open the setup page. You can modify the module name for easier identification. 7. Next, set up the new IP of DVPEN01-SL. First switch to “Network” setup page. If there is a DHCP server in the LAN, select DHCP in “IP Configuration”. If there is no DHCP server in the LAN, you can set a static IP. Please be noted that the settings of subnet mask and gateway have to be the same as the settings in the same LAN.
Ethernet Communication Module DVPEN01-SL 6.3 Setting up Password and Clearing Password Application Setting up and clearing password by WPLSoft Network requirement (1) Set password in DVPEN01-SL (2) Unlock DVPEN01-SL (3) Clear the password in DVPEN01-SL 1. See 6.1 for the connection and how to set up the communication. 2. Open the setup page and switch to “Password” page. 3. Check “Modify” box and enter “aabb” in “New Password” and “Confirm Password" columns. Click on “OK” to save the password. 4.
Ethernet Communication Module DVPEN01-SL 5. Enter the password to temporarily unlock the protection and modify the parameters. If you close the setup page, the locking will automatically be recovered. 6. To clear the password, simply leave the password columns blank. Click on “OK” to clear the password.
Ethernet Communication Module DVPEN01-SL 7. After the password is cleared, you can modify the parameters. 6.4 When the Password is Lost (Returning to Default Setting by RS-232) Application Returning to default setting by RS-232 Network requirement (1) DVPEN01-SL is set with a password. (2) The password is forgotten. 1. Use DVPACAB2A30 cable to connect the PC and DVPEN01-SL and open the setup page. Open the “reset to default setting”” pages. Click on “Unlock”.
Ethernet Communication Module DVPEN01-SL 2. Check the “Default Setting” box and the “Warning” dialog box will appear. Click on “Yes” to return to default setting (in approx. 5 ~ 10 seconds), and the password will be cleared as well. 3. After the searching, all the parameters have already returned to their default settings. 6.5 IP Filter Protection Application Setting up IP filter protection Network requirement (1) IP of DVPEN01-SL: 192.168.0.4 (2) Only connections to 192.168.0.7 and 172.16.0.1~172.
Ethernet Communication Module DVPEN01-SL 3. Check “Enable IP Filter Function” box. Enter “192.168.0.4” in No. 1 IP and “255.255.255.255” in all “Netmask” columns. 4. Enter “192.168.0.1” in No. 2 IP and “255.255.255.0” in No.2 “Netmask” column. Click on "OK” to complete the setting. Only the equipment within the IP range can be connected.
Ethernet Communication Module DVPEN01-SL 6.6 Setting up Static ARP Table Application Setting up static ARP table Network requirement (1) MAC address of equipment 192.168.1.6 is 00:18:23:10:00:35 (2) MAC address of equipment 192.168.1.1 is 00:18:23:10:00:04 1. See 6.1 for the connection and how to set up the communication. 2. Open the setup page and switch to “Static ARP Table” page. 3. Check “Enable ARP Table” box. Enter “192.168.1.6” in No.
Ethernet Communication Module DVPEN01-SL 4. Enter “192.168.1.1” in No.2 IP, and its MAC address is “00:18:23:10:00:04”. Click on “OK” to complete the setting. Only the equipment within the IP range can be connected. Note: The MAC address of DVPEN01-SL can be obtained from WPLSoft or the MAC address sticker on the equipment. The MAC address of PC can be found in the “Network Connection Details” (see below).
Ethernet Communication Module DVPEN01-SL 6.7 Application of E-Mail Application Network application Sending an E-Mail to notify the administrator when the current status of X0 and Y0 is changed. (1) SMTP Server IP: 172.16.144.121。 (2) E-mail address of administrator: test@sample.com (3) An E-mail message will be generated when the status of X0 and Y0 is changed. 1. See 6.1 for the connection and how to set up the communication. 2. Open the setup page and switch to "Mail” page. 3.
Ethernet Communication Module DVPEN01-SL 4. Switch to “Select Recipients” page. Check all the boxes of “Recipient 1”. Click on “OK” to complete the setting. 5. After all the settings in DVPEN01-SL are completed, compile the ladder diagram in the MPU and download it to the MPU. See below for the program design: X0 T0 K100 K3 K1 K1 T0 K100 K4 K1 K1 T0 K100 K5 K1 K1 T0 K100 K6 K1 K1 X0 Y0 Y0 END Explanations: • If the rising-edge of X0 is triggered, X0 will go from Off to On.
Ethernet Communication Module DVPEN01-SL 1. See 6.1 for how to set up the communication. 2. Open the setup page of PLC_B and switch to “Data Exchange” page. 3. Check “Enable Data Exchange” box. Select “Program Control” for Execute Mode. Enter IP address of PLC_A “192.168.0.4” in No. 1 Data Exchange Host IP column. Click on “OK” to complete the setting. 4. After all the settings in PLC_B are completed, compile the ladder diagram in the MPU and download it to PLC_B.
Ethernet Communication Module DVPEN01-SL M1000 M1013 T RD D100 SET M1 TOP K100 K28 K1 K1 TOP K100 K29 D100 K7 TOP K100 K14 K0 K1 TOP K100 K13 K1 K1 SET M2 RST M1 FROM K100 K14 D14 K1 = D14 K2 RST M2 = D14 K3 RST M2 M2 M1 M1 M2 END Explanations: • The data exchange will be executed every one second. • Write the communication address of the destination PLC in CR#28, and DVPEN01-SL will automatically detect by the previous setting that No. 1 IP is “192.168.0.4".
Ethernet Communication Module DVPEN01-SL 6.9 Application of Data Exchange (2) Available in firmware V2.0 and later versions Application “Always Enable” Data Exchange. Enable a timer and write the timer values into D0 ~ D99. Continue to write the present values in D0 ~ D99 of PLC_A into D0 ~ D99 of PLC_B, and write the values in D0 ~ D99 of PLC-B into D200 ~ D299 of PLC_A. Network requirement (1) (2) (3) (4) Adopting static IP. IP of PLC_A: 192.168.1.99 IP of PLC_B: 192.168.1.
Ethernet Communication Module DVPEN01-SL 6.10 Application of Data Exchange (3) Available in firmware V2.0 and later versions Application Enable a timer (X20) and write the timer values into D0 ~ D99. Control the program (X21) and write the present values in D0 ~ D99 of PLC_A into D0 ~ D99 of PLC_B, and write the values in D0 ~ D99 of PLC-B into D200 ~ D299 of PLC_A. Control the program (X21) to stop the execution. Network requirement (1) Adopting static IP. (2) IP of PLC_A: 192.168.1.
Ethernet Communication Module DVPEN01-SL After all the settings in PLC_A are completed, compile the ladder diagram in the MPU and download it to PLC_A. See below for the program design: 6.11 Application of Data Exchange (4) Application Network requirement Writing the time in RTC in PLC_B into D0 ~ D6 of PLC_A by designating IP by ladder diagram. (1) (2) (3) (4) Adopting static IP. IP of PLC_A: 192.168.0.4 IP of PLC_B: 192.168.0.5 Update from PLC_B to PLC_A 1. See 6.
Ethernet Communication Module DVPEN01-SL M1000 M1013 T RD D100 SET M1 TOP K100 K28 K0 K1 TOP K100 K26 HC0A8 K1 TOP K100 K25 H4 K1 TOP K100 K29 D100 K7 TOP K100 K14 K0 K1 TOP K100 K13 K1 K1 SET M2 RST M1 FROM K100 K14 D14 K1 = D14 K2 RST M2 = D14 K3 RST M2 M2 M1 M1 M2 END Explanations: • The data exchange will be executed every one second. • Write “0” into CR#28, and PLC_B will use CR#25 ~ CR#26 as the IP address of the destination PLC.
Ethernet Communication Module DVPEN01-SL 6.12 Application of Data Exchange (5) Application Network requirement Writing the time in RTC in PLC_B directly into D0 ~ D6 of PLC_A without writing in ladder diagram into PLC_A. (1) (2) (3) (4) Adopting static IP. IP of PLC_A: 192.168.0.4 IP of PLC_B: 192.168.0.5 Update from PLC_B to PLC_A. 1. See 6.1 for how to set up communication. 2. Compile the ladder diagram in the MPU and download it to PLC_B.
Ethernet Communication Module DVPEN01-SL • Write “0” into CR#28, and PLC_B will use CR#25 ~ CR#26 as the IP address of the destination PLC. • Write the IP address of PLC_A into CR#25 and CR#26. The first two IP codes (192.168 = H’C0A8) should be written into CR#26, and the last two IP codes (0.4 = H’0004) into CR#25. • Write the Modbus address of D0 (H’1000) in PLC_A into CR#81 and CR#84. • Write the Modbus address of D100 (register of RTC) (H’1064) into CR#86.
Ethernet Communication Module DVPEN01-SL TOP K100 K125 H0 K1 TOP K100 K119 K6 K1 TOP K100 K116 K0 K1 TOP K100 K115 K1 K1 INC D0 MOV K0 SET M2 RST M1 FROM K100 D14 K1 = D14 K2 RST M2 = D14 K3 RST M2 = D0 K2 D0 M2 K116 END Explanations: • The data exchange will be executed every one second. • Write the IP address of PLC_A into CR#117 and CR#118. The first two IP codes (192.168 = H’C0A8) should be written into CR#118, and the last two IP codes (0.
Ethernet Communication Module DVPEN01-SL 1. See 6.1 for how to set up the communication. 2. Use DCISoft for RTU-EN01 to set up the mapping CR for read/write. 3. Use DCISoft for DVPEN01-SL to set up the mapping start address and number of data. RX: M2000 ~ M2009, RY: M3000 ~ M3009, RCR Read: D2000 ~ D20009, RCR Write: D3000 ~ D3009 4. Edit the ladder diagram in the MPU and download it to DVPEN01-SL.
Ethernet Communication Module DVPEN01-SL Explanations: 1. Enable mapping: CR15 = 1 2. Disable mapping: CR15 = 0 3. Once CR#15 is enabled, M2000 ~M2009 and D2000 ~ D2009 will read the data, and M3000 ~ M3009 and D3000 ~ D3009 will read the present value before starting to write. 4. During the execution of mapping, other devices are not allowed to modify the value in the mapped register.