Summary of Contents for KSH International WPC-832-2-Modbus-MQTT
Page 1
WPC-832-2-Modbus-MQTT User Manual 2 Ports Modbus TCP to Modbus RTU/ASCII Wi-Fi, Ethernet connection MQTT Gateway v.201901a http://www.tcpipweb.com *** this user manual is subject to change without prior notice.
Page 3
Introduction WPC-832-2-Modbus-MQTT RTU/ASCII to TCP Gateway provides the easy way of connecting Modbus Serial and TCP devices to MQTT Broker via Wireless and Ethernet LAN in Modbus TCP and RTU/ASCII networks. The wireless supports 802.11 b/g/n in AP/Station mode with WEP/WPA/WPA2 encryption for data transmission security. The Ethernet support 10/100 Mbps auto-detecting communication speeds.
Overview WPC-832-2-Modbus-MQTT 2-Port Modbus RTU/ASCII/TCP Gateway support MQTT protocol provides a perfect solution to make your industrial Sensor devices connect to Industrial Internet of Things (IIoT) via Wireless and/or Ethernet LAN. To run with MQTT client tools on the PC/NB or mobile devices, users can simply and effectively publish/scribe data or command to/from remote sensors.
Page 5
WPC-832-2-Modbus-MQTT Quick Guide 2 Ports Modbus TCP to Modbus RTU/ASCII support MQTT Wi-Fi, Ethernet connection 1. Connect DC power to the Converter. Connect LAN port to Network Switch. Hereunder called “Transmitter”. Serial port RS-232 connection would require cross link cable or adaptor.
Page 6
3. IP search and setup: 3.1 Upon running IP search tool (CvIotFinder), if a firewall warning pop up, please click to accept the program pass through firewall. 3.2 Running CvIotFinder Click “Find” button to search WPC-832 on the network...
Page 7
3.3 Search IP completed. Ethernet IP WiFi IP 3.4 Check PC or NB’s IP must be same subnet as per Transmitter then can open configuration web page. 3.5 To change Transmitter’s IP subnet to be same as per PC/NB, clicking “Setup” button for modification of IP, Subnet, name &...
Page 8
3.6 If to change PC/NB’s IP subnet to be same as per Transmitter, modify or add new IP of PC/NB. 4. Web page Configuration: 4.1 Input Login/Password: admin/admin 5. Network” page...
Page 9
Wi-Fi configuration: Go to “Wireless” section, click arrow of “Type” to select “INFRASTRUCTURE”. Go to item SSID, click “Scan” will get list of available SSID of AP, select the right one to link. Input password for the AP and assign “STATIC” and input a fixed IP address. Click “Save” when change to other pages or “Save and Reboot”.
Page 10
For WiFi connection with Transmitter, NB/PC chooses same SSID to link. NB/PC must close Ethernet otherwise confliction will cause connection problem in data transmission with Transmitter. Ethernet configuration: Go to “Ethernet” section, click arrow of “Mode” to select. “STATIC” needs a fixed IP input. The “Gateway IP”...
Page 11
7. MQTT page 7.1 Client GUID: it must be the only one in all client side. This value is a default and not to be modified. 7.2 Configuration of connection with MQTT Broker. 7.2.1 Input Host IP and Socket Port number. Examle: test.mosqitto.org is a free Broker for testing purpose only.
7.4.2 When “'Clean Session” set “Enabled”,it will build a temporary dialog with MQTT Broker. The dialog will be terminated when client break the connection with MQTT Broker. 8. TOPIC page 8.1 Section “Medias” for MQTT Client to get data from remote devices. 8.2 TOPIC settings 8.2.1 No.1 ~ 16: Transmitter can set 16 topics as publisher or subscriber for MQTT Broker.
Page 13
8.2.2 RegName: input name of a topic. It composes with GUID as a completed topic string. For example:『CVIoT-g7327d-9c65f91e2c27/Register/T1』, “Register” is default and similar as a folder. 8.2.3 Protocol: RTU, ASCII, TCP for selections. 8.2.4 Media: For data sources come from 2 Serial ports (Serial 1 ~ 2) and 4 remote TCP devices (Socket 1 ~4).
Page 14
10001-19999 : Read only Coils (modbus function code 0x02) 30001-39999 : Read only Registers (modbus function code 0x04) 40001-49999 : Read/Writeable Registers (modbus function code 0x03) * Please check Modbus device whether register start from 0 or 1. 8.2.8 Format: Numeric format selections 8.2.9 Count: Length of register to read out in JSON format.
Page 15
Logger page This page to show status of connection with MQTT Broker and all port connection. Data acquisition device style settings: A style: Protocol: select “RTU” Media: Serial 1 or Serial 2 B style: Protocol: select “TCP” Media: Socket 1 ~ 4 C style: Protocol: select “RTU”...
Page 16
<GUID>/Connection/<Media> STRING Media connection status as follows: 『"disconnected"』 『"connecting"』 『"connected"』 <GUID>/Exception/<RegName> STRING Exception happened upon reading RegName. STRING states the exception. 12. Reset (if needed) Ensure power is on, press “WiFi Reset” button for over 25 seconds then release. Transmitter will set configuration back to factory default.
Need help?
Do you have a question about the WPC-832-2-Modbus-MQTT and is the answer not in the manual?
Questions and answers