background image

 

WF-2026 Quick Start RevB1.0 2016/09 

6/8

 

Access I/O data 

 

01

Connection with Modbus TCP utility

 

a. Open Modbus TCP utility and key in the IP address as "192.168.255.1", 

Port as "502". Finally, press the "Connect" button. 

 

 

Figure9

:

 Modbus TCP utility Connection interface 

 

02

The following Modbus command function codes are available for 

WF-2000 series control 

 

Table 2: Modbus request command list 

 

FC1 Read 

multiple coils 

status (0xxxx)  

for DO 

FC2 Read 

multiple input 

discrete (1xxxx) 

for DI 

FC3 Read 

multiple registers 

(4xxxx) for AO 

FC4 Read 

multiple input 

registers (3xxxx) 

for AI 

FC15 Force 

multiple coils 

(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 count 

Bit count 

Word count 

Byte 6 

N/A 

N/A 

N/A 

N/A 

Byte count (B) 

Byte count (B) 

Byte 7-( B+6) 

N/A 

N/A 

N/A 

N/A 

Data to be written 

Register values 

 

03

Modbus TCP request command examples

 

 
a. Read multiple coils status (0xxxx) for DO 

 

 
b. Force multiple coils (0xxxx) for DO 

 

 
 
 

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

Страница 1: ...Antenna 2 4GHz 5 dBi ANT 124 05 Note 1 If any of these items are missed or damaged contact the local distributors for more information Save the shipping materials and cartons in case you want to ship...

Страница 2: ...Connector Power Signal connector Pin Assignment Description F G Frame Ground Vs 10 30 VDC GND Power RS 232 GND RxD RS 232 RxD TxD RS 232 TxD Table 2 Operating Mode Selector Switch Operating Mode Selec...

Страница 3: ...WF 2026 Quick Start RevB1 0 2016 09 3 8 Hardware Connection Power and Serial port connection Figure 4 Power and Serial port wire connection I O connection Figure 5 Wire connections...

Страница 4: ...r WF 2000 series will be in the operation mode Step 2 Serial port connection WF 2000 series supports RS 232 serial communication The circuit configuration is as shown in Figure 4 If you do not need pa...

Страница 5: ...ryption Key Here does not have the setting 09 Wireless CH Wi Fi connection channel settings Here set to 2 10 Upload parameters After completing the settings above select the RS 232 interface communica...

Страница 6: ...for DO FC2 Read multiple input discrete 1xxxx for DI FC3 Read multiple registers 4xxxx for AO FC4 Read multiple input registers 3xxxx for AI FC15 Force multiple coils 0xxxx for DO FC16 Write multiple...

Страница 7: ...Points Descriptions Range Access Type 30001 1 5 Analog Input 32768 32767 Bipolar 0 65535 Unipolar R Table 3 4xxxx AO address Begin Address Points Descriptions Range Access Type 40001 1 2 Analog Outpu...

Страница 8: ...tion is established successfully 2 Make sure the network configuration is good TCP IP Port Local IP Net Mask 4 How to restore factory default 1 Power on the WF 2000 series I O module 2 Change the Dip...

Отзывы: