beautypg.com

Yokogawa Standalone MW100 User Manual

Page 40

background image

40

Data Field Length = 8 Bytes
For Big Endian: Available start bit position settings: 0–(Bit Length-1)

For Little Endian: Available start bit position settings: 0–(64-Bit Length)


The following example shows how to count start bit positions in the MX118.

When placing a data with data field length of 8 bytes, and a data with a 16-bit bit length

Data 1: 3

rd

and 4

th

byte from the left

Data 2: 7th and 8th byte from the left


Start bit positions For Big Endian

Data 1 position is byte 4 and 5, and start bit position is 32.
Data 2 position is byte 0 and 1, and start bit position is 0.


Start bit positions For little Endian

Data 1 position is byte 2 and 3, and start bit position is 16.
Data 2 position is byte 6 and 7, and start bit position is 48.


Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Data 1 : 16 bits

Data 2 : 16 bits

24

25

26

27

28

29

30

31

16

17

18

19

20

21

22

23

56

57

58

59

60

61

62

63

48

49

50

51

52

53

54

55

bit

Start bit position

Start bit position

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Byte 7

Byte 6

Byte 5

Byte 4

Byte 3

Byte 2

Byte 1

Byte 0

Data 1 : 16 bits

Data 2 : 16 bits

bit

Start bit position

Start bit position

1Byte

1Byte

1Byte

1Byte

1Byte

1Byte

1Byte

1Byte

Data 1 : 16 bits

Data 2 : 16 bits

bit

23・・・・・・16

Byte 2

lsb

7・・・・・・0

Byte 0

63・・・・・・56

Byte 7

55・・・・・・48

Byte 6

47・・・・・・40

Byte 5

39・・・・・・32

Byte 4

31・・・・・・24

Byte 3

15・・・・・・8

Byte 1

bit

lsb

23・・・・・・16

Byte 2

7・・・・・・0

Byte 0

63・・・・・・56

Byte 7

55・・・・・・48

Byte 6

47・・・・・・40

Byte 5

39・・・・・・32

Byte 4

31・・・・・・24

Byte 3

15・・・・・・8

Byte 1

Data measured

Start bit