beautypg.com

Count peripheral modules, Test peripheral module addresses, Continuous sending – BECKHOFF C1220 User Manual

Page 14

background image

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

Software description of functions

14

Beckhoff Lightbus - PC interface card C1220

Count peripheral modules

The number of modules in the ring can be defined with this function.

Argument

Channel

Length

Function

0

1

2

Comment

Request

02

0x06

Reply

04

0x06

00

nn

Count modules:
nn modules in the ring

04

0x06

01

00

Count modules:
Ring interrupted

Test peripheral module addresses

By means of this function, a check is made as to whether the modules are
still keeping to the addresses they received on initialization.

Argument

Channel

Length

Function

0

1

2

Comment

Request

02

0x07

Reply

04

0x07

00

00

Addresses correct

04

0x07

01

nn

Error at address nn

To guarantee maximum operating reliability, during normal operation this
function can also be run cyclically in the background. In doing so, the
function is activated by setting a bit in the GCB. In the event of an error, a
message is sent to the PC via the GCB.

Continuous sending

The continuous sending function only controls the ’Cycle’ LEDs on the
modules to determine how many modules are still connected to the
transwhere output of the C1220. This function should only be activated if
the 0x0a (Fracture point test) does not return a satisfactory result. On the
software end, continuous sending can only be stopped by a RESET.

Argument

Channel

Length

Function

0

1

2

Comment

Request

02

0x08

Reply

03

0x08

01

Continuous sending can be stopped by
RESET