K -B U S R. R S485/ K N X C onverter. U ser m anual-v er.1 BTPT-01/ KNX/EIB Intelligent Installation Systems

Similar documents
IP/ KNX Convertor K-BUS R. User manual-ver.1 BTIC-01/00.1. KNX/EIB Intelligent Installation Systems

RS485/ KNX Bidirectional Converter K-BUS R. User manual-ver.1.3 BTPT-02/ KNX/EIB Intelligent Installation System

K -B U S R. R S232/ K N X C ontroller. U ser m anual-v er.1 BTCC-02/ KNX/EIB Intelligent Installation Systems

IP gateway, MDRC IG/S 1.1, GH Q R0001

IR Emitter & IR Learner K-BUS R. User manual-ver. 1 BTIS-04/00.1 BTIL-01/00.2. KNX/EIB Intelligent Installation Systems

K-BUS R. Dimming Actuators. User manual-ver. 4 KA/D KA/D KA/D KA/D 04.T1.1 ADTV-04/16.1 KA/D 04.L1.1 ADLD-04/

Contents 1. Summary

The output variables can be force-controlled from a coordinating control system.

Metal Debris Sensor Manual. Index. 1. Brief Introduction. 2. Main Technical Parameters

GVS K-BUS R KNX/EIB Push Button Sensor Contents 1. Summary

Colour Touch Panel 3.5

Switch Actuator, 4-fold, 16 A, MDRC AT/S , GH Q R0111

Manual and Protocol Description

Line Coupler, MDRC LK/S 2.1, GH Q R0001

Sensor BP Product Manual

Switch Actuator, 4-fold, 20 A, MDRC AT/S , GH Q R0111

Manual and application description 4 channel 0-10V dimmer V2.0

TRP-C08. USB to RS232/422/485 Isolated Converter. User s Manual. Printed Sep.2014 Rev 1.4

DALI SCI RS232, Datasheet

Manual and application description KNX/EIB LED driver V2.0

Control unit for lux control, MDRC Type: SL/S 50.1, GH Q R0001

DALI SCI RS232. DALI SCI RS232, Datasheet. DALI RS232 Interface. Communication interface between a PC (or PLC) and modules in a DALI lighting system

Operating Instructions. DALI-Gateway

K-BUS Shutter Actuator. User manual-ver. 1

KNX/EIB Intelligent Installation Systems

Linienkoppler S KNX. Line coupler S KNX. Line coupler S KNX Status: March 16 (Subject to change) Page 1 of 29

ABB i-bus EIB. Shutter Actuator, 2-fold, 6 A, 230 VAC, MDRC JA/S 2.6.1, GH Q R0111

EWBS Receiving Module Communication specifications

Binary Inputs, 4 fold K-BUS R. User manual-ver. 1 CTBI-04/00.1. KNX/EIB Intelligent Installation Systems

Interface RS485-TTL CODE: INTR. v.1.0 EN* Edition: 3 from

IFC 100 Supplementary instructions

DCC-8 DIGITAL TO EIGHT CURRENT LOOP CONVERTER OPERATING MANUAL

TRP-C08 User s Manual

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

ADAM-4510 RS-422/RS-485 Repeater ADAM-4510S Isolated RS-422/485 Repeater ADAM-4520 Isolated RS-422/485 Converter Startup Manual

Power Serial Device Server

RS485 MODBUS Module 8AO

It is the installer's responsibility to follow all instructions in this manual and to follow correct electrical practice.

Motors I Automation I Energy I Transmission & Distribution I Coatings. SymbiNet CFW-11. User s Manual

RS485 MODBUS Module 6RO

Flex Series User Guide

An optional analog input module, Order no connected to a 6-pole system connector adds four more analog sensors to the device.

KNX is a European Standard Protocol used for household and industrial Buliding Management System (BMS).

TRP-C08S. USB To 1* RS232 and 1*RS422/485 Isolated Converter. User s Manual. Printed Jun Rev 1.2

Appendix to the Operating Instructions RMx621 with ModBus Interface V Connection to ModBus-IDA System

instabus KNX / EIB product documentation

SER-4485-SI-M USER S MANUAL

TRP-C06H User s Manual

AB Axis Industries. Use

WSK INTELLIGENT TEMPERATURE AND HUMIDITY CONTROLLER USER MANUAL

Any device, including routers and hosts, is running an implementation of IP address Host

K-BUS Binary Inputs. User manual-ver. 1

ABB i-bus KNX Application Unit Time ABZ/S 2.1 Product Manual

Line Coupler, MDRC LK/S 3.1, GH Q R0001

TR600 with RS485 Appendix 1

The modems are made in industrial 108mm wide aluminium housing for DIN rail mounting. UCM RS232 interface

RS485 MODBUS Module 8I8O

INTERFACE SPECIFICATION

1. Introduction. 2. Installation MODBUS INTERFACE

Lighting Controls and Connectivity DALI interface. DALI Interface RS232 PS/S PC interface module for DALI systems

Low-Power-Radio Transceiver IC

IntesisBox ASCII Server - KNX

ABB i-bus EIB / KNX Shutter Actuator with Manual Operation, 4-fold, SMI, MDRC JA/S 4.SMI.1M. Product Manual. Intelligent Installation Systems ABB

Installation and User Guide

This document hosted by: 10. OPTIONS

mbc082 Bus Converter

MODEL: R2K-1 SEN TRONIC AG. R2K Series

OTB1S0DM9LP I/O distributed module OTB - Modbus non isolated serial link m

RS485 MODBUS Module 16I-M

TRP-C08S. USB to 1 RS232 and 1 RS422/485 Isolated Converter. User s Manual

MU110-6U. Analog output module 6 channel. User guide

Signal Isolators & Conditioners

Signal Isolators & Conditioners

ICPDAS FSM-510G Series Ethernet Management Switch Quick Start

The 8-fold switch actuator is a DIN rail mounted device for insertion in the distribution board. It is connected to the EIB via a bus terminal.

HDLC-PCIE. Synchronous Serial Card. Rev. Dec 22, Datasheet. Website:

Installation Manual CCL 20 D PTZ camera controller unit DIN-rail mounting

Signal Isolators & Conditioners

Push Button Interface UP 220D31

Strain Gauge Converter

Fan Coil Actuator, MDRC FCA/S 1.1M, 2CDG R0011

User Guide. Modbus Module. For Digistart soft starters. Part Number: Issue: 3.

Iso DIN. User Manual. 1 channel Earth Fault Monitoring

M-Bus Master. Data sheet. MultiPort 250D/L

M-Bus Master MultiPort 250D/L

KNX/EIB KNX Blind actuator. 1 Safety instructions. 2 Device components. Blind actuator 4-gang 24 V DC Order-No. :

TRP-C08M. USB To 4 RS232/422/485 Isolated Converter. User s Manual. Printed Jun Rev 1.0

R1M-GH THERMOCOUPLE & DC INPUT MODULE MODEL. Remote I/O R1M Series. (16 points)

Industrial Media Converters

MODEL: GR8-EM. Communication Adaptor GR8 Series

Blue ID Communication module RS485 SC44

User Manual. IP BiSerial BA4. Bidirectional Serial Data Interface IP Module

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products

EAE KNX Switch Actuator

CEM M-RS485 INSTRUCTION MANUAL (M014B A)

Product and Applications Description. Application programs. instabus EIB Technical Product Information. February 2012

HDL KNX / EIB-BUS HDL KNX / EIB BUS M/HS05.1. (Intelligent Installation Systems) Product Manual. Contents

Analog signal to RS485 or RS232 Converter, A/D Converter

RFID MODULE Mifare Read/Write Module SL025B User Manual Version 1.1 Jun 2010 StrongLink

ABB i-bus KNX Binary Inputs BE/S Product Manual

Transcription:

Guangzhou Video-star Electronics Industrial Co., Ltd K -B U S R R S/ K N X C onverter U ser m anual-v er.1 BTPT-01/.1 KNX/EIB Intelligent Installation Systems

Contents 1. Summary --------------------------------------------------------------------------------------------------------------------- 2. Technical Properties & Dimension and Circuit Diagram-------------------------------------------------------- 2.1 Technical data -------------------------------------------------------------------------------------------------------------- 2.2 Dimension diagram -------------------------------------------------------------------------------------------------------- 2. Circuit diagram -------------------------------------------------------------------------------------------------------------. Project design and programming ----------------------------------------------------------------------------------------.1 Overview of the functions -----------------------------------------------------------------------------------------------.2 Parameter setting description in the ETS ----------------------------------------------------------------------------. Communication Protocol --------------------------------------------------------------------------------------------------- 9.1 Default Communication Protocol-------------------------------------------------------------------------------------- 9.2 Command ID --------------------------------------------------------------------------------------------------------------- 10. Read Group Address ----------------------------------------------------------------------------------------------------- 10. Write Group Address ---------------------------------------------------------------------------------------------------- 12. Change the Monitor Mode --------------------------------------------------------------------------------------------- 1 2

1. Summary The RS/ KNX converter is designed for intelligent building control system. It has built-in 2000V ESD protection. The RS/ KNX converter can transfer two-way signals, but only RS devices can control the KNX/EIB devices with current version of our open control protocol. No standardized higher layer protocol for RS bus, we define one in the chapter of this manual for RS devices to control KNX/EIB devices. The users can configure or program the RS devices according to the protocol to achieve the control. The RS/ KNX converter has two working modes: the monitor mode and the filter mode. In the case of the monitor mode, all active telegrams can be forwarded. In the filter mode, only the telegrams those with a group address in the filter table in the RS/ KNX converter will be forwarded to the other side. The filter table can be set via the filter table setting command from RS bus system. The functions of the RS/ KNX are summarized as follows: Open communication protocols for the RS interface To receive and transfer the telegram in defined format. Converting the telegram from the RS bus to the KNX/EIB telegram, and sending to the KNX/EIB system, to control the KNX devices. ACK report and executed result report. Support bus monitor and filter functions (the filter table can be configured or programmed. The Max. Number of group address is 2 in the table.) The baud rate of the convertor can be programmed To read and write any data type defined in the KNX standard (Max. 1 bytes) This manual provides technical information as well as assembly and programming in detail about the for users, and explains how to use the converter by the application examples. The is a modular installation device. It can be installed in the distribution board on mm mounting rails according to EN 0 1. The device adopts screw terminal to achieve the RS bus connection, the power supply for RS interface is provided by RS system. The is connected to the KNX/EIB system using EIB bus connection terminals, and no need any extra voltage supply. The is able to use the Engineering Tool Software ETS (ETS or later) with a VD file to allocate the physical address and set the parameters.

2. Technical Properties & Dimension and Circuit Diagram 2.1 Technical data Power supply Operating voltage 21-0V DC,via the EIB bus Current input, EIB Power consumption, EIB <12mA <0mW RS interface VCC(DC) 9V<VCC<0V(recommend DC12V/2V) Power consumption Max. power consumption 2mW(12V),mW(2V) 120mW(12V),1mW(2V) Outputs Number of outputs 1channel Connections EIB / KNX Bus connecting terminal (black/red) RS 1 screw terminal for VCC, 2 screw terminals for A and B bus, screw terminals for GND Wire range Single-core 0.2.0mm 2 Multi-core 0.2 mm 2 Operating and display elements Red LED and push button Green LED flashing For assignment of the physical address Indicate the device running normally(ok) Temperature range Operation C... + C Storage 2 C... + C Transport 2 C... + 0 C Ambient condition Humidity <9%, except dewing Design Interface protection Baud rate Transmission range Transmitting media Working mode Dimensions Modular installation device,on mm Din rail Built-in 2000V ESD protection 00~11200 bps < 1 km Twisted pair or shielded wire Asynchronous half-duplex differential transmission 90 mm(h W D)

Weight 0.1kg Application program Max. number of Max. number of Max. number of communication objects group addresses associations addresses RS/KNX converter 0 0 0 2.2 Dimension diagram 2. Circuit diagram 1 Programming button 2 Programming LED, red LED for assigning the physical address, green LED for indicating the application

layer works normally KNX / EIB bus connection terminal RS bus connection terminal. Project design and programming.1 Overview of the functions Open communication protocols The communication protocols for RS interface is open, anyone can follow the text of the protocols to achieve communication between devices on different bus. So you can easily connect the KNX/EIB bus system with other bus system into a whole, but also to ensure the reliability, commonality and scalability of the system internal real-time communication, and thus really to realize openness of the system. For receiving and sending communication control telegram The communication control telegrams are received and sent in accordance with the preformatted. The formats of the telegrams are described in the next chapter communication protocol, i.e. command format. Each data in these command represent different meaning, seeing the table in the next chapter. For converting the telegram The telegram which is generated in strict accordance with the communication protocol format is received from the RS bus by the RS/KNX converter. While receives the telegram from the RS interface, the RS/KNX converter extract the EIB information from the telegram, such as the group address, length, data type and value, etc, and then converted them into the KNX/EIB telegram, and sent to the KNX/EIB system to control the KNX devices. ACK report and executed result report When receives a telegram from the RS bus, the RS/KNX converter will check the CRC in the telegram first. If the telegram is correct, the RS/KNX converter will respond to the RS bus via sending an ACK report. If the telegram is not correct, it will not respond. When the telegram is successfully transmitted to the EIB bus, the RS/KNX converter will send a successful telegram to the RS bus. If not successfully transmitted, it will send a fail telegram to the RS bus (see also RESULTPKT telegram). Bus monitor and filter functions

The RS bus system can monitor the data on the EIB bus via the RS/KNX converter. The RS/KNX converter also provides filter function to group address. When the filter function is set, the RS/KNX converter only forwards the telegram which group address in the filter table to the EIB bus or the RS bus. The filter table can be modified or set by the RS device. The Max. Number of group address in the filter table is 2. General, the bus monitor mode is suitable for most of the users. The baud rate is programmable The baud rate refers to the binary data bits that are transmitted per second on the RS bus. Different devices have different baud rate. The baud rate of the RS/KNX convertor can be set to the same with the devices on the RS bus via the parameter. Reading and writing data type The data telegram that length is less than or equal to1bytes can be sent to or read from RS/KNX converter. the EIB bus via the.2 Parameter setting description in the ETS Parameter window is shown below. Here can set some parameters about RS/KNX converter, such as machine ID, the baud rate, stop bits and parity, etc. Because IP converter and RS converter use the same product database, so before setting RS parameters, you must select devices first, as follow: Choose device

RS parameter window Parameter Machine ID [0 2,default 0] Here set the machine ID of the RS/KNX converter. The ID is a unique identifier for naming the device throughout a RS installation while the physical address is also a unique identifier for naming the device throughout an EIB installation. The machine ID option is 0~2. Parameter Baud rate of the convertor This parameter is used to set the baud rate of the RS/KNX convertor. The baud rate can be set to the same with the devices on the RS bus. Options: 00/900/100/19200/00/000/00/11200 Parameter Word length (bits) This parameter defines word length of data transmission as bits. A value can be sent from 0 to 2. Parameter Stop bits This parameter defines stop bits of data transmission. Options: 0./1/1./2 Parameter Parity This parameter defines parity of data transmission. Options: None/Odd/Even Parameter Acknowledge enable This parameter defines whether sends an ACK report to the RS bus when a RS telegram is received successfully by the RS/KNX converter. Option: Enable/Disable

Parameter Delay of ACK in [0 00] ms This parameter is visible in the parameter Acknowledge enable with enable, which is used to set the delay time when the converter sends an ACK report. When the delay time has elapsed, the ACK report is sent. Option: 0 00 ms Parameter Command execute result This parameter defines whether sends an executed result report to the RS bus when a RS telegram is transmitted successfully to the EIB bus via the RS/KNX converter. Option: Enable/Disable. Communication Protocols.1 Default Communication Parameters Baud rate of the RS/KNX convertor: 00, Parity: None, Word length (bits):, Stop bits: 1, this means that the device does not need to configure via ETS and can be used directly after leave factory. Command packet: typedef struct { BYTE Head1; // Always is 0x=STX1. BYTE Head2; // Always is 0xAA=STX2. WORD MachineID; // terminal s ID. WORD Reserved; // Reserved WORD Command; // Command ID DWORD Length; // Input Parameter 1 WORD InParam; // Input Parameter 2 WORD ChkSum; // Checksum } CMDPKT; // Size of command packet is 1 Bytes. Command acknowledge packet: typedef struct { BYTE Head1; // Always is 0xA=STX1. BYTE Head2; // Always is 0xA=STX2. WORD MachineID; // terminal s ID. WORD Response; // 0x00-NAK, 0x01-ACK. WORD ChkSum; // Checksum } ACKPKT; // Size of command acknowledge packet is Bytes. Command execution result packet: 9

typedef struct { BYTE Head1; // Always is 0xAA=STX1. BYTE Head2; // Always is 0x=STX2. WORD MachineID; // terminal s ID. WORD Reserved; // Reserved WORD Ret; // 1: OK 0: Error DWORD OutParam; // Output Parameter WORD ChkSum; // Checksum } RESULTPKT; // Size of command execution result packet is 1 Bytes. Instruction: 1 If the Machine ID in the packet received from RS system is the same in the RS/KNX converter and the packet is checked correctly, the RS/KNX converter will send ACK to the RS interface. The received command should be used the format of CMDPKT while the ACK should be used the format of ACKPKT. 2 After the command was executed, the RS/KNX convertor will report the execute result using the format of structure RESULTPKT. When write a Group Address which has more than 2 bytes Object Value, the Object Value should be send to the RS/KNX Convertor via Setting Data Command after the command is executed completely. Having received a whole Setting Data Command, the RS/KNX convertor will convert the Command to EIB/KNX bus, and after transmit successfully, it will report the execute result using the format of structure RESULTPKT to the RS interface. The format of the command could be also seen in the table located in chapter.. When read a Group Address, ensure that the Communication Object has the read/write/transmit enable. All the responds will be sent to RS interface using Data Respond Command, having a header of 0Xa-0xA..2 Command ID enum // The command ID for the connection. { CMD_SET_MONITOR_MODE = 0x101, CMD_SET_FILTER_MODE, }; CMD_SET_RANDOM_MODE, CMD_GROUP_ADDR_READ, CMD_GROUP_ADDR_WRITE //The his command haven t defined temporary. Read Group Address 10

Protocol: COMMAND(PC----Convertor) 1 0x Always is 0x 2 0xAA Always is 0xAA 0 Reserved CMD_GROUP_ADDR_READ 9 nconfig (NOTE 1) (We used the lowest 2 bits as the priority, usually it equals 0x0) (NOTE 2) 10 nlength 11 12 1 1 1 1 (NOTE ) DEST ADDR Command ID Input Parameter 1 0 Input Parameter 2 (NOTE ) ACK(Convertor ---- PC) 1 0xA Always is 0xA 2 0xA Always is 0xA 11

0x00-NAK 0x01-ACK. Response (NOTE ) EXERESULT (Controller ---- PC) 1 0xAA Always is 0xAA 2 0x Always is 0x 9 10 11 12 1 1 0 Reserved 1: OK 0: Error Result 0 Output Parameter (NOTE ) Data respond(convertor----pc) 1 0xA Always is 0xA 2 0xA Always is 0xA (NOTE ) SRC ADDR Source (NOTE ) DEST ADDR Destination Address Address 9 nlength Length of the Group Address 10 // Group communication Multicast 11 APCI_VALUE_READ 0x0000 APCI_VALUE_RESP 0x000 APCI_VALUE_WRITE 0x000 APCI of EIB telegram 1~1 Bytes of Value 19 20 (NOTE ). Write Group Address 12

Protocol: COMMAND(External----Convertor) 1 0x Always is 0x 2 0xAA Always is 0xAA 0 Reserved CMD_GROUP_ADDR_WRITE 9 nconfig (NOTE 1) (We used the lowest 2 bits as the priority, usually it equals 0x0) (NOTE 2) 10 nlength 11 12 (NOTE ) DEST ADDR 1 (nlength <= 2) : Group Value 1 1 1 Else : 0 Command ID Input Parameter 1 Input Parameter 2 (NOTE ) ACK(Convertor ---- External) 1 0xA Always is 0xA 2 0xA Always is 0xA 0x00-NAK 0x01-ACK. Response 1

(NOTE ) EXERESULT (Convertor ---- External) 1 0xAA Always is 0xAA 2 0x Always is 0x 9 10 11 12 1 1 0 Reserved 1: OK 0: Error Result 0 Output Parameter (NOTE ) Setting Data(External ----Convertor) 1 0xA Always is 0xA 2 0xA Always is 0xA ~ 1 ~1 Bytes of Value(nLength >= ) : Group Value 1 19 20 (NOTE ). Change the Monitor Mode 1

If Setting the CMD_SET_FILTER_MODE Mode,then the filter table should be send in seconds after the command. Protocol: COMMAND(External ----Convertor) 1 0x Always is 0x 2 0xAA Always is 0xAA 0 Reserved CMD_SET_MONITOR_MODE 9 10 11 12 1 1 1 1 CMD_SET_FILTER_MODE CMD_SET_MONITOR_MODE:0 CMD_SET_FILTER_MODE:(1~2),the length of filter table. Command ID Input Parameter 1 0 Input Parameter 2 (NOTE ) ACK(Convertor ---- External) 1 0xA Always is 0xA 2 0xA Always is 0xA 0x00-NAK Response 1

0x01-ACK. (NOTE ) EXERESULT(Convertor ---- External) 1 0xAA Always is 0xAA 2 0x Always is 0x 9 10 11 12 1 1 0 Reserved 1: OK 0: Error Result 0 Output Parameter (NOTE ) Setting Filter Table(External ----Convertor) 1 0xA Always is 0xA 2 0xA Always is 0xA 19 20 NOTE: High Byte of the Group Address Low Byte of the Group Address High Byte of the Group Address Low Byte of the Group Address High Byte Low Byte High Byte Low Byte Max Data:2*2 Bytes(The Lower Byte of the Group Address follows the higher Byte, and they should be marked in ascending order, e.g., Group Address 00-0 should places before 00-0, also 00-0 should places before 01-0). (NOTE ) NOTE 1: According to KNX Standard, it has types, indicates Transmission Priority: 11 = low operational priority 10 = high operational priority 01 = alarm priority 1

00 = system priority Usually we use LOW priority, so the nconfig will be 0x0, others are not recommended. NOTE 2: The length of the Communication Object which was linked to the DEST ADDR according to the KNX standard, e.g. when the CO lest than 1 byte it equals to 1, otherwise it equals to length + 1.That is to say, when we have a 1 bit CO, then the nlength will be equal to 0x01, while a 1 byte CO will have the nlength of 0x02. NOTE : Destination Group Address which you want to read or write. NOTE : The sum of all the data bytes before. NOTE : The Physical Address of the device from whom sends out the telegram. 1