beckhoff — 11.2.11.1 Serial COM Ports

Reference | I/O Devices In contrast to the UPS service provided with Windows NT, the TwinCAT-controlled UPS behaviour rather resembles that required for machine control. The NT service seeks to supply power to the PC for as long as possible and the computer only stops when the battery fails. When the TwinCAT is controlling the UPS (the NT service must be disabled), the computer is shut down after a (user-) specified waiting period. Operation mode: COM – BK8xx0 Serial bus couplers can be added under the I/O device and the couplers themselves can be fitted with terminals as required.

Intelligent interface card required To operate RS485 (BK80x0) you require an intelligent interface card which independently monitors the RTS/CTS leads (send and receive). Operating mode: COM - KL6xx1 The type KL6xx1 terminals allow serial communication, e.g. of the PLC via a fieldbus - Bus Coupler and - the terminal to an external serial device (e.g. a barcode reader). The data bytes are exchanged via the terminal process image and the required handshake is controlled. These functions can be replicated for the serial interfaces in the PC.

A significantly greater data throughput can be achieved because on the one hand the baud rate can be set higher and on the other more data bytes can be transferred per cycle (maximum five for KL6xx1). Data Bytes: The maximum number of transferable data bytes can be set to between 16 and 4096. In addition, the internal buffer size can be adjusted, which is particularly important for the reception of data bytes (between 4096 and 65535). The handshake is processed via the Ctrl and Status words. These words are structured in a very similar way to the Ctrl and Status bytes of the KL6xx1, with the difference that the data length to be specified is twelve, rather than three bits (maximum 4096).

Status Bit 0: TA: Transmit Accepted Bit 1: RR: Receive Request Bit 2: IA: Init Accepted Bit 3: BUF_F: Buffer overflow (possible data loss) TwinCAT 2 261 Version: 1.7