Operation message field

Auswahl Hilfen previous top next english version

Station parameterET/MT-3x6, ET/MT-2x8Operation message field

 

In the dialogue "Operation message field", the start address for the configured operation messages is specified. An operation message is clearly assigned to each bit following the start address.

 

Dlg_StationParametersOprtnMsgField

 

In the "No of bits" field you can determine the number of operation messages. Each operation message is allocated to a bit in a certain register. One register contains 16 bits, thus representing the status of 16 operation messages.

 

The number of allocated registers is the total number of operation messages divided by 16 and rounded up to the nearest whole number.

 

Number of allocated registers

= rounded up to whole number nearest ((number of operation messages - 1) / 16)

= rounded up to whole number nearest ((47 - 1)/16) = rounded up to whole number nearest to (2.875) = 3

 

If the result of the division by sixteen is a whole number, this result is not rounded up !

 

 

The bit position of an operation message can be directly deduced from its number.

 

It can be calculated as follows:

Register number = whole number of ((operation message number -1) / 16)

Bit number = (operation message number  - 1)- (register number * 16)

 

 

Example:

For operation message number 45

RgNum = (45 -1) / 16 = 2.75 = 2

BitNum = (45 - 1) - (2 * 16) = 44 - 32 = 12

 

 

Operation messages-area for 240, for example Operation message:

Start adr. +

Bitnumber

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

00

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

01

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

02

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

03

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

04

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

~

~

14

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

~

~

31

497

498

499

500

501

502

503

504

505

506

507

508

509

510

511

512

 

See also:

Kapitelseite Bitnumber-Calculator, Tool for calculating the memory address of a message bit

 

 

<< return