Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 81

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 80
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
81
4.1.10 DP_slv_state
Purpose
With this function, you can change the state of a DP slave while the DP user
program is running. The slave can either be taken out of processing or can be
activated again. You can also change the AUTOCLEAR property of a slave.
Using the slave address 0xFF and slv_mode == DP_SLV_ACTIVATE/
DP_SLV_DEACTIVATE you can activate or deactivate the AUTOCLEAR property.
As an option, selected single slaves (slv_add != 0xFF) can be included or removed
from the AUTOCLEAR processing.
Note 1
If the AUTOCLEAR property is configured in the database, the AUTOCLEAR
property of all slaves is already activated.
Note 2
If the AUTOCLEAR property was not configured in the database and you want to
activate it you must first activate the AUTOCLEAR property generally (slave
address 0xFF) and then activate the AUTOCLEAR property of the individual
slaves.
Syntax
DPR_DWORD DP_slv_state(DPR_DWORD user_handle, // in
DPR_WORD slv_add; // in
DPR_WORD slv_mode, // in
DP_ERROR_T *error ); // out
Vista de pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 237 238

Comentarios a estos manuales

Sin comentarios