Configuration telegram, Auto-configuration – BECKHOFF BK3000 User Manual

Page 46

Advertising
background image

Appendix

46

BK3xxx/LC3100


Configuration telegram

The configuration data to be transferred with the Chk_Cfg service
determines which process data is exchanged with the Data_Exchange
service.

Bit 1 from byte 9 of the User_Prm_Data is used to decide whether auto-
configuration

or

programmed

configuration

is

expected

(see

parameterisation).

If bit 0 from byte 5 of the User_Prm_Data is set, the first code in the
configuration data indicates that the 2 byte PLC interface is switched on,
otherwise this code is omitted:

Code

Description

0xB1

2 byte PLC interface


2 byte diagnostic interface

If bit 1 from byte 5 of the User_Prm_Data is set, the next code in the
configuration data indicates that the 2 byte diagnostic interface is switched
on, otherwise this code is omitted:

Code

Description

0xB1

2 byte diagnostic interface



Auto-configuration

Digital terminals

The data for all the digital input and output terminals is collected into a byte
array for inputs and a byte array for outputs in the sequence of the sockets.
The following codes can be used for digital data:

Code

Description

0x1n

(n+1) bytes digital inputs

0x2n

(n+1) bytes digital outputs

0x3n

(n+1) bytes digital inputs and outputs


These codes can be used freely, so that the total of the input and/or output
bytes corresponds in each case to the existing data length for digital inputs
and outputs (rounded up to the next byte).

Since the digital data is transferred after all the analogue data, the digital
codes are to be defined after all the analogue codes.

Analogue terminals

8 bits of control and/or status data are available as well as the user data to
each channel in the analogue terminals. These terminals are classified as
intelligent terminals, and support register communication (8 bit
control/status data, 16 bits I/O data per channel). A specific coding in the
control/status data determines whether the first 16 bits of the user data are
to be interpreted as I/O data for the register communication.

A code is first to be defined for each analogue terminal, where the
sequence depends on the socket positions.

Advertising
This manual is related to the following products: