GWY-01-PBS-01
82
5
5.5.5 Example
5:
Resynchronization
For this example we will assume the same conditions as the previous example, that the input
buffer and output buffer are 32 bytes each.
It does not matter what data is currently in the two buffers, other than the control bytes and
data consistency bytes – resynchronization only resets the handshaking to a known state.
For this example we will assume a starting state as follows:
Output Buffer
Input Buffer
Byte # Value
Byte # Value
00:
80
Output Buffer Control Byte
(OBCB)
7 6 5 4 3 2 1 0
[1] [0] [0] [0] [0] [0] [0] [0]
00
82
Input Buffer Control Byte
(IBCB)
7 6 5 4 3 2 1 0
[1] [0] [0] [0] [0] [0] [1] [0]
01: 00 (Always
0)
01: 00
02:
06
(Packet length in bytes)
02:
00
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
..
30:
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
..
30:
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
..
00
31: 80
Data Consistency Byte (OBDCB)
31: 82
Data Consistency Byte (IBDCB)
Summary of Contents for GWY-01-PBS-01
Page 1: ...GWY 01 PBS 01 Reference Manual ...
Page 5: ...v C ASCII CHART 92 ...
Page 101: ...www automation datalogic com ...