beautypg.com

Software-reset, Fibre-optic fracture point test, Invalid function selection – BECKHOFF C1220 User Manual

Page 15

background image

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

15

Software description of functions

Beckhoff Lightbus - PC interface card C1220

Software-RESET

The C1220 can be reset by means of this function. Besides reinitialization
of the fibre-optic ring, the controller and the dual ported RAM are also
reinitialized. Completion of RESET is acknowledged by the code word
(without Data Valid).

Argument

Channel

Length

Function

0

1

2

Comment

Request

02

0x09

Reply

04

0x02

fe

af

Fibre-optic fracture point test

A fracture point in the fibre-optic ring can be localized by this function.
Depending on the result, the test specifies the number of boxes in the ring
or the location of the fracture point.

Argument

Channel

Length

Function

0

1

2

Comment

Request

02

0x0a

Reply

04

0x0a

00

nn

No fracture point,
nn modules in the ring

04

0x0a

01

nn

Fracture point before nn th-module before
the receiver input of the C1220

04

0x0a

01

ff

Fracture point cannot be located (fracture
point before receiver input)

If the fracture point should be specified as not being capable of location, it
is probably located between the last module and the receive input of the
C1220.

Invalid function selection

If a function is requested via handshake channel 0 that is reserved or is not
available, it is acknowledged with the function 0x0ff, which contains the
invalid function number as Argument 0.

Example:

Argument

Channel

Length

Function

0

1

2

Comment

Request

03

0x04

01

Request function 4
(reserved)

Reply

03

0x0ff

04