4 KS2000 Configuration software ...................... 22 KS2000 - Introduction ........................ 22 5 Access from the user program ...................... 24 KL1501 - Terminal configuration ..................... 24 KL1512 - Terminal configuration ..................... 26 KL1501 - Mapping in the Bus Coupler..................... 28 5.3.1 Standard format ....................... 28 5.3.2 Alternative format...................... 29 KL1512 - Mapping in the Bus Coupler..................... 30...
Page 4
Table of contents Version: 3.1.0 KL1501, KL1512...
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.
FF - K-bus firmware version HH - hardware version Example with ser. no.: 49 05 1B 03: 49 - week of production 49 05 - year of production 2005 1B - firmware version 1B 03 - hardware version 03 KL1501, KL1512 Version: 3.1.0...
Up/Down-Counter Terminal, 24 V 100 kHz The KL1501 input terminal counts binary pulses and transfers the current value to the higher-level controller. In addition to the 32-bit up/down counter, a 32-bit gated counter and two 16-bit counters are available. In gated counter mode, a low or high level at the gate input disables the counting function of the terminal. If two 16-bit counters are active, the up/down input is the clock input for the second counter.
The representation of the process data differs depending on the set function. ◦ 1 Byte Control/Status ◦ 16 Bit unsigned Integer The terminal mapping is described in more detail in chapter Mapping in the Bus Coupler [} 30]. KL1501, KL1512 Version: 3.1.0...
Product overview KL1501, KL1512 - Technical data Technical data KL1501 KL1512 Connection technology 1 x up/down counter, 2 x up or down counter Specification EN 61131-2, type 1, “0”: < 5 V , “1”: > 15 V , typ. 5 mA Number of counters...
Product overview KL1501, KL1512 - LED displays Fig. 3: KL1502, KL1512 - LEDs KL1501 Color Meaning Signal LED1 green Signal at up/down input (operation mode: up/down counter) Signal at gate input (operation mode: gated counter) Signal at clock1 input (operation mode: 2 counters)
To mount the mounting rails with a height of 7.5 mm under the terminals and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets). Version: 3.1.0 KL1501, KL1512...
EL91xx, EL92xx) interrupt the power contacts and thus represent the start of a new supply rail. PE power contact The power contact labeled PE can be used as a protective earth. For safety reasons this contact mates first when plugging together, and can ground short-circuit currents of up to 125 A. KL1501, KL1512 Version: 3.1.0...
Power Feed Terminals can be released and pulled at least 10 mm from the group of terminals. WARNING Risk of electric shock! The PE power contact must not be used for other potentials! Version: 3.1.0 KL1501, KL1512...
• The terminals of KSxxxx and ESxxxx series feature a pluggable connection level and enable steady wiring while replacing. • The High Density Terminals (HD Terminals) include electronics and connection level in a single enclosure and have advanced packaging density. KL1501, KL1512 Version: 3.1.0...
12 mm Bus Terminals. Massive conductors and conductors with a wire end sleeve can be inserted directly into the spring loaded terminal point without tools. Version: 3.1.0 KL1501, KL1512...
The cables are released, as usual, using the contact release with the aid of a screwdriver. See the following table for the suitable wire size width. KL1501, KL1512 Version: 3.1.0...
Page 18
Wire size width (fine-wire conductors) 0.25 ... 1.5 mm Wire size width (ultrasonically “bonded" conductors) only 1.5 mm (see notice [} 17]!) Wire stripping length 8 ... 9 mm Shielding Shielding Analog sensors and actors should always be connected with shielded, twisted paired wires. Version: 3.1.0 KL1501, KL1512...
80°C at the wire branching points, then cables must be selected whose tempera- ture data correspond to the actual measured temperature values! • Observe the permissible ambient temperature range of -25 to 60°C for the use of Beckhoff fieldbus com- ponents with extended temperature range (ET) in potentially explosive areas! •...
Notes about operation of 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 areas (ATEX) that is available in the download area of the Beckhoff homepage http:\\www.beckhoff.com! KL1501, KL1512...
Fieldbus Box modules with the aid of which settings can be modified easily. Alternatively, you have full access to all internal registers of the bus couplers and intelligent terminals. Refer to the register description for the meanings of the registers. Version: 3.1.0 KL1501, KL1512...
Page 23
• 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 with the actual fieldbus mode of the terminal station. The fieldbus protocol always has the higher priority in this case. KL1501, KL1512 Version: 3.1.0...
Bus Coupler type and the set mapping configuration (e.g. Motorola/Intel format, word 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.
Access from the user program BK4000 Interbus Coupler By default, the BK4000 Interbus Coupler maps the KL1501 with 5 bytes of input data and 5 bytes of output data. Fig. 15: KL1501 - 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.
6 bytes of output data. Fig. 17: KL1512 - Mapping in the Profibus Coupler BK4000 Interbus Coupler When using the Interbus coupler BK4000, the KL1512 is automatically mapped with 6 bytes of input data and 6 bytes of output data. Version: 3.1.0 KL1501, KL1512...
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. KL1501, KL1512 Version: 3.1.0...
The following tables shows the mapping of the KL1501 in the Bus Coupler, depending on the set parameters. 5.3.1 Standard format In the standard format, the KL1501 is mapped with 5 bytes of input data and 5 bytes of output data. Default mapping for: CAN, DeviceNet, ControlNet, Modbus, RS232 and RS485 Couplers Requirements Word offset...
Access from the user program 5.3.2 Alternative format In the alternatives format, the KL1501 is mapped with 4/6 bytes of input data and 4/6 bytes of output data. Requirements Word offset High byte Low byte Complete evaluation: no Cnt-CB/SB Motorola format: no...
Channel n, data byte 1 (byte with the highest value) "-" This byte is not used or occupied by the terminal. Res. Reserved: this byte is assigned to the process data memory, although it has no function. Version: 3.1.0 KL1501, KL1512...
The type and system parameters are hard programmed by the manufacturer, and the user can read them but cannot change them. • R8: Terminal type The terminal type in register R8 is needed to identify the terminal. KL1501, KL1512 Version: 3.1.0...
Page 32
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.
Page 33
Gate input high: Counter is locked Bit 11 Counting direction 0: Up [0] 1: Down Bit 12 Terminal bus access is polled if the bit is set [0] Bit 15, 14, 13 No function [0], do not change! KL1501, KL1512 Version: 3.1.0...
• in process data exchange [} 34] (REG = 0 5.7.1 KL1501 - Process data exchange Control byte in process data exchange (REG=0) During process data exchange, the control byte is used to trigger various actions in the KL1501 counter terminal: Name REG=0...
CLR_ACK Acknowledgement for CNT_CLR: The counter is set to the value 0x0000. Setting of the counter is edge controlled. DEC_ACK Acknowledgement for CNT_DEC: If this bit is set, the counter is decremented with every positive edge. KL1501, KL1512 Version: 3.1.0...
Examples of Register Communication The numbering of the bytes in the examples corresponds to the display without word alignment. Version: 3.1.0 KL1501, KL1512...
• The output data word (byte 1 and byte 2) contains the code 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 1111 0xXX 0xXX KL1501, KL1512 Version: 3.1.0...
Page 38
Input data (response from the Bus Terminal) Byte 0: Status byte Byte 1: DataIN1, high byte Byte 2: DataIN1, low byte 0xA0 (1010 0000 0xXX 0xXX Explanation: Version: 3.1.0 KL1501, KL1512...
Page 39
• The terminal returns a value as a receipt in the status byte that differs only in bit 0.6 from the value of the control byte. • The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still displayed are invalid! KL1501, KL1512 Version: 3.1.0...
Access from the user program Data exchange, function (KL1501 only) Automatic setting of the outputs for defined counter values The feature register R32 can be used to activate an internal function for setting the outputs. • Up/down counter or gated counter: ◦...
The general use of hardware and software from the open PC world requires some checking: Unsuitable components can upset the PC system. Beckhoff integrates a handy display of the real-time jitter in order to provide administrators with a simple means of evaluating hardware and software. A system message during operation can draw attention to error states.
According to the requirement for operating resources, the TwinCAT software devices can be distributed: TwinCAT PLC programs can be executed on PCs and on Beckhoff Bus Terminal controllers. A "message router" manages and distributes all the messages, both in the system and via TCP/IP connections. PC systems can be connected to one another by TCP/IP;...
Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local 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 further documentation for Beckhoff components there.
Page 45
Fig. 11 KL1502, KL1512 - Connection..................... Fig. 12 KS2000 configuration software....................Fig. 13 KL1501 - Mapping in the Lightbus Coupler ................. Fig. 14 KL1501 - Mapping in the Profibus Coupler.................. Fig. 15 KL1501 - Mapping in the Interbus Coupler ..................
Need help?
Do you have a question about the KL1501 and is the answer not in the manual?
Questions and answers