User guide
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
2425262728 29 30 31 16 1718 19 20 21 22 23 56575859 60 61 62 63 4849505152535455
bit
Start bit positionStart bit position
3233343536 37 38 39 40 4142 43 44 45 46 47 0123 4 5 6 7 89101112131415
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