Status word

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Name

IL7

IL6

IL5

IL4

IL3

IL2

IL1

IL0

-

OVERRUN ERR

FRAMING ERR

PARITY ERR

BUF_F

IA

RR

TA

Key

Bit no.

Name

Description

15 ... 8

IL7 ... IL0
(InLength)

1dec .. 22dec

The number of input bytes available for the transmission from the box to the controller.

Note: If you have set the size of the receive data to 50 x 1 word, the input variables “Data In n” have the data type “Word”. A Word has a size of two bytes.
Divide the number of input bytes by two in order to determine the number of filled input variables.

7

reserved

6

OVERRUN ERR

0 .. 1

An overrun error has occurred. The data concerned is not loaded to the receive FIFO of the box and is lost.

5

FRAMING ERR

0 .. 1

A framing error has occurred. The data concerned is not loaded to the receive FIFO of the box and is lost.

4

PARITY ERR

0 .. 1

A parity error has occurred. The data concerned is not loaded to the receive FIFO of the box and is lost.

3

BUF_F

1

The number of bytes in the receive buffer exceeds the value of parameter 8010:1A "Rx buffer full notification" (factory setting: 864 bytes).

2

IA
(InitAccepted)

1

The initialization has been executed by the box.

0

The box is ready again for serial data exchange.

1

RR
(ReceiveRequest)

toggle

Via a change of state of this bit the box notifies the controller that the DataIn bytes contain the number of bytes indicated via the IL bits. The controller has to acknowledge receipt of the data in the control byte via a change of state of bit CW.1 (RA). Only then can new data be transferred from the box to the controller.

0

TA
(TransmitAccepted)

toggle

The box acknowledges the receipt of data by changing the state of this bit. Only then can new data be transferred from the controller to the box.