background image

Ethernet Communication Module DVPEN01-SL

 

DVP-PLC Operation Manual

 

14 

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 codes: 

Bit No. 

Error 

b0 

The network is not yet connected. 

b1 

Incorrect IP address setting 

b2 

CR#13 is set as “transmitting data”, but the data exchange 

is forbidden.   

b3 

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. 

 

 

RTU Mapping 

CR#15:

 Enabling glag for the RTU mapping 

Explanations: 
1: Enable 
0: Disable 
Default=0 
Firmware V2.0 and later versions support the RTU mapping. 

 

CR#16:

 Connection status of the RTU mapping slave

 

Explanations

b3~b0 display the connection status of RTU slave. The connection may encounter some problems when any of the bits 
becomes 0. Firmware V2.0 and later versions support RTU mapping. 
b0: Status of RTU slave 1 
b1: Status of RTU slave 2 
b2: Status of RTU slave 3 
b3: Status of RTU slave 4 
 

4.3  Numbering of Left-Side Modules 

After DVPEN01-SL is installed properly, you need to compile the PLC program to control the special I/O module. PLC 
offers FROM instruction (for reading) and TO instruction (for writing) to control the control registers (CR) in the special 
I/O module.

 

Numbering of the modules: Every special I/O module connected to PLC MPU has a No. to allow you to know which 
module is which when compiling the PLC program. The first special I/O module attached at the left hand side of the 
PLC MPU is numbered as K100, the second as K101, the third K102, and so on. 

Содержание DVPEN01-SL

Страница 1: ...DVPEN01 SL Ethernet Communication Module Operation Manual DVP 0204320 04 ...

Страница 2: ......

Страница 3: ...on of RTU DNET can install operate wire and maintain it 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 electromagnetic interference Table of Contents 1 INTRO...

Страница 4: ... 36 6 3 Setting a Password and Clearing a Password 38 6 4 When the Password is Lost Returning to Default Setting by RS 232 41 6 5 IP Filter Protection 42 6 6 Setting a Static ARP Table 44 6 7 Application of E mails 46 6 8 Application of Data Exchange 1 47 6 9 Application of Data Exchange 2 49 6 10 Application of Data Exchange 3 51 6 11 Application of Data Exchange 4 52 6 12 Application of Data Exc...

Страница 5: ...BUS TCP protocol at the same time supports Master and Slave mode Able to send out E mails Auto corrects the RTC in PLC through the Internet time correction function 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 Number of ports 1 Port Transmission method IEEE802 3 IEEE802 3u Transm...

Страница 6: ...18 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 I O module 2 Extension port to connect device 7 Fixing clip for I O module 3 Extension port to connect I O module 8 RS 232 connection port 4 POWER LINK RS 232 100M indicators 9 Ethernet RJ 485 connection port 5 DIN rail clip 2 3 LED Indicators Indicator Color Indicatio...

Страница 7: ...uctions on how to connect DVPEN01 SL with PLC MPU and how to connect DVPEN01 SL to the network 3 1 Installation Connecting PLC MPU to DVPEN01 SL Adjust the I O module clip on the left side of the MPU Meet the I O module port of the MPU with DVPEN01 SL as shown in the figure below Fasten the I O module clip on the left side of the MPU DVP28SV LAN RS 232 RS 232 LINK 100M DVPEN01 POWER Connecting DVP...

Страница 8: ... 4 trigger Setting whether to send E mail 4 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...

Страница 9: ...fer address for the receiving Master in data exchange 84 R W Written in address for data exchange Buffer address for the receiving Slave in data exchange 85 R W Written in length for data exchange Number of registers for data transmission 86 R W Transmission address for data exchange Master transmission buffer address for data exchange 87 R W Mode of setting an IP address 0 Static IP address 1 DHC...

Страница 10: ... 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 sending will be enabled After the sending is completed the CR will automatically be reset as 0 Note Please trigger by differential instructions CR 7 8 Status of E mail 1 4 Explanations 1 CR 7_b0 ...

Страница 11: ...ting Program Control in the Enable Condition drop down list box is selected Please refer to section 5 6 V2 06 and later versions support the function CR 14 Data exchange status Explanations When the 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 exch...

Страница 12: ...set the slave IP address for data exchange manually write 0 into CR 28 first before setting the destination IP address 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 K192 H C0 K168 H A8 K0 H 00 K2 H 02 CR 27 Function code for a data exchange mode Explanations 0 Using the function code 0x17 for the reading of data and the wri...

Страница 13: ...ten in address for data exchange Explanations Setting 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 Setting the MODBUS address of the register for Master data exchange 2 Example Write H 1000 D0 into C...

Страница 14: ...ateway IP address Explanations The control registers are used to set a gateway IP address If a gateway IP address is 192 168 1 1 the value in CR 92 will be H 0101 and the value in CR 93 will be H C0A8 CR 94 Enabling the setting of an IP address Explanations If the value in CR 94 is 1 the setting of an IP address will be enabled After the setting is complete the value in CR 94 will automatically be...

Страница 15: ...ly be reset to 0 Please trigger by differential instructions CR 116 MODBUS TCP status Explanations Displaying the current communication status of MODBUS TCP mode When the CR value is set as 0 the data have not yet been received when the CR value is set as 1 the data exchange is in progress when the CR value is set as 2 the data exchange is successful when the CR value is set as 3 the data exchange...

Страница 16: ...he RTU mapping CR 16 Connection status of the RTU mapping slave Explanations b3 b0 display the connection status of RTU slave The connection may encounter some problems when any of the bits becomes 0 Firmware V2 0 and later versions support RTU mapping b0 Status of RTU slave 1 b1 Status of RTU slave 2 b2 Status of RTU slave 3 b3 Status of RTU slave 4 4 3 Numbering of Left Side Modules After DVPEN0...

Страница 17: ...ect Ethernet in the Communication Setting window 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 by UDP port 20006 therefore you have to be aware of the relevant settings of the firewall 5 1 Setting Communication Searching for Modules Communication settings 1 Open DCISoft in your PC and click on Communication Setting ...

Страница 18: ...ta 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 to enter the setup page ...

Страница 19: ...dule DVPEN01 SL DVP PLC Operation Manual 17 3 You will see the basic setup page as follow Designating a model to search 1 Right click Ethernet on the left hand side window and click Configure to designate a model to search for ...

Страница 20: ...ication Module DVPEN01 SL DVP PLC Operation Manual 18 2 After configure a model select the DVPEN01 SL checkbox and click OK to auto search for DVPEN01 SL modules on the network 3 List of the current DVPEN01 SL modules ...

Страница 21: ...Module DVPEN01 SL DVP PLC Operation Manual 19 Searching by an IP address 1 Select Ethernet in the Communication Type section and enter the IP address Click OK 2 Click IP Search to start searching for the designated IP address ...

Страница 22: ...e window Double click it to enter the setup page Opening the DVPEN01 SL setup page by RS 232 1 Select RS232 as the transmission type in the Communication Setting window You will have to designate a communication port When DVPEN01 SL is searched by RS 232 you do not need to set the parameters i e data length parity stop bits and baud rate ...

Страница 23: ...ules in the network Thus you can set 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 Enable MODBUS TCP To enable or disable MODBUS TCP When MODBUS TCP is disabled WPLSoft will not be able to upload or download 4 Enable Time Server DVPEN01 SL a...

Страница 24: ...om 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 The local time in neighboring zones is then exactly one hour different However political and geographical practicalities can result in irregularly shaped zones that follow political boundaries o...

Страница 25: ...L DVP PLC Operation Manual 23 2 You will see the Local Area Connection Status window Click on Properties 3 Click on Internet Protocol TCP IP 4 Enter 192 168 0 1 into the IP address box Click on OK to complete the IP address setting of the PC ...

Страница 26: ...etmask Subnet mask is an important parameter for setting the subnet used for seeing if the destination IP address and the local equipment are in the same subnet If not the equipment will send the packet to the gateway and the gateway will send the packet to another subnet Incorrect setting may cause the destination equipment unable to communicate with DVPEN01 SL To see if your setting is correct c...

Страница 27: ...ess For example assume there is an E mail to be sent to test delta com tw and the SMTP server is 172 16 144 121 The E mail will be sent to SMTP server first and the server will further send it to the recipient test delta com tw The setting boxes are described below SMTP Server Setting the IP address of the SMTP server Port Entering the port of the SMTP server The default value is 25 Mail From Sett...

Страница 28: ... be sent to SMTP server first and the server will further send the mail to the designated address 5 5 SNMP SNMP is a simple network management function Users can read and control the registers in a PLC by means of a SNMP network management tool DVPEN01 SL version 2 06 and above support this function Setting 1 Enable SNMP Users can disable enable the SNMP function by unselecting selecting the Enabl...

Страница 29: ...ording to the program setting CR 13 2 Executing data exchange CR 13 0 Stopping executing data exchange 3 Station Address and IP Address You have to enter the IP address of DVPEN01 SL at the other end For example 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...

Страница 30: ...ith a master and the communication with slaves simultaneously Only UDP communication is allowed DVPEN01 SL version 2 10 and above support this function Setting the MELSEC protocol mode 1 Protocol Select Setting the MELSEC function 2 Listen Port Setting the communication port of the MELSEC protocol slave 3 Network No Station No Setting the network number and the station number of the MELSEC protoco...

Страница 31: ...Stopping executing data exchange 3 Slave ID and IP address Users need to type the IP address and the slave ID of a Mitsubishi device which supports the MELSEC protocol For example the users can type the slave ID 1 and the IP address 192 168 0 1 If data exchange is executed DVPEN01 SL will exchange data with the device whose slave ID is 1 and whose IP address is 192 168 0 1 by means of the MELSEC c...

Страница 32: ...ers can set the bit devices and the registers which correspond to digital inputs digital outputs and analog registers on RTU EN01 The bit devices set start from M2000 The registers used for the reading of data start from D2000 and the registers used for the writing of data start from D3000 The software automatically calculates end addresses according to the numbers set 4 Setting the remote device ...

Страница 33: ...ple assume the IP address is 192 168 0 1 and subnet mask 255 255 255 255 the only one IP address allowed to establish a connection is 192 168 0 1 If the subnet mask is 255 255 255 0 the IP addresses s allowed to establish connections will become 192 168 0 0 192 168 0 255 5 10 Static ARP Table ARP Address Resolution Protocol is used for obtaining the MAC address corresponding to the IP address in d...

Страница 34: ...sponding 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 11 Setting a Password To prevent the set values in DVPEN01 SL from being modified you can set a password to lock the settings in DVPEN01 SL Setting the DVPEN01 SL password 1 Modify Check the box to modify the password ...

Страница 35: ... 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 12 Returning to Default Settings If you need to clear all the settings after many modifications on the settings and return the settings to default ones select the Factory Setting checkbox Returning to default settings S...

Страница 36: ...nvironment 1 IP address of the PC executing WPLSoft 192 168 0 3 2 Subnet mask 255 255 255 0 Gateway 192 168 0 1 3 IP address 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 a static IP address 1 The connection 2 Start WPLSoft and click Ethernet in the Communication Setting Section 3 Click Auto Search Ethernet Module to search for a...

Страница 37: ...e network are shown in the Ethernet section After DELTA DVPEN01 SL is clicked WPSoft can communicate with the MPU by means of DVPEN01 SL 5 After DELTA DVPEN01 SL in the Ethernet section is double clicked DCISoft will be started Please refer to section 5 3 for more infomrationa bout setting an IP address ...

Страница 38: ...can be used for communication 6 2 Connecting the PC with DVPEN01 SL through LAN Application Setting the network parameters of DVPEN01 SL by WPLSoft through LAN Network environment 1 Connect the PC and DVPEN01 SL by using DHCP server through LAN 2 IP address of DVPEN01 SL 172 16 157 148 Note DVPEN01 SL can use a RJ 45 cable with without a jump wire 1 The connection ...

Страница 39: ...rnet in the Communication Setting Section 3 Click Auto Search Ethernet Module to search for all the Ethernet modules on the network 4 All the devices connected to the network are shown in the Ethernet section After DELTA DVPEN01 SL is clicked WPSoft can communicate with the MPU by means of DVPEN01 SL ...

Страница 40: ...ter the setting of an IP address is complete and step 2 step 4 are repeated the IP address can be used for communication 6 3 Setting a Password and Clearing a Password Application Setting and clearing a password by WPLSoft Network environment 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 the communication 2 Open the ...

Страница 41: ...Ethernet Communication Module DVPEN01 SL DVP PLC Operation Manual 39 3 Select the Modify checkbox and enter aabb in the Password box and the Confirm Password box Click on OK to save the password ...

Страница 42: ...n and DVPEN01 SL is now locked by the password You cannot open any of the settings now Click on Confirm 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 ...

Страница 43: ... 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 environment 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 Security page ...

Страница 44: ...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 the IP filter protection Network environment 1 IP address 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 the communication 2 Open the setup page ...

Страница 45: ...checkbox Enter 192 168 0 4 in the No 1 IP Address box and 255 255 255 255 in the No 1 Subnet Netmask box 4 Enter 192 168 0 1 in the No 2 IP Address box and 255 255 255 0 in the No 2 Subnet Netmask box Click on OK to complete the setting Only the equipment within the IP address range can be connected ...

Страница 46: ...ss 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 the communication 2 Open the setup page and switch to the Static ARP Table page 3 Select the Enable ARP Table checkbox Enter 192 168 1 6 in the No 1 IP Address box and its corresponding MAC address is 00 18 23 10 00 35 ...

Страница 47: ...C address is 00 18 23 10 00 04 Click on OK to complete the setting Only the equipment within the IP address 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 widow see below ...

Страница 48: ...sage will be generated when the status of X0 and Y0 is changed 1 See 6 1 for the connection and how to set the communication 2 Open the setup page and switch to the Mail page 3 Set E mails and select events Enter the address of the SMTP server the subjects of the E mails a user name password the E mail addresses of the recipients the present values in the registers D devices T devices and C device...

Страница 49: ...of X0 is triggered X0 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 8 Applicatio...

Страница 50: ...checkbox Select Program Control in the Enable Confition drop down list box Enter the IP address of PLC_A 192 168 0 4 in the IP Address cell corresponding to station address 1 Click on Apply 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 The program designed is like the one shown below ...

Страница 51: ...RTC into CR 29 CR 35 Write 1 into CR 13 to start the data exchange CR 14 2 refers to successful exchange CR 14 3 refers to failed exchange 5 Compile the ladder diagram for PLC_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 9 Application of Data Exchange 2 Firmware version ...

Страница 52: ...le in the Enable Condition drop down list box Check the Enable cell corresponding to station address 1 Enter the IP address of PLC_B 192 168 1 97 in the IP Address cell corresponding to station address 1 select D200 and D0 in the Master Device cell corresponding to station address 1 select D0 and D0 in the Slave Device cell corresponding to station address 1 and select 100 and 100 in the Quantity ...

Страница 53: ... 168 1 99 3 IP address of PLC_B 192 168 1 97 4 Update from PLC_A to PLC_B and PLC_B to PLC_A 1 See 6 1 for how to set the communication 2 Open the setup page of PLC_A and switch to the Data Exchange page 3 Select the Enable Data Exchange checkbox Select Program Control in the Enable Condition drop down list box Check the Enable cell corresponding to station address 1 Enter the IP address of PLC_B ...

Страница 54: ...ation of Data Exchange 4 Application Writing the time of the RTC in PLC_B into D0 D6 of PLC_A by and using a ladder diagram to designate an IP address Network environment 1 Adopt a static IP address 2 IP address of PLC_A 192 168 0 4 3 IP address of PLC_B 192 168 0 5 4 Update from PLC_B to PLC_A 1 See 6 1 for how to set the communication Compile the ladder diagram in the MPU and download it to PLC_...

Страница 55: ...ill 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 data in RTC into CR 29 CR 35 Write 1 into CR 13 to start the data exchange CR 14 2 refers to successful execution CR 14 3 refers to failed execution 2 Compile the ...

Страница 56: ...communication 2 Compile the ladder diagram in the MPU and download it to PLC_B We do not need to write any corresponding ladder diagram into PLC_A M1013 K100 K1 K100 K100 K1 M2 M1 M1 SET M1 TOP K28 TOP TOP K100 TOP K1 K0 K26 K25 H4 HC0A8 K1 K81 H1000 K100 K100 K1 TOP TOP K1 H1000 K84 K85 K7 D100 T D R M1000 END SET M2 M1 RST K100 K1 M2 K14 D14 RST M2 RST M2 D14 K2 D14 K3 FROM K100 K1 TOP K100 TOP ...

Страница 57: ...LC_A 6 13 Application of MODBUS TCP Master Application Compiling MODBUS instruction by PLC_B making Y0 of PLC_A flashing Network environment 1 Adopt a static IP address 2 IP address of PLC_A 192 168 0 4 3 IP address of PLC_B 192 168 0 5 4 Update from PLC_B to PLC_A 5 Use MODBUS instruction 050500FF00 to set On Y0 6 Use MODBUS instruction 0505000000 to set Off Y0 7 Y0 goes between On Off once every...

Страница 58: ...e instruction into CR 119 Write 1 into CR 115 to start the execution of MODBUS TCP instruction 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 6 14 RTU Mapping Application Using RTU mapping to read write the remote digital I O and analog I O registers DVP28SV DVPEN01 SL RTU EN01 DVP06...

Страница 59: ...munication 2 Use DCISoft for RTU EN01 to set mapping control registers used for reading writing 3 Use DCISoft for DVPEN01 SL to set start addresses and numbers RX M2000 M2009 RY M3000 M3009 RCR Reading D2000 D2009 RCR Writing D3000 D3009 4 Edit a ladder diagram and download it to DVPEN01 SL The program edited is like the one shown below ...

Страница 60: ...eiving communicaiton port is 9002 4 Data mapping D100 D199 in DVP28SV are mapped onto D100 D199 in the Mitsubishi PLC and D0 D99 in the Mitsubishi PLC are mapped ont D0 D99 in DVP28SV Firmware version 2 10 and above support this function Please visit the Mitsubishi website for more information about the Mitsubish PLC models which support the MELSEC communication protocol 1 Please refer to section ...

Отзывы: