beautypg.com

C1220 ii/o error counter – BECKHOFF C1220 User Manual

Page 27

background image

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

27

Software description of functions

Beckhoff Lightbus - PC interface card C1220

C1220 II/O Error Counter

The C1220 has several counters to register II/O problems. The counters
are stored in the DPRAM from offset 0xEE0, as 16-bit values. There is no
overflow processing, and no erasure of the counters by the C1220.

The counter which registers the errors of the internal address check
(0xEEA) is designed as an 8-bit counter, and does not increment the total
error.

DPRAM-Offset

Meaning

Function

0xEE0

Total error

Delivers the number of error handing operations as the sum total of
the individual error triggers (following)

0xEE2

Error in receiver 1

Address and/or control unequal to transmitted bytes

0xEE4

Error in receiver 2

Address and/or control unequal to transmitted bytes

0xEE6

Timeout error

Timeout in telegram reception

0xEE8

Parity error

Telegram received with CRC error

--------------------

-----------------------------

--------------------------------------------------------------------------------------

0xEEA

Error in internal address
check

When this counter is incremented an address check and count
telegram with logically false content ( AD <> D3 ) is received.

0xEEC

Module address in case
of internal address
check error

If bit 1 is set in the C1220 error mask, this cell contains the module
address of the box which caused the error.