background image

Ethernet Communication Module DVPEN01-SL

 

DVP-PLC Application Manual

 

 

34

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. 

 

Summary of Contents for Ethernet Communication Module DVPEN01-SL

Page 1: ...DVPEN01 SL Ethernet Communication Module Application Manual ...

Page 2: ......

Page 3: ...f familiar with the structure and operation of RTU DNET can install operate wire and maintain it 3 DO NOT connect input AC power supply to any of the I O terminals otherwise serious damage may occur Check all the wirings again before switching on the power and DO NOT touch any terminal when the power is switched on Make sure the ground terminal is correctly grounded in order to prevent electromagn...

Page 4: ...ting through WPLSoft 29 6 2 Connecting the PC with DVPEN01 SL through LAN 32 6 3 Setting up IP and Communicating through WPLSoft 36 6 4 Setting up Password and Clearing Password 37 6 5 When the Password is Lost Returning to Default Setting by RS 232 39 6 6 IP Filter Protection 40 6 7 Setting up Static ARP Table 42 6 8 Application of E Mail 43 6 9 Application of Data Exchange 1 45 6 10 Application ...

Page 5: ... transmission speed z MDI MDI X auto detection z Supports Modbus TCP protocol at the same time supports Master and Slave mode z Able to send out E mails z Auto corrects the RTC in PLC through the Internet time correction function z Supports point to point data exchange Max data exchange length 200 bytes 1 2 Specifications Internet interface Item Specification Interface RJ 45 with Auto MDI MDIX Num...

Page 6: ... 5W Insulation voltage 500V Weight g 92 g 2 Product Profile Outline 2 1 Dimension LAN RS 232 LINK DVPEN01 RS 232 POWER 100M 60 2 362 90 3 543 3 0 118 Unit mm inches 2 2 Product Profiles LAN RS 232 LINK DVPEN01 RS 232 POWER 100M 1 4 3 7 5 6 9 8 2 1 Model name 6 Fixing tenon for extension unit module 2 Extension port to connect device 7 Fixing clip for extension unit module 3 Extension port to conne...

Page 7: ...a receiving 6 Rx Negative pole for data receiving 4 5 7 8 N C 3 Installation Wiring This section gives instructions on how to connect DVPEN01 SL with PLC MPU and how to connect DVPEN01 SL to the network 3 1 Installation Connect PLC MPU to DVPEN01 SL z Adjust the extension clip on the left side of the MPU z Meet the extension port of the MPU with DVPEN01 SL as shown in the figure below z Fasten the...

Page 8: ...bute Content Explanation 0 R Model name Set up by the system read only Model code of DVPEN01 SL H 4050 1 R Firmware version Displaying the current firmware version in hex 2 R Communication mode b0 Modbus TCP mode b1 data exchange mode 3 W E Mail Event 1 trigger Set up whether to send E Mail 1 4 W E Mail Event 2 trigger Set up whether to send E Mail 2 5 W E Mail Event 3 trigger Set up whether to se...

Page 9: ...or received data in data exchange 69 R W DHCP Static IP Selecting DHCP or Static IP 71 70 R W IP address Setting up IP address 73 72 R W Subnet mask Setting up subnet mask of DVPEN01 SL 75 74 R W Gateway Setting up default gateway IP address 76 R IP status Displaying current IP status 80 77 Reserved 81 R W Read address for data exchange Slave transmission buffer address for data exchange 82 R W Re...

Page 10: ...del code in the program to see if the extension module exists CR 1 Firmware Version Explanations The firmware version of DVPEN01 SL is displayed in hex e g H 0100 indicates version V1 00 CR 2 Communication Mode Explanations Bit No Mode 0 1 b0 Modbus TCP Disable Enable b1 Data exchange Disable Enable E mail Functions CR 3 6 E Mail Event 1 4 Trigger Explanations When the CR is set as 1 E mail sendin...

Page 11: ...CR is set as 0 the data have not yet been received When the CR is set as 1 the data exchange is in progress When the CR is set as 2 the data exchange is successful When the CR is set as 3 the data exchange fails 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 Slav...

Page 12: ...itten in Address for Data Exchange Explanations The number of transmission registers K1 K128 in data exchange CR 86 Transmission Address for Data Exchange Explanations 1 Setting up the Modbus address of the register for Master data exchange 2 Example Write H 1000 D0 into CR 81 K1 into CR 82 and H 1064 D100 into CR 83 If the data exchange is successful the value in D0 of the Slave will be written i...

Page 13: ... Setting up the gateway of our equipment in hex When in DHCP mode you can only read and cannot write See the explanations on CR 70 and 71 for how to set CR 76 IP Status Explanations Displaying the current IP status When the CR value is 0 Æ normal status when the CR value is 1 Æ DHCP setting has not completed when the CR value is 2 Æ IP setting in progress Sending Modbus TCP Instruction CR 111 8 bi...

Page 14: ...how to set CR 119 Modbus TCP Data Length Explanations Setting up the length of communication data in Modbus TCP mode Length for 8 bit mode K1 K100 length for 16 bit mode K1 K200 CR 120 219 Modbus TCP Data Buffer Explanations Buffer for transmitted received data in Modbus TCP mode CR 251 Error Code Explanations Table of error code Bit No Error b0 The network is not yet connected b1 Incorrect IP set...

Page 15: ...ng up Software This section gives instructions on how to set up DVPEN01 SL by WPLSoft 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 rel...

Page 16: ...al 14 2 Auto search Press Auto Search circled to search for every DVPEN01 SL in the network and display them in the left column Move the cursor to the module you would like to set up Double click it to enter the setup page You will see the basic setup page as follow ...

Page 17: ...or the designated IP Press the search icon and you will open the window for entering the IP address Enter the IP of DVPEN01 SL you would like to search in the IP address column or click on the IP address in the IP list Press OK to start the searching The DVPEN01 SL searched is displayed in the left column Move the cursor to the module you would like to set up Double click it to enter the setup pag...

Page 18: ... 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 After setting up the communication port press RS 232 search icon circled If the searching is successful the setup page for DVPEN01 SL will open automatically 5 2 Basic Settings The basic settings include parameters as module name language enabling Modbus TCP and time correction...

Page 19: ...fault setting of this function is disable Start Daylight Saving Time Daylight Saving Time also known as summer time is a conventional local time adopted by many countries in the world on a seasonal basis Most commonly DST is obtained by adjusting the official local time forward by one hour for the spring summer and early autumn periods Daylight Saving Time is not implemented in Taiwan therefore yo...

Page 20: ...ving time as well as being subject to occasional redefinition as political conditions change You should choice the Time zone that you are 5 3 Network Settings The first step for all the network equipment to connect to the network is to have its own IP address Internet Protocol The IP address is like a number for every network equipment to be identified in the network 1 Setting up static IP of the ...

Page 21: ...nto IP address Click on OK to complete the IP address setting of the PC 2 Setting up DVPEN01 SL Network 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 ...

Page 22: ...le to communicate with DVPEN01 SL To see if your setting is correct conduct bitwise AND operations between your IP and subnet mask and destination IP and subnet mask If the two values obtained are the same the two IPs are in the same subnet The default subnet mask of DVPEN01 SL is 255 255 255 0 Gateway Gateway is the gate for two different subnets allowing the two ends in different subnets to comm...

Page 23: ... to SMTP server first and the server will further send it to the recipient test delta com tw 2 Subject of E Mail You can enter text message in the column and the message will be placed in the subject of the E Mail and sent to the recipient DVPEN01 SL is able to contain 1 4 E Mail subjects max 63 English characters are allowed 3 E Mail of Sender Maximum 63 English characters are allowed 4 E mail of...

Page 24: ...r 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 5 Data Exchange DVPEN01 SL is able to designate a data exchange area for PLC MPUs ...

Page 25: ...xample if you would like DVPEN01 SL to exchange data with 192 168 0 1 set No 1 as 192 168 0 1 When the data are being exchanged if the value in CR 28 is H 0001 the data will be exchanged with 192 168 0 1 3 See Application Examples Section 6 11 for more details 5 6 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 w...

Page 26: ... 255 255 255 0 the IPs allowed to establish connections will become 192 168 0 0 192 168 0 255 5 7 Static ARP Table ARP Address Resolution Protocol is used for obtaining the MAC address corresponding to the IP address in data transmission For example there is a datum to be sent to 172 16 155 250 but you do not know the corresponding MAC address You can use ARP to look up the MAC address by IP addre...

Page 27: ...esponding to the IP address Note Incorrect settings may result in connection failure Therefore DO NOT set the MAC address of the equipment without the network into the table 5 8 Setting up Password To prevent the set values in DVPEN01 SL from being modified you can set up password to lock the settings in DVPEN01 SL Setting up DVPEN01 SL password ...

Page 28: ...nnot be set up unless you unlock the password However if you set up DVPEN01 SL by RS 232 you can return the setting to default setting whether the password is locked or not For example if you have locked DVPEN01 SL but forget the password you have to return DVPEN01 SL to factory default setting by RS 232 and all the settings will return to default ones 5 9 Returning to Default Setting If you need ...

Page 29: ...assword 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 5 10 Export Import of DVPEN01 SL Files After you set up all the settings in DVPEN01 SL you can export you settings and save them into files You can also read out the files which is a handy approach for you to manage all the settings in DVPEN01 SL Export and i...

Page 30: ...ssword 2 Import Select a file and the file will be imported to all the settings 5 11 Recording IP Address When DVPEN01 SL is searching for a designated IP there is a list for you to directly select and designate a module to be searched Recording IP address function is to add a DVPEN01 SL module into the list for you to see the module in the searching Recording IP address ...

Page 31: ...oft Application Setting up network parameters of DVPEN01 SL directly on the PC Network requirement 1 IP of PC executing WPLSoft 192 168 0 3 2 Subnet mask 255 255 255 0 Gateway 192 168 0 1 3 IP of DVPEN01 SL 192 168 0 4 4 Connect the PC and DVPEN01 SL by RJ 45 cable Note Both PC and DVPEN01 SL have to adopt static IP 1 The connection PC DVP PLC DVPEN01 2 Open Communication Setting in WPLSoft 3 Sele...

Page 32: ... Communication Module DVPEN01 SL DVP PLC Application Manual 30 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 ...

Page 33: ...Ethernet Communication Module DVPEN01 SL DVP PLC Application Manual 31 6 Open Basic setup page 7 Switch to Network setup page ...

Page 34: ...odified 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 2 Connecting the PC with DVPEN01 SL through LAN Application Setting up network parameters of DVPEN01 SL by WPLSoft through LAN Network requirement 1 Connect the PC and DVPEN01 SL by using DHCP server through LAN 2 IP of DVPEN01 SL 172 16 157 148 Note DVPEN01...

Page 35: ...Ethernet Communication Module DVPEN01 SL DVP PLC Application Manual 33 PC Hub DHCP Server PC DVP PLC DVPEN01 2 Open Communication Setting in WPLSoft 3 Select Ethernet and press OK ...

Page 36: ...on 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 ...

Page 37: ...ion 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 Press OK to complete the setting and WPLSoft will automatically search for DVPEN01 SL 8 The module name and IP of DVPEN01 SL have been modified into new settings TEST 172 16 157 148 9 Click on DVPEN01 SL and WPLSoft will ...

Page 38: ...C DVPEN01 2 See 6 1 for how to set up the communication Download the program to PLC MOV M1002 MOV END MOV MOV MOV MOV MOV D0 D1 D2 D3 D4 D5 D6 K0 H4 HC0A8 HFF00 HFFF H1 T0 K100 K69 K7 D0 HC0A8 Explanations Use M1002 to trigger all the settings When DVPEN01 SL goes from STOP to RUN D0 4 refers to using static IP address Write the IP address into D1 and D2 subnet mask into D3 and D4 and gateway into...

Page 39: ...please change to a new DVPEN01 SL The default IP for DVPEN01 SL is 192 168 1 5 4 Execute STOP RUN in the new DVPEN01 SL and search for it again We can see the IP has been modified into 192 168 0 4 6 4 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 ...

Page 40: ...in and DVPEN01 SL is now locked by the password You cannot open any of the settings now Click on Unlock to leave the entering password window 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 ...

Page 41: ...word is cleared you can modify the parameters 6 5 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 ...

Page 42: ...d will be cleared as well 3 After the searching all the parameters have already returned to their default settings 6 6 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 16 0 255 are allowed 1 See 6 1 for the connection and how to set up the communication 2 Open the setup page and ...

Page 43: ...3 Check Enable IP Filter Function box Enter 192 168 0 7 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 ...

Page 44: ...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 1 IP and its corresponding MAC address is 00 18 23 10 00 35 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 equi...

Page 45: ... Details see below 6 8 Application of E Mail Application Sending an E Mail to notify the administrator when the current status of X0 and Y0 is changed Network application 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 Op...

Page 46: ... PLC Application Manual 44 3 In Subject and Mail page enter the address of SMTP server subject of E Mail and E mail address of the recipient 4 Switch to Select Recipients page Check all the boxes of Recipient 1 Click on OK to complete the setting ...

Page 47: ... will go from On to Off Write 1 into CR 4 of DVPEN01 SL and the second E Mail will be sent out If the rising edge of Y0 is triggered Y0 will go from Off to On Write 1 into CR 5 of DVPEN01 SL and the third E Mail will be sent out If the falling edge of Y0 is triggered Y0 will go from On to Off Write 1 into CR 6 of DVPEN01 SL and the fourth E Mail will be sent out 6 9 Application of Data Exchange 1 ...

Page 48: ...iagram in the MPU and download it to PLC_B See below for the program design END M1013 K100 K1 K1 K100 K100 K1 M2 M1 M1 SET M1 TOP K28 TOP TOP K29 K14 K13 K0 D100 K7 K100 K1 TOP K1 SET M2 M1 RST K100 K1 M2 K14 D14 RST M2 RST M2 D14 K2 D14 K3 FROM D100 T D R M1000 Explanations The data exchange will be executed every one second Write the communication address of the destination PLC in CR 28 and DVPE...

Page 49: ...0 D6 6 10 Application of Data Exchange 2 Application Writing the time in RTC in PLC_B into D0 D6 of PLC_A by designating IP by ladder diagram Network requirement 1 Adopting static IP 2 IP of PLC_A 192 168 0 4 3 IP of PLC_B 192 168 0 5 4 Update from PLC_B to PLC_A 1 See 6 1 for how to set up the communication Compile the ladder diagram in the MPU and download it to PLC_B See below for the program d...

Page 50: ...LC_A and download it to PLC_A END M1013 K7 D0 K49 K100 FROM Explanations The received data are stored in CR 49 CR 55 The data received every one second are written into D0 D6 6 11 Application of Data Exchange 3 Application Writing the time in RTC in PLC_B directly into D0 D6 of PLC_A without writing in ladder diagram into PLC_A Network requirement 1 Adopting static IP 2 IP of PLC_A 192 168 0 4 3 I...

Page 51: ... the number of registers K7 into CR 85 Write 1 into CR 13 to start the data exchange CR 14 2 refers to successful execution CR 14 3 refers to failed execution Once the data exchange is successful the values in D1313 D1318 in PLC_B will be written into D0 D6 of PLC_A 6 12 Application of Modbus TCP Master 1 Application Compiling Modbus instrcution by PLC_B making Y0 of PLC_A flashing Network require...

Page 52: ...119 K116 K115 K124 D0 K0 D0 K1 SET M2 M1 RST MOV K0 D0 D0 K2 INC D0 END K100 K1 M2 D14 RST M2 RST M2 D14 K2 D14 K3 FROM K116 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 4 H 0004 into CR 117 Set CR 111 as 1 to enable the 8 bit mode...

Page 53: ...te the length of the instrcution into CR 119 Write 1 into CR 115 to start the execution of Modbus TCP instrcution CR 116 2 refers to successful execution CR 116 3 refers to failed execution If the execution is successful Y0 on PLC_A will go between On and Off every one second ...

Page 54: ...Ethernet Communication Module DVPEN01 SL DVP PLC Application Manual 52 MEMO ...

Reviews: