background image

ICP DAS, MDC-211-WF user manual , v1.1      Page 

18 

Copyright © 2020 by ICP DAS. All rights are reserved.

 

2.4.

 

Set MDC-211-WF as Modbus Master

 

 

Each Wi-Fi/RS-232/RS-485 communication interface on MDC-211-WF can be either set 

as Modbus Master or Modbus Slave. This section describes how to set the communication 

interface as the Modbus Master, and add the Modbus RTU devices to be monitored.

 

 

Read current Modbus protocol setting values

 

Click "Module Setting" 

  "Modbus RTU/TCP", to read the current setting parameters of 

the Modbus RTU/TCP protocol for each communication interface, if user want to modify these 

configurations, click the "Modify" button to switch to the configuration page, as shown in 

Figure 2.9.

 

 

Figure 2.9 Steps to switch to the Modbus protocol configuration page

 

 

 

2

1

3

4

Summary of Contents for MDC-211-WF

Page 1: ...ual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of pate...

Page 2: ...0 2 6 Check Modbus RTU Device Communication Status 21 2 6 1 Check polling status of Modbus command 21 2 6 2 Inquire Corresponding Modbus Register Address 23 2 6 3 Testing I O Channel Status of Modbus...

Page 3: ...ter in a MDC 211 WF 38 Q2 What is the maximum number of data can be accessed in one command from a Modbus Master device 38 Q3 How are the Internal Registers corresponding to the polled data in a MDC 2...

Page 4: ...s RTU devices at once Through MDC 211 WF s Modbus data centralized management function as well as the Ethernet network convenient link and the communication ability can quickly establish the stable re...

Page 5: ...rt Modbus TCP RTU Slave The Wi Fi RS 485 RS 232 or Ethernet on the MDC 211 WF can be set as Modbus Slave so the control host can access multiple Modbus RTU devices via MDC 211 WF at once By establishi...

Page 6: ...us RTU commands that settings can also be edited in a csv file and import into the MDC 211 WF from the Web UI and then start to monitor the data of the remote Modbus RTU devices Support Wi Fi Communic...

Page 7: ...device 2 Infrastructure mode The MDC 211 WF is a Wi Fi AP client in the Wi Fi infrastructure mode The MDC 211 WF can connect to other Wi Fi AP The SCADA HMI and control center can connect together by...

Page 8: ...tocol Modbus TCP Slave Serial port COM RS 232 x1 TxD RxD and GND RS 485 x1 D D Baud Rate 1200 115200 bps Data Format N81 N82 O71 O81 E71 E81 S71 S81 M71 M81 Protocol Modbus RTU Master Slave Polling De...

Page 9: ...ICP DAS MDC 211 WF user manual v1 1 Page 8 Copyright 2020 by ICP DAS All rights are reserved 1 4 Size Unit mm Top view Right view Front view Bottom view Post view Left view...

Page 10: ...Terminal Block The MDC 211 WF is equipped with a RJ45 port for Ethernet LAN connection When 100BASE TX is operating the 10 100M LED is lit orange When 10BASE T is operating or the machine is not conn...

Page 11: ...sword are Admin Change a new account password for higher security Port Settings Configure communication port settings according to the user needs Modbus Master Set the communication interface to Modbu...

Page 12: ...ess settings and so on this section describes each Hardware Wiring Please follow Figure 2 1 wiring diagram to wire the following items 1 Power Supply 10 VDC 30 VDC 2 RS 485 D D 3 RS 232 TxD RxD GND 4...

Page 13: ...b cd tinymodules napdos software esearch windows Table 2 1 Factory default network settings of MDC 211 WF IP 192 168 255 1 Mask 255 255 0 0 Gateway 192 168 0 1 The following steps show how to modify t...

Page 14: ...Copyright 2020 by ICP DAS All rights are reserved Figure 2 3 Network parameter setting interface Step 4 Finally click Search Server button again to find the MDC 211 WF module to confirm that the netw...

Page 15: ...entering the IP address on Web browser IE11 Chrome Firefox resolution 800 x 600 or more is recommended the login screen is shown as Figure 2 4 Figure 2 4 Product Login Page Step2 Enter the account and...

Page 16: ...Fi setting parameters if user want to adjust the Wi Fi settings click the Modify button to switch to the configuration page as shown in Figure 2 6 Figure 2 6 Steps to switch to the Wi Fi configuratio...

Page 17: ...t the Ethernet settings click the Modify button to switch to the configuration page as shown in Figure 2 7 Figure 2 7 Steps to switch to the Ethernet configuration page After modifying the setting par...

Page 18: ...s shown in Figure 2 8 Figure 2 8 Steps to switch to the Serial Port configuration page For the description of the Serial Port settings please refer to section 4 1 2 Serial Port Communication Interface...

Page 19: ...e communication interface as the Modbus Master and add the Modbus RTU devices to be monitored Read current Modbus protocol setting values Click Module Setting Modbus RTU TCP to read the current settin...

Page 20: ...rotocol to Modbus Master refer to Figure 2 9 click the icon at the bottom of Modbus Device to add a Modbus RTU Slave device and give the module name up to 12 ASCII characters and Modbus address the Sl...

Page 21: ...Modbus Slave Click Module Setting Modbus RTU TCP click Modify Select the one of the Wi Fi RS 232 RS 485 and set Modbus Status as Modbus Slave Finally set the station number 1 255 of MDC 211 WF as the...

Page 22: ...6 1 Check polling status of Modbus command Click I O Information Internal Register the browser will load the Modbus command real time information as Figure 2 12 the descriptions please see Table 2 2...

Page 23: ...esents Modbus Exception code 01 which means the command connection was established but the Modbus RTU device of the communication target does not support the function code please recheck the Modbus co...

Page 24: ...3 Modbus Command Definition Example ModbusDevice PortNo ModbusSlaveID ModuleName FunctionCode RegStartAddr RegCount 0 1 M 7060 1 0 4 0 1 M 7060 2 0 6 0 2 M 7060 1 0 4 0 2 M 7060 2 0 6 For example of t...

Page 25: ...protocol and also provide Web UI to real time control the Modbus I O channel status As Figure 2 14 users only need to click I O Information and select the Modbus RTU device want to control the Web UI...

Page 26: ...how to export and import the csv file and describes the format and setting code for the csv file and some setting recommendations NOTE csv file is a text file format that can be edited in spreadsheet...

Page 27: ...Copyright 2020 by ICP DAS All rights are reserved Import As Figure 3 2 click Module Setting Import Export Choose file Import then the csv file can be uploaded into MDC 211 WF and set up immediately Fi...

Page 28: ...onfiguration template For the detail steps please refer to 3 1 Export and Import the Configurations The MDC 211 WF configuration file includes all setting parameters The label name and order must be t...

Page 29: ...3 1 and Table 3 2 below Wi Fi Mode SSID Encryption Password Band RF Channel 0 MDC 211 WF 1 1qaz2wsx 1 48 Table 3 1 Wi Fi settings and descriptions Item Label Name Valid Code Range Mode Mode 0 Limit A...

Page 30: ...5 0 192 168 255 254 Table 3 2 Wi Fi IP settings and descriptions Item Label Name Valid Code Range DHCP DHCP DHCP of Wi Fi 0 disable 1 Enable Default value 0 IP IP IP of Wi Fi Default value 192 168 255...

Page 31: ...rights are reserved Ethernet DHCP IP Mask Gateway 0 192 168 255 1 255 255 0 0 192 168 0 1 Table 3 3 Ethernet settings and descriptions Item Label Name Valid Code Range DHCP DHCP 0 Disable 1 Enable NOT...

Page 32: ...ease see table 3 4 below SerialPort PortName BaudRate DataBit Parity StopBit CharTime RS 232 115200 8 0 1 3 5 RS 485 115200 8 0 1 3 5 Table 3 4 Serial port settings and descriptions Item Label Name No...

Page 33: ...1 1 3 200 30 RS 232 1 0 1 3 150 0 RS 485 2 1 1 3 150 20 Ethernet N A N A 1 Table 3 5 Modbus protocol settings and descriptions Item Label Name Note Port Name PortName The name of the Modbus communica...

Page 34: ...s RTU device settings and descriptions Item Label Name Note Port Number PortNo 1 RS 232 2 RS 485 Modbus Slave ID ModbusSlaveID 1 255 Module Name ModuleName Up to 12 ASCII characters Function Code Func...

Page 35: ...n Mode Note Mode Wi Fi Operation mode Limit AP Wi Fi AP mode It can connect by AP client Infrastructure Wi Fi AP Client mode It can connect to Wi Fi AP SSID Wi Fi SSID Limit AP SSID of Wi Fi AP Infras...

Page 36: ...on Data format Support five kinds of parity check codes None Odd Even Mark Space Supports 7 8 data bit Support 0 1 2 stop bit Set the same with the connected Modbus RTU device Inter character Timeout...

Page 37: ...he maximum time for waiting the response from Modbus RTU device If there is no response after the time expires it is considered as timeout and execute the next command Users can change the value as ne...

Page 38: ...mple Project Wi Fi RS 485 RS 232 Modbus Timeout 200 150 150 Modbus Retry 3 3 3 Polling Interval 30 20 0 4 2 2 Modbus Slave Setting Parameters Parameter description Table 4 7 below is the descriptions...

Page 39: ...P protocol the maximum amount of Internal Registers that one Modbus command can access is 255 of function code 01 and 02 and 126 of function code 03 and 04 Q3 How are the Internal Registers correspond...

Page 40: ...he corresponding Internal Register address of the command status Command No Addresses State Code Web Page Display 001 39600 00 00 GOOD 002 39601 83 02 ILLEGAL DATA ADDRESS 003 39602 83 03 ILLEGAL DATA...

Page 41: ...mand response Q5 How to update the firmware MDC 211 WF can update the firmware via a software tool Windows by the following steps 1 Download the latest version of the firmware program and update Tool...

Page 42: ...rmware Path select the latest firmware update file MDC211WF_xxxx fw In Firmware Update click Update to start the firmware updating 4 When the update is completed Update OK will be displayed in the FW_...

Page 43: ...ICP DAS MDC 211 WF user manual v1 1 Page 42 Copyright 2020 by ICP DAS All rights are reserved Figure 5 3 FW_Update_Tool firmware update steps...

Page 44: ...LED Wi Fi Limit AP Mode AP at 2 4 GHz AP at 5 GHz Wi Fi Infrastructure Mode Wi Fi Signal strength High Wi Fi Signal strength Medium Wi Fi Signal strength Low PWR Steady Lit Firmware loaded correctly...

Page 45: ...t 2020 by ICP DAS All rights are reserved Other If the above six LEDs are blinking alternately the module is into the firmware update mode bootloader which can update the firmware with the FW_Update_T...

Reviews: