background image

 

WF-2000 Series AIO 

User’s Manual (Ver. 1.2, May./2014) ------------- 44

 

5. Modbus Applications 

The  WF-2000  is  a  Modbus  device  that  allows  you  to  access 

terminals  data  via  Wi-Fi  and  communicates  using  a  master-slave 
technique in which only one device (the master) can initiate transactions 
(called  queries).  The  other  devices  (slaves)  respond  by  supplying  the 
requested  data  to  the  master,  or  by  taking  the  action  requested  in  the 
query. 

 
Most  SCADA  Supervisor  Control  And  Data  Acquisition  and  HMI 

software  can  easily  integrate  serial  devices  via  the  Modbus  protocol, 
such as Citect, ICONICS, iFIX, InduSoft, Intouch, Entivity Studio, Entivity 
Live, Entivity VLC, Trace Mode, Wizcon, Wonderware, etc. 

 

5.1  What is Modbus TCP/IP? 

 
Modbus is a communication protocol developed by Modicon in 1979.  
Different  versions  of  Modbus  used  today  include  Modbus  RTU 

(based on serial communication like RS485 and RS232), Modbus ASCII 
and  Modbus  TCP,  which  is  the  Modbus  RTU  protocol  embedded  into 
TCP packets. 

 
Modbus TCP is an internet protocol. The protocol embeds a Modbus 

frame  into  a  TCP  frame  so  that  a  connection  oriented  approach  is 
obtained thereby making it reliable. The master query’s the slave and the 
slave  responds  with  the  reply.  The  protocol  is  open  and  hence  highly 
scalable. 

 

5.2  Protocol Description 

 

The  Modbus  protocol  defines  a  simple  protocol  data  unit 

independent  of  the  underlying  communication  layers.  The  mapping  of 
Modbus protocol on network can introduce some additional fields on the 
application data unit.

 

 

     

Содержание WF-2017

Страница 1: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 1 AIO User s Manual www icpdas com WF 2000 Series Wi Fi I O Module...

Страница 2: ...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 patents or other rights of third p...

Страница 3: ...2 5 1 Watchdog Timer Settings 20 2 5 2 AI Settings 20 2 6 FW OP Dip switch 21 2 6 1 Firmware Update Mode 21 2 6 2 Firmware Operation Mode 23 3 Software 25 3 1 WF 2000 I O Utility v2 0 or later 25 3 1...

Страница 4: ...s Mapping 48 5 3 1 WF 2017 I O Address Mapping 48 5 3 2 WF 2019 I O Address Mapping 48 5 3 3 WF 2026 I O Address Mapping 49 6 Troubleshooting 50 Appendix A 52 A 1 Analog Input Type and Data Format Tab...

Страница 5: ...encryption configuration which makes perfect integration to SCADA software and offer easy and safe access for users from anytime and anywhere Figure 1 1 Application architecture for the WF 2000 series...

Страница 6: ...communicate directly with each other without the need for a wireless access point Infrastructure mode is the more common network configuration where all wireless hosts clients connect to the wireless...

Страница 7: ...cifications Table 1 1 System Specifications Modules WF 2017 WF 2019 WF 2026 Wi Fi Interface Antenna 5 dBi Omni Directional Output Power 8 dBm 11Mbps Receive Sensitivity 83 dBm 11Mbps Standard Supporte...

Страница 8: ...Selectable Resolution 16 bit Accuracy 0 1 FSR Sampling Rate 10 Hz Total Zero Drift 20 V C Span Drift 25 ppm Common Mode Rejection 86 dB Min Normal Mode Rejection 100 dB Input Impedance 2 M 1 M Overvo...

Страница 9: ...ired Input Type Thermocouple J K T E R S B N C Resolution 16 bit Accuracy 0 1 FSR Sampling Rate 10 Hz Total Zero Drift 20 V C Span Drift 25 ppm Common Mode Rejection 86 dB Min Normal Mode Rejection 10...

Страница 10: ...mmon Mode Rejection 86 dB Min Normal Mode Rejection 100 dB Voltage 2 M Input Impedance Current 140 Common Voltage Protection 200 V Overvoltage Protection 240 Vrms Overcurrent Protection Yes 50 mA 110...

Страница 11: ...nual Ver 1 2 May 2014 11 2 Hardware 2 1 Front Panel The WF 2000 AIO front panel contains the antenna I O connectors and LEDs Figure 2 1 Front Panel of the WF 2000 AIO RP SMA Connector I O Connector Sy...

Страница 12: ...1 second flashes twice per 100 ms Wi Fi unable to connect error Blink per 1000 ms Wi Fi network configurations error Every 1 second flashes three times per 100 ms PWR Power failure Off Data transmiss...

Страница 13: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 13 2 1 2 2 WF 2019 Figure 2 3 I O Connector of WF 2019 Figure 2 4 Pin Assignment of DB 1820...

Страница 14: ...4 2 1 2 3 WF 2026 Figure 2 5 I O Connector of WF 2026 2 2 Top Panel The WF 2000 top panel contains the Power Signal connector and operating mode Selector switch Figure 2 6 Top Panel of the WF 2000 Ope...

Страница 15: ...updating the WF 2000 firmware the switch can be moved from the OP position to the FW position Table 2 3 Power Signal Connector Power Signal connector Pin Assignment Description F G Frame Ground Vs 10...

Страница 16: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 16 Figure 2 8 Front Left Side dimension of the WF 2019 Figure 2 9 Top Bottom dimension of the WF 2017 WF 2026...

Страница 17: ...gure 2 10 Top Bottom dimension of the WF 2019 2 4 Hardware Connection 2 4 1 Power and Serial port connection The following figures describe the Power and the COM port to a serial device via serial net...

Страница 18: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 18 2 4 2 I O connection 2 4 2 1 WF 2017 Figure 2 12 AI wire connection of WF 2017 2 4 2 2 WF 2019 Figure 2 13 AI wire connection of WF 2019...

Страница 19: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 19 2 4 2 3 WF 2026 Figure 2 14 AIO wire connection of WF 2026 Figure 2 15 DIO wire connection of WF 2026...

Страница 20: ...le supplies a jumper for users to active the watchdog timer or not If users want to use this WDT can open the WF 2000 cover and use the Jumper to activate the WDT built in the module as the Figure 2 1...

Страница 21: ...is a dip switch used for firmware operation or firmware update of the module The following steps show how to use this dip switch 2 6 1 Firmware Update Mode Please set the dip switch to the FW position...

Страница 22: ...st need to execute Firmware_Update_Tool exe and follow the below steps to complete the firmware updating process 1 Choose COM interface and COM Port 2 Click Browser button to choose firmware file e g...

Страница 23: ...e_Tool program can be downloaded from ftp ftp icpdas com pub cd usbcd napdos wifi io wf 20xx software tool 2 6 2 Firmware Operation Mode In the operation mode users need to set the dip switch to the O...

Страница 24: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 24 Figure 2 21 OP Position of Dip Switch...

Страница 25: ...k 4 0 is required You can download this program fromftp ftp icpdas com pub cd usbcd napdos wifi io wf 2019 software utility 3 1 WF 2000 I O Utility v2 0 or later The following is the main screens prov...

Страница 26: ...on Configuration This function can enter the basic wireless configuration interface as shown in Figure 3 2 3 Search List Search list provides each item that scans from UDP and display the related info...

Страница 27: ...erver when the DHCP function is enabled Ad Hoc mode don t support DHCP configuration IP Address WF 2000 IP setting Default 192 168 255 1 Subnet Mask WF 2000 Net Mask setting Default 255 255 255 0 Gate...

Страница 28: ...be 10 characters WEP 128 Key length must be 26 characters WPA Key length must between 8 64 characters WPA2 Key length must between 8 64 characters Characters of key should be in range of 0 9 or A F or...

Страница 29: ...no data exchange within 60 sec the socket will be closed automatically when the this function is enabled Communication Net ID Modbus Net ID of WF 2000 Parameter Transmission Interface The parameter t...

Страница 30: ...ue and module configuration can be read or written in this page The detail of all items in this form will be introduced in this section Figure 3 4 WF 2017 diagnostic screen Figure 3 5 WF 2019 diagnost...

Страница 31: ...ng is in the Selected Channel The rest are module related settings Set All All AI or AO channels related setting will follow current selection Type The WF 2000 series I O modules provide programmable...

Страница 32: ...filter Two filters 50Hz and 60Hz are provided to remove noise generated from power source Wire Detection Enable Disable the open wire detection for thermocouple CJC Enable Enable Disable the CJC Cold...

Страница 33: ...edium 61 80 Low 0 Bad or No Signal Monitor Region The I O related data and configurations will be listed here Users can select the channel to configure in the I O Monitor Region The setting of this se...

Страница 34: ...t the current output status as Power on value Get Value Get the current configuration of Power on value Safe Value of DO The safe value of DO can be Set and Get in this region When the communication t...

Страница 35: ...t the current output value as Power on value Get Value Get the current configuration of Power on value Safe Value of AO The safe value of AO can be Set and Get in this region When the communication ti...

Страница 36: ...pplication architecture 4 1 Hardware Installation Before use associated hardware configuration the steps described as follows Step 1 Checking the WF 2000 series firmware operation mode It needs to set...

Страница 37: ...set to 192 168 255 1 03 Subnet Mask Net Mask settings Here set to 255 255 255 0 04 Gateway Gateway settings Here set to 192 168 255 254 05 Wi Fi Mode Wireless network connection mode settings Here se...

Страница 38: ...nnections and entry the properties setting of wireless network connections Figure 4 3 Properties setting of wireless network connections b Select the Internet Protocol TCP IP and press the Properties...

Страница 39: ...ess OK button Figure 4 5 IP address setting interface 02 Wireless network connection a View available wireless networks and you can see the WF 20xx wireless network in the list b Select the WF 20xx an...

Страница 40: ...success screen Figure 4 8 Connection successful interface 4 2 3 Access I O data 01 Connection with WF 2000 I O utility v2 3 or later a Open WF 2000 I O utility and click the Search button choose the...

Страница 41: ...come out In the I O page it is used to access I O data and configure parameters Figure 4 11 I O page interface WF 2026 02 Connection with Modbus TCP utility a Open Modbus TCP utility and key in the I...

Страница 42: ...oils 0xxxx for DO FC16 Write multiple registers 4xxxx for AO Byte 0 Net ID Byte 1 FC 0x01 FC 0x02 FC 0x03 FC 0x04 FC 0x0F FC 0x10 Byte 2 3 Reference number Byte 4 5 Bit count Bit count Word count Word...

Страница 43: ...WF 2000 Series AIO User s Manual Ver 1 2 May 2014 43 Figure 4 17 Read multiple registers 4xxxx for AO Figure 4 18 Write multiple registers 4xxxx for AO...

Страница 44: ...ode Wizcon Wonderware etc 5 1 What is Modbus TCP IP Modbus is a communication protocol developed by Modicon in 1979 Different versions of Modbus used today include Modbus RTU based on serial communica...

Страница 45: ...1 MODBUS Application Protocol Header Fields Length Description Transaction Identifier 2 bytes Identification of Request Response transaction Copied from request to response Protocol Identifier 2 bytes...

Страница 46: ...ins additional information that the server uses to take the action defined by the function code This can include items like discrete and register addresses the quantity of items to be handled and the...

Страница 47: ...items This means that when a numerical quantity larger than single byte is transmitted the most significant byte MSB also called the high order byte is send first The following sub topics describe the...

Страница 48: ...nput 32768 32767 Bipolar 0 65535 Unipolar R 30017 1 AI Wire Selected 0 1 0 Differential 1 Single Ended R Table 5 6 4xxxx AO address Begin Address Points Descriptions Range Access Type 40248 1 Reset Sy...

Страница 49: ...lar 0 65535 Unipolar R Table 5 10 4xxxx AO address Begin Address Points Descriptions Range Access Type 40001 1 2 Analog Output 32768 32767 Bipolar 0 65535 Unipolar R W Table 5 11 4xxxx AO address Begi...

Страница 50: ...al quality 3 TCP connection can not be established 1 Make sure WLAN connection is established successfully 2 Make sure the network configuration is good TCP IP Port Local IP Net Mask 4 How to restore...

Страница 51: ...ET Framework v4 0 installed as well or not Users can install NET Framework v4 0 in the following website Microsoft NET Framework 4 Web Installer http www microsoft com en us download details aspx id 1...

Страница 52: ...o 100 mV 2 s comp HEX 7FFFh 8000h Engineering Unit 500 00 500 00 03h 500 to 500 mV 2 s comp HEX 7FFFh 8000h Engineering Unit 1 0000 1 0000 04h 1 to 1 V 2 s comp HEX 7FFFh 8000h Engineering Unit 2 5 00...

Страница 53: ...h Type J Thermocouple 210 to 760 C 2 s comp HEX 7FFFh DCA2h Engineering Unit 1372 0 0270 0 0Fh Type K Thermocouple 270 to 1372 C 2 s comp HEX 7FFFh E6D0h Engineering Unit 400 00 270 00 10h Type T Ther...

Страница 54: ...of the thermocouple type codes it means that the thermocouple wires are broken A 2 Analog Output Type and Data Format Table Type Code Input Range Data Format F S F S Engineering Unit 20 000 00 000 30...

Страница 55: ...2000 Series AIO User s Manual Ver 1 2 May 2014 55 A 3 CJC cold junction compensation Definition Type Input Range Data Format F S F S Engineering Unit 100 00 030 00 CJC 30 to 100 2 s comp HEX 03E8h FED...

Отзывы: