Ads functions, Program download via the rs232 interface – BECKHOFF BC2000 User Manual

Page 21

Advertising
background image

Settings in the TwinCAT System Manager

BC2000

20


Program Download via the RS232 Interface

Every bus terminal controller offers the possibility of being programmed via
the PC’s RS232 interface. This can be implemented with the aid of a special
cable (included when TwinCAT BC is supplied).

For this purpose, the serial interface is selected in PLC Control.

Communication parameters The settings for the serial interface, port number, baud rate etc. are found

under Online/Communication parameters in PLC Control.
The bus terminal controller requires the following setting:
Baud rate

19200

Stop bits:

1

Parity:

even



ADS Functions

General

The ADS functions provide a method for accessing the bus terminal
controller information directly. ADS function blocks can be used in TwinCAT
PLC Control for this. The function blocks are contained in the
„PLCSystem.lib“ library. It is also equally possible to call the ADS functions
from AdsOCX. The properties of the PLC runtime system can be retrieved
through port number 800, while port number 100 give access to the

Advertising