Please enable JavaScript to view this site.

Validity: Rule, Task

Bit-mask that enables the inclusion of messages in the system report. It enables both RTE-generated and user-generated messages using the INF_REPORT instruction.

This mask allows filtering of messages to be inserted into the report, if the num_ID (see INF_REPORT) of the message has at least one of the bits specified in rep_mask to 1, then the message is inserted.

In case a message was entered with num_ID equal to 0x0, it will not be possible to filter that message and therefore it will always be entered in the report.

The first 4 bits are used to define the origin of the message (RTE, OS, etc.), while bits 5, 6, and 7 are used to define the type of message (warning, error, etc.).

NOTE: Encoding is also used in the first parameter of the INF_REPORT instruction to indicate the source and type of message.

Syntax

rep_mask

Notes

Default: 0xFFFFFFFF (no filtering, all message types will be included in the report)

Attributes

Bit-accessible

The default meaning of the rep_mask bits is as follows:

Code

Description

0x00x0

Warning entered by RPE/user

0x00x1

Warning entered by RTE

0x00x2

Warning entered by OS

0x00x4

Warning entered by fieldbus management

0x00x8

Warning entered by BIOS

0x000x

Information (black text)

0x002x

Note (text in blue)

0x004x

Warning (text in amber)

0x008x

Error (text in red)

NOTE: Bits 0xFF00 are available to the user.

Meaning of the first 4 bits:

Bit 3

Bit 2

Bit 1

Bit 0

Message origin

0

0

0

0

RPE/user

0

0

0

1

RTE

0

0

1

x

OS

0

1

x

x

FieldBus

1

x

x

x

BIOS

Meaning of bits 5, 6 and 7:

Bit 7

Bit 6

Bit 5

Message types

0

0

0

Information (black text)

0

0

1

Note (text in blue)

0

1

0

Warning (text in amber)

1

0

0

Error (text in red)

NOTE: BITS 16 to 31 (0xFFFF0000) are not used.

Example

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC