Page 2
Disclaimer WoMaster reserves the right to make changes to this user manual or to the product hardware at any time without notice. It is the user’s responsibility to determine whether there have been any such updates or amendments herein. Defects, malfunctions, or failures of the warranted Product(s) caused by damage resulting from unforeseeable incidents (such as lighting, floods, fire, etc.), environmental and atmospheric...
Communication Protocol ..................... 11 Periodic report data at the device end ..............11 The back-end timely sets the device side system attributes ......12 SCB111-485-DC Utility Configuration ................20 Connects device with SCB111-485 Utility ............20 Serial Parameter Setting (Serial TAB) ............... 22 Cellular Parameter Setting (Cellular TAB) ............
1. Overview The SCB111-485-NB-DC gateway facilitates communication between RS485 RTU devices or sensors and cloud servers using the CAT M1 or NB-IoT cellular network. It securely transmits data in JSON format and MQTT protocol with AES128-bit encryption. The gateway's configuration is by a Micro-USB connection with Windows Utility. The device supports up to 20 Modbus slave devices and allows for 30 Modbus Registers polling and sends the data to the cloud server in four MQTT messages.
Industrial Smart Modbus RS485 Gateway, NBIoT, LTE Cat. M1, 1 Nano-SIM, Global SCB111-485-DC Band, DO ,9~30Vdc, Build-in spring type antenna Industrial Smart Modbus RS485 Gateway, NBIoT, LTE Cat. M1, 1 Nano-SIM, Global SCB111-485-SMA Band, DO ,9~30Vdc, SMA Antenna Connector Specification – SCB111-485-DC 5 page...
Page 6
Interface (Internal) SIM Socket 1x Nano-SIM Socket 1x Micro USB for configuration & firmware upgrade, operating mode adjust by internal jumper SCB111-485: 1x 3dBi internal Antenna Antenna SCB111-485-SMA: Water Proof SMA Connector On-Board Screw-less, Spring Type Terminal Connector Relay Output Note-3 (20~24AWG) –...
Page 7
Power: On (Power ready) (For Power Saving will be removed) External Interface Cable Gland 4-8mm cable diameter, IP68 Protection SCB111-485-SMA: 1 water-proof SMA type connector SMA Antenna SCB111-485-DC: Internal Spring type, 3dBi Mechanical & Installation Installation Wall Mounting with 2 Mounting holes 115.6 x 78.2 x 41.5 mm Dimension...
Page 8
Operating -40°C~70°C, 0% ~ 90%, Non-Condensing Temperature Storage Temperature -40°C~80°C, 0% ~ 90%, Non-Condensing Reliability & Warranty MTBF > 200,000 Hours Warranty 3 Years 8 page...
3. System Appearance & Connector description The device supports IP68 protection for the interface connection. It can prevent water and dust; all of the interfaces are shown in the below diagram. JP1 Jumper 1-2: FW Upgrade 2-3: Operating (Default) SIM Socket USB Port 9 page...
5. Communication Protocol The SCB111-485 supports MQTT, MQTTs and HTTPs Cloud Protocol. It also supports FOTA and COTA with HTTP/HTTPs Protocol. 1) MQTT Cloud Protocol- Published Modbus RTU Register RAW Data in JSON format, Subscribe Relay Control, Modbus write function code 05,06. 2) MQTTs, HTTPs with Bas-Station TLS 1.2.
number Device signal-to-noise ratio (SNR) firmware string Send when seq=1 model string Send when seq=1 RTUTagName string The RTU Tag Name 5.2 The back-end timely sets the device side system attributes 5.2.1 Relay control (1)Relay on command: {"relayctrl":{"val":1}} MQTT Response Payload {"time":"1675345942","relaystate":1}} (2)Relay off command: {"relayctrl":{"val":0}}...
Page 13
MQTT Response Payload {"time":"1675345942","ID":1,"addr":1,"result":"success"}} Name Type Note func string Modbus function code (05,06) number Modbus RTU ID addr number Modbus Register Address number Function code 05: 65280: Write single coil to 1 note:65280 is 00FF(H) 0:Write single coil to 0 Function code 06: 60: Write single register to 60 time...
Page 14
TCP server ip port number TCP server port number time number Unix time Stamp of the device string Command execution results 5.2.5 FOTA (Firmware Over-the-Air) (1)Command: {"cmd":{"mode":"upgrade","url":"thingsmaster.womaster.eu","port":80,"path":"/public/SCB111- 485%20v1.3.9%20oad.bin"}} MQTT Response Payload {"time":"1675345942","result":"FW Upgrade Successful"}} Name Type Note mode string FW upgrade string...
Page 15
Name Type Note type string The type of the parameter. oper string Parameter operation. time number Unix time Stamp of the device string APN accessed by base station plmn string PLMN accessed by base station mode number The mode of accessing the base station(0:auto 1:manual) 2.
Page 16
MQTT Response Payload {"time":1681491229,"url":"test.mosquitto.org","port":1883,"pubtopic":"wompub","subtopic":"wo msub","clientid":"1886","user":"","password":"","pub_int":3600,"auth":0} (2) MQTT information set Command: {"conf":{"type":"mqtt","oper":"set","param":{"url":"test.mosquitto.org","port":1883,"pubtopic":"wo mpub","subtopic":"womsub","clientid":"1886","user":"user","passwd":"passwd","pub_int":3600," auth":0}}} MQTT Response Payload {"time":1681491229,"url":"test.mosquitto.org","port":1883,"pubtopic":"wompub","subtopic":"wo msub","clientid":"1886","user":"user","password":"passwd","pub_int":3600,"auth":0} Name Type Note type string The type of the parameter. oper string Parameter operation. time number Unix time Stamp of the device string MQTT Server Domain Name port...
Page 17
TLS Authentication mode(0:none 1:one-way 2:double-way) 5. RTU information (1) Query RTU information Command: {"conf":{"type":"rtu","oper":"query","param":{"idx":0}}} MQTT Response Payload {"time":1681491389,{"name":"Dir","addr":1,"func":3,"reg":2},{"name":"Speed","addr":2,"func":3, "reg":1},{"name":"Hum","addr":3,"func":3,"reg":1},{"name":"Tem","addr":3,"func":3,"reg":2},{"na me":"PM2.5","addr":3,"func":3,"reg":4}} (2) RTU information set Command: {"conf":{"type":"rtu","oper":"set","param":{"url":"thingsmaster.womaster.eu","port":80,"path":"/pu blic/rtu.cfg"}}} MQTT Response Payload {"time":1681491229,"act":"success"} Name Type Note type string The type of the parameter.
Page 18
File Path string Command execution results 6. SSL information (1) Query SSL information Command: {"conf":{"type":"ssl","oper":"query","param":{"proto":"mqtt","class":0}}} MQTT Response Payload {"time":1681491229,"crc":"2153309461"} (2) SSL information set Command: {"conf":{"type":"ssl","oper":"set","param":{"url":"thingsmaster.womaster.eu","port":80,"proto":"m qtt","class":0,"crc":2153309461,"path":"/public/mosquitto.org.crt"}}} MQTT Response Payload {"time":1681491229,"act":"success"} Name Type Note type string The type of the parameter. oper string Parameter operation.
Page 19
proto string The type of protocol.(mqtt/http/tcp) class number The type of file. (0 server.crt /1: client.crt / 2: client.key) time number Unix time Stamp of the device number CRC code of the authentication file string File Server Domain Name port number Port number of the file server path...
6. SCB111-485-DC Utility Configuration SCB111-485-DC can configuration through a USB interface, The configuration utility- “SCB111- 485 RTOS Utility” is a non-Install Utility Tool. You could download it from the website: www.womaster.eu, or request it from your business representative. Connects the device to the computer via a USB cable, then the device will automatically change to configure mode.
Page 21
Note: Ensure the DC power is applied and the USB is connected between your Windows PC and the SCB111-485 main board. When connected, the default model name will show on the banner. In the following diagram, it shows “SCB111-485” is connected via virtual serial port- COM6. Click the “Tools”...
Select: Select the. cfg file that needs to be updated. Edit: Select RTU parameters with the mouse and right-click to edit the parameters. Delete: Select RTU parameters with the mouse and right-click to delete the parameters. Save: The updated file will be saved to the directory. Path: SCB111-485 Utility\COTAFile\convertRTUByUser.cfg 6.2 Serial Parameter Setting (Serial TAB) SCB111-485 support two-wire RS485 serial communication.
Serial Parity: No parity, odd parity, even parity Serial Stop Bits: 1,2 After all of the parameters are set, click “Apply” to activate those parameters and saving into the device automatically. Click “Reload” to show the current parameters setting from the device for double check.
Page 24
IP: IP address obtained from the base station. PLMN: The Public Land Mobile Network number which is issued by the service provider. Sys Mode: The system operating mode with the base station. NBIoT NB1, NB2 or LTE M1. Freq Band: The band information which is used communicates with the base station. RSRP (dBm): Reference Signal Receiving Power.
6.4 MQTT Setting (MQTT TAB) This Tab is for the Cloud Server setting. The device will publish to the cloud server in the MQTT protocol with a specified topic. (Utility 1.2.9 same) IOT Server: Address of the MQTT server. Reference: test.mosquitto.org. (51 bytes) Port: Port number for the IOT Sever.
6.5 TCP Transparent Setting (TCP Transparent TAB) TCP Server Setting: This tab is for configuring the TCP server settings. The device supports TCP clients with serial data transparency. MQTT and TCP Configuration: If both MQTT and TCP are configured, the SCB111-485 will prioritize MQTT mode.
6.6 SSL Setting (SSL TAB) – Encrypting communication The device supports TLS v1.2 for MQTT, TCP, and HTTP protocols. This tab is for setting the protocol type and authentication method.
Protocol Type: Select MQTT/HTTP/TCP. Authentication Method: Select No Validate Certificate/ Validate Certificate/ Mutual Authentication. Click Select File, find the certificate you want to upload in your PC, and then click Apply to upload it. Apply: Write the new configuration into the system flash ROM. Reload: Reload the system configuration and show it on the table.
Tag Name: The RTU device name. It will forward to Gateway as a Tag Name for recognition. The available character length up to 8. RTU ID: Modbus ID of RTU Device. The ID should not be duplicated with others. Function Code: Read Function Code # 01,02,03,04. Address (PLC): Register address existing in RTU device, range of address is 1-65535.
6.9 System This function tab is for selecting the system operating mode and includes settings for the sleeping mode and RTU global parameters. Operation Status: currently operating mode Operating Mode: system operating mode selection. Standard: LTE connection remains active without interruption. Sleep Mode: A low-power state to reduce power consumption.
6.10 Sys. Maintenance Setting ( Sys. Maintenance TAB) The Utility can download system logs and erase historical logs, as well as upload and download device configuration information. Download System Log: Download the device event log. Support 100 event logs. (Sys on power/BS_F/S_F) Path: SCB111-485 Utility\LogFile\EventLogResult.csv Erase Log: Erase historical logs.
6.11 Ping TAB This device supports Ping function and can write IP Address on the utility. Ping the target server ensures that the device can establish a connection with the server.
7 System Firmware Upgrade The device supports the firmware upgrade function. The default setting is 2-3 short for normal operation, and short 1-2 pin will get into firmware upgrade mode. Programming new firmware via the USB and STM32 software tool which performs by Windows. The input power range is 9-30V DC.
Select the software version which depends on your programming platform. The following procedure based on Windows 64 bits O.S. Update STM32 Driver After the software installation is completed, it is necessary to confirm whether the STM32 driver is available before upgrading. Disconnect the power supply of SCB111-485 and change the position of the jumper cap to upgrade mode.
Page 35
After completing the above steps, the yellow exclamation mark on the drive disappears, indicating that the drive has been successfully installed.
7.10 Start STM32 Cube Programmer Step-1. Run the software “STM32 Cube Programmer”, the User Interface is like as below: Step- Select the Interface –USB, and refresh the Port located at USB Configuration, then it will show the “USB X(Port)”. Click the “Connect”, then the tool will download the current HEX from the system. The UI will like as below:...
Page 37
Now, the programming tool is successfully connected to the system. Step-3: Download new firmware for the programmer. Click “Open file” and select target firmware – SCB111-485 xxx. hex. Once select target new firmware, the programmer will read and create a new TAB “SCB111-485 xxx.
Page 38
Step-4: Start Programming into the system Click the “Download” icon to start programming into the system. After completed programming, it will pop up dialogue to remind process done. Step-5 Finish Firmware Upgrade process Disconnect the power supply, close the programming tool, and change the jumper to 2-3 short. Then power on the system and use the "SCB111-485-NB Utility"...
Release Note Release Note – SCB111-485-DC Version Description Date New edition based on SCB111-485-NB, Industrial RS485 to NB-IoT Gateway/Converter, LTE NB2/Cat.M1, 2-wire 2022,July,14 RS485, 10-60VDC Utility v1.7.3 Release SCB111-485 RTOS v1.2.x, Utility v1.2.x: 1. System use FREE RTOS kernel. 2. Support Modbus Device, Register Setting -20 Devices, 140 Registers.
Page 40
1. Support short/ushort/flat/int/uint/ascii types, supports byte-swapping. 2. Update description: Number of entries in different data formats. Update MQTT information set command V1.04 2024, Jan, 11 Add Ping function New version firmware: 1. Reduce the RTU entry number to 30 2. New model with SMA connector – SCB111-485-SMA 3.
Need help?
Do you have a question about the SCB111-485-DC and is the answer not in the manual?
Questions and answers