background image

Access from the user program

KL1501, KL1512

27

Version: 3.1.0

Fig. 18: KL1512 - Mapping in the Interbus Coupler

Other Bus Couplers and further information

Further 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]

 contains an overview of possible mapping

configurations, depending on the configurable parameters.

Parameterization with the KS2000 software

The KS2000 configuration software can be used for parameterizations via the serial interface of the
Bus Coupler, independent of the fieldbus system.

Summary of Contents for KL1501

Page 1: ...Documentation KL1501 KL1512 Up Down Counter Terminal 24 V DC 3 1 0 2019 01 21 Version Date...

Page 2: ......

Page 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...

Page 4: ...Table of contents KL1501 KL1512 4 Version 3 1 0...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: