background image

Foreword

2.2

Safety instructions

Safety regulations

Please note the following safety instructions and explanations!
Product-specific safety instructions can be found on following pages or in the areas mounting, wiring,
commissioning etc.

Exclusion of liability

All the components are supplied in particular hardware and software configurations appropriate for the
application. Modifications to hardware or software configurations other than those described in the
documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG.

Personnel qualification

This description is only intended for trained specialists in control, automation and drive engineering who are
familiar with the applicable national standards.

Description of symbols

In this documentation the following symbols are used with an accompanying safety instruction or note. The
safety instructions must be read carefully and followed without fail!

DANGER

Serious risk of injury!

Failure to follow the safety instructions associated with this symbol directly endangers the
life and health of persons.

WARNING

Risk of injury!

Failure to follow the safety instructions associated with this symbol endangers the life and
health of persons.

CAUTION

Personal injuries!

Failure to follow the safety instructions associated with this symbol can lead to injuries to
persons.

Attention

Damage to the environment or devices

Failure to follow the instructions associated with this symbol can lead to damage to the en-
vironment or equipment.

Note

Tip or pointer

This symbol indicates information that contributes to better understanding.

KL5151/KS5151, KL5152/KS5152

6

Version: 2.0.0

Содержание KL5151-0000

Страница 1: ...Documentation KL5151 KS5151 KL5152 KS5152 Incremental Encoder Terminals 2 0 0 2016 03 15 Version Date...

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

Страница 3: ...KL5151 0000 8 single channel incremental encoder terminal KL5151 0021 9 single channel incremental encoder terminal with comparator output KL5151 0050 10 two channel incremental encoder terminal KL51...

Страница 4: ...L5151 0050 Connection 20 4 6 ATEX Special conditions 21 4 7 ATEX Documentation 22 5 Configuration software KS2000 23 5 1 KS2000 Introduction 23 5 2 Parameterization with KS2000 25 5 3 Settings 26 6 Ac...

Страница 5: ...s in this documentation Trademarks Beckhoff TwinCAT EtherCAT Safety over EtherCAT TwinSAFE XFC and XTS are registered trademarks of and licensed by Beckhoff Automation GmbH Other designations used in...

Страница 6: ...l standards Description of symbols In this documentation the following symbols are used with an accompanying safety instruction or note The safety instructions must be read carefully and followed with...

Страница 7: ...KL5151 by means of KS2000 configuration software added 0 1 Preliminary version KL5151 0000 only Firmware and hardware versions Documentation Version KL5151 0000 KL5151 0021 KL5152 0000 KL5151 0050 Fi...

Страница 8: ...it latch for the zero pulse can be read set or enabled The KL5151 0000 Bus Terminal can also be used as a 32 bit up down counter Table 1 LED indicators LED Function Ch A Lights up when a signal is pre...

Страница 9: ...nput Operation Referencing Enter the reference value for referencing via the output double word DataOUT1 33 and set bits CB1 0 33 EnLatchC and CB1 2 33 SetCnt in the control byte The reference value i...

Страница 10: ...coders The terminal can optionally be used as a single channel or two channel device Table 3 LED indicators Signal LED Function Encoder Ch A1 Lights up when a signal is present at input A1 1 Ch B1 Lig...

Страница 11: ...image 2 data words 1 control byte 2 data words 2 control bytes 2 filler bytes 4 data words 2 control bytes Power supply for electronic via the K bus Current consumption from K bus typically 50 mA Wei...

Страница 12: ...s 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 mounting rail first and then pushed togethe...

Страница 13: ...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 thus represent a supply rail within t...

Страница 14: ...minals WARNING Risk of electric shock The PE power contact must not be used for other potentials 4 2 Connection system WARNING Risk of electric shock and damage of device Bring the bus terminal system...

Страница 15: ...amiliar 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 strain relief of the cable simplifie...

Страница 16: ...KSxxxx Fig 10 Mounting a cable on a terminal connection Up to eight connections enable the connection of solid or finely stranded cables to the Bus Terminals The terminals are implemented in spring f...

Страница 17: ...screwdriver See the following table for the suitable wire size width Terminal housing High Density Housing Wire size width conductors with a wire end sleeve 0 14 0 75 mm2 Wire size width single core...

Страница 18: ...bit 0 EnLatchC 29 is set in the control byte a rising edge at this input causes the current counter value to be saved in the latch register as a reference mark Counter enable gate input for the count...

Страница 19: ...nt 7 C 4 Input C or zero input in case bit 0 EnLatchC 33 is set in the control byte a rising edge at this input causes the current counter value to be saved in the latch register as a reference mark B...

Страница 20: ...1 0050 Pin assignment Terminal point No Connection for A1 1 Input A for encoder 1 24 V 2 Power contact 24 V internally connected to terminal point 6 0 V 3 Power contact 0 V internally connected to ter...

Страница 21: ...ly explosive areas d Measures must be taken to protect against the rated operating voltage being exceeded by more than 40 due to short term interference voltages e The individual terminals may only be...

Страница 22: ...0ATEX0075 X Ta 0 55 C 4 7 ATEX Documentation Note Notes about operation of the Beckhoff terminal systems in potentially explo sive areas ATEX Pay also attention to the continuative documentation Notes...

Страница 23: ...e 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 purposes you are provided with the...

Страница 24: ...vel 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 Fieldbus Box modules Thus the couple...

Страница 25: ...hown this is a BK9000 Ethernet coupler a KL1xx2 digital input terminal a KL5151 0000 incremental encoder terminal a KL9010 bus end terminal Fig 15 Display of the fieldbus station in KS2000 The left ha...

Страница 26: ...via KS2000 Operation mode Counter mode active R32 15 46 You can activate counter mode here default inactive When counter mode is activated the KL5151 0000 operates as a 32 bit up down counter Display...

Страница 27: ...ion software KS2000 A negative level at the gate locks the counter R32 4 46 You can lock the counter by applying a negative level to the gate input default inactive KL5151 KS5151 KL5152 KS5152 27 Vers...

Страница 28: ...T Value specified for the 32 bit counter Please refer to the Mapping 31 page for the allocation of the bytes and words to the addresses of the controller The meaning of the control and status bytes is...

Страница 29: ...priority over EnLatchFall The subsequent pulses do not have any effect on the latch register CB1 2 SetCnt A rising edge at SetCnt will set the counter to the 32 bit value that is written by the contro...

Страница 30: ...counter value to be stored in the latch register as a reference mark Subsequent pulses do not have any effect on the latch register To reactivate the gate latch input 18 you must set bit 0 EnLatchC in...

Страница 31: ...dresses is called mapping The type of mapping depends on the fieldbus system used the terminal type the parameterization of the Bus Coupler such as Intel or Motorola format word alignment switched on...

Страница 32: ...DataIN D0 DataIN D1 DataOUT D0 DataOUT D1 Legend Complete evaluation In addition to the process data the control and status bytes are also mapped into the address space Motorola format Motorola or In...

Страница 33: ...etting the comparator output The meaning of the control and status bytes is explained on the Control and Status bytes 33 page Note No compact process image Operation of the KL5151 0021 with compact pr...

Страница 34: ...it CB1 3 EnLatchRise and bit CB1 4 EnLatchFall must not be set otherwise you cannot know which event has caused a counter value to be stored in the latch Status byte 1 in process data mode The status...

Страница 35: ...Status byte 1 in register communication The status byte 1 SB1 is located in the input image and is transmitted from terminal to the controller Bit SB1 7 SB1 6 SB1 5 SB1 4 SB1 3 SB1 2 SB1 1 SB1 0 Name...

Страница 36: ...annel 2 DataIN1 The current value of the 32 bit counter 1 or the one stored in the latch the selection is made with bit CB1 1 29 of the control byte 1 DataIN2 The current value of the 32 bit counter 2...

Страница 37: ...CB1PD 29 Byte reserved Byte CB2PD 31 Byte reserved Byte SB2RC 31 Byte CB2RC 31 Double word DataIN2 Double word DataOUT Legend SB1RC Status byte for register communication with channel 1 SB2RC Status b...

Страница 38: ...ave any effect on the latch register CB1 2 SetCnt A rising edge at SetCnt will set the counter to the 32 bit value that is written by the controller into the process output data CB1 1 ReadLatch 0bin T...

Страница 39: ...latch input 18 you must set bit 0 EnLatchC in the control byte to 0bin wait until this change has been acknowledged by resetting bit 0 ValLatchC in the status byte set bit 0 EnLatchC in the control b...

Страница 40: ...full evaluation Intel or Motorola format word alignment switched on or off the parameterization of the KL5152 0000 KL5151 0050 to compact or complete evaluation bit R32 6 46 of the feature register T...

Страница 41: ...omplete mapping and bit R32 6 46 of the feature register of the KL5151 0050 must be 0bin In this configuration you can use the control and status bytes alternatively for register communication or proc...

Страница 42: ...Bus Coupler that is set by default to complete process image e g Lightbus but bit R32 6 46 of the feature register is 1bin default setting the following process image results In this configuration you...

Страница 43: ...In order for the channel address range to commence at a word boundary empty bytes are inserted into the process image as appropriate SB n Status byte for channel n appears in the input process image C...

Страница 44: ...0228 552dec KL5152 0000 R12 45 Minimum data length KL5151 0000 0x2828 10280dec R ROM KL5151 0023 0x5050 20560dec KL5151 0050 0xA8A8 43176dec KL5152 0000 R13 45 Data type 0x0006 6dec R ROM R14 reserved...

Страница 45: ...SCII code 0x33 represents the digit 3 ASCII code 0x41 represents the letter A So the firmware version is 3A in this example R10 Shift register length 0x0228 R11 Number of signal channels KL5151 0000 0...

Страница 46: ...1235 in the code word register these values are only stored in the RAM registers but not in the EPROM registers and are therefore lost if the terminal is restarted If you write values into the user re...

Страница 47: ...e KL5151 0000 with compact process image is not possible since the control byte 29 is required for the control of the counter and the latch R32 5 enPosGateLock 0bin A positive level at the gate input...

Страница 48: ...tatus byte The 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 r...

Страница 49: ...data word byte 1 and byte 2 III Write to Register 32 change contents of the feature register Byte 0 Control byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0xE0 1110 0000bin 0x00 0x02 Explanati...

Страница 50: ...the feature register in the input data word byte 1 and byte 2 V Write Register 31 reset code word Byte 0 Control byte Byte 1 DataOUT1 high byte Byte 2 DataOUT1 low byte 0xDF 1101 1111bin 0x00 0x00 Exp...

Страница 51: ...rters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support offers you comprehensive technica...

Страница 52: ...dard wiring 15 Fig 8 Pluggable wiring 15 Fig 9 High Density Terminals 15 Fig 10 Mounting a cable on a terminal connection 16 Fig 11 KL5151 0000 18 Fig 12 KL5151 0021 19 Fig 13 KL5151 0050 20 Fig 14 KS...

Отзывы: