GWY-01-PBS-01
56
5
(See the
Green
changes below)
Output Buffer
Input Buffer
Byte # Value
Byte # Value
00:
81
Output Buffer Control Byte
(OBCB)
7 6 5 4 3 2 1 0
[1] [0] [0] [0] [0] [0] [0] [1]
00
80
Input Buffer Control Byte
(IBCB)
7 6 5 4 3 2 1 0
[1] [0] [0] [0] [0] [0] [0]
[0]
01:
00
(Always 0)
01:
00
(Always 0)
02:
0C
(Packet length in bytes)
02:
14
(Packet length in bytes)
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
..
30:
00
06
AA
07
00
01
03
E8
00
00
00
00
00
00
00
00
00
00
..
00
(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)
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
..
30:
00
0A
AA
07
01
01
01
01
01
17
58
08
E0
04
01
00
0E
20
DD
AF
..
00
(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
31: 81
Data Consistency Byte (OBDCB)
31:
80
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).
Содержание GWY-01-PBS-01
Страница 1: ...GWY 01 PBS 01 Reference Manual ...
Страница 5: ...v C ASCII CHART 92 ...
Страница 101: ...www automation datalogic com ...