background image

Product overview

KL6021-0023 and KL6023

13

Version: 2.0.0

The leading synchronization byte and the closing checksum are part of the EnOcean standard, and the
KL6021-0023 filters them out of the telegram, so that the displayed data starts with the 

telegram header

[

}

 13]

 and ends with the 

status field [

}

 13]

.

Longer telegrams

If the telegram from an EnOcean transmitter consists of more than 4 data bytes, it cannot be transferred in a
single K-bus cycle. In that case, the KL6021-0023 sets bit 

SB.1 [

}

 26]

 in the status byte in the next read

cycle, placing the next data block from the telegram into the process data.

Faulty telegrams

The KL6021-0023 calculates the checksum for every EnOcean telegram that is received. If this does not
agree with the checksum that has been transmitted the terminal sets bit 

SB.6 [

}

 26]

 in the status byte. A

telegram is not then placed into the data memory, and is lost.

Data memory overflow

If the telegrams received by the KL6021-0023 are not read by the higher-level controller, the terminal's
receive memory will overflow, and it will set bit 

SB.3 [

}

 26]

 in the status byte. It is also possible for a

telegram only to be partially written into the memory. This will automatically cause an error in the checksum,
and it will be displayed and handled accordingly.

Protocol

The following table illustrates the general structure of an EnOcean telegram:

Bit 7

Bit 0

Description

Sync_Byte1 (0xA5)

Synchronization byte

Sync_Byte0 (0x5A)

H_Seq

Length

Header
identification

H_Seq (3 bit)

• 0 unknown transmitter ID received

• 1 known transmitter ID received

• 2 new transmitter learnt

Length (5 bit)

• Number of byte following the header

(here: 11)

ORG

Telegram type

Data Byte 3

Data byte

Data Byte 2

Data Byte 1

Data Byte 0

ID Byte 3

32 bit transmitter ID

ID Byte 2

ID Byte 1

ID Byte 0

Status

Status field

Check Sum

Checksum (LSB resulting from the addition of all bytes, not
including the synchronization byte or the checksum itself)

Содержание KL6021-0023

Страница 1: ...Documentation KL6021 0023 and KL6023 Serial interface terminal and wireless adaptor for EnOcean radio technology 2 0 0 2019 07 16 Version Date...

Страница 2: ......

Страница 3: ...ion on mounting rails 14 3 2 Connection of the wireless adapter 17 4 KS2000 Configuration Software 18 4 1 KS2000 Introduction 18 4 2 Parameterization with KS2000 19 4 3 Register 21 4 4 Settings 21 4 5...

Страница 4: ...Table of contents KL6021 0023 and KL6023 4 Version 2 0 0...

Страница 5: ...modification of products that have already been supplied may be made on the basis of the data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT EtherCAT G EtherCAT G...

Страница 6: ...d for trained specialists in control automation and drive engineering who are familiar with the applicable national standards Description of instructions In this documentation the following instructio...

Страница 7: ...1 First preliminary version Firmware and hardware versions Documentation Version KL6021 0023 KL6023 Firmware Hardware Firmware Hardware 2 0 5D 03 1A 02 1 1 5D 01 1A 01 1 0 5A 00 1A 00 0 1 5A 00 The fi...

Страница 8: ...ration off A watchdog timer overflow has occurred The RUN LED goes out if no process data is transmitted to the terminal from the Bus Coupler for 100 ms TxD green State of the transmit signal line RxD...

Страница 9: ...a the K bus Current consumption via K bus typically 65 mA Weight approx 60 g Dimensions W x H x D approx 15 mm x 100 mm x 70 mm Mounting on 35 mm mounting rail according to EN 60715 Permissible ambien...

Страница 10: ...6023 Wireless Adapter receives signals from battery less sensors with EnOcean technology These signals are converted by the Wireless Adapter to a RS485 signal and directly processed further by the KL6...

Страница 11: ...1 0023 Bus Terminal with electrical isolation Length of connecting cable to the KL6021 0023 max 300 m Configuration not required Frequency band 868 35 MHz Transfer range In open spaces approx 300 m In...

Страница 12: ...32 EnOcean receiver module can be operated in the following countries without registration and fees Permission for use in other countries must be clarified explicitly European union Switzerland Readin...

Страница 13: ...e data memory and is lost Data memory overflow If the telegrams received by the KL6021 0023 are not read by the higher level controller the terminal s receive memory will overflow and it will set bit...

Страница 14: ...de of the fieldbus coupler Join the compo nents with tongue and groove and push the terminals against the mounting rail until the lock clicks onto the mounting rail If the terminals are clipped onto t...

Страница 15: ...e components The six spring contacts of the K Bus E Bus deal with the transfer of the data and the supply of the Bus Terminal electronics The power contacts deal with the supply for the field electron...

Страница 16: ...ation testing or to damage on the terminal e g disruptive discharge to the PE line during insulation testing of a consumer with a nominal voltage of 230 V For insulation testing disconnect the PE supp...

Страница 17: ...damage of device Bring the bus terminal system into a safe powered down state before starting installation disassembly or wiring of the bus terminals Fig 8 Connection of the wireless adapter KL6021 00...

Страница 18: ...Fieldbus Box Modules can be prepared before the commissioning phase Later on this configuration can be transferred to the terminal station in the commissioning phase by means of a download For documen...

Страница 19: ...nd output images can be observed by monitoring Process values can be specified in the output image for commissioning of the output modules All possibilities in the online mode can be used in parallel...

Страница 20: ...n in a tree structure The right hand KS2000 window contains a graphic display of the fieldbus station terminals In the tree structure of the left hand window click on the plus sign next to the termina...

Страница 21: ...L6021 0023 under Settings since no terminal specific settings are required ProcData 22 displays the KL6021 0023 process data 4 3 Register Under Register you can directly access the registers of the KL...

Страница 22: ...Data are displayed in a tree structure under ProcData Fig 13 ProcData The spectacles mark the data that are currently graphically displayed in the History field Fig 14 History field The current input...

Страница 23: ...values forcing can have a direct effect on your automation application Only change these output values if you are certain that the state of your system permits it and that there will be no risk to peo...

Страница 24: ...KL6021 0023 and KL6023 24 Version 2 0 0 5 Programming 5 1 TwinCAT libraries Software documentation in the Beckhoff Information System TwinCAT 2 TwinCAT 2 PLC Lib EnOcean TwinCAT 3 TwinCAT 3 PLC Lib T...

Страница 25: ...te DataIn9 DataOut9 11 Byte DataIn10 DataOut10 6 2 Control and status byte Register communication Control byte for register communication The control byte CB is located in the output image 25 and is t...

Страница 26: ...s data Status byte in process data mode The status byte SB is located in the input image 25 and is transmitted from the terminal to the controller Bit SB 7 SB 6 SB 5 SB 4 SB 3 SB 2 SB 1 SB 0 Name RegA...

Страница 27: ...g 13633dec R ROM R10 Multiplex shift register 0x0230 560dec R ROM R11 Signal channels 0x0160 352dec R ROM R12 Minimum data length 0x6060 24672dec R ROM R13 Data structure 0x0002 2dec R ROM R14 reserv...

Страница 28: ...value cannot be changed R29 Terminal type special identification The name of the special type of the terminal is contained in register R29 KL6021 0023 0x0017 0023dec R31 Code word register If you writ...

Страница 29: ...terminal returns the firmware version 0x3341 in the input data word byte 1 and byte 2 This is to be interpreted as an ASCII code ASCII code 0x33 represents the digit 3 ASCII code 0x41 represents the l...

Страница 30: ...tus byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0x9F 1001 1111bin 0x12 0x35 Explanation The terminal returns the value of the control byte as a receipt in the status byte The terminal return...

Страница 31: ...o meaning during read access Input Data answer of the bus terminal Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0xA0 1010 0000bin 0x00 0x02 Explanation The terminal returns the...

Страница 32: ...Access from the user program KL6021 0023 and KL6023 32 Version 2 0 0 The input data word byte 1 and byte 2 is of no importance after the write access Any values still displayed are invalid...

Страница 33: ...n for Beckhoff components there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 5246 963 0 Fax 49 5246 963 198 e mail info beckhoff com Beckhoff Suppo...

Страница 34: ...4 KL6021 0023 and KL6023 12 Fig 5 Attaching on mounting rail 14 Fig 6 Disassembling of terminal 15 Fig 7 Power contact on left side 16 Fig 8 Connection of the wireless adapter 17 Fig 9 KS2000 configur...

Отзывы: