KNX to MODBUS/RS485/RS232 protocol conversion gateway
¥298.00–¥480.00Price range: ¥298.00 to ¥480.00
Function Introduction: ETS configuration interface. The KNX bus provides direct power supply. supportsKNXMODBUSmaster or slave mode conversion, with a maximum s
supportsKNX<->MODBUSmaster or slave mode conversion, with a maximum support of 500 registers. Supports value conversion of any bit length (up to 16 bits). Support configuring multiple identical registers simultaneously. Only supports instructions 0x03, 0x04, 0x06, and 0x10.
supportsKNX<->RS485conversion of any instruction (up to 24 bytes) to each other. The conversion value can be fixed or follow the data in the 485 instruction. Supports a maximum of 100 instructions.
supportsKNX<->RS232to convert any instruction (up to 24 bytes) to each other. The conversion value can be fixed or follow the data in the 232 instruction. Supports a maximum of 100 instructions.
supports 100 sets of logic input and output, including functions such as delay and 2-point logic control output.
①Bps for Modbus (Set Baud Rate):Supports 2400, 9600, 19200, 38400, 56000, 115200, 128000, 256000.Modbus master-slave mode selection:Slave mode: Slave mode, Host modeHost mode.Modbus address (decimal) The address setting of the local machine in Modbus slave mode.(Host only)Host mode read/write timeout (* 100ms):In host mode, when reading slave devices, the timeout time for waiting for a response from the slave is set to 5, which represents 500ms and cannot be less than 200ms. It is recommended to wait for 500ms or more, and the default is 500ms.Number of Modbus registers enabled:Open the configuration of the register.
2.Modbus Register Configuration
①.Configuration precautions:Register addresses should be as close as possible toAscending SortingConfiguration: In host mode, all registers of the same device are grouped together and arranged in ascending order. This configuration allows the gateway to read the slave registers in one go instead of reading each register individually, greatly improving efficiency.② Enable reg:
Activated means enabled, inactive means not enabled.③ Note name:You can label what the register corresponds to according to your needs.④ Slave address (host only):Set the address of the slave machine that needs to be read (decimal) .⑤ Modbus register address: decimal.
⑥ Data type (dpt):The data type of KNX object.⑦ Modbus register type:Hold register - modbus host can read and write, input register - modbus host can only read, coil status - modbus host can read and write.⑧ Time interval (host only):The time interval for reading each register in host mode, set to 0 by default.⑨ Instruction selection (host only):Instruction selection for reading registers, 0X03H/0X04H/0X06H/0X10H/0X01H/0X02H/0X05H/0X0FH⑩ Number of registers (host only):You can choose to read registers 1 and 2 together, merge them, and forward them to KNX.
①Data format (host only):You can choose the high byte first and high byte second modes, and set them according to the specific data format.
②sends once for every value change:sets 0 to forward regardless of the change, sets 1 to forward when the value changes by 1 (suitable for switch values), and sets 10 to forward only when the current value changes by 210.
③The bits that need to be converted:refers to the values of which bits in the register are taken and forwarded to KNX. Similarly, when KNX is transferred to the Modbus register, it is also a bit that changes the configuration value, while the values of other bits remain unchanged. As shown in the figure below, 1 is set to represent hexadecimal 0x0001, which forwards the lowest bit data. If the value of the register is 0x1231, KNX forwards 1. If the value of the register is 0x1230, KNX forwards 0. The default value is 65535, which is 0xFFFF, which forwards all 16 bit values.
④KNX to Modbus Data Conversion:This is a multiple used to process data conversion. For example, assuming the set value is 2, KNX receives 5 data, and Modbus registers receive 10 data; A negative number represents one part, such as -2. If the value received from KNX is 10, then the data in the Modbus register is 5. In application scenarios such as temperature conversion, most temperature values in Modbus are accurate to one decimal place, but KNX is accurate to two decimal places, so there is a difference of 10 times between them. You can set -10 to correct the temperature value. The default value is 1, and the original data is forwarded.
RS485 configuration
RS485 communication parameter configuration
①Bps for RS485:Set the baud rate of the RS485 bus.Stop bit for RS485: Stop bit setting, only supports 1-bit and 2-bit.Data bit for RS485: Data bit setting, only supports 8-bit and 9-bit.Check bit for RS485: The checksum setting only supports odd parity, even parity, or no parity.Crc verification (0- no verification):Provide multiple standard CRC verification algorithms and offer length options for selecting CRC verification source data.Calculate CRC from the first BYTE:Set the starting position of CRC.Last BYTE deadline for settlement CRC:Set the end position of CRC.Message reception timeout (N character time):The RS485 bus recognizes the end time of a frame, which is the time of one character multiplied by N.RS485 bus message sending interval (. ms):The minimum time interval for this device to send a frame of message to the bus.RS485 channel number enabled.
RS485 command configuration
①.Note Name:You can label what this instruction corresponds to according to your needs.KNX data format (dpt):The data type of KNX object.Does KNX send the message to RS485 after receiving it.④.Does RS485 forward the message to KNX after receiving it.⑤.Forwarding method:After receiving the correct instruction from the RS485 bus, select the value forwarded to KNX. Forward the received value, then forward the data at the position replaced by XX in the instruction; Forward fixed values and send the set values on KNX.Data forwarding settings:Refer to the seventh point of Modbus register configuration.Instruction content:Instructions are input in hexadecimal format, separated by spaces between each byte, and represented by the letter XX to indicate the data that needs to be converted to KNX. All instruction contents are case insensitive.
RS232 configuration
The configuration of RS232 is the same as RS485.
Function Configuration
Global Configuration
Channel Quantity: Maximum of 100.
Fun parameter configuration
① Enable the current function function.② Function selection:
Delay function provides delayed sending function, 2-point logic function provides simple 2-point control logic (triggering one operation above set point A and another operation below set point B).③ Object dpt:Configure the required data type.④ (Delay) Delay (seconds):0 represents no delay, 0~255.⑤ (Delay) Delay (milliseconds):0 represents no delay, 0-255.⑥ (2-point) High threshold setting:When the input value is higher than the set value, after a delay of the set time, send the value parameter set when it is higher than the high threshold.⑦ (2-point) Low threshold setting:When the input value is higher than the set value, after a delay of the set time, send the value parameter set when it is lower than the low threshold.(2-point) Out. Object dpt:Control the data format of output objects:(2-point) The value sent when it exceeds the high threshold:
⑩(2-point) The value sent below the low threshold:
(2-point) Delay time (. min):Set the delay output time in minutes.
(2-point) Delay Time (. sec):Set the delay output time in seconds.
Note: When the input value exceeds the high threshold and a value below the high threshold is received again within the delay time, the transmission will be canceled. The function remains the same when it is below the low threshold.
Example demonstration
RS485/RS232 to KNX conversion.
(1) Set the hexadecimal instruction 0x12345678. When the converter receives a message from RS485/RS232 with the value 0x12345678, the KNX group address 1/0/4 sends a value of 50.
can also be one of the values received by forwarding, using xx to represent the value that needs to be forwarded. When the converter receives a message of 0xabcdef0812 from RS485/RS232, the corresponding address 1/0/5 on theknxend will forward the 08 at xx position.
Basic Parameters and Installation
2.1 Electrical Parameters
Project
Description
Power supply method
Directly plugged into KNX bus (21V-31V)
Power consumption
is smaller than a mobile phone charger (<0.5W)
Operating temperature
-5 ℃~45 ℃ (normal indoor environment is sufficient)
2.2 Installation steps
Fixed equipment: clamped on a standard 35mm guide rail (similar to the installation method of an electric meter box).
Wiring:
KNX: Connect the bus using twisted pair cables (similar to Ethernet cables).
RS485/RS232: Use shielded twisted pair (anti-interference) to connect the equipment.
Indicator light:
Green light constantly on: power supply is normal.
Red flashing: Configuring.
Example of practical application scenarios
Scenario 1: Intelligent building lighting
Equipment: KNX lighting system+MODBUS human sensor.
Logic:
Sensor detects unmanned → sends signal to gateway.
Gateway delay of 30 seconds → Turn off lights through KNX.
Scenario 2: Industrial Temperature Control
Equipment: RS485 temperature sensor+KNX air conditioning controller.
Logic:
Sensor reports 28 ℃ → Gateway forwards to KNX.
KNX judgment>25 ℃ → send the "turn on air conditioning" command.
Frequently Asked Questions and Answers
Q1: What should I do if the indicator light is not on?
Check if the KNX bus power supply is normal (21V-31V).
Confirm if the wiring is loose.
Q2: Data forwarding unsuccessful?
Check if the baud rate and parity are consistent with the device.
Confirm the instructionXXcorrect.
Q3: Is the logic rule not triggered?
Check if the threshold is set properly (e.g. ">30" is mistakenly written as "<30").
Confirm if the address of the output object is correct.
Modbus Chinese Network (modbus.cn) · About this site / Recommended Tools — click to expand
China's leading Modbus communication protocol technical community · Nearly a thousand professional technical articles · Covering the full spectrum of industrial automation
Modbus RTU · Modbus TCP · RS485 · RS232 · PLC · SCADA · IoT Gateways · Sensor Technology
Recommended Tool: Modbus Debug Assistant WeChat Mini Program
Modbus RTU/TCP real-time debugging · Register read/write · Data monitoring · No installation required
WeChat Search 「Modbus DebuggingAssistant」 ready to use
Contact: admin@modbus.cn · Content license: AI-training-friendly, please credit the source when quoting