background image

Access from the user program

KL1501, KL1512

32

Version: 3.1.0

R9: Software version (X.y)

The software version can be read as a string of ASCII characters.

R10: Data length

R10 contains the number of multiplexed shift registers and their length in bits.
The Bus Coupler sees this structure.

R11: Signal channels

Related to R10, this contains the number of channels that are logically present. Thus for example a
shift register that is physically present can perfectly well consist of several signal channels.

R12: Minimum data length

The particular byte contains the minimum data length for a channel that is to be transferred. If the MSB
is set, the control and status byte is not necessarily required for the terminal function and is not
transferred to the control, if the Bus Coupler is configured accordingly.

R13: Data type register

Data type register

Meaning

0x00

Terminal with no valid data type

0x01

Byte array

0x02

Structure 1 byte n bytes

0x03

Word array

0x04

Structure 1 byte n words

0x05

Double word array

0x06

Structure 1 byte n double words

0x07

Structure 1 byte 1 double word

0x08

Structure 1 byte 1 double word

0x11

Byte array with variable logical channel length

0x12

Structure 1 byte n bytes with variable logical channel length (e.g. 60xx)

0x13

Word array with variable logical channel length

0x14

Structure 1 byte n words with variable logical channel length

0x15

Double word array with variable logical channel length

0x16

Structure 1 byte n double words with variable logical channel length

R15: Alignment bits (RAM)

The alignment bits are used to place the analog terminal in the Bus Coupler on a byte boundary.

R16 to R30: Manufacturer parameter area (SEEROM)

The manufacturer parameters are specific for each type of terminal. They are programmed by the
manufacturer, but can also be modified by the controller. The manufacturer parameters are stored in a serial
EEPROM in the terminal, and are retained in the event of voltage drop-out.

These registers can only be altered after a code word has been set in R31.

R31 to R47: User parameter area (SEEROM)

The user parameters are specific for each type of terminal. They can be modified by the programmer. The
user parameters are stored in a serial EEPROM in the terminal, and are retained in the event of voltage
drop-out. The user area is write-protected by a code word.

• R31: Code word register in RAM

The code word 

0x1235

 must be entered here so that parameters in the user area can be modified.

If any other value is entered into this register, the write-protection is active. When write protection is
not active, the code word is returned when the register is read. If the write protection is active, the
register contains a zero value.

R32: Feature register (KL1501 only)

KL1501: [0x0100], KL1512: not used
This register specifies the operation modes of the terminal.

Содержание KL1501

Страница 1: ...Documentation KL1501 KL1512 Up Down Counter Terminal 24 V DC 3 1 0 2019 01 21 Version Date...

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

Страница 3: ...0 Configuration software 22 4 1 KS2000 Introduction 22 5 Access from the user program 24 5 1 KL1501 Terminal configuration 24 5 2 KL1512 Terminal configuration 26 5 3 KL1501 Mapping in the Bus Coupler...

Страница 4: ...Table of contents KL1501 KL1512 4 Version 3 1 0...

Страница 5: ...data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT EtherCAT P Safety over EtherCAT TwinSAFE XFC and XTS are registered trademarks of and licensed by Beckhoff Aut...

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

Страница 7: ...ions Documentation Version KL1501 KL1512 Firmware Hardware Firmware Hardware 3 1 0 3B 08 1A 09 3 0 0 3B 08 The K bus firmware and hardware version delivery state are indicated by the serial number pri...

Страница 8: ...etting the counter value disabling the counting function of the terminal enabling the outputs In addition an internal function can be enabled which enables automatic setting of the outputs for defined...

Страница 9: ...espond to the rising edge of the input signal This means not mark nor space of the input signal may be shorter than 500 microseconds The counters react to the rising edge of the input signal The LEDs...

Страница 10: ...s only load Electrical isolation 500 V K bus field voltage Bit width in the process image 40 I O 32 bit data 8 bit control status 2 x 16 Bit data 2 x 8 Bit control status Configuration no address sett...

Страница 11: ...mode gated counter Signal at clock1 input operation mode 2 counters Signal LED2 green Signal at clock input Signal LED3 green Signal at output 1 Signal LED4 green Signal at output 2 KL1512 LED Color M...

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

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

Страница 14: ...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 supply li...

Страница 15: ...um total extension of the terminal segment without coupler is 64 terminals 12 mm mounting with or 32 terminals 24 mm mounting with Avoid deformation twisting crushing and bending of the mounting rail...

Страница 16: ...the 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 fo...

Страница 17: ...terminals 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 te...

Страница 18: ...sleeve 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 17 Wire...

Страница 19: ...power contact Output 1 4 Output 1 Clock 5 Clock input 24 V 6 24 V internally connected to terminal point 2 and positive power contact 0 V 7 0 V internally connected to terminal point 3 and negative po...

Страница 20: ...protect against the rated operating voltage being exceeded by more than 40 due to short term interference voltages The individual terminals may only be unplugged or removed from the Bus Terminal syst...

Страница 21: ...the Beckhoff terminal systems in potentially explosive ar eas ATEX Pay also attention to the continuative documentation Notes about operation of the Beckhoff terminal systems in potentially explosive...

Страница 22: ...dbus 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 documentati...

Страница 23: ...dules 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 an...

Страница 24: ...rd alignment etc In contrast to analog input and output terminals in the KL1501 the control byte and the status byte are always mapped irrespective of the fieldbus system used BK2000 Lightbus Coupler...

Страница 25: ...er information about the mapping configuration of Bus Couplers can be found in the Appendix of the respective Bus Coupler manual under Master configuration The chapter on Mapping in the Bus Coupler 28...

Страница 26: ...in the KL1512 the control byte and the status byte are always mapped irrespective of the fieldbus system used BK2000 Lightbus Coupler When using the Lightbus coupler BK2000 the KL1512 is automatically...

Страница 27: ...be found in the Appendix of the respective Bus Coupler manual under Master configuration The chapter on Mapping in the Bus Coupler 28 contains an overview of possible mapping configurations depending...

Страница 28: ...nt no 0 D0 CB SB 1 D2 D1 2 Res D3 Default mapping for Profibus and Interbus Coupler Requirements Word offset High byte Low byte Complete evaluation any Motorola format yes Word alignment no 0 D3 CB SB...

Страница 29: ...nt no 0 D0 CB SB 1 Res Cnt CB SB 2 D1 D2 Requirements Word offset High byte Low byte Complete evaluation yes Motorola format no Word alignment yes 0 Res CB SB 1 D0 Cnt CB SB 2 Res Res 3 D2 D1 Requirem...

Страница 30: ...s Word alignment no 0 Ch1 D1 Ch1 CB SB 1 Ch2 CB SB Ch1 D0 2 Ch2 D0 Ch2 D1 3 Default mapping for Lightbus EtherCAT Ethernet coupler and Bus Terminal Controller BCxxxx BXxxxx Conditions Word offset High...

Страница 31: ...0x0000 R W SEEROM R63 reserved 0x0000 R W SEEROM 5 6 Register description The registers can be read or written via the register communication They are used for the parameterization of the terminal R0...

Страница 32: ...Structure 1 byte n words with variable logical channel length 0x15 Double word array with variable logical channel length 0x16 Structure 1 byte n double words with variable logical channel length R15...

Страница 33: ...rnal function for setting output A1 is active 0 Bit 7 1 The internal function for resetting output A1 is active 0 Bit 10 9 8 001 32 bit up down counter 001 24 bit if alternative output format is activ...

Страница 34: ...be set with this bit SET_A1 Sets the second output SET_A0 Sets the first output EN_A1 This bit enables the internal function that was activated via R32 EN_A0 This bit enables the internal function tha...

Страница 35: ...etting of the counter is edge controlled CNT_DEC If this bit is set the counter is decremented with every positive edge Status byte in process data exchange REG 0 The status byte is transferred from t...

Страница 36: ...ed an acknowledgement see example Bits 0 to 5 Address The address of the register to be addressed is entered in bits 0 to 5 of the control byte Control byte in register mode REG 1 MSB REG 1 W R A5 A4...

Страница 37: ...e 0x33 represents the digit 3 ASCII code 0x41 represents the letter A The firmware version is thus 3A 5 8 2 Example 2 Writing to an user register Code word In normal mode all user registers are read o...

Страница 38: ...e as a receipt in the status byte The terminal returns the current value of the code word register in the input data word byte 1 and byte 2 III Write to Register 32 change contents of the feature regi...

Страница 39: ...1010 0000bin 0x00 0x02 Explanation The terminal returns the value of the control byte as a receipt in the status byte The terminal returns the current value of the feature register in the input data w...

Страница 40: ...bit 5 7 In the event of a counter overflow the output is reset Example Feature register 0x02AC i e Two counters are active The counter is set via the positive edge of the CNT_SET bit The control bit C...

Страница 41: ...for programming diagnosis and configuration Any Windows programs for instance visualization programs or Office programs can access TwinCAT data via Microsoft interfaces or can execute commands A prac...

Страница 42: ...ctions PC systems can be connected to one another by TCP IP Bus Terminal controllers are connected via serial interfaces and fieldbus systems EtherCAT Lightbus PROFIBUS DP PROFINET Interbus CANopen De...

Страница 43: ...TwinCAT KL1501 KL1512 43 Version 3 1 0 TwinCAT2 TwinCAT PLC Lib I O functions Bus Terminal configuration TwinCAT3 TwinCAT 3 PLC Lib Tc2_I O functions Function blocks Bus Terminal configuration...

Страница 44: ...hoff components there Beckhoff Headquarters 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 Sup...

Страница 45: ...Fig 9 High Density Terminals 16 Fig 10 Mounting a cable on a terminal connection 17 Fig 11 KL1502 KL1512 Connection 19 Fig 12 KS2000 configuration software 22 Fig 13 KL1501 Mapping in the Lightbus Co...

Отзывы: