
SchnittStellenCenter
DPC31 HW
Page 22 Version V 1.0
DPC31 HW Description
12/00 Copyright (C) Siemens AG 2000. All rights reserved.
The queue is empty if ‘InstQ_Wr ptr’ and ‘InstQ_Rd ptr’ point to the same position.
One entry in
the queue always must remain empty (wildcard, any content!); otherwise, an empty queue can’t be
distinguished from a full queue.
The user must control the wrap in the queue. After each entry, the user
places the InstQ_Wr ptr behind this entry on the next free position. If this is the end of the queue, the
InstW_Wr ptr will then have to be placed on the beginning of the queue (wrap around).
Entry 1:
Command_Code
Value1
Value2
Value3
Value4
Entry 2:
Command_Code
Value1
Value2
Value3
Value4
.....
Entry n:
Command_Code
Value1
Value2
Value3
Value4
Wildcard:
reserved
reserved
reserved
reserved
r
rv
Addr.
InstQ_Wr Ptr (User)
InstQ_Rd Ptr (MAC)
InstQ_Base Ptr
Figure 5.1-2:
Organization of the Instruction_Queue
Table 5.1-3 lists all possible requests with the necessary command codes.
Request Com_
Code
Value1 Value2 Value3 Value4 Comment
MAC_Start 10h - - - - MAC enters Pas_ Idle
MAC_Stop 11h - - - - MAC enters Offline
MAC_New_T
RDY
12h T
RDY7..0
- - - Transfer of T
RDY
User_Leave-
Master
15h - - - - The user initiates a ‘Leave
Master’
DPS_User_Wd 20h 00h=reset
01h=enable
02h=disable
- - - Control of the DPS User_
Watchdog timer
Table 5.1-3:
Overview of User_MAC/DPS Requests
The request ‘MAC_Stop’ is confirmed for the user after it has been executed. For this confirmation, a
corresponding entry is made in the Indication_Queue (refer to Chapter 5.1.3).
Komentarze do niniejszej Instrukcji