beautypg.com

Initialisation of string communication – BECKHOFF C1220 User Manual

Page 22

background image

Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149

Software description of functions

22

Beckhoff Lightbus - PC interface card C1220

Initialisation of string communication

String communication is initialised via the handshake channel with function
0x14.

Argument

Channel

Length

Function

0

1

2

3

Request

0x0A

0x14

Init
StringComm.
(0x01)

CDL no.
string Trns

CDL no.
string receive

Max. string
length

Request

0x03

0x14

Deinit
StringComm.
(0x00)

Deactivation of string communication also
deactivates all the string slaves.

Reply

0x03

0x14

0x00

No error.

0x01

Wrong CDL number for string transmit CDL.

0x02

String transmit CDL already occupied.

0x03

Wrong CDL number for string receive CDL.

0x04

String receive CDL already occupied.

0x05

Wrong transmit string base address.

0x06

Wrong receive string base address.

Argument

4

5

6

7

Offset string transmit buffer

Offset string receive buffer

Deactivation of string communication also deactivates all the string
slaves.

No error.

Wrong CDL number for string transmit CDL.
String transmit CDL already occupied.
Wrong CDL number for string receive CDL.
String receive CDL already occupied.
Wrong transmit string base address.

Continuation of the table

Wrong receive string base address.