RS232 requirements.pdf

(148 KB) Pobierz
Physical External Interface
KNX Standard
Standardized Interfaces
Physical External Interface
file: 03_06_02 physical external interface.doc
Volume 3: System Specifications
Part 6: Standardized Interfaces
Chapter 2: Physical External Interface
Summary:
This document specifies the mechanical, electrical and logical functionality of
the standardized Physical External Interface (PEI).
Version v1.0 is the Approved Standard.
File name:
03_06_02 Physical External Interface.doc
Status:
Approved Standard
Version: v1.0
Save date: 2001.12.21
Number of pages: 28
© 1999, Copyright BCi, EHSA, EIBA
System Specifications
AS v1.0 - page 1 of 28
277008674.004.png 277008674.005.png
Physical External Interface
Standardized Interfaces
KNX Standard
WARNING
IPR
The specification of the PEI (Physical External Interface) is at the time of
publication of this version of this document subject to an IPR (Intellectual Property
Right) clearance process within the KONNEX Association.
Before starting any development that implements this optional standardized
interface, it is recommended to contact the KONNEX System Department or the
KTB Convenor to learn the usage conditions of the specifications below.
page 2 of 28 – AS v1.0
System Specifications
© 1999, Copyright BCi, EHSA, EIBA
277008674.006.png
KNX Standard
Standardized Interfaces
Physical External Interface
Contents
1 Overview ............................................................................................................................. 5
2 PEI-Type Management and Handling ............................................................................... 8
3 PEI Electrical Signal Specification..................................................................................... 9
3.1.1 PEI 0 V and Power Supply Lines...................................................................... 9
3.1.2 PEI Type Line ................................................................................................ 10
3.1.3 Parallel I/O Signal Lines.................................................................................. 11
3.1.4 Serial Protocol Signal Lines............................................................................. 11
4 PEI Logical Specification.................................................................................................. 12
4.1 Summary: PEI Type-dependent logical Properties of the PEI Connector Lines ........ 13
5 Parallel PEI I/O Communication ...................................................................................... 14
5.1 Meaning of PEI Type 0.......................................................................................... 14
5.2 Meaning of PEI Type 1.......................................................................................... 14
5.3 PEI Types 2, 4, 6, 8, 17 and 19............................................................................. 14
5.3.1 Programmable I/O Configuration with PEI Type 17......................................... 14
6 Serial PEI Communication................................................................................................ 15
6.1 Overview .............................................................................................................. 15
6.2 Synchronous PEI Type 14 Communication............................................................. 15
6.2.1 Data Format................................................................................................... 15
6.2.2 Protocol Description....................................................................................... 15
6.3 Synchronous PEI Type 12 and Asynchronous PEI Type 16 Communication ........... 16
6.3.1 Data Format................................................................................................... 16
6.3.2 Protocol Description....................................................................................... 16
6.3.3 Definition of the Synchronous Signal at PEI Types 12 and 14........................... 19
6.3.4 Definition of the Asynchronous Signal at PEI Type 16...................................... 20
6.3.5 Data Transmission through the PEI.................................................................. 20
6.4 The default Protocol at PEI Type 10 : FT1.2.......................................................... 21
6.4.1 Introduction.................................................................................................... 21
6.4.2 Physical Interface............................................................................................ 21
6.4.3 Transmission Frame Format............................................................................ 21
6.4.4 Control Field .................................................................................................. 24
6.4.5 Transmission Procedures ................................................................................ 25
6.4.6 Protocol Initialisation....................................................................................... 26
6.4.7 Examples of Data Frame Transmission ............................................................ 26
6.4.8 Parameter Descriptions................................................................................... 28
© 1999, Copyright BCi, EHSA, EIBA
System Specifications
AS v1.0 - page 3 of 28
277008674.007.png
Physical External Interface
Standardized Interfaces
KNX Standard
Document Updates
Version
Date Modifications
0.1
2000.11.13 SDB: Document creation
0.2
2000.12.01 SDB: Prepared for Release for Voting
0.3
2001.05.23 Preparation for Final Voting. Inclusion of comments from RfV.
1.0
2001.12.20 Preparation of the Approved Standard.
page 4 of 28 – AS v1.0
System Specifications
© 1999, Copyright BCi, EHSA, EIBA
277008674.001.png 277008674.002.png
KNX Standard
Standardized Interfaces
Physical External Interface
1 Overview
The Physical External Interface (PEI) is the standardized interface situated in a KNX device between
the Bus Access Unit and the Application Module. The Bus Access Unit contains all the KNX protocol
layers plus the optional internal user application.
The Application Module either contains input and output values accessible in parallel by the internal
user application via the parallel PEI I/O interface. Or there is a serial communication between
Application Module and Bus Access Unit, i.e. via the serial PEI interface. Serial PEI communication
with restricted PEI I/O communication is also possible.
For pure serial PEI communication three typical examples can be given:
The Application Module contains a serially readable and writeable 8-bit shift register.
The Application Module contains an own microcontroller that runs the external user application.
That means that the whole KNX device is a serially communication two-processor system with
non-shared memory.
The Application Module is a PC which makes asynchronous peer-to-peer communication via its
serial interface. In that case the external user application is mostly some kind of tool software, e.g.
the ETS or another PC software of the KONNEX Association.
The PEI is the KNX standard way to couple Bus Access Unit and Application Module. In both the
PEI consists of a mechanical/electrical and a software part. The software part is optional for the
Application Module. The mechanical/electrical part exists in two versions: a 10-pin hardware interface
and a 12-pin hardware interface. Resistors of certain defined values that are connected between pin 5
and 6 of both hardware interface versions at the Application Module allow encoding 21 different PEI
types.
The 21 PEI types can be grouped in 4 different categories:
1. Special purpose PEI types 0, 1 and 20:
PEI type 0:
for applications intended for use without an adapter present (i.e. no
resistor between pin 5 and 6).
PEI type 1:
By convention, PEI type 1 adapters shall not be implemented. This type is
reserved as an application-PEI type that can be set to ensure that the
application will not be started.
PEI type 20:
allows a manufacturer to download initial settings to the BCU. The
behaviour is implementation specific. Refer to the Part 9/4 “BCU's and
BIM's” for closer descriptions.
2. PEI types 3, 5, 7, 9, 11, 13, 15, 18:
reserved for future extensions of the PEI standard. No application programs or hardware
adapters shall use these types.
3. PEI types 2, 4, 6, 8, 17, and 19: for parallel PEI I/O communication. The parallel PEI I/O interface
implements a digital read/write I/O interface to the Application Module with the capability to read
analogue values too. The Application Module's binary values are to be read and written by the
internal KNX user application.
© 1999, Copyright BCi, EHSA, EIBA
System Specifications
AS v1.0 - page 5 of 28
277008674.003.png
Zgłoś jeśli naruszono regulamin