Xinje S-BOX-HT User Manual
Xinje S-BOX-HT User Manual

Xinje S-BOX-HT User Manual

Wireless transparent transmission module

Advertisement

Quick Links

S-BOX-HT
Wireless transparent transmission module
User manual
Wuxi Xinje Electric Co., LTd.
Data No. MC10 20210511EN 1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S-BOX-HT and is the answer not in the manual?

Questions and answers

Summary of Contents for Xinje S-BOX-HT

  • Page 1 S-BOX-HT Wireless transparent transmission module User manual Wuxi Xinje Electric Co., LTd. Data No. MC10 20210511EN 1.0...
  • Page 2 Basic description ⚫ Thank you for purchasing Xinje S-BOX-HT 433M wireless transparent module. ⚫ This manual mainly introduces the product information of S-BOX-HT module. ⚫ Before using the product, please read this manual carefully and conduct wiring on the premise of fully understanding the contents of the manual.
  • Page 3: Table Of Contents

    3. S-BOX-HT PARAMETER CONFIGURATION ................... 5 3-1. P ..............................5 REPARATION 3-2. S-BOX-HT ..........................5 CONFIGURATION 4. COMMUNICATION BETWEEN MTG765-HT AND PLC THROUGH S-BOX-HT ......... 7 4-1. O ............................. 7 PERATION STEPS 4-2. MTG765-HT COMMUNICATION PARAMETERS ....................7 4-3. S-BOX-HT COMMUNICATION PARAMETERS ....................
  • Page 4 5. PLC COMMUNICATION THROUGH S-BOX-HT ..................43 5-1. O ............................43 PERATION STEPS 5-2. S-BOX-HT .................... 43 COMMUNICATION CONFIGURATIONS 5-2-1. Preparation ............................43 5-2-2. S-BOX-HT configuration ........................44 5-3. S ....................... 46 SERIAL PORT PARAMETERS 5-4. C S-BOX-HT ....................47 ONNECTION BETWEEN 5-5.
  • Page 5: Module Introduction

    1. Module introduction S-BOX-HT is independently developed based on the American Semtech LoRa radio frequency chip SX1268, with a maximum power of 1W. It is suitable for 433MHz chip LoRa wireless module, and uses industrial high-precision 32MHz crystal oscillator. S-BOX-HT supports multiple physical interfaces: RS232/RS485/RS422. Support adjustable serial port parameters.
  • Page 6: Performance And Parameters

    ◼ Note: V1.1.1 cannot support I/O terminal temporarily 2-2. Dimension Overall dimension of S-BOX-HT is 43.0mm × 110.0mm × 75.0mm (width × height × Depth). It can be directly installed on DIN46277 (width 35mm) guide rail. Note: (1) When processing screw holes and wiring during installation, do not let chips and wire chips fall into the module.
  • Page 7: Led Light

    2-3. LED light The LED light functions of S-BOX-HT are shown in the following table: LED light Explanation Power supply, always on after power on Flash once for each packet of data sent by the serial port, and flash in...
  • Page 8: Communication Port

    S-BOX-HTs or between the S-BOX-HT and the MTG765-HT must be set consistently. 2-5. Communication port S-BOX-HT has a full function serial port, supports RS232/RS485/RS422, and has an external RS485 terminal. RS485 and RS232/RS422 are from the same serial port, cannot be used at the same time.
  • Page 9: S-Box-Ht Parameter Configuration

    3. S-BOX-HT parameter configuration When S-BOX-HT is used, serial port communication parameters and RF parameters need to be set. 3-1. Preparation 1. S-BOX-HT config tool SBoxTool.exe. 2. OP cable Prepare an OP cable for connecting the DB9 pin serial port of the computer. If there is no OP cable, the cable can be self-made as shown in the figure below.
  • Page 10 4. Set the serial port parameters of the module, which should be consistent with the connected PLC serial port parameters. The default factory serial port parameters are 19200, 8, 1, E. Click Write after setting. 5. RF parameters: set the channel of the module, and only devices with the same channel can communicate. The timeout is the allowable timeout on the wireless side, which is generally set to 500ms.
  • Page 11: Communication Between Mtg765-Ht And Plc Through S-Box-Ht

    (1) The channel and air baud rate of S-BOX-HT and MTG765-HT must be set consistent (2) The serial port of S-BOX-HT, PLC port of HMI and serial port parameters of PLC must be consistent (3) RS232/RS485/RS422 wiring of physical layer shall meet the specification.
  • Page 12 The MTG765-HT dialing function is defined as follows: Dial switch Definition DIP 1 Always OFF DIP 2 Always OFF DIP 3 Adjust the air transmission rate DIP 4 Adjust the air transmission rate The specific transmission rate is shown in the following table: DIP3 DIP4 Air transmission distance...
  • Page 13 Method 3: When starting up, long pressing the touch screen interface will automatically jump to the setting interface. 7. Set the channel on the configuration interface, which is consistent with the channel of S-BOX-HT on the PLC side. It is recommended to set the timeout as 500ms.
  • Page 14: S-Box-Ht Communication Parameters

    HMI, and they cannot be modified after downloading the HMI program. 4-3. S-BOX-HT communication parameters 4-3-1. Preparation 1. S-BOX-HT config tool SBoxTool.exe. 2. OP cable Prepare an OP cable for connecting the DB9 pin serial port of the computer. If there is no OP cable, the cable can be self-made as shown in the figure below.
  • Page 15 2. Connect the computer and S-BOX-HT through the programming cable 3. After the connection is successful, open SBoxTool.exe, select the corresponding COM port, and click Open Serial Port. The information of the module can be read directly. 4. Set the serial port parameters of the module, which should be consistent with the connected PLC serial port parameters, so that the module can communicate with PLC.
  • Page 16 6. After the module configuration is completed, turn DIP 1 to OFF and set the module to the operation mode. 7. Set the DIP3 and DIP4 switch of S-BOX-HT according to the requirements of the chapter 2-4 Dial Switch. The switch settings must be consistent with the air baud rate setting of the HMI, otherwise communication will...
  • Page 17: Set Plc Serial Port Parameters

    After the parameters are modified, power on again, and the parameters take effect. After the parameters of PLC and S-BOX-HT serial ports are consistent, they can communicate normally. As the default parameters of Xinje XD series COM2 port are the same as those of S-BOX-HT, no special setting is required. If other brands of PLC...
  • Page 18: Connection Between Plc And S-Box-Ht

    S-BOX-HT and PLC must be consistent. For other brands of PLC, refer to the section "4-6. Communication settings and connections of common PLC". 4-5. Connection between PLC and S-BOX-HT After completing the parameter settings in the first three sections, as long as the connection between PLC and S-BOX-HT is successfully established, the remote communication between MTG765-HT and PLC can be realized.
  • Page 19: Communication Setting And Connection Of Common Plc

    Recommended setting Optional setting PLC type Xinje XC series XC series/Modbus RTU (panel is Master) Com port RS232 RS232/RS485 Data bit Stop bit Parity Even Baud rate 19200 4800/9600/19200/38400/57600/115200 Station no. 0~255 Default communication parameters of Xinje XC series protocols:...
  • Page 20 (2) PLC setting 3. Cable making ① XC series PLC CPU unit (RS232 port) S-BOX-HT DB9 port Xinje XC series PLC unit RS232 port Diagram 1 ② XC series PLC CPU unit (RS485 port) S-BOX-HT DB9 port Xinje XC series PLC unit RS485 port Diagram 2 ③...
  • Page 21: Communicate With Abb Plc

    ④ Expansion board XC-COM-BD (RS485) S-BOX-HT DB9 port XC-COM-BD RS485 port Diagram 4 4-6-2. Communicate with ABB PLC 1. Device type ABB can communicate with Xinje HMI through Modbus protocol. Communication PLC model selection in Touchwin Series Cable type software...
  • Page 22 (2) PLC setting ① In the ABB AC500 PLC software serial port setting, you need to select the Modbus protocol ② After selecting COM1 MODBUS, the serial communication setting needs to set "Operation mode" to "Slave", and other parameter settings should be consistent with the HMI. 2.
  • Page 23: Communicate With Delta Dvp Series Plc

    SBOX-HT port ABB AC500 series PLC COM1 (RS485) port Diagram 1 4-6-3. Communicate with DELTA DVP series PLC 1. Device type PLC selection in Series Connection module Port Cable Touchwin software DVP-EH RS232 Diagram 1 DVP-ES RS485 Diagram 2 DVP-EX directly Delta (DVP) DVP-SS...
  • Page 24: Communicate With Fatek Fb Series Plc

    3. Cable making ① When using the RS232 communication serial port on the CPU unit, the cable diagram is as follows: S-BOX-HT port Delta DVP series RS232 port 8-pin male plug Diagram 1 ② When using the RS485 communication serial port on the CPU unit, the cable diagram is as follows:...
  • Page 25 Connection selection in Series Port Cable module Touchwin software 20MC RS232 Diagram 1 28MC 40MC FB-MC 19MCT RS485 Diagram 2 26MCT 36MCT RS232 Diagram 3 20MA FB-D TBR/D FB-MA 28MA TBR-E module RS232 Diagram 4 40MA connection RS485 Diagram 5 Note: The MA series PLC communication needs to be configured with FB-DTBR or FB-DTBR-E communication module, which adopts RS232 or RS485 connection mode.
  • Page 26 3. Cable making ① FBs Port0 RS232 connection mode: S-BOX-HT port FBS series Port0 4-pin male plug CPU Port: S-BOX-HT port 20MC/28MC/40MC/19MCT/26MCT/36MCT series RS232 port 15-pin male plug Diagram 1 ② CPU unit, RS485 connection mode: S-BOX-HT port FBs CPU Port 15-pin male plug Diagram 2 ③...
  • Page 27: Communicate With Mitsubish Fx Series Plc

    ④ FB-DTBR/DTBR-E module RS232 mode (9-pin D-type male plug): S-BOX-HT port 20MA/28MA/40MA series FB-DTBR/DTBR-E module RS232 port 9-pin male plug Diagram 4 ⑤ FB-DTBR/DTBR-E module RS485: S-BOX-HT port FB-DTBR/DTBR-E module 3-pin terminal Diagram 5 4-6-5. Communicate with Mitsubish FX series PLC 1.
  • Page 28 Default communication parameters of Mitsubishi FX series protocol: (2) PLC setting Note: The parity of Mitsubishi software is "odd" by default, but when communicating with Xinje HMI, you must change the "odd" to "even", otherwise, even if the HMI is changed to "odd" to keep consistent with Mitsubishi, the communication will not work.
  • Page 29: Communicate With Mitsubish Fx Bd (232/485)

    3. Cable making ① FX0/FX1/FX1S/FX0N/FX1N/FX2N series PLC RS422 port: MITSUBISHI PLC FX series S-BOX-HT port RS422 port 8-pin male plug Diagram 1 ② FX2 PLC: MITSUBISHI PLC FX2 series S-BOX-HT port programming port RS422 25-pin male plug Diagram 2 4-6-6. Communicate with Mitsubish FX BD (232/485) 1.
  • Page 30 Mitsubishi FX BD (232/485) protocol default communication parameters: (2) PLC setting The following figure shows the setting of RS485 BD communication parameters: Note: (1) When 232-BD is used, RS-232 is selected for H/W type. (2) After the PLC parameters are modified, the parameters must be written into the PLC and then powered on again to take effect!
  • Page 31: Communicate With Mitsubish Fx3U/G/Ga Series Plc

    3. Cable making ① FX series PLC RS232-BD: MITSUBISHI PLC FX series RS232-BD S-BOX-HT port 9-pin D-type male plug Diagram 1 ② FX series PLC RS485-BD: MITSUBISHI PLC FX series RS485-BD S-BOX-HT port 5-line terminal Diagram 2 4-6-7. Communicate with Mitsubish FX3U/G/GA series PLC 1.
  • Page 32 Default communication parameters of Mitsubishi FX3U/G/GA protocol: (2) PLC setting Note: The parity of Mitsubishi software is "odd" by default, but when communicating with Xinje HMI, you must change the "odd" to "even", otherwise, even if the HMI is changed to "odd" to keep consistent with Mitsubishi, the communication will not work.
  • Page 33: Communicate With Mitsubish Fx5U Series Plc

    3. Cable making FX3U/G/GA series PLC RS422: MITSUBISHI PLC FX seriesCPU RS422 S-BOX-HT port port 8-pin male plug Diagram 1 4-6-8. Communicate with Mitsubish FX5U series PLC 1. Device type Connection PLC selection in Series Port Cable module Touchwin software...
  • Page 34 Mitsubishi FX5U series communication parameter settings: Note: The Panel station no. is 0, please don’t change it. (2) PLC setting ① MC protocol communication Set the protocol format to "MC Protocol" and the text transmission mode to "Mode 5" in 485 serial port settings.
  • Page 35 ② Modbus RTU communication When using this protocol, the HMI selects the "Modbus RTU" protocol. Set the protocol format in 485 serial port to "Modbus RTU communication". Station 0 in Modbus communication represents broadcasting, so the station number should be set to a non-zero station number. The HMI should set the station number and communication parameters consistent with the PLC settings.
  • Page 36 Note: When PLC is communicating with Modbus, it has a fixed Modbus address, which is described in the software. Read and write according to the Modbus address.
  • Page 37: Communicate With Omron Sysmac Cp Series

    3. Cable making FX5U series PLC CPU RS485 port: S-BOX-HT port FX5U 4-line terminal Diagram 1 4-6-9. Communicate with OMRON SYSMAC CP series 1. Device type (1) Omron CP/CJ/CS series PLC selection Series Connection module Port Cable in Touchwin software...
  • Page 38 PLC selection Series Connection module Port Cable in Touchwin software module C120-LK201-V1 module C500-LK201-V1 C2000 module C500-LK203 module CPM-2A CPM2AE CPU directly CPM2AH-40CDR-A connection CPM1H series OMRON CIF01 CPM1A RS232 Diagram 1 (RS232) adapter CPU directly CQM1H-CPU21 connection series OMRON CIF01 CQM1-CPU (RS232) adapter Note: Omron CPM1A and CQM1-CPU series CPU units do not support RS232 serial port communication.
  • Page 39 (2) PLC setting Take Omron CP1H as an example to explain the setting of PLC communication parameters:...
  • Page 40 (4) On the PLC body, set DIP4 switch to OFF, so that serial port 1 is in SETUP status. 3. Cable making ① CPU main body RS232: OMRON PLC CPU/CPM1-C1F1/C500-LK203/ C120-LK201-V1 S-BOX-HT port / C500-LK203 RS232 port 9-pin male plug Diagram 1 ② Communication module CP1W-CIF11 RS485: S-BOX-HT port...
  • Page 41: Communicate With Matsushita Fp Series Plc

    Matsushita Mewnet FP series PLC includes FP0, FP1, FP3, FP2SF, FP10SH and other models, which can be connected to the Xinje HMI through the programming port or communication port on its CPU unit. FP0-CXXCXX models in FP0 series only support RS232 connection mode.
  • Page 42 Matsushita FP0/FP1 protocol default communication parameters: (2) PLC setting Note: (1) Input mode of PLC software components: (2) When writing the PLC program, turn the dial switch to the PPOG state. During communication, turn the dial switch to Run status.
  • Page 43 (4) The default station number of FP series PLC is 1, but the FP3 model must be set to 0. 3. Cable making ① CPU unit 5-pin DIN male plug: Matsushita mewnet-FP series CPU unit S-BOX-HT port 5-pin male plug Diagram 1 ② CPU unit 9-pin D-type female plug:...
  • Page 44: Communicate With Simens S7-200 Series Plc

    ④ CPU unit 15-pin D-type male plug: Matsushita mewnet-FP series CPU unit SBOX-HT port RS422 port 15-pin D-type male plug Diagram 4 4-6-11. Communicate with Simens S7-200 series PLC 1. Device type Connection Cable selection in Series Port module making Touchwin software CPU212...
  • Page 45 Default communication parameters of Siemens S7-200 series protocols: (2) S7-200 software setting: S7-200 communication precautions: (1) Siemens register structure: VB occupies 8 bits, VW occupies 16 bits, and VD occupies 32 bits. (2) The address space is overlapped, and VW must start with an even number and be divisible by 2, such as VW0, VW2, VW4..., and VD must be a multiple of 4, such as VD0, VD4, VD8.
  • Page 46 3. Cable making HMI and S7-200 uses RS485 connection mode: SIEMENS PLC S7-200 series PPI port S-BOX-HT port 9-pin D-type male plug Diagram 1...
  • Page 47: Plc Communication Through S-Box-Ht

    The following conditions shall be met for successful communication: (1) The channel and air baud rate of S-BOX-HT and MTG765-HT must be consistent. (2) The serial port of S-BOX-HT, PLC port of HMI programming software and serial port parameters of connecting equipment shall be consistent.
  • Page 48: S-Box-Ht Configuration

    1. Turn DIP 1 to ON, and TXD and RXD of the module flash at the same time, indicating that the module is in configuration mode. 2. Connect the computer and S-BOX-HT through OP cable or self-made cable. RS232 USB port OP cable + USB convertor 3.
  • Page 49 4. Set the serial port parameters of the module, which should be consistent with the connected PLC serial port parameters. The default serial port parameters are 19200, 8, 1, E. Click Write after setting. 5. RF parameters: set the channel of the module, and only devices with the same channel can communicate. The timeout is the allowable timeout on the wireless side, which is generally set to 500ms.
  • Page 50: Set Plc Serial Port Parameters

    7. Set the DIP3 and DIP4 of S-BOX-HT according to the requirements of the "2-4. DIP switches" table. Only when they are consistent with the DIP switches of the HMI can communication be achieved. 8. Configure the other S-BOX-HT in the same way. Please note that the parameters of the two modules are consistent.
  • Page 51: Connection Between Plc And S-Box-Ht

    PLC according to pin numbers and definitions. COM1 port of Xinje XD series PLC is 8-pin RS232 port, as shown in Figure 1. COM2 port is AB terminal, A is RS485+, B is RS485-, as shown in Figure 2. The module has a DB9 pin and an external AB terminal. For the connection between the two, refer to the pin definition below: 1.
  • Page 52: Make Plc Program

    One PLC is the master station and the other is the slave station. The programming mode is MODBUS communication. The communication port is the serial port connected with S-BOX-HT. (For the usage of Xinje PLC, see User Manual for XD, XL Series Programmable Controllers [Basic Instructions]) The PLC serial port parameters shall be consistent with those in the SBOX-HT to ensure that the channel and dial switch baud rate of the two modules are the same.
  • Page 53 Step 2: COM2 port of PLC is used here, and the communication parameters are set as follows (consistent with S-BOX-HT): Step 3: Connect the external RS485 port of the S-BOX-HT to the RS485 port of the PLC (A to A, B to B). If other connection methods are used, refer to the pin descriptions in Chapter 4-6.
  • Page 54 XD5 is MODBUS slave station, it no need to make program. Normal data transmission and reception between master station and slave station indicates successful communication. Data monitoring is as follows: Slave station PLC Master station PLC...
  • Page 56 WUXI XINJE ELECTRIC CO., LTD. No.816, Jianzhu West Road, Binhu District, Wuxi City, Jiangsu Province, China 214072 Tel: 400-885-0136 Fax: (510) 85111290 WE CHAT www.xinje.com...

This manual is also suitable for:

S-box-ht 433m

Table of Contents