Siemens SIMATIC NET PROFIBUS Wartungshandbuch Seite 59

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 238
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 58
Overview of the DP Base Interface
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
59
3.9 Typical Sequences for the CP 5614 Slave Module
3.9.1 Initialization and Shutdown of the Slave Module in the "Simple"
Mode
Initialization
The initialization of the CP 5614 in the "Simple" mode activates the CP and
initializes the slave module so that it can be brought to the productive state by the
master. The following steps are necessary:
Step Action Meaning
1 DP_start_cp CP is initialized.
2 DPS_open Initialization of the slave module:
The "DPS_SM_SIMPLE" bit is set in
the "slave_mode" parameter, the
expected parameter and configuration
data are in the "init_data" parameter.
3 DPS_start Start the slave module
4 DP_get_pointer Exclusive access to the process image.
Productive Operation
The user program can read and write the data in the process image.
Shutdown Sequence
To shut down the CP, the slave module changes to the OFFLINE mode and
finishes by stopping the CP:
Step Action Meaning
1 DPS_stop Bring the slave to the OFFLINE state
2 DP_release_pointer Enable access to the process image.
3 DPS_close Log off on the slave module
4 DP_reset_cp Stop the CP.
Seitenansicht 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 237 238

Kommentare zu diesen Handbüchern

Keine Kommentare