Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 118

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 117
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
118
C79000-G8976-C108-01
4.2.1 Overview of the Slave Module Functions
Administrative Functions
The following table lists the functions common to the master and slave modules.
These begin with DP_ .
Name Purpose
DP_start_cp
(Section 4.1.2)
Downloads the firmware and the database to the
CP 5614 - Use the function of the master.
DPS_open Logs on a DPS user program, assigns a user handle.
DP_get_pointer
(Section 4.1.5)
Requests pointer to the process image - Use the function
of the master.
DP_release_pointer
(Section 4.1.6)
Releases pointer to the process image - Use the
function of the master.
DPS_close A DPS user logs off again with this function.
DP_reset_cp
(Section 4.1.3)
Stops the CP firmware - Use the function of the master.
DP_get_err_txt
(Section 4.1.8)
This function outputs error information in plain language.
Use the function of the master.
DP_init_sema_ob
j
ect
(Section 4.1.22)
This function initializes a semaphore at which your user
program can wait for the arrival of events.
DP_del_sema_ob
j
ect
(Section 4.1.23)
This function clears a semaphore again.
Initialization Functions
Name Purpose
DPS_start This function activates the slave module.
DPS_stop This function deactivates the slave module. It then no
longer reacts on the bus.
Vista de pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 237 238

Comentarios a estos manuales

Sin comentarios