Siemens SPC3 Specifiche Pagina 26

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 94
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 25
SchnittStellenCenter
DPC31 HW
Page 24 Version V 1.0
DPC31 HW Description
12/00 Copyright (C) Siemens AG 2000. All rights reserved.
5.2 DPS Module, Description of the Interface
DPS is enabled in the param register with ‘DP_Mode=1’, and started in the Instruction_Queue with the MAC
request ‘MAC_Start’. The user can disable the SAP55 (Set_Slave_Address).
The DPS protocol is integrated completely into the DPC31. All other DP SAPs are always enabled except for
the following: default SAP, SAP 56, SAP57, and SAP58. The remaining four SAPs are enabled only when
the ‘Data_Exchange’ mode is entered.
‘U‘F‘N‘D
Dout Buffer
‘U‘F‘N‘D
Din Buffer
Default_SAP:
Ind_Buffer Ptr
Resp_Buffer Ptr
SAP57:
Resp_Buffer_Ptr
SAP56:
Resp_Buffer_Ptr
SAP58:
Ind_Buffer Ptr
SAP60:
Resp_Buffer_Ptr
SAP59:
Resp_Buffer_Ptr
SAP55:
Ind_Buffer Ptr
SAP61:
Ind_Buffer Ptr
SAP62:
Ind_Buffer Ptr
‘U‘D
U_Diag Buffer
Buffer Arrangement
‘U‘D
U_GCfg Buffer
‘U‘D
U_SSA Buffer
‘U‘D
U_Prm Buffer
‘U‘D
U_Cfg Buffer
‘D
MAC_GC Buffer
‘C
Figure 5.2-1:
DPS Buffer Structure
Figure 5.2-1 shows the DPS buffer structure. The buffers (length and buffer ptr) are configured by the user in
the ‘Offline Mode’ in the DPS buffer management.
For the Dout data, four buffers of the same length are available that are implemented as exchange buffers.
One buffer each is assigned to the incoming data transfer ‘D’ and the user ‘U’. The third buffer is either in a
Next ‘N’ or Free ‘F’ mode. The MAC stores the data in ‘D’. After receiving, ‘D’ is moved to ‘N’, and a new
buffer is fetched from the ‘N’ or ‘F’. The user fetches its output data from ‘N’. In the fourth buffer ‘C’, the
user makes the substitute values available for the Clear mode (failsafe). If the DPC31 receives Clear
messages or if DPS leaves the ‘Data_Exchange’ mode, the 'C' buffer is transferred to the user in the state
‘U’. The buffers are moved through the corresponding exchange. DPS then also performs the buffer
exchange for the user.
Vedere la pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 93 94

Commenti su questo manuale

Nessun commento