BECKHOFF KL6001 User Manual

KL6001
Serial interface RS 232 C Configuration Instructions
Version 2.02 2006-10-24
Contents
Contents
1. Foreword 3
Notes on the documentation 3 Safety Instructions 4
2. Technical data 5
3. Description of functions 6
4. Terminal configuration 6
5. Register description 8
General register description 8 Terminal-specific register description 11 Register communication KL6001 13
6. Data transfer, function 14
7. Annex 17
Mapping in the bus coupler 17 Table of the register 19 Support and Service 20 Beckhoff Headquarters 20
2 KL6001
Foreword
Foreword
Notes on the documentation
This description is only intended for the use of trained specialists in control and automation engineering who are familiar with the applicable national standards. It is essential that the following notes and expla­nations are followed when installing and commissioning these components.
Liability Conditions
The responsible staff must ensure that the application or use of the products described satisfy all the re­quirements for safety, including all the relevant laws, regulations, guidelines and standards.
The documentation has been prepared with care. The products described are, however, constantly under development. For that reason the documentation is not in every case checked for consistency with per­formance data, standards or other characteristics. None of the statements of this manual represents a guarantee (Garantie) in the meaning of § 443 BGB of the German Civil Code or a statement about the contractually expected fitness for a particular purpose in the meaning of § 434 par. 1 sentence 1 BGB. In the event that it contains technical or editorial errors, we retain the right to make alterations at any time and without warning. No claims for the modification of products that have already been supplied may be made on the basis of the data, diagrams and descriptions in this documentation.
Delivery conditions
In addition, the general delivery conditions of the company Beckhoff Automation GmbH apply.
Copyright
©
This documentation is copyrighted. Any reproduction or third party use of this publication, whether in
whole or in part, without the written permission of Beckhoff Automation GmbH, is forbidden.
KL6001 3
Foreword
i
Safety Instructions
State at Delivery
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 docu­mentation are not permitted, and nullify the liability of Beckhoff Automation GmbH.
Description of safety symbols
The following safety symbols are used in this documentation. They are intended to alert the reader to the associated safety instructions..
This symbol is intended to highlight risks for the life or health of personnel.
Danger
This symbol is intended to highlight risks for equipment, materials or the environ-
Attention
ment. This symbol indicates information that contributes to better understanding.
Note
4 KL6001
Technical data
Technical data
Technical data KL6001
Data transfer channel
Data transfer rate
Bit distortion
Connection RS232-cable length LOW signal voltage
HIGH signal voltage
Power supply
Electrical isolation
Data buffer
Bit width in the Process image
Configuration
Current consumption from K-Bus
Operating temperature
Storage temperature
Relative humidity
Vibration/shock resistance
EMC resistance Burst / ESD
Installation position
Type of protection
2 (1/1), TxD and RxD, full duplex 9600 Baud (8N1) default, (max. 19200 Baud) < 3% Spring force terminals max. 15 m
-18 V ... -3 V 3 V ... 18 V via K-Bus 500 Vrms (K-Bus / signal voltage) 128 byte receive buffer, 16 byte transmit buffer I/O: 3 x 8 bits user data, 1 x 8 bits control/status (up to 5 x 8 bits user
data possible) no address setting, configuration setting via the bus coupler or control
system 55 mA 0°C ... +55°C
-25°C ... +85°C 95%, no condensation conforms to IEC 68-2-6 / IEC 68-2-27 conforms to EN 50082 (ESD, Burst) / EN 50081 any IP20
KL6001 5
Description of functions
In the alternative output format, 4 or 5 bytes (3 bytes of data and 1 byte or
LED Display
Process data Alternative output format
Standard output format
Reference
Beckhoff Lightbus coupler BK2000
Description of functions
The serial interface terminal KL6001 enables the connection of devices featuring an RS232C interface (for example bar code scanner). Regardless of the higher-level bus system, data can be exchanged with the controller in full duplex mode. The receive buffer is 128 bytes large, while the send buffer embraces 16 bytes. Data transfer between the terminal and control­ler is handled via a handshake in the status and control byte. The termi­nal’s works setting is 9600 baud, 8 data bits, 1 stop bit, no parity, RTS/CTS Control active.
The Run LED indicates the operating state of the terminal. On – normal operation
Off – watchdog timer overflow has occurred. The green LED goes off if no process data is transferred from the bus coupler for 100 ms.
The TxD and RxD LEDs indicate the states of the signal lines.
2 bytes of control / status byte) are mapped in the bus coupler. When de­livered, the KL6001 is set to the alternative format. Mapping of the terminal in the alternative format is described in further detail in the chapter entitled "Terminal Configuration".
By default, in the standard output format 4 bytes (3 bytes of user data and 1 control / status byte) are mapped in the bus coupler. Up to 5 bytes of user data can be transferred by redefining the parameters of the KL6001.
The annex contains an over view of possible mapping configurations de­pending on the parameters that can be set.
Terminal configuration
The terminal can be configured and parametrized via the internal register structure.
Each terminal channel is mapped in the bus coupler. The data of the termi­nal is mapped differently in the memory of the bus coupler depending on the type of the bus coupler and on the set mapping configuration (eg Mo­torola / Intel format, word alignment.
For parametrization of a terminal, the control / status byte must also be mapped.
When using the Beckhoff Lightbus coupler BK2000, the control / status byte is always mapped in additon to the data bytes. It is always in the low byte at the offset address of the terminal channel. In the case of the KL6001 the C/S byte is only used in the register mode. The serial C/S byte is used for the protocol.
6 KL6001
Loading...
+ 14 hidden pages