Page 1
User Manual SCB111-485-DC Outdoor Compact RS-485 to NBIoT/Cat.M1 Gateway User Manual version: v1.03 SCB111-485 firmware version: V1.2.x (RTOS version) SCB111-485 Utility version: V1.2.x 1 page...
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 disturbances, other external...
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.
Model and features listed in the table below: Model Name Description Industrial Smart Modbus RS485 Gateway, NBIoT, LTE Cat. M1, 1 Nano- SCB111-485-DC SIM, Global Band, DO ,9~30Vdc Specification – SCB111-485-DC Cellular Specification 3GPP Release14 Standard Modbus RTU, TCP, MQTT/ MQTTs, HTTP/ HTTPs Cat. M1: 529Kbps (DL)/1119Kbps(UL) Data Rate Cat.
Page 6
Configuration Download/Upload via Utility in Text file. Configure Backup Parameter Includes: RTU Port, IoT Parameters, MQTT Parameters, RTU Tag/Register Interface (Internal) SIM Socket 1x Nano-SIM Socket 1x Micro USB for configuration & firmware upgrade, operating mode adjust by internal jumper Antenna 1x 3dBi internal Antenna On-Board Screw-less, Spring Type Terminal Connector –...
Page 7
During the TCP Transparent Mode, the LTE keep connection without suspend The firmware upgrade over the air (FOTA) function only available at MQTT operating mode by the HTTP get command. The device subscribes the FOTA FOTA (Firmware command from the MQTT Cloud server. OTA) The Modbus RTU configuration support upgrade through the HTTP get command COTA (Configure...
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 8 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.
Name Type Note number Power on, the number of reports sent (not increased in case of mqtt disconnection and retransmission) This value starts from 1 after task reconnection time number Unix time Stamp of the device rssi number Received signal strength indication (RSSI) number Device signal-to-noise ratio (SNR) firmware string...
Page 12
5.2.2 Modbus write function code 05,06 (1)Function code 05 command: {"wreg":{"func":5,"ID":1,"addr":1,"val":65280}} {"wreg":{"func":5,"ID":1,"addr":1,"val":0}} MQTT Response Payload {"time":"1675345942","ID":1,"addr":1,"result":"success"}} (2)Function code 06 command: {"wreg":{"func":6,"ID":1,"addr":1,"val":60}} 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)
Page 13
MQTT subscription mode Name Type Note mode string TCP transparent mode string 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"}} page...
Page 14
MQTT Response Payload {"time":"1675345942","result":"FW Upgrade Successful"}} Name Type Note mode string FW upgrade string File Server Domain Name port number Port number of the file server path string File Path time number Unix time Stamp of the device result string FOTA command execution results 5.2.6 COTA (Configure Over-the-Air) 1.
Page 15
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
3. MQTT information (1) Query MQTT information Command: {"conf":{"type":"mqtt","oper":"query"}} MQTT Response Payload {"time":1681491229,"url":"test.mosquitto.org","port":1883,"pubto pic":"wompub","subtopic":"womsub","clientid":"1886","user":"","passwor d":"","pub_int":3600,"auth":0} (2) MQTT information set Command: {"conf":{"type":"mqtt","oper":"query"}} MQTT Response Payload {"time":1681491229,"url":"test.mosquitto.org","port":1883,"pubto pic":"wompub","subtopic":"womsub","clientid":"1886","user":"","passwor d":"","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...
Page 17
password string Password for server login pub_int number MQTT message publishing interval(second) auth number TLS Authentication mode(0:none 1:one-way 2:double-way) 4. TCP information (1) Query TCP information Command: {"conf":{"type":"tcp","oper":"query"}} MQTT Response Payload {"time":1681491229,"url":"125.10.0.1","port":1255,"auth":0} (2) TCP information set Command: {"conf":{"type":"tcp","oper":"set","param":{"url":"test.mosquitto.o rg1","port":1884,"auth":1}}} MQTT Response Payload {"time":1681491229,"url":"test.mosquitto.org1","port":1884,"auth ":1} Name...
Page 18
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},{"na me":"Speed","addr":2,"func":3,"reg":1},{"name":"Hum","addr":3,"func":3, "reg":1},{"name":"Tem","addr":3,"func":3,"reg":2},{"name":"PM2.5","addr ":3,"func":3,"reg":4}} (2) RTU information set Command: {"conf":{"type":"rtu","oper":"set","param":{"url":"thingsmaster.wo master.eu","port":80,"path":"/public/rtu.cfg"}}} MQTT Response Payload {"time":1681491229,"act":"success"} Name Type Note type string The type of the parameter. oper string Parameter operation. number A group of five registers.Start from 0.
Page 19
port number Port number of the file server path string 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.wo master.eu","port":80,"proto":"mqtt","class":0,"crc":2153309461,"path":"/ public/mosquitto.org.crt"}}} MQTT Response Payload {"time":1681491229,"act":"success"} Name Type...
Page 20
port number Port number of the file server path string File Path string Command execution results page...
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 22
Start accessing the device via the utility. Click “COM” select the USB mapping com port number, and click “Connect”. 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.
Page 23
Click the small arrow. you can modify the password. After changing the password, click “Apply”, and a Warning pop-up box will pop up. Click “Yes”, and the modification will be successful. After disconnecting, log in again with the new password. 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)
Serial Baud Rate: The Baud rate supports from 1200bps to 9600bps Serial Data Bits: 8 bits supported 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.
Page 26
Setting Mode: It supports Auto Set and Manual Set. Select manual set can write PLMN. APN: Access Point Name. The network name of the device is going to access. (Support a length of 51 bytes) User: the authentication user name of the cellular network. Password: the authentication password of the cellular network.
the base station. RSRP (dBm): Reference Signal Receiving Power. RSSI (dBm): Received signal strength indication. If the value is below - 113dBm, then change the install location for a better cellular signal. RSRQ (dB): Reference Signal Received Quality. SINR (dB): Signal to Interference plus Noise Ratio. SIM Status: Show the SIM status.
Page 28
IOT Server: Address of the MQTT server. Reference: test.mosquitto.org. (51 bytes) Port: Port number for the IOT Sever. Publish Topic: The Topic name for MQTT data publish. (51 bytes) Subscribe Topic: The Topic name for MQTT data subscribe. (51 bytes) Client ID: Client ID number for the SCB111-485.
6.5 TCP Transparent Setting (TCP Transparent TAB) This Tab is for the TCP Server setting, the device supports TCP clients with serial data transparent. If the system configured both of MQTT and TCP, the SCB111-485 will perform MQTT mode firstly. As this behavior, the MQTT configuration should be erased and apply with empty configuration, then configure the TCP setting to make sure SCB111-485 perform at TCP transparent mode properly.
Protocol Type: Select MQTT/HTTP/TCP. Authentication Method: Select No Validate Certificate/Validate Certificate/Manual 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.
Page 32
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.
polling RTU. Default 1000ms. Relay Control Test: Click on the circle to control the relay on or off. Relay State: Show the Relay State. Reg State: Modbus register state. Display “OK” when the SCB111-485 polling RTU register is successful. Display “Tout” the SCB111-485 polling RTU register failed.
Page 34
Erase Log: Erase historical logs. Upload Configure File To Device: Upload device configuration file. The configuration name and path should keep as original. The SCB111-485 only recognize file name – config.ini. Path: SCB111-485 Utility\ConfigureFile\config.ini Download Configure File From Device: Download the current configuration file.
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.
The firmware programming tool is downloaded from the hyperlink - https://www.st.com/en/development-tools/stm32cubeprog.html All of the copyrights belong to ST Semiconductor. It needs to perform online registration. 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...
Page 37
If the drive is shown as follows: yellow exclamation mark appears, drive is not installed properly. You need to reinstall the driver at this time. Update driver steps: Right-click ”STM BOOTLOADER”=>Update driver=>Browse my computer for drivers=> Browse=> STM32CubeProgrammer\ Drivers\ FirmwareUpgrade=> OK=> Next After completing the above steps, the yellow exclamation mark on the drive disappears, indicating that the drive has been successfully installed.
7.2 Start STM32 Cube Programmer Step-1. Run the software “STM32 Cube Programmer”, the User page...
Page 39
Interface is like as below: Step-2. 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...
Page 40
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. hex”. Step-4: Start Programming into the system Click the “Download”...
Page 41
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" to check the firmware version. Click the Tools –Setting, and perform a version Check. It shows the version you upgraded.
Need help?
Do you have a question about the SCB111-485-DC and is the answer not in the manual?
Questions and answers