Beckhoff KL6811 Скачать руководство пользователя страница 43

Access from the user program

KL6811

43

Version: 2.0.0

5

Access from the user program

5.1

Process image

In the process image, the KL6811 is represented with 3 bytes of input and output data. These are organized
as follows:

Byte offset (without word
alignment*)

Byte offset (with word
alignment*)

Format

Input data

Output data

0

0

Byte

Status byte (SB)

Control byte (CB)

1

2

Word

DataIN

DataOUT

*) Word alignment: The Bus Coupler places values on even byte addresses

Process data words in DALI mode

Process output word (DataOUT)

Bit

15

14

13

12

11

10 9

8

7

6

5

4

3

2

1

0

Name

Y

Address bits (A)

S

Command (X)

Legend

Bit

Name

Description

15

Y

0

bin

Address bits 9 to 14 contain a DALI short address.

1

bin

Address bits 9 to 14 contain a DALI group address or a DALI collective
call.

14 to 9

Address bits (A) 0

bin

DALI short address, DALI group address or DALI collective call

8

Selection bit (S) 0

bin

Bits 0 to 7 contain a lamp power value.

1

bin

Bits 0 to 7 contain a DALI command.

7 to 0

Command (X)

Lamp power value or DALI command*

*) A list of DALI commands can be found in Chapter 

DALI commands [

}

 53]

.

Commands received by the DALI slaves

Please note that DALI slaves can only receive commands once their load side is supplied with
power (230 V), since the PIC (single-chip micro-controller) of a DALI slave is typically supplied via
the load voltage.

Process input word (DataIN)

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Name

reserved

OK

Parameter

Legend

Bit

Name

Description

15 to 9

-

reserved

8

OK

0

bin

Bits 0 to 7 do not contain valid data

1

bin

Bits 0 to 7 contain the valid response of a DALI slave

7 to 0

Parameter

Response of a DALI slave

Содержание KL6811

Страница 1: ...Documentation EN KL6811 DALI DSI Master Terminal with integrated Power Supply 2020 11 02 Version 2 0 0...

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

Страница 3: ...ion protection 20 4 Configuration software KS2000 21 4 1 KS2000 Introduction 21 4 2 KL6811 configuration 23 4 3 Register 25 4 4 Settings 25 4 4 1 Setting up the DALI DSI devices 26 4 4 2 Addressing th...

Страница 4: ...Table of contents KL6811 4 Version 2 0 0...

Страница 5: ...tion 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 G10 Ether...

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

Страница 7: ...scription corrected 1 1 Parameterization description for KL6811 and DALI devices with KS2000 software added Description of DALI commands expanded Examples for register communication added 1 0 Descript...

Страница 8: ...0 WW week of production calendar week YY year of production FF firmware version HH hardware version Example with ser no 35 04 1B 01 35 week of production 35 04 year of production 2004 1B firmware vers...

Страница 9: ...nfiguration software facilitates parameterization via a PC The PC is directly coupled with the Bus Coupler via an RS232 interface or via the fieldbus The KL6811 features an integrated power supply uni...

Страница 10: ...to EN 60715 Power loss 0 5 W power dissipation caused by the connected DALI slaves Permissible ambient temperature range during operation 0 C 55 C Permissible ambient temperature range during storage...

Страница 11: ...om a PC The parameterization takes place via the fieldbus or via a RS232 interface which are connected to the configuration interface of the higher level Bus Coupler DSI The KL6811 can also be operate...

Страница 12: ...e 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 the mount...

Страница 13: ...ents 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 electronics and...

Страница 14: ...least 10 mm from the group of terminals WARNING Risk of electric shock The PE power contact must not be used for other potentials 3 2 Connection system WARNING Risk of electric shock and damage of dev...

Страница 15: ...risk of wires being mixed up The familiar dimensions of the terminal only had to be changed slightly The new connector adds about 3 mm The maximum height of the terminal remains unchanged A tab for s...

Страница 16: ...inals are implemented in spring force technology Connect the cables as follows 1 Open a spring loaded terminal by slightly pushing with a screwdriver or a rod into the square opening above the termina...

Страница 17: ...eve 0 14 0 75 mm2 Wire size width single core wires 0 08 1 5 mm2 Wire size width fine wire conductors 0 25 1 5 mm2 Wire size width ultrasonically bonded conductors only 1 5 mm2 see notice 16 Wire stri...

Страница 18: ...control cable internally connected to terminal point no 8 24 V 6 Power contact 24 V 0 V 7 Power contact 0 V DALI 8 DALI DSI control cable internally connected to terminal point no 5 NOTE No mains vol...

Страница 19: ...used If the temperatures during rated operation are higher than 70 C at the feed in points of cables lines or pipes or higher than 80 C at the wire branching points then cables must be selected whose...

Страница 20: ...ts of certificate no KEMA 10ATEX0075 X Issue 9 or II 3G KEMA 10ATEX0075 X Ex nC IIC T4 Gc Ta 0 55 C II 3D KEMA 10ATEX0075 X Ex tc IIC T135 C Dc Ta 0 55 C only for fieldbus components of certificate no...

Страница 21: ...s 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 documentation...

Страница 22: ...es directly online The same high level dialogs and register access are available for this purpose as in the configuration phase The KS2000 offers access to the process images of the bus couplers and F...

Страница 23: ...he configuration software will now load the information for the connected fieldbus station In the example shown this is a BK9000 Bus Coupler for Ethernet a KL1xx2 digital input terminal a KL6811 DALI...

Страница 24: ...parameters you wish to change item 2 in the example Fig 13 KS2000 tree branches for channel 1 of the KL6811 For the KL6811 the branches Register Settings and ProcData are displayed Register 25 enables...

Страница 25: ...registers of the KL6811 directly under Register The meaning of the register is explained in the register overview 46 Fig 14 Register view in KS2000 4 4 Settings Under Settings you will find the dialog...

Страница 26: ...cify a number of options for the KL6811 39 on this tab 4 4 1 Setting up the DALI DSI devices Click the Scan devices button so that the KL6811 reads in the connected DALI DSI devices In this example 6...

Страница 27: ...d click the Send DALI command button The KL6811 sends this value as a direct DALI command 53 for the lamp power to all the selected DALI devices Further commands The command number is shown in decimal...

Страница 28: ...e light intensity to all the connected DSI devices set the intensity slider to the desired value or enter a value into the Data field and click the Send DSI command button The KL6811 sends this value...

Страница 29: ...ted fade rate 32 sends DALI command 2 53 dec Up Brightens the DALI device over a period of 200 ms using the selected fade rate 32 sends DALI command 1 53 dec Step Down Lowers the current lamp power va...

Страница 30: ...is switched on Go to Scene Select a scene Click the Go to scene button Sets the DALI device s lamp power value to the level parameterized for the selected scene sends a DALI command between 16 and 31...

Страница 31: ...ther a fault in the power supply has occurred at the DALI device DALI command 155 55 dec 4 4 1 2 Variables The intelligence in the DALI system is not 100 centralized This means that a large number of...

Страница 32: ...tly but it is calculated according to the following formula T absolute fade rate n value that is stored in the Fade rate variable The following values result n absolute fade rate 0 Not permitted 1 357...

Страница 33: ...status byte The bits in the status byte have the following significance Bit Name Meaning 7 Power supply fault 0bin No 6 Missing short address 0bin No 5 Reset status 0bin No 4 Fading done 0bin Fading...

Страница 34: ...he device has been parameterized it will execute the command Fig 21 KS2000 parameterization of the DALI DSI devices groups 4 4 1 4 Scenes The light intensities for 16 different scenes can be stored at...

Страница 35: ...ftware KS2000 KL6811 35 Version 2 0 0 Fig 22 KS2000 parameterization of the DALI DSI devices scenes 4 4 2 Addressing the DALI devices Physical selection Fig 23 KS2000 addressing of the DALI device phy...

Страница 36: ...ind when re assign in the addresses 2 The following instruction now appears in the status line Wait for a device to be selected Remove the lamp 3 After the lamp has been removed the instruction that a...

Страница 37: ...n however be modified retrospectively via the Modify addresses tab Fig 26 KS2000 addressing the DALI devices displaying the randomly assigned addresses Single assignment With this method all DALI slav...

Страница 38: ...ddress selection box you can select a new address for the selected device Once you have selected all new addresses click on Start to allocate the addresses to the devices Fig 28 KS2000 addressing of t...

Страница 39: ...e KL6811 operates as a DSI 11 master Power supply unit R32 3 47 You can switch off the DALI DSI power supply unit here Count DALI devices R32 4 47 Here you can disable the counting of the DALI devices...

Страница 40: ...s not belong to a group In the example shown DALI slave 1 is assigned to groups 7 9 and 11 DALI slave 8 is assigned to groups 2 8 and 10 DALI slave 18 is assigned to groups 2 7 8 9 10 and 11 Visual se...

Страница 41: ...configuration stored on the hard disk of the PC xml Save Saves the configuration in a file xml on the hard disk of the PC Download Saves the configuration in the connected DALI slaves Upload Loads the...

Страница 42: ...5 and the light value 250 for scene 10 DALI slave 8 the light value 200 is assigned for scene 4 the light value 150 for scene 6 and the light value 20 for scene 12 DALI slave 18 the light value 254 i...

Страница 43: ...contain a DALI group address or a DALI collective call 14 to 9 Address bits A 0bin DALI short address DALI group address or DALI collective call 8 Selection bit S 0bin Bits 0 to 7 contain a lamp powe...

Страница 44: ...gle Legend Bit Name Description CB 7 RegAccess 0bin Register communication off process data mode CB 6 R W 0bin Read access CB 5 to CB 2 reserved CB 1 RepeatAS C 0bin The KL6811 does not repeat the app...

Страница 45: ...lision 1bin DALI collision detected on the forward channel during the transfer of a DALI telegram a collision with the send data of another DALI master was detected The bit SB 1 is reset with the next...

Страница 46: ...lue R W Memory R0 reserved R1 46 DALI Slave Counter R RAM R2 to R5 reserved R6 47 Diagnostic register R RAM R7 47 Command register 0x0000 0dec R W RAM R8 47 Terminal description 0x1A9B 6811dec R ROM R...

Страница 47: ...nt register R16 Hardware version number Register R16 contains the hardware revision level of the terminal in hexadecimal coding e g 0x0000 0dec User register The user registers of the terminal can be...

Страница 48: ...e examples corresponds to the display without word alignment 5 5 1 Example 1 reading the firmware version from Register 9 Output Data Byte 0 Control byte Byte 1 DataOUT1 high byte Byte 2 DataOUT1 low...

Страница 49: ...de word 0x1235 for deactivating write protection Input Data answer of the Bus Terminal Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0x9F 1001 1111bin 0xXX 0xXX Explanation The t...

Страница 50: ...tion regarding the meaning of the individual bits before changing the values Input data response from the Bus Terminal Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0xA0 1010 000...

Страница 51: ...set means writing to the register Bits 0 5 to 0 0 specify the register number 31 with 01 1111bin The output data word byte 1 and byte 2 contains 0x0000 for reactivating write protection Input Data ans...

Страница 52: ...6 Programming 6 1 TwinCAT libraries See software documentation in the Beckhoff Information System TwinCAT 2 Web TwinCAT 2PLC Lib DALI Local TwinCAT 2 PLC Lib DALI TwinCAT 3 Web TwinCAT 3 PLC Lib Tc2 D...

Страница 53: ...lamp power These commands take the form YAAA AAA0 xxxx xxxx xxxx xxxx the value representing the lamp power is transmitted in these 8 bits It is calculated according to this formula 253 values from 1d...

Страница 54: ...nimum value it is not changed and remains switched on 05hex 5dec Set the current lamp power value to the parameterized maximum value If the lamp is switched off it is switched on 06hex 6dec Set the cu...

Страница 55: ...the DALI slave is missing a short address yes no 97hex 151dec Return the version number XX XX 98hex 152dec Return the content XX of the DTR XX 99hex 153dec Return the devices type XX XX 9Ahex 154dec R...

Страница 56: ...l support and service on Beckhoff products The addresses of Beckhoff s branch offices and representatives round the world can be found on her internet pages http www beckhoff com You will also find fu...

Страница 57: ...Appendix KL6811 57 Version 2 0 0 on site service repair service spare parts service hotline service Hotline 49 5246 963 460 Fax 49 5246 963 479 e mail service beckhoff com...

Страница 58: ...devices visual selection feedback 28 Fig 18 KS2000 parameterization of the DALI DSI devices sending of DSI commands 28 Fig 19 KS2000 parameterization of the DALI DSI devices lighting control queries 2...

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

Страница 60: ...Beckhoff Automation GmbH Co KG H lshorstweg 20 33415 Verl Germany Phone 49 5246 9630 info beckhoff com www beckhoff com More Information beckhoff de KL6811...

Отзывы: