PROFIBUS DP Interface 6
If ‘Diag.Freeze_Mode = 1’, there is no buffer change prior to sending.
The user can read the status of the state machine cell with the following
codings for the four states: Nil, Dout_Buf_Ptr1, Dout_Buf_Ptr2 and
Dout_Buf_Ptr3. The pointer for the current data is in the 'N' state.
Bit Position
Address
7 6 5 4 3 2 1 0
Designation
08H F U N D Din_Buffer_SM
Din_Buffer_SM, Address 08H:
bit 7-6
F: Assignment of the F-Buffer
00 = Nil
01 = Din_Buf_Ptr1
10 = Din_Buf_Ptr2
11 = Din_Buf_Ptr3
bit 5-4
U: Assignment of the U-Buffer
00 = Nil
01 = Din_Buf_Ptr1
10 = Din_Buf_Ptr2
11 = Din_Buf_Ptr3
bit 3-2
N: Assignment of the N-Buffer
00 = Nil
01 = Din_Buf_Ptr1
10 = Din_Buf_Ptr2
11 = Din_Buf_Ptr3
bit 1-0
D: Assignment of the D-Buffer
00 = Nil
01 = Din_Buf_Ptr1
10 = Din_Buf_Ptr2
11 = Din_Buf_Ptr3
Figure 6-14: Din-Buffer Management
Bit Position
Address
7 6 5 4 3 2 1 0
Designation
09H 0 0 0 0 0 0
⇓ ⇓
New_Din_Buf_Cmd
0 1 Din_Buf_Ptr1
1 0 Din_Buf_Ptr2
1 1 Din_Buf_Ptr3
Figure 6-15: Coding of New_Din_Buf_Cmd
VPC3+C User Manual
Revision 1.03 49
Copyright © profichip GmbH 2004-2006