Function type

Parameter 
read

UBYTE p_RedFlag(UBYTE TsId, UBYTE RfPart);

EN

BYTE p_RotKennung(BYTE VSID, BYTE RKAnteil);

DE

Description

Reads the "Red flag" parameter.

Version information

from version 6.1.3

Arguments

UBYTE

TsId

ID number of the desired traffic stream.

RfPart

You must specify which part of the red flag is required. Possible values are 1 (Rf_1), 2 (Rf_2), 3 (Rf_3) or 4 (Rf_4).

Return value

UBYTE 

0

NoRedFlag

Default behavior: The traffic stream remains on green until it is switched to red by a conflicting traffic stream.

1

NoExt

The traffic stream switches to red as soon as there is no more traffic. The frame signal is disregarded in the process.

2

upToSFext

The traffic stream switches to red at the latest at the start of the frame for extension.

3

upToSFend

The traffic stream switches to red at the latest at the end of the frame for extension.

4

uptotgmin 1

The traffic stream switches to red after the minimum green time 1 (tg min1).

5

uptotgmin 2

The traffic stream switches to red after the minimum green time 2 (tg min2).

6

uptotgmax 1

The traffic stream switches to red after the Maximum green time 1 (tg max1).

7

uptotgmax 2

The traffic stream switches to red after the Maximum green time 2 (tg max2).

8

upToConflCall

The traffic stream turns red as soon as a conflicting one is requested.

9

upToConflAppl

The traffic stream turns to red as soon as a conflicting one has been registered.  

10

upToConflFrame

The traffic stream switches to red as soon as a conflicting frame is pending. This happens regardless of whether the conflicting traffic stream has been requested or registered.