Download BIS M-62_ Processor Unit

Transcript
BIS M-62_ MANUAL
9
(See the Green changes below)
Output Buffer
Input Buffer
Byte #
Byte #
Value
00:
81
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
..
30:
00
0C
00
06
AA
07
00
01
03
E8
00
00
00
00
00
00
00
00
00
00
..
00
31:
81
Output Buffer Control Byte
(OBCB)
7
6
5
4
3
2
1
0
[1] [0] [0] [0] [0] [0] [0] [1]
(Always 0)
(Packet length in bytes)
(CBx Command word length MSB)
(CBx Command word length LSB)
(CBx Command Type)
(CBx Command Opcode)
(CBx Command, byte not used)
(CBx Command “Node ID”)
(CBx Command Timeout MSB)
(CBx Command Timeout LSB)
(CBx Command Not Used)
(CBx Command Not Used)
(CBx Command Not Used)
(CBx Command Not Used)
Data Consistency Byte (OBDCB)
Value
00
80
01:
02:
03:
04:
00
14
00
0A
05:
AA
06:
07
07:
08:
09:
10:
11:
12:
13:
14:
01
01
01
01
01
17
58
08
15:
E0
16:
04
17:
01
18:
00
19:
0E
20:
20
21:
DD
22:
AF
..
30:
31:
..
00
80
Input Buffer Control Byte
(IBCB)
7
6
5
4
3
2
1
0
[1] [0] [0] [0] [0] [0] [0] [0]
(Always 0)
(Packet length in bytes)
(CBx Response word length MSB)
(CBx Response word length LSB)
Minimum of 6 words
(CBx Response Type)
AA=Normal Response
(CBx Response Opcode)
07=Command Echo of Tag Read ID
(CBx Response Instance Counter)
(CBx Response “Node ID”)
(CBx Response Timestamp Month)
(CBx Response Timestamp Day)
(CBx Response Timestamp Hour)
(CBx Response Timestamp Minute)
(CBx Response Timestamp Second)
(CBx Response “Data length”)
8 bytes (the Tag ID)
(CBx Response Data Byte 1)
Tag ID Byte 1
(CBx Response Data Byte 2)
Tag ID Byte 2
(CBx Response Data Byte 3)
Tag ID Byte 3
(CBx Response Data Byte 4)
Tag ID Byte 4
(CBx Response Data Byte 5)
Tag ID Byte 5
(CBx Response Data Byte 6)
Tag ID Byte 6
(CBx Response Data Byte 7)
Tag ID Byte 7
(CBx Response Data Byte 8)
Tag ID Byte 8
Data Consistency Byte (IBDCB)
You can see the Tag ID in the data portion of the CBx response, Tag ID
E00401000E20DDAF.
The Master can see that Bit 0 of the IBCB & IBDCB has been toggled, so it knows that the
response in the Input Buffer is ready. Since Bit 2 is not set to 1, it knows that the response is
complete (not a fragment).
136