
Overview of the DP Base Interface
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
47
3.7 Typical Sequences
3.7.1 Initializing and Exiting the Master Mode
Initialization
The typical initialization of a CP 5613 or CP 5614 activates the CP and brings the
DP master to the OPERATE mode. The following steps are necessary:
Step Action Meaning
1 DP_start_cp CP is initialized.
2 DP_open Logon at the CP.
3 DP_get_pointer Exclusive access to the process image.
4 DP_set_mode(Stop) Change the master to the STOP mode.
5 DP_set_mode(Clear) Change the master to the CLEAR mode,
slaves are included in cyclic operation
according to the information in the
database.
6 DP_set_mode(Operate) Bring the master to the OPERATE
mode.
Productive Operation
The user program can access the data in the process image, trigger DP-V1 jobs
and fetch their confirmations as well as trigger other DP functions. The sequences
are described in greater detail on the following pages.
Comentarios a estos manuales